joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ce40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00447a58
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00447ae8
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00447ae8
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x45a3fd
lea ecx, [ebp - 0x200]
push ecx
call fcn.00447a58
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00447ae8
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0044dfd4
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x44cf51
push esi
call fcn.00447ae8
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00447ae8
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004474dc
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x44cf28
xor eax, eax
jmp 0x44cfd8
push esi
call fcn.00447ae8
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00447ae8
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004479b4
add esp, 0xc
jmp 0x44cf91
mov edi, dword [ebx + 0x24]
push edi
call fcn.00447ae8
pop ecx
push eax
push esi
call fcn.00447ae8
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00447ae8
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004474fc
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x44cf91
xor eax, eax
jmp 0x44cfd8
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00447a58
add esp, 8
push 0x45a3ff
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00447a58
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00447a58
add esp, 8
push 0x45a401
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00447a58
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fe64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x45a9c0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44ff1c
cmp byte [0x4562bf], 0
je 0x44fed6
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.0044fdb0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44febf
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0044fdb0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44febf
lea ebx, [ebp - 0x54]
jmp 0x44fec0
inc ebx
call fcn.0044fe1c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44ff3d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x45a9c4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00447ae8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45a9c7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44ff3d
cmp dword [0x45a9c0], 0xffffffff
je 0x44ff3d
mov eax, dword [0x45a9c0]
test eax, eax
je 0x44ff3d
cmp byte [eax], 0
je 0x44ff3d
push esi
push eax
call fcn.0044ffbc
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ffbc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x45001e
call fcn.0044ff6c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00447ae8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00447ae8
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45057c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x45d40c], 0
jne 0x4505fd
cmp dword [0x45d428], 0
jne 0x4505ac
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x45d428], eax
test eax, eax
jne 0x4505ac
push str.GetEnvironmentStrings_failed
call fcn.0044ff54
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x45d428]
jmp 0x4505c0
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00447ae8
pop ecx
mov edi, eax
test eax, eax
jne 0x4505b8
lea edi, [ebp + 1]
push edi
call fcn.004474dc
pop ecx
mov ebx, eax
mov dword [0x45d410], ebx
test ebx, ebx
jne 0x4505ea
xor eax, eax
jmp 0x4506c0
push edi
mov edx, dword [0x45d428]
push edx
push ebx
call fcn.00447944
add esp, 0xc
jmp 0x45061d
xor esi, esi
mov ebx, dword [0x45d40c]
jmp 0x450617
push eax
call fcn.00447ae8
pop ecx
test eax, eax
jne 0x450613
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x450607
lea ebx, [esi + 4]
push 4
mov dword [0x45d414], ebx
inc ebx
push ebx
call fcn.0044701c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x450640
xor eax, eax
jmp 0x4506c0
cmp dword [0x45d40c], 0
jne 0x450671
xor esi, esi
mov ebx, dword [0x45d410]
mov eax, dword [esp]
mov ebp, eax
jmp 0x450662
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00447ae8
pop ecx
mov edi, eax
test eax, eax
jne 0x450658
jmp 0x4506a2
xor esi, esi
mov ebx, dword [0x45d40c]
mov eax, dword [esp]
mov edi, eax
jmp 0x45069c
push eax
call fcn.00447ae8
pop ecx
test eax, eax
je 0x450691
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x450695
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x450680
mov eax, dword [0x45d40c]
test eax, eax
je 0x4506b2
push eax
call fcn.004474ec
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x45d40c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x69f8099c
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x11c6248
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0xd21f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xd369fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xd22002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00d25dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xd22002
lea edx, [esp + 0x14]
push edx
push 0xd3c140
call fcn.00d1d6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00d2620b
push 0x10
call fcn.00d261d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xd21fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00d121c0
jmp 0xd21fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00d21b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xd21ff0
mov ecx, edi
call fcn.00d122c0
push edi
call fcn.00d261c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xd22021
inc ebx
cmp ebx, 0x20
jb 0xd21f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xd251b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d25140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d25140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d25140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d25140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd25230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd252d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0xd252ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00d25230
mov esi, eax
add esp, 8
test esi, esi
jne 0xd252ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0xd2527e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0xd252ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0xd25bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd25c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd3787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd25c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd25c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x84], 0
call fcn.00401994
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
push eax
lea eax, [0x4044a5]
lea edx, [fcn.00401a04]
sub eax, edx
push eax
push fcn.00401a04
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401337
push esi
call fcn.0040188f
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004018dd
mov eax, esi
add eax, 0x1cc00
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov edi, dword [ebp - 0x88]
mov eax, esi
mov ecx, edi
or cl, 1
cdq
idiv ecx
mov ebx, eax
add ebx, edi
push ebx
lea edi, [0x4060e4]
mov ebx, esi
dec ebx
and edi, ebx
push edi
call fcn.00401a04
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401994
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
call sub.KERNEL32.dll_GetLastError
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x40115a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433008]
jne 0x401164
repz ret
jmp fcn.00401f7a

Function at 0x413649
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409429
and dword [ebp - 4], 0
cmp dword [0x435d7c], 0
mov ebx, eax
jne 0x4136fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4137ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4137ab
push eax
call fcn.004093b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435d7c], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435d80], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435d84], eax
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x435d8c], eax
test eax, eax
je 0x4136fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x435d88], eax
mov eax, dword [0x435d88]
cmp eax, ebx
je 0x413752
cmp dword [0x435d8c], ebx
je 0x413752
push eax
call fcn.00409432
push dword [0x435d8c]
mov esi, eax
call fcn.00409432
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413752
test edi, edi
je 0x413752
call esi
test eax, eax
je 0x413749
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413749
test byte [ebp - 0xc], 1
jne 0x413752
or dword [ebp + 0x10], 0x200000
jmp 0x41378b
mov eax, dword [0x435d80]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41378b
mov eax, dword [0x435d84]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435d7c]
call fcn.00409432
pop ecx
test eax, eax
je 0x4137ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4137ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426680
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov dword [esp], 0x20
add dword [esp], 0x20
mov al, 0x65
mov byte [0x435e69], al
mov byte [0x435e6c], al
mov al, 0x6c
push 0x435e68
mov byte [0x435e68], 0x6b
mov byte [0x435e6a], 0x72
mov byte [0x435e6b], 0x6e
mov byte [0x435e6d], al
mov byte [0x435e6e], 0x33
mov byte [0x435e6f], 0x32
mov byte [0x435e70], 0x2e
mov byte [0x435e71], 0x64
mov byte [0x435e72], al
mov byte [0x435e73], al
mov byte [0x435e74], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x437650]
mov edx, dword [0x436368]
lea eax, [esp + 4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
ret
Function at 0x426930
Capabilities:
Clear file content
Compare security identifiers
Create pipe

Disassembly:
sub esp, 0x424
mov eax, dword [0x433008]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [0x437650]
push ebx
mov ebx, dword [0x436368]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x426964
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [0x433ff0]
push eax
call fcn.00426810
add esp, 4
cmp dword [0x437650], 0x2f
jne 0x426a05
xor edx, edx
xor ecx, ecx
mov word [esp + 0x12], dx
xor eax, eax
mov word [esp + 0xe], cx
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x10]
push eax
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Sudeke
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call fcn.00426880
cmp dword [0x437650], 0x568
jne 0x426a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x424]
pop edi
pop ebx
xor ecx, esp
call fcn.0040115a
add esp, 0x424
ret
Function at 0x10002160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10104d60
push fcn.10087a20
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10114d18]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x10002205
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10002205
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp dword [ebp + 0xc], eax
jb 0x10002205
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x10002205
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100022c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e08d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10114d18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, 0x1012c670
call fcn.100657a3
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], 0
cmp ebx, eax
jge 0x100023aa
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + ebx*8]
test esi, esi
je 0x100023a4
mov eax, dword [ecx + ebx*8 + 4]
test eax, eax
je 0x100023a1
cmp byte [eax], 0xff
mov esi, dword [esi]
jne 0x1000233c
cmp byte [eax + 1], 0x25
jne 0x1000233c
push dword [eax + 2]
push eax
call fcn.10002160
add esp, 8
movzx eax, byte [esi + 0x17]
lea ecx, [ebp - 0x18]
mov edi, dword [esi + 0x18]
push ecx
push 0x40
sub edi, eax
mov dword [ebp - 0x18], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, esi
xor eax, eax
nop
movzx ecx, byte [esi + 0x17]
cmp eax, ecx
jge 0x10002399
push 0
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0
push edx
add eax, edi
push eax
call fcn.10035cf0
add esp, 0x18
mov edx, eax
cmp dword [ebp - 0x14], 0
jne 0x10002399
sub eax, esi
jmp 0x10002360
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*8]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
inc ebx
jmp 0x10002301
lea ecx, [ebp + 0x10]
shl eax, 5
push ecx
push 0x40
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0x1012c670
mov dword [ebp - 4], 0xffffffff
call fcn.100659d1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret