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

Disassembly:
sub esp, 0x3c
push esi
push edi
mov esi, eax
mov edi, ecx
call fcn.0041d490
test al, al
je 0x41d481
mov edx, dword [esi + 0x18]
xor eax, eax
mov ecx, 0x10
cmp edx, ecx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], str.runas
jb 0x41d431
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], edx
jmp 0x41d438
add esi, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
cmp dword [edi + 0x18], ecx
mov dword [esp + 0x24], 1
jb 0x41d467
mov eax, dword [edi + 4]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
mov al, 1
pop esi
add esp, 0x3c
ret
lea ecx, [esp + 8]
add edi, 4
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
mov al, 1
pop esi
add esp, 0x3c
ret
pop edi
xor al, al
pop esi
add esp, 0x3c
ret

Function at 0x41d490
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x45b990]
xor eax, ebp
mov dword [esp + 0xa0], eax
push edi
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
cmp edx, 6
sbb al, al
xor ecx, ebp
inc al
pop edi
call fcn.004395fe
mov esp, ebp
pop ebp
ret
Function at 0x41d4f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x45b990]
push ebx
push esi
push edi
push 0
xor eax, ebp
push 2
mov dword [esp + 0x164], eax
mov esi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0xc], ebx
je 0x41d54e
xor eax, eax
mov dword [esp + 0x30], 0x128
mov ecx, 0x49
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x41d565
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, ebp
call fcn.004395fe
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], 0
mov edi, 0x10
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d590
sub eax, edx
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408930
cmp dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x18]
jae 0x41d5b6
lea ecx, [esp + 0x18]
cmp dword [esi + 0x18], edi
jb 0x41d5c0
mov eax, dword [esi + 4]
jmp 0x41d5c3
lea eax, [esi + 4]
push ecx
push eax
call fcn.00436b47
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
neg ebx
sbb bl, bl
inc bl
cmp eax, edi
jb 0x41d5ea
mov edx, dword [esp + 0x18]
push edx
call fcn.004358f6
add esp, 4
test bl, bl
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jne 0x41d646
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41d572
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x15c]
xor eax, eax
cmp esi, 1
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.004395fe
mov esp, ebp
pop ebp
ret
mov esi, 1
jmp 0x41d61e
Function at 0x41d650
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x44a3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x45b990]
xor eax, esp
push ebx
push ebp
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
push ebx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004079f0
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x50], ebx
mov ebp, 0x10
jne 0x41d6d6
lea ebx, [esp + 0x20]
call fcn.0041c0c0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 1
call fcn.004079f0
cmp dword [esp + 0x38], ebp
jb 0x41d6d6
mov eax, dword [esp + 0x24]
push eax
call fcn.004358f6
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
test eax, eax
mov eax, dword [esp + 0x54]
jne 0x41d6fd
cmp eax, ebp
jb 0x41d738
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004358f6
add esp, 4
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x41d761
cmp eax, ebp
mov eax, dword [esp + 0x40]
jae 0x41d709
lea eax, [esp + 0x40]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
mov eax, dword [esp + 0x54]
jne 0x41d740
cmp eax, ebp
jb 0x41d738
mov eax, dword [esp + 0x40]
push eax
call fcn.004358f6
add esp, 4
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x41d761
cmp eax, ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
jb 0x41d75b
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004358f6
add esp, 4
mov edx, edi
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x5c]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54]
pop ebx
xor ecx, esp
call fcn.004395fe
add esp, 0x60
ret

Function at 0x41db70
Capabilities:
Delete file

Disassembly:
cmp dword [eax + 0x18], 0x10
jb 0x41db87
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
dec eax
neg eax
sbb eax, eax
inc eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
dec eax
neg eax
sbb eax, eax
inc eax
ret
Function at 0x421280
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x80
mov eax, dword [0x45b990]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push edi
xor ebx, ebx
cmp ebp, ebx
mov edi, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x10], edi
jne 0x4212bf
xor al, al
mov byte [esp + 0xf], al
push 0x4569b8
lea eax, [esp + 0x13]
push eax
call fcn.00439b87
xor ecx, ecx
mov edx, edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
je 0x4213c1
mov edi, 0x10
lea esp, [esp]
lea eax, [esi + 0xc]
lea ecx, [esp + 0x18]
call fcn.00421260
cmp dword [eax + 0x18], edi
jb 0x421326
mov eax, dword [eax + 4]
jmp 0x421329
add eax, 4
push eax
mov ecx, 4
lea eax, [esp + 0x38]
call fcn.0042dee0
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, edi
jb 0x421350
mov eax, dword [esp + 0x1c]
push eax
call fcn.004358f6
add esp, 4
mov ecx, dword [esi + 0x28]
add ecx, 0x1c
push ecx
mov ecx, 4
lea eax, [esp + 0x38]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0042dee0
mov al, byte [esi + 0x2d]
add esp, 4
cmp al, bl
jne 0x4213b4
mov eax, dword [esi + 8]
cmp byte [eax + 0x2d], bl
jne 0x42139b
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], bl
jne 0x4213b4
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x2d], bl
je 0x421390
jmp 0x4213b4
mov eax, dword [esi + 4]
cmp byte [eax + 0x2d], bl
jne 0x4213b2
cmp esi, dword [eax + 8]
jne 0x4213b2
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x4213a3
mov esi, eax
cmp esi, dword [ebp + 0x18]
jne 0x421310
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x34]
call fcn.0042dfd0
mov ecx, dword [esp + 0x8c]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004395fe
add esp, 0x80
ret
Function at 0x4216f0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x44987b
mov eax, dword fs:[0]
push eax
mov eax, 0x807c
mov dword fs:[0], esp
call fcn.004421c0
mov eax, dword [0x45b990]
xor eax, esp
push ebp
mov ebp, dword [esp + 0x8090]
push esi
mov esi, ecx
mov dword [esp + 0x8080], eax
push edi
xor eax, eax
mov edi, edx
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
cmp esi, eax
mov dword [ecx + 0xc], eax
je 0x4217b1
push ebx
mov ebx, 0x8000
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x67452301
mov dword [esp + 0x3c], 0xefcdab89
mov dword [esp + 0x40], 0x98badcfe
mov dword [esp + 0x44], 0x10325476
lea esp, [esp]
cmp esi, ebx
jae 0x421776
mov ebx, esi
mov edx, dword [ebp]
push 0
push ebx
lea eax, [esp + 0x90]
push eax
mov ecx, ebp
call dword [edx + 4]
test al, al
je 0x4217d7
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebx
lea eax, [esp + 0x34]
call fcn.0042dee0
add esp, 4
sub esi, ebx
jne 0x421770
lea esi, [esp + 0x30]
call fcn.0042dfd0
pop ebx
mov ecx, dword [esp + 0x8088]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x807c]
pop ebp
xor ecx, esp
call fcn.004395fe
add esp, 0x8088
ret
lea esi, [esp + 0x14]
mov ecx, ebp
call fcn.004018c0
mov dword [esp + 0x8094], 0
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x1c]
push 0
push 0x45c628
push 0x45c64c
push 0
push eax
mov dword [eax + 8], 0x4537fc
mov dword [eax + 4], 0x51
call fcn.00435572
add esp, 0x14
mov dword [eax + 0xc], 2
mov dword [eax + 0x10], ebx
mov dword [esp + 0x10], eax
push 0x4568e0
lea eax, [esp + 0x14]
push eax
call fcn.00439b87
int3

Function at 0x421b50
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x45b990]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x814]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x400
je 0x421c43
lea edx, [esp + 4]
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb al, al
inc al
mov byte [esp + 3], al
je 0x421c43
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x421bef
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421bc0
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00408930
mov al, 1
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.004395fe
add esp, 0x810
ret 4
cmp eax, 2
jne 0x421c43
push 0x400
lea ecx, [esp + 0x410]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
mov dword [esp + 4], eax
je 0x421c43
cmp eax, 0x400
ja 0x421c43
lea eax, [esp + 0x40c]
push eax
mov ecx, esi
call fcn.00410dd0
mov al, 1
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.004395fe
add esp, 0x810
ret 4
mov ecx, dword [esp + 0x80c]
xor ecx, esp
xor al, al
call fcn.004395fe
add esp, 0x810
ret 4
Function at 0x422960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push 0x449e88
push eax
mov dword fs:[0], esp
mov al, byte [ecx]
sub esp, 0x78
test al, al
push ebp
mov ebp, ecx
je 0x4229a8
cmp al, 0x3d
je 0x4229a8
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x422985
xor al, al
pop ebp
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret 8
cmp byte [ebp], 0
je 0x422991
mov al, byte [ebp + 1]
inc ebp
test al, al
je 0x422991
lea eax, [ecx + 1]
cmp ebp, eax
je 0x422991
push ebx
push esi
mov esi, ebp
sub esi, ecx
push edi
push esi
call fcn.00433cd0
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov ebx, eax
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esi - 1]
mov esi, dword [esp + 0xa0]
mov eax, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add esp, 4
xor edi, edi
mov eax, ebp
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422a15
sub eax, esi
push eax
push ebp
lea ecx, [esp + 0x3c]
call fcn.00408930
mov dword [esp + 0x90], edi
mov ebp, 0xf
mov eax, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422a47
sub eax, esi
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00408930
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x9c], 1
call fcn.00422de0
mov edx, dword [esp + 0x98]
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x9c], 2
call fcn.00422b00
lea esi, [esp + 0x50]
call fcn.0040ef00
mov eax, dword [esp + 0x30]
mov esi, 0x10
cmp eax, esi
jb 0x422ab5
mov eax, dword [esp + 0x1c]
push eax
call fcn.004358f6
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
jb 0x422ad5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004358f6
add esp, 4
push ebx
call fcn.00435713
mov ecx, dword [esp + 0x8c]
add esp, 4
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x84
ret 8
Function at 0x423650
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4497d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x45b990]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
push edi
push ebp
mov dword [esp + 0x18], eax
mov esi, ecx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x88], ebx
push 0xffffffffffffffff
xor eax, eax
mov dword [esp + 0x20], 0x44
mov ecx, 0x10
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push ebx
mov edi, 0xf
push esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.004079f0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov edx, 0x10
cmp eax, edx
jae 0x4236ed
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x18], edx
jb 0x4236fb
mov eax, dword [eax + 4]
jmp 0x4236fe
add eax, 4
lea esi, [ebp + 0x18]
push esi
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x42374f
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
cmp dword [esp + 0x78], 0x10
jb 0x423738
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004358f6
add esp, 4
push ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x4237be
cmp dword [esp + 0x78], 0x10
jb 0x423763
mov edx, dword [esp + 0x64]
push edx
call fcn.004358f6
add esp, 4
push ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [ebp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [ebp + 0x28], eax
mov al, 1
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x70]
pop ebx
xor ecx, esp
call fcn.004395fe
add esp, 0x7c
ret 8
Function at 0x42e3c0
Capabilities:
Create process memory minidump
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454b38
push 0x43918c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
xor edi, edi
cmp esi, edi
jne 0x42e451
mov dword [ebp - 4], edi
push str.raising_exception_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push edi
push edi
push 0x80000003
call dword [sym.imp.KERNEL32.dll_RaiseException]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x42e3b0
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x20]
push ecx
push edi
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e720
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x5004
call fcn.004421c0
mov eax, dword [0x45b990]
mov ecx, dword [esp + 0x5008]
xor eax, esp
mov dword [esp + 0x5000], eax
lea eax, [esp + 0x500c]
push eax
push ecx
lea edx, [esp + 8]
push 0x5000
push edx
call fcn.004380f1
lea eax, [esp + 0x10]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e761
sub eax, edx
lea ecx, [esp]
mov edx, 0x45ceac
call fcn.0040a0a0
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x5000]
xor ecx, esp
call fcn.004395fe
add esp, 0x5004
ret
Function at 0x42eaa0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
mov eax, dword [0x45b990]
push esi
xor eax, ebp
push edi
push str._r_nModule_List:_r_n
mov dword [esp + 0x238], eax
call fcn.0042e720
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
xor eax, eax
mov dword [esp + 8], 0x224
mov ecx, 0x88
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x42eb33
lea ecx, [ecx]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x128]
push ecx
push edx
push str.Base___p_t_s_r_n
call fcn.0042e720
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ebx
call fcn.0042ef70
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x42eb00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop edi
xor ecx, ebp
pop esi
call fcn.004395fe
mov esp, ebp
pop ebp
ret

Function at 0x42eb50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x45b990]
push esi
xor eax, ebp
push edi
push 0x4535f4
mov dword [esp + 0x138], eax
call fcn.0042e720
push str.Process_List:_r_n
call fcn.0042e720
xor eax, eax
mov dword [esp + 0x10], 0x128
mov ecx, 0x49
lea edi, [esp + 0x14]
add esp, 8
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x42ebdd
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push edx
push str._tProcessID___d_t_s_r_n
call fcn.0042e720
add esp, 0xc
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x42ebb7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
xor ecx, ebp
pop esi
call fcn.004395fe
mov esp, ebp
pop ebp
ret
Function at 0x42f630
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push edi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
push 0x1c
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x42f65b
pop edi
pop ebx
add esp, 0x1c
ret 0x10
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x42f666
mov esi, ebx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42f684
pop esi
pop edi
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esi + 0x3c]
movzx ebx, word [eax + esi + 6]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
sub edi, esi
xor esi, esi
test ebx, ebx
push ebp
lea ecx, [ecx + eax + 0x18]
jbe 0x42f6c6
lea eax, [ecx + 8]
mov ebp, dword [eax + 8]
cmp ebp, dword [eax]
mov ecx, dword [eax + 4]
lea edx, [eax + 8]
jae 0x42f6b2
mov edx, eax
cmp edi, ecx
jb 0x42f6be
mov edx, dword [edx]
add edx, ecx
cmp edi, edx
jbe 0x42f6d2
inc esi
add eax, 0x28
cmp esi, ebx
jb 0x42f6a3
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x38]
inc esi
sub edi, ecx
mov ecx, dword [esp + 0x3c]
pop ebp
mov dword [eax], esi
pop esi
mov dword [ecx], edi
pop edi
mov eax, 1
pop ebx
add esp, 0x1c
ret 0x10

Function at 0x42fe60
Capabilities:
Create process memory minidump

Disassembly:
sub esp, 0xc
test edi, edi
je 0x42fec4
push esi
push 0
push 0x80
push 2
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x42fec3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x14]
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
Function at 0x430050
Capabilities:
Get file version info

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, eax
lea eax, [esp + 0xc]
push eax
lea ebp, [esi + 0x28]
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x430073
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push edi
lea edi, [ebx + 1]
push edi
call fcn.004380df
mov edx, eax
mov dword [esi], edx
mov ecx, edi
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
push ebx
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43016f
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.004302c0
test eax, eax
je 0x43016f
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x20]
mov edx, eax
shr ecx, 0x10
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x24]
mov word [esi + 8], cx
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x28]
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x30]
shr ecx, 0x10
shr edx, 0x10
mov word [esi + 0x10], cx
mov ecx, dword [esp + 0x34]
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
push 0x208
lea edi, [esi + 0x230]
mov ebx, str.CompanyName
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
call fcn.00430310
push 0x208
lea edi, [esi + 0x640]
mov ebx, 0x454880
call fcn.00430310
push 0x208
lea edi, [esi + 0x438]
mov ebx, str.ProductName
call fcn.00430310
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret