joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403693
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0041f1e0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x404]
push eax
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x404]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4036e2
sub eax, ecx
push esi
sar eax, 1
lea esi, [edi + 0x8c]
lea ecx, [ebp - 0x404]
call fcn.00401f9b
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0041d196
leave
ret

Function at 0x40371e
Capabilities:
Create process on windows

Disassembly:
push 0x85c
mov eax, 0x43d4a6
call fcn.004230e6
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x6c]
mov edi, 0xc4
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x403765
mov eax, dword [eax]
push eax
call fcn.0040c46d
pop ecx
test al, al
je 0x403788
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push ebx
add eax, edi
lea ecx, [ebp - 0x82c]
call fcn.00401d1e
jmp 0x403858
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.0041f1e0
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
mov ecx, str.okKyEg_Q1SilKZeCLuWuUx5axbsK9FlLX7xNFVUS3VLLg2
lea ebx, [ebp - 0x864]
call fcn.0040df35
lea ecx, [ebp - 0x848]
push ecx
mov edi, eax
mov byte [ebp - 4], 1
call fcn.0040c385
mov esi, dword [esi + 0x6c]
lea ecx, [esi + 0x8c]
add esp, 0x14
cmp dword [ecx + 0x14], 8
jb 0x4037de
mov ecx, dword [ecx]
lea edx, [esi + 0xc4]
cmp dword [edx + 0x14], 8
jb 0x4037ec
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
jb 0x4037f4
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041ddcd
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x848]
call fcn.0040212a
push edi
push 1
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 0
call fcn.004020dc
lea eax, [ebp - 0x810]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x403830
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x810]
lea esi, [ebp - 0x82c]
call fcn.00401f9b
mov esi, dword [ebp - 0x868]
xor ebx, ebx
cmp dword [ebp - 0x818], 8
mov ecx, dword [ebp - 0x82c]
jae 0x40386d
lea ecx, [ebp - 0x82c]
push 5
mov eax, 0x443268
push eax
push eax
push ecx
push 0x443294
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 1
xor edi, edi
lea esi, [ebp - 0x82c]
call fcn.0040212a
xor eax, eax
inc eax
call fcn.00423169
ret
Function at 0x405c5e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor ebx, ebx
lea edi, [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
call fcn.00405c17
mov edi, eax
cmp edi, ebx
je 0x405ccc
cmp dword [ebp - 0x218], ebx
je 0x405cc5
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x405d8f
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x405cf0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00405c5e
mov dword [ebp - 0x224], eax
cmp eax, ebx
jne 0x405d59
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x100
call edi
test eax, eax
je 0x405cd4
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x218], ebx
je 0x405d3b
push dword [ebp - 0x218]
call edi
mov dword [ebp - 0x218], ebx
mov eax, dword [esi + 8]
push dword [ebp - 0x220]
mov dword [ebp - 0x214], ebx
push dword [esi]
cmp eax, ebx
je 0x405d75
mov esi, eax
call fcn.00405df1
jmp 0x405d7b
cmp dword [ebp - 0x218], ebx
je 0x405d6d
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
jmp 0x405d8f
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
cmp dword [ebp - 0x218], ebx
je 0x405d8d
push dword [ebp - 0x218]
call edi
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d196
leave
ret 4
Function at 0x4066ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x43cd76
call fcn.0042311c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x406705
call fcn.0040515e
mov esi, eax
jmp 0x40680f
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x40671e
call fcn.0040515e
jmp 0x406801
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x406714
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x40675b
mov esi, 0x8007000e
jmp 0x406803
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x406770
cmp eax, 0xffffffff
jbe 0x40677a
push 0x80070216
call fcn.00402cb8
cmp eax, 0x400
jbe 0x4067a7
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0040513b
jmp 0x4067b3
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x406751
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x406714
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.0040654d
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x406828
lea eax, [ebp - 0x418]
call fcn.004056b6
mov eax, esi
call fcn.00423178
ret 0xc
Function at 0x408a9b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x408bd6
push ebx
lea eax, [ebp - 0x220]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x408bd5
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x408ae1
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x220]
call fcn.00401f9b
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x408b07
mov eax, dword [esi]
jmp 0x408b09
mov eax, esi
push eax
call fcn.0041e6fa
pop ecx
test eax, eax
jne 0x408bd5
push str.DoneEx
push 7
pop edi
mov eax, esi
call fcn.004039ea
cmp dword [esi + 0x14], ebx
jb 0x408b30
mov eax, dword [esi]
jmp 0x408b32
mov eax, esi
push eax
call fcn.0041e6fa
pop ecx
test eax, eax
je 0x408b53
cmp dword [esi + 0x14], ebx
jb 0x408b46
mov eax, dword [esi]
jmp 0x408b48
mov eax, esi
push eax
call fcn.0041e826
pop ecx
test eax, eax
jne 0x408bc9
push str.XCell_Compiler
push 0xf
pop edi
mov eax, esi
call fcn.004039ea
cmp dword [esi + 0x14], ebx
jb 0x408b6b
mov eax, dword [esi]
jmp 0x408b6d
mov eax, esi
push eax
call fcn.0041e6fa
pop ecx
test eax, eax
je 0x408b8e
cmp dword [esi + 0x14], ebx
jb 0x408b81
mov eax, dword [esi]
jmp 0x408b83
mov eax, esi
push eax
call fcn.0041e826
pop ecx
test eax, eax
jne 0x408bc9
push str.AddIns
push 7
pop edi
mov eax, esi
call fcn.004039ea
cmp dword [esi + 0x14], ebx
jb 0x408ba6
mov eax, dword [esi]
jmp 0x408ba8
mov eax, esi
push eax
call fcn.0041e6fa
pop ecx
test eax, eax
je 0x408bd5
cmp dword [esi + 0x14], ebx
jb 0x408bbc
mov eax, dword [esi]
jmp 0x408bbe
mov eax, esi
push eax
call fcn.0041e826
pop ecx
test eax, eax
je 0x408bd5
xor eax, eax
mov ecx, 0x443268
call fcn.00401f9b
pop ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d196
leave
ret

Function at 0x408be6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x14], 8
jb 0x408bf1
mov eax, dword [eax]
push esi
push 0x447530
push eax
call fcn.0041e916
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x408c39
cmp dword [edi + 0x14], 0x10
jb 0x408c0f
mov eax, dword [edi]
jmp 0x408c11
mov eax, edi
add eax, dword [ebp + 8]
push esi
push 1
push dword [ebp + 0xc]
push eax
call fcn.0041ea84
add esp, 0x10
push esi
cmp eax, 1
je 0x408c33
call fcn.0041eb6b
pop ecx
xor eax, eax
jmp 0x408c3c
call fcn.0041eb6b
pop ecx
xor eax, eax
inc eax
pop esi
pop ebp
ret 8

Function at 0x40e151
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov byte [ebp - 1], 1
cmp esi, ebx
je 0x40e187
cmp word [esi], bx
je 0x40e187
push ebx
push esi
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
jne 0x40e187
cmp word [esi], bx
je 0x40e18a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e18a
test al, 0x10
je 0x40e18a
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x40e190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x30], 0
push ebx
push esi
push edi
push 9
xor eax, eax
mov ebx, ecx
pop ecx
push dword [ebp + 8]
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push 0x44790c
push eax
mov esi, edx
call fcn.0041ddcd
add esp, 0xc
push ebx
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x40e248
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x40e248
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x40e248
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x40e248
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
ja 0x40e21e
or ecx, 0xffffffff
call fcn.00407f90
jmp 0x40e22a
push ebx
mov ebx, eax
sub ebx, ecx
mov edi, esi
call fcn.0040dfac
or ecx, 0xffffffff
xor eax, eax
call fcn.00407f90
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.004081df
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d196
leave
ret

Function at 0x40e25a
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x808], edi
call fcn.00401cad
lea eax, [ebp - 0x808]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push edi
push eax
call fcn.0041f1e0
add esp, 0xc
mov dword [ebp - 0x80c], 0x400
cmp dword [ebp - 0x808], edi
je 0x40e374
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push str.TEMP
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e368
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40e308
sub eax, edx
push ebx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401f9b
push 0xc
mov edi, str._SystemRoot_
push edi
xor eax, eax
mov ecx, esi
call fcn.00408f6c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e367
push 0x400
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40e367
lea eax, [ebp - 0x804]
push eax
push edi
call fcn.00420ee2
pop ecx
push eax
push ebx
push esi
call fcn.0040cab8
pop ebx
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d196
leave
ret
Function at 0x40e382
Capabilities:
Get common file path

Disassembly:
push 0x87c
mov eax, 0x43ca9c
call fcn.004230e6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x884], eax
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 0x888], ebx
call fcn.0041f1e0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea esi, [ebp - 0x848]
call fcn.00406aa2
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x834], 8
mov eax, dword [ebp - 0x848]
jae 0x40e3f8
mov eax, esi
mov ecx, dword [ebp - 0x838]
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0x5c
je 0x40e41b
xor edi, edi
push 0x447538
inc edi
lea eax, [ebp - 0x848]
call fcn.004039ea
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x854], ebx
mov word [ebp - 0x864], cx
mov dword [ebp - 0x818], eax
xor eax, eax
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
push 8
lea eax, [ebp - 0x864]
pop ebx
mov byte [ebp - 4], 2
call fcn.0040c401
lea ecx, [ebp - 0x848]
push ecx
lea ecx, [ebp - 0x880]
push ecx
mov ebx, eax
call fcn.0040e539
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 3
call fcn.00403a82
push 1
xor edi, edi
lea esi, [ebp - 0x880]
mov byte [ebp - 4], 2
call fcn.0040212a
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x40e4aa
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.0041ec5e
pop ecx
pop ecx
test eax, eax
jne 0x40e4db
push 1
xor edi, edi
lea esi, [ebp - 0x82c]
call fcn.0040212a
push 1
lea esi, [ebp - 0x864]
call fcn.0040212a
xor ebx, ebx
jmp 0x40e41b
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x40e4f0
lea eax, [ebp - 0x82c]
push eax
call fcn.0041e826
mov esi, dword [ebp - 0x884]
pop ecx
lea ebx, [ebp - 0x82c]
call fcn.00403ad5
push 1
xor edi, edi
mov esi, ebx
call fcn.0040212a
push 1
lea esi, [ebp - 0x864]
call fcn.0040212a
push 1
lea esi, [ebp - 0x848]
call fcn.0040212a
mov eax, dword [ebp - 0x884]
call fcn.00423169
ret
Function at 0x40edb8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d14
call fcn.0042db30
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x5ec]
push str..PhysicalDrive_d
push eax
mov dword [ebp - 0x2d10], ebx
call fcn.0041ddcd
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x5ec]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0c], eax
cmp eax, 0xffffffff
je 0x40f010
push edi
push 0xc
lea eax, [ebp - 0x2d08]
push ebx
push eax
mov dword [ebp - 0x2d14], ebx
call fcn.0041f1e0
mov edi, 0x2710
push edi
lea eax, [ebp - 0x2cfc]
push ebx
push eax
mov dword [ebp - 0x2d08], ebx
mov dword [ebp - 0x2d04], ebx
call fcn.0041f1e0
add esp, 0x18
push ebx
lea eax, [ebp - 0x2d14]
push eax
push edi
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40ef43
push esi
push 0x3e7
lea eax, [ebp - 0x3eb]
push ebx
push eax
mov byte [ebp - 0x3ec], bl
call fcn.0041f1e0
mov eax, dword [ebp - 0x2cf0]
push ebx
mov esi, 0x457388
lea ecx, [ebp - 0x2cfc]
call fcn.0040ec6d
mov eax, dword [ebp - 0x2cec]
push ebx
mov esi, 0x457788
lea ecx, [ebp - 0x2cfc]
call fcn.0040ec6d
mov eax, dword [ebp - 0x2ce4]
push 1
lea esi, [ebp - 0x3ec]
lea ecx, [ebp - 0x2cfc]
call fcn.0040ec6d
push 0x457788
push 0x456f88
call fcn.00420bb0
add esp, 0x20
pop esi
cmp byte [0x456b88], bl
jne 0x40ef2f
movzx eax, byte [ebp - 0x3ec]
push eax
call fcn.0042246f
pop ecx
test eax, eax
jne 0x40ef1a
movzx eax, byte [ebp - 0x3d9]
push eax
call fcn.0042246f
pop ecx
test eax, eax
je 0x40ef2f
lea eax, [ebp - 0x3ec]
push eax
push 0x456b88
call fcn.00420bb0
pop ecx
pop ecx
jmp 0x40ef49
cmp byte [0x456f88], bl
je 0x40ef49
mov dword [ebp - 0x2d10], 1
jmp 0x40ef49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea eax, [ebp - 0x2cfc]
push ebx
push eax
call fcn.0041f1e0
add esp, 0xc
push ebx
lea eax, [ebp - 0x2d14]
push eax
push edi
lea eax, [ebp - 0x2cfc]
push eax
push ebx
push ebx
push 0x2d0c10
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
test eax, eax
je 0x40effe
xor eax, eax
push 0x3e6
mov word [ebp - 0x3ec], ax
lea eax, [ebp - 0x3ea]
push ebx
push eax
call fcn.0041f1e0
lea eax, [ebp - 0x2cec]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00420bb0
add esp, 0x14
cmp byte [0x456b88], bl
jne 0x40f004
movsx eax, byte [ebp - 0x3ec]
push eax
call fcn.0042246f
pop ecx
test eax, eax
jne 0x40efdf
movsx eax, byte [ebp - 0x3d9]
push eax
call fcn.0042246f
pop ecx
test eax, eax
je 0x40f004
lea eax, [ebp - 0x3ec]
push eax
push 0x456b88
call fcn.00420bb0
pop ecx
pop ecx
mov dword [ebp - 0x2d10], 1
jmp 0x40f004
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2d10]
xor ecx, ebp
pop ebx
call fcn.0041d196
leave
ret
Function at 0x40fa6a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0042db30
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0040f8b7
mov dword [ebp - 0x1018], eax
xor eax, eax
mov esi, 0x7fe
push esi
mov word [ebp - 0x1008], ax
xor edi, edi
lea eax, [ebp - 0x1006]
push edi
push eax
call fcn.0041f1e0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push edi
push eax
mov dword [ebp - 0x100c], edi
mov dword [ebp - 0x1010], edi
mov dword [ebp - 0x1014], edi
call fcn.0041f1e0
add esp, 0xc
mov eax, 0x400
push eax
lea ecx, [ebp - 0x808]
push ecx
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x100c]
push ecx
push eax
lea eax, [ebp - 0x1008]
push eax
push 0x447b00
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp - 0x100c]
mov edx, ebx
call fcn.0040f9c3
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0041d196
leave
ret

Function at 0x40fb33
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push 0x20
mov eax, 0x43b167
call fcn.004230b0
push dword [ebp + 8]
xor esi, esi
push esi
push 0x43a
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
jne 0x40fb71
mov dword [ebp - 0x1c], esi
push 0x449e24
lea eax, [ebp - 0x1c]
push eax
call fcn.00422549
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 4
push 0x1000
lea edi, [eax + eax + 2]
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jne 0x40fba6
mov dword [ebp - 0x20], esi
push 0x449e24
lea eax, [ebp - 0x20]
jmp 0x40fb6b
push esi
push edi
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40fbc6
mov dword [ebp - 0x24], esi
push 0x449e24
lea eax, [ebp - 0x24]
jmp 0x40fb6b
push 0x447b0c
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x40fbf1
mov dword [ebp - 0x28], esi
push 0x449e24
lea eax, [ebp - 0x28]
jmp 0x40fb6b
push esi
push esi
push ebx
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, esi
jne 0x40fc43
mov dword [ebp - 0x2c], esi
push 0x449e24
lea eax, [ebp - 0x2c]
jmp 0x40fb6b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
call fcn.00423155
ret 8
Function at 0x40fd0b
Capabilities:
Enumerate gui resources

Disassembly:
push 0x2c
mov eax, 0x43d1c8
call fcn.004230e6
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x38], eax
cmp edi, ecx
je 0x40fd42
mov ebx, ecx
sub ebx, ecx
sar ebx, 2
shl ebx, 2
push ebx
push ecx
push edi
call fcn.0041d400
add esp, 0xc
add ebx, edi
mov dword [esi + 4], ebx
mov eax, dword [ebp - 0x38]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
and dword [ebp - 4], eax
push str.XLMAIN
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x14], esi
call fcn.00402016
lea eax, [ebp - 0x34]
push eax
push 0x40fc5e
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [esi + 4]
sub ebx, dword [esi]
push 1
xor edi, edi
lea esi, [ebp - 0x30]
sar ebx, 2
call fcn.0040212a
mov eax, ebx
call fcn.00423169
ret

Function at 0x412f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x206
xor ebx, ebx
lea ecx, [ebp - 0x20a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x20c], ax
call fcn.0041f1e0
mov edx, dword [edi + 0x18]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov eax, dword [edi + 0x1c]
lea edx, [ebp - 0x218]
push edx
push ebx
mov dword [ebp - 0x214], eax
mov eax, dword [edi]
push 0x44b
lea ecx, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edx, [ebp - 0x254]
lea ecx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], 5
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_HideCaret]
mov ecx, dword [esi + 0xb4]
pop ebx
cmp ecx, dword [esi + 0xb8]
je 0x413011
mov eax, dword [ecx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0041d196
mov esp, ebp
pop ebp
ret

Function at 0x415430
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x41543b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.00415450