joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4084b9
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x45ec90
call fcn.0045e340
sub esp, 0x84
push ebx
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi]
cmp eax, esi
je 0x4084e5
push eax
call ebx
test eax, eax
je 0x4084e5
mov dword [edi], esi
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00402332
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], esi
call fcn.004085cc
push 0x20
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004085b1
push dword [ebp + 0xc]
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00402238
push dword [ebp - 0x40]
call fcn.00402b73
push dword [ebp - 0x4c]
call fcn.00402b73
push dword [ebp - 0x24]
call fcn.00402b73
add esp, 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x90], 0x44
mov dword [ebp - 0x8c], esi
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x88], esi
push dword [ebp + 0x10]
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x64], esi
mov word [ebp - 0x5e], si
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40858b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x408595
push dword [ebp - 0x30]
call ebx
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
push dword [ebp - 0x18]
call fcn.00402b73
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x408f60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push edi
push 0x2001f
mov dword [ebp - 0xc], ecx
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push dword [ecx]
lea ecx, [ebp - 4]
call fcn.00408f05
cmp eax, esi
jne 0x408ff7
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 8], 0x105
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x408fe4
lea eax, [ebp - 0x220]
lea ecx, [ebp - 4]
push eax
call fcn.00408f60
cmp eax, esi
jne 0x408ff7
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x105
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push dword [ebp - 4]
jmp 0x408fac
lea ecx, [ebp - 4]
call fcn.00408f3a
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.00408f51
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00408f3a
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x409048
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x409072
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push 3
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x412aac
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45f9a2
call fcn.0045e340
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.00412b5b
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040ce7b
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413f6c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45fb66
call fcn.0045e340
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x46903c
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x48]
mov dword [ebp - 4], edi
call fcn.004022d0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.004022d0
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
mov dword [esi], fcn.00413cc5
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x414b35
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x45fbf5
call fcn.0045e340
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
call fcn.00401c0e
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00401c0e
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00401c0e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.00401c0e
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x417424
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x460031
call fcn.0045e340
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0x10]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x10]
push eax
call fcn.00402407
and dword [ebp - 4], 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00417650
mov eax, dword [esi + 0x28]
lea ecx, [ebx + 0x34]
mov dword [ebx + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [ebx + 0x2c], al
mov al, byte [esi + 0x2d]
mov byte [ebx + 0x2d], al
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
lea eax, [esi + 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.004175e1
lea eax, [esi + 0x40]
lea ecx, [ebx + 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.004039e4
mov eax, dword [esi + 0x4c]
add esi, 0x54
mov dword [ebx + 0x4c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x54]
mov dword [ebx + 0x50], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

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

Disassembly:
mov eax, 0x460065
call fcn.0045e340
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004175ab
mov al, byte [edi + 8]
and dword [ebp - 4], 0
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [edi + 0xb]
mov byte [esi + 0xb], al
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00401c6a
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00401c6a
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00401c6a
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00401c6a
mov eax, dword [edi + 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41798d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateDecoder
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0xc], edi
mov ebx, dword [ecx + eax*4 - 4]
push dword [ebx + 0xc]
call esi
push str.CreateEncoder
mov dword [ebx + 0x24], eax
push dword [ebx + 0xc]
call esi
push str.GetMethodProperty
mov dword [ebx + 0x28], eax
push dword [ebx + 0xc]
call esi
test eax, eax
mov dword [ebx + 0x20], eax
je 0x417ab7
push str.GetNumberOfMethods
mov dword [ebp - 8], 1
push dword [ebx + 0xc]
call esi
test eax, eax
je 0x4179fd
lea ecx, [ebp - 8]
push ecx
call eax
test eax, eax
jne 0x417b14
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jbe 0x417ab7
jmp 0x417a10
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 4]
dec eax
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 3
mov dword [ebp - 0x34], edx
call fcn.00417b19
test eax, eax
jne 0x417b14
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call fcn.00417b19
test eax, eax
jne 0x417b14
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0x2d]
push eax
lea eax, [ebp - 0x2e]
push eax
push 0xa
call fcn.00417b9e
test eax, eax
jne 0x417b14
mov eax, dword [ebp - 0xc]
push 0xb
pop ecx
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x4c]
mov ecx, esi
call fcn.004191e9
mov edi, dword [esi + 4]
push 0xb
pop ecx
lea eax, [edi + 1]
imul edi, edi, 0x2c
add edi, dword [esi]
inc dword [ebp - 4]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
cmp eax, dword [ebp - 8]
jb 0x417a0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0xc]
push str.GetHashers
push dword [ebx + 0xc]
call esi
test eax, eax
je 0x417b12
add ebx, 0x30
push ebx
call eax
test eax, eax
jne 0x417b14
mov ebx, dword [ebx]
test ebx, ebx
je 0x417b12
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
test eax, eax
jbe 0x417b12
lea ebx, [edi + 0x58]
mov esi, dword [edi + 0x10]
mov ecx, ebx
dec esi
call fcn.00427ee7
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*8], esi
mov dword [edx + eax*8 + 4], ecx
inc ecx
cmp ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
jb 0x417ae9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418f7d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x460307
call fcn.0045e340
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.004022d0
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x420032
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x460a89
call fcn.0045e340
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402407
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402407
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402407
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402407
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x421202
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x460c0e
call fcn.0045e340
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x469fe0
mov dword [esi + 4], 0x468bec
mov dword [esi + 8], 0x468c20
mov dword [esi + 0xc], 0x469154
mov dword [esi + 0x10], 0x469fcc
mov dword [esi + 0x14], 0x469fbc
mov dword [esi + 0x18], 0x468c10
mov dword [esi + 0x1c], 0x468c00
mov dword [esi + 0x20], 0x469fb4
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.004022d0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004022d0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 6
call fcn.004022d0
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
or dword [esi + 0xa8], 0xffffffff
mov byte [ebp - 4], 8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xac], ebx
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov byte [esi + 0xb2], bl
mov byte [esi + 0xb3], bl
mov byte [esi + 0xb4], bl
mov byte [esi + 0xb5], bl
mov byte [esi + 0xb6], bl
mov byte [esi + 0xb7], bl
mov byte [esi + 0xba], bl
mov byte [esi + 0xbb], bl
mov dword [esi + 0xc4], ebx
mov dword [esi], 0x469f88
mov dword [esi + 4], 0x469f74
mov dword [esi + 8], 0x469f5c
mov dword [esi + 0xc], 0x469f40
mov dword [esi + 0x10], 0x469f2c
mov dword [esi + 0x14], 0x469f1c
mov dword [esi + 0x18], 0x469f0c
mov dword [esi + 0x1c], 0x469efc
mov dword [esi + 0x20], 0x469ef4
call fcn.0040ce7b
mov byte [esi + 0x28], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4236c3
Capabilities:
Get disk information

Disassembly:
mov eax, 0x460eb4
call fcn.0045e340
sub esp, 0x20
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x10], ecx
cmp byte [esi + 0x10], 0
mov ebx, dword [esi]
je 0x42372a
mov ecx, dword [ebp + 8]
push 1
pop ebx
lea eax, [ebp - 0x20]
push 3
push eax
call fcn.0040ed97
mov eax, dword [ebp - 0x20]
cmp word [eax + 2], 0x3a
jne 0x423721
cmp word [eax + 4], 0x5c
jne 0x423721
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x42371f
cmp eax, 2
jne 0x423721
mov ebx, dword [esi]
push dword [ebp - 0x20]
call fcn.00402b73
pop ecx
mov ecx, dword [ebp + 8]
call fcn.00402806
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc edi
mov eax, dword [eax]
lea eax, [eax + edi*2]
push eax
call fcn.00402473
dec ebx
je 0x4237bc
dec ebx
je 0x42378d
lea ecx, [ebp - 0x2c]
call fcn.004022d0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0040516f
test al, al
jne 0x42377c
lea eax, [ebp + 8]
push 0x46deb8
push eax
mov dword [ebp + 8], 0x22995
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
call fcn.00402407
push dword [ebp - 0x2c]
jmp 0x4237b4
add esi, 4
lea ecx, [ebp - 0x20]
push esi
call fcn.00402407
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00407427
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00402407
push dword [ebp - 0x20]
call fcn.00402b73
pop ecx
jmp 0x4237c8
mov ecx, dword [ebp + 8]
push edi
push dword [ebp - 0x10]
call fcn.0040ed97
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x424143
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x461062
call fcn.0045e340
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x46a55c
mov dword [esi + 4], 0x46a544
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004022d0
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [esi + 0x64], bl
mov byte [esi + 0x65], bl
mov dword [esi], 0x46a528
mov dword [esi + 4], 0x46a510
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x426c15
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x461302
call fcn.0045e340
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.004022d0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041f1d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x426c6f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x461335
call fcn.0045e340
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0041ea48
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0041f222
push dword [esi + 0x24]
call fcn.00402b73
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.004132d7
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00427c57
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x42ee66
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4620a8
call fcn.0045e340
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x1c], edx
cmp esi, edi
je 0x42ef39
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov dword [ebp - 0x18], edi
call dword [eax + 0x1c]
test eax, eax
jne 0x42ef39
xor ebx, ebx
cmp dword [ebp - 0x18], edi
jbe 0x42ef39
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push esi
mov dword [ebp - 4], edi
call dword [eax + 0x20]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x42ef21
cmp eax, edi
je 0x42ef21
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x80058000
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x14]
test eax, eax
jne 0x42ef15
cmp dword [ebp - 0x10], edi
je 0x42ef15
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x10]
call fcn.00402332
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00403b61
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
call fcn.00403c1b
push dword [ebp - 0x28]
call fcn.00402b73
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x42ef2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x42eea5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x431229
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x46249d
call fcn.0045e340
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x46b264
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.004022d0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004022d0
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004022d0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004022d0
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi], 0x46b22c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4312c6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4624dc
call fcn.0045e340
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], 4
call fcn.004132d7
push dword [esi + 0x30]
call fcn.00402b73
push dword [esi + 0x24]
call fcn.00402b73
push dword [esi + 0x18]
call fcn.00402b73
push dword [esi + 0xc]
call fcn.00402b73
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], 0x46b29c
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x431ce0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x4686a4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret

Function at 0x432da0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x462754
call fcn.0045e340
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x46b264
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.004022d0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004022d0
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004022d0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004022d0
lea eax, [esi + 0x80]
mov byte [esi + 0x7c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.004022d0
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x46b350
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret