joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6e6459a1
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6d5a4ab8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401baf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov edi, edx
mov esi, ecx
mov eax, dword [0x49e044]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.004549a0
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sub ecx, edi
push eax
push 0x20219
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x401cac
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401caa
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x401cac
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00401f12
mov ecx, esi
call fcn.004020b6
push 0x5c
push eax
call fcn.004548f2
add esp, 8
test eax, eax
je 0x401caa
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401a89
test al, al
je 0x401caa
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401c9b
push edi
call fcn.00401f12
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00401cc4
mov ebx, eax
jmp 0x401cac
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.004528ff
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401cc4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x47ead8]
cmp dword [ecx + eax], edx
ja 0x401ce2
jb 0x401ced
add eax, 4
cmp eax, 0x10
jne 0x401ccd
push esi
call fcn.0040104a
add esp, 4
jmp 0x401d0d
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.004020b6
push eax
call edi
push 0x47eb3a
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret

Function at 0x4026a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x49e044]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.004549a0
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push esi
push ebx
push 2
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x40271c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.00401f12
mov ecx, edi
call fcn.004020b6
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004528ff
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4010f0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x425364
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2f8]
xor ebx, ebx
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edi
mov byte [esi + 4], bl
lea eax, [esi + 0x20]
mov dword [esp + 0x2f4], ebx
push eax
mov dword [esi + 0x1c], 0x4295cc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea edi, [esi + 0x4c]
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea ecx, [esp + 0x154]
push ecx
push 0x202
mov byte [esp + 0x2fc], 3
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0x4c]
push eax
xor edx, edx
push 0x104
mov word [esi + 0x48], dx
mov dword [esi + 0x44], 3
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4011a7
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401196
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push ecx
jmp 0x4011ae
push 3
push 0x429360
mov ecx, esi
call fcn.00402050
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x429364
mov byte [ecx + 4], bl
call fcn.00402050
lea edx, [esp + 0x30]
push edx
call fcn.004050d0
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x300], 4
call fcn.00401df0
mov edi, 0x10
cmp dword [esp + 0x48], edi
jb 0x40120a
mov eax, dword [esp + 0x34]
push eax
call fcn.004136f1
add esp, 4
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
cmp dword [esp + 0x2c], edi
jb 0x401229
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004136f1
add esp, 4
mov ecx, dword [esp + 0x2ec]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2e8
ret 4
Function at 0x401330
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x924
push ebx
push ebp
mov ebp, dword [esp + 0x930]
cmp dword [ebp + 0x44], 3
push esi
push edi
je 0x401544
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x18], ax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0xf830
add word [esp + 0x14], dx
call esi
movzx ecx, word [esp + 0x20]
movzx edx, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x24]
push ecx
movzx ecx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x2e]
push ecx
push edx
push eax
push str.__02d__02d__02d__02d:_02d:_02d:_03d__04x_
lea ecx, [esp + 0x154]
push 0x800
push ecx
call fcn.00415c05
mov edi, eax
mov eax, dword [esp + 0x968]
lea edx, [esp + 0x96c]
push edx
push eax
mov ecx, 0x7f6
sub ecx, edi
push ecx
lea edx, [esp + edi + 0x168]
push edx
call fcn.00415f71
add esp, 0x3c
add edi, eax
push 0x429394
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
lea ebx, [ebp + 0x1c]
mov ecx, ebx
add edi, 2
call eax
mov eax, dword [ebp + 0x44]
cmp eax, 1
jne 0x4014d1
push 0x103
lea ecx, [esp + 0x2d]
push 0
push ecx
mov byte [esp + 0x34], 0
call fcn.004157f0
add esp, 0xc
cmp dword [ebp + 0x18], 0x10
jb 0x401441
mov ebp, dword [ebp + 4]
jmp 0x401444
add ebp, 4
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebp
lea edx, [esp + 0x34]
push str._slog__04d__d.txt
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40153b
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0x28]
push ecx
push edi
lea edx, [esp + 0x13c]
push edx
push esi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x924
ret
cmp eax, 2
jne 0x401527
mov eax, dword [ebp + 0x38]
sub eax, dword [ebp + 0x40]
lea esi, [ebp + 0x38]
cmp eax, edi
jae 0x4014ee
mov ecx, edi
call fcn.004047b0
test al, al
je 0x40153b
mov edx, dword [ebp + 0x3c]
add edx, dword [ebp + 0x40]
push edi
lea ecx, [esp + 0x134]
push ecx
push edx
call fcn.004158a0
mov eax, dword [ebp + 0x40]
add esp, 0xc
add eax, edi
push eax
mov ecx, esi
call fcn.00404820
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x924
ret
test eax, eax
jne 0x40153b
lea ecx, [esp + 0x130]
push ecx
call fcn.00416733
add esp, 4
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x924
ret
Function at 0x4027c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push ebx
push esi
lea eax, [esp + 0xc]
push eax
xor ebx, ebx
push 0x104
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4027e6
mov byte [esp + 0xc], bl
mov esi, dword [esp + 0x114]
lea eax, [esp + 0xc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402801
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00402050
mov eax, esi
pop esi
pop ebx
add esp, 0x108
ret

Function at 0x402830
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [esp + 0x110]
push ebx
push esi
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x402869
push 0x4295dc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40286d
mov byte [esp + 0xc], bl
mov esi, dword [esp + 0x114]
lea eax, [esp + 0xc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402888
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00402050
mov eax, esi
pop esi
pop ebx
add esp, 0x108
ret
Function at 0x402fb0
Capabilities:
Check os version
Compare security identifiers
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4252cb
push eax
mov eax, 0x10e0
mov dword fs:[0], esp
call fcn.0040a7d0
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push esi
push 8
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x40301f
lea ecx, [esp + 4]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40301f
xor al, al
pop esi
mov ecx, dword [esp + 0x10e0]
mov dword fs:[0], ecx
add esp, 0x10ec
ret
mov ecx, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0xec]
push eax
push 2
push ecx
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x403007
lea edx, [esp + 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov byte [esp + 0x36], 0
mov byte [esp + 0x37], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0x39], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x403007
push ebx
xor ebx, ebx
push edi
cmp dword [esp + 0xec], esi
jbe 0x4030d3
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea edi, [esp + 0xf4]
lea ebx, [ebx]
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call ebp
test eax, eax
jne 0x4030cd
inc esi
add edi, 8
cmp esi, dword [esp + 0xf0]
jb 0x4030b0
jmp 0x4030d2
mov ebx, 1
pop ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
test ebx, ebx
je 0x4031cd
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4031cb
cmp dword [esp + 0x68], 2
jne 0x4031cb
cmp dword [esp + 0x5c], 6
jb 0x4031cb
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
lea esi, [esp + 0x3c]
call fcn.00402f50
push str..dll
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1100], 0
call fcn.00403c90
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x54], esi
jb 0x403170
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004136f1
add esp, 4
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x40317e
lea eax, [esp + 0x24]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4031a0
xor ebx, ebx
jmp 0x4031b8
push eax
call edi
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x4031b1
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x38], esi
jb 0x4031cb
mov edx, dword [esp + 0x24]
push edx
call fcn.004136f1
add esp, 4
test ebx, ebx
mov ecx, dword [esp + 0x10ec]
pop edi
pop ebx
setne al
pop esi
mov dword fs:[0], ecx
add esp, 0x10ec
ret
Function at 0x403bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4250f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00401df0
mov dword [esp + 0x30], ebx
mov bl, byte [esp + 0x3c]
lea esi, [esp + 0xc]
call fcn.00403e70
xor ecx, ecx
push 0xffffffffffffffff
mov dword [edi + 0x14], ecx
push ecx
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], cl
push eax
mov ecx, edi
call fcn.00401df0
cmp dword [esp + 0x24], 0x10
pop esi
pop ebx
jb 0x403c72
mov ecx, dword [esp + 8]
push ecx
call fcn.004136f1
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, edi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x404fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x424e69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea eax, [esp + 8]
push eax
push 1
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [esp + 0x2c], edi
push 0x80000002
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4050ae
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push edi
push str.DigitalProductId
push edx
call ebp
mov eax, dword [esp + 0x14]
mov ebx, eax
mov dword [esi + 8], eax
cmp eax, dword [esi]
jbe 0x40508a
push eax
call fcn.00412d5e
mov edi, eax
add esp, 4
test edi, edi
je 0x405088
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x405083
mov eax, dword [esi]
cmp eax, ebx
jb 0x40506f
mov eax, ebx
push eax
push ecx
push edi
call fcn.004158a0
mov eax, dword [esi + 4]
push eax
call fcn.00416320
add esp, 0x10
mov dword [esi], ebx
mov dword [esi + 4], edi
xor edi, edi
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push edi
push str.DigitalProductId
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x405330
Capabilities:
Get disk information

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 3
push 0x429664
lea eax, [esp + 0x18]
xor esi, esi
push 4
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call fcn.0041632b
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add esp, 0x10
mov bl, 0x43
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x14], bl
call edi
cmp eax, 3
jne 0x405391
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call ebp
test eax, eax
jne 0x405399
inc esi
inc bl
cmp esi, 0x1e
jl 0x405365
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4071e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x425400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], 0x42972c
mov edx, dword [edi]
mov dword [edi + 4], ebx
mov esi, dword [edx + 4]
add esi, edi
call fcn.00405d50
mov eax, dword [esp + 0x24]
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.00408820
mov byte [esi + 0x30], al
cmp dword [esi + 0x28], ebx
jne 0x40724f
mov eax, dword [esi + 8]
or eax, 4
and eax, 0x17
mov dword [esi + 8], eax
test dword [esi + 0xc], eax
je 0x40724f
push ebx
mov ecx, esi
call fcn.00405b80
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], ebx
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8

Function at 0x407a60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x424dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4296f4
call fcn.00413215
push 4
mov dword [esp + 0x18], 0
call fcn.0041506d
mov edi, eax
add esp, 4
test edi, edi
je 0x407ad4
push ebx
call fcn.00413086
mov dword [edi], eax
call fcn.00412eb4
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004131d6
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407ac8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004131fe
pop ebx
jmp 0x407ad6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4092a0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425508
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x20]
mov ebx, 0x10
cmp dword [esp + 0x34], ebx
jae 0x4092d3
lea eax, [esp + 0x20]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
jne 0x4092f1
cmp dword [esp + 0x34], ebx
jb 0x40934e
mov eax, dword [esp + 0x20]
push eax
jmp 0x409346
mov edi, dword [esp + 0x38]
push edi
push 0x409370
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
call fcn.00409760
test al, al
je 0x40933b
cmp dword [esp + 0x34], ebx
jb 0x409327
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004136f1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0x34], ebx
jb 0x40934e
mov edx, dword [esp + 0x20]
push edx
call fcn.004136f1
add esp, 4
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x409ac0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
push edi
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x409adb
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004157f0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], 0x67452301
mov dword [esp + 0x58], 0xefcdab89
mov dword [esp + 0x5c], 0x98badcfe
mov dword [esp + 0x60], 0x10325476
call fcn.0040a2f0
lea esi, [esp + 8]
call fcn.0040a230
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret