joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d2f4
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5d03f7
call fcn.0059d760
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x43d31f
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x43d3dc
push 0x6568d8
lea ecx, [ebp - 0x828]
call fcn.004030c0
and dword [ebp - 4], 0
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
call fcn.005a26c0
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5d4a5c
push eax
call fcn.00405e00
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x43d398
call fcn.0043d225
jmp 0x43d39d
call fcn.0043d2d1
push eax
lea ecx, [ebp - 0x828]
call fcn.00406f00
lea ecx, [ebp - 0x840]
call fcn.00403060
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.005aa953
pop ecx
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret 0xc

Function at 0x43d3e6
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5d0441
call fcn.0059d760
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
mov dword [ebp - 0x838], esi
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
call fcn.005a26c0
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43d443
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004030c0
and dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x43d489
mov eax, dword [esi]
push ebx
push eax
call fcn.005b01fd
pop ecx
pop ecx
test eax, eax
jne 0x43d4d1
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x43d4b9
call fcn.0043d225
jmp 0x43d4be
call fcn.0043d2d1
push eax
mov ecx, esi
call fcn.00406f00
lea ecx, [ebp - 0x828]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret 0x10
Function at 0x43e6c4
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5d053b
call fcn.0059d760
mov ebx, ecx
call fcn.0043cd98
mov esi, eax
push esi
call fcn.005b025f
pop ecx
push eax
lea edi, [ebx + 0xd4]
push esi
mov ecx, edi
call fcn.004032c0
mov esi, str.BKPDFReader.ini
push esi
call fcn.005b025f
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405ab0
push str.BKpdf
push 0x5d5db0
push str.BKApp
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0043d3e6
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00406f00
lea ecx, [ebp - 0x230]
call fcn.00403060
push str.BKpdf
mov ecx, esi
call fcn.0043edb6
test al, al
je 0x43e7ac
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a26c0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x43e76b
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.BKpdf
push eax
push edi
push 0x5d5db0
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004032c0
jmp 0x43e7b1
mov edi, str.BKpdf
push edi
mov ecx, esi
call fcn.0043edb6
test al, al
je 0x43e871
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a26c0
and dword [ebp - 0x220], 0
lea eax, [ebx + 0x5c]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
add esp, 0xc
push eax
call fcn.0043ed0b
and dword [ebp - 4], 0
push str.BKPDFReader.ini
call fcn.005b025f
pop ecx
push eax
push str.BKPDFReader.ini
lea ecx, [ebp - 0x230]
call fcn.00405ab0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5d5db0
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004032c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00403060
push edi
mov ecx, esi
call fcn.0043edb6
test al, al
je 0x43e8a9
push edi
push 0x5d5db0
push str.BKApp
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0043d2ae
push eax
mov ecx, esi
call fcn.00406f00
lea ecx, [ebp - 0x248]
call fcn.00403060
call fcn.0059d70a
ret
Function at 0x43f44c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0059d3d0
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2008], eax
call fcn.0043f236
test eax, eax
je 0x43f57d
push esi
push edi
xor edi, edi
push edi
call fcn.005aaa26
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2010], edx
call fcn.005afc74
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x2008]
mov ecx, dword [esi + 0x10]
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x2004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0043eff3
push ebx
call fcn.0044721f
xor ecx, ecx
inc ecx
test al, al
push 0x5d904c
push ebx
cmovne edi, ecx
call fcn.005b049c
mov esi, eax
add esp, 0x34
test esi, esi
je 0x43f57b
test edi, edi
jne 0x43f51e
push esi
push 2
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0xfeff
push 1
push eax
call fcn.005b07f8
add esp, 0x10
lea eax, [ebp - 0x2004]
push eax
call fcn.005b025f
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.005b07f8
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xd
push 1
push eax
call fcn.005b07f8
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xa
push 1
push eax
call fcn.005b07f8
push esi
call fcn.005b0540
add esp, 0x38
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret

Function at 0x43fdc3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.005a26c0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], eax
mov eax, 0x200
lea ecx, [eax + 0x40]
cmovne eax, ecx
xor edi, edi
mov dword [ebp - 0x38], eax
inc edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], eax
call fcn.004451d2
test eax, eax
mov ecx, str.runas
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43fe35
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, edi
cmove eax, ecx
jmp 0x43fe49
cmp dword [ebp + 0x10], 0
je 0x43fe47
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
leave
ret
Function at 0x43fe4c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov edi, 0xf01ff
mov dword [ebp - 8], ebx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43ff9b
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43ff9b
push str.Kernel32.dll
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x43fee6
push 0x5d9074
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43fedf
call eax
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x43ff9b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Wtsapi32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43ffc0
push 0x5d90d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ff32
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push dword [ebp - 0x14]
call eax
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [ebp - 0xc]
test eax, eax
jne 0x43ff30
call esi
jmp 0x43ff9b
call esi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.005a26c0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005a26c0
add esp, 0x18
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], str.WinSta0Default
mov dword [ebp - 0x3c], 1
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 4]
push 0x430
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x43ff9b
cmp dword [ebp - 4], ebx
je 0x43ff99
push dword [ebp - 4]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov bl, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43ffaa
cmp eax, 0xffffffff
je 0x43ffaa
push eax
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43ffb9
cmp ecx, 0xffffffff
je 0x43ffb9
push ecx
call esi
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push ebx
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x43ff32
push dword [ebp - 8]
jmp 0x43ff2c
Function at 0x4400bc
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x5d065d
call fcn.0059d760
mov eax, dword [ebp + 0x18]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x9c]
push esi
push eax
mov dword [ebp - 0x44], esi
call fcn.005a26c0
push 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x9c], 0x44
push esi
push eax
call fcn.005a26c0
add esp, 0x18
mov dword [ebp - 0x18], esi
xor eax, eax
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
test edi, edi
je 0x440194
push edi
call fcn.005b025f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004032c0
cmp dword [ebp - 0x30], esi
je 0x440194
mov edi, 0x5d4950
push edi
call fcn.005b025f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004032c0
push ebx
call fcn.005b025f
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00405ab0
mov edi, 0x5d4954
push edi
call fcn.005b025f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00405ab0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00405ab0
jmp 0x4401a5
push ebx
call fcn.005b025f
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.004032c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x67
call fcn.0043f58a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push esi
push esi
push esi
push 1
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44022e
cmp byte [ebp + 0x10], 0
je 0x4401fe
or eax, 0xffffffff
cmp dword [ebp + 0x14], 0
cmovg eax, dword [ebp + 0x14]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x44021b
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x44021b
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0x40]
call fcn.00403060
lea ecx, [ebp - 0x28]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret
Function at 0x4409b1
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x6568d8
mov dword [ebp - 0xa38], ebx
push edi
call fcn.005b025f
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.004032c0
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x105
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x440bc8
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call ebx
mov esi, eax
test esi, esi
je 0x440bc8
xor ecx, ecx
lea eax, [esi + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059d3be
mov edi, eax
pop ecx
test edi, edi
je 0x440bc8
lea ecx, [esi*2 + 2]
push ecx
push 0
push edi
call fcn.005a26c0
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x440bc1
mov eax, dword [0x5d9140]
mov ebx, 0x208
mov dword [ebp - 0xc], eax
mov ax, word [0x5d9144]
push ebx
mov word [ebp - 8], ax
call fcn.0059d3be
mov esi, eax
pop ecx
test esi, esi
je 0x440bc1
push ebx
push 0
push esi
call fcn.005a26c0
movzx eax, word [edi]
add esp, 0xc
mov ebx, edi
push 0x104
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x440b09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x440bab
push esi
call fcn.0059d3c7
push 2
call fcn.0059d3be
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x440bab
push 2
push 0
push esi
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0xc]
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x440bab
push esi
call fcn.005b025f
push eax
mov dword [ebp - 0xa34], eax
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005af5ce
add esp, 0x10
test eax, eax
je 0x440b42
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x440b2a
movzx eax, word [ebx]
test ax, ax
je 0x440bab
jmp 0x440aa7
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.005a26c0
mov eax, dword [ebp - 0xa34]
lea ecx, [ebp - 0x218]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5d82f0
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.00442fdd
add esp, 0x20
lea eax, [ebp - 0xa18]
lea ecx, [ebp - 0xa30]
push eax
call fcn.004030c0
mov ecx, dword [ebp - 0xa38]
push eax
call fcn.00406f00
lea ecx, [ebp - 0xa30]
call fcn.00403060
push edi
call fcn.0059d3c7
pop ecx
test esi, esi
je 0x440bbd
push esi
call fcn.0059d3c7
pop ecx
mov al, 1
jmp 0x440bca
push edi
call fcn.0059d3c7
pop ecx
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret
Function at 0x440bd9
Capabilities:
Enumerate processes

Disassembly:
push 0x46c
mov eax, 0x5d0766
call fcn.0059d760
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov edi, 0x6568d8
mov dword [ebp - 0x478], esi
push edi
call fcn.004030c0
xor ebx, ebx
lea eax, [ebp - 0x474]
push 0x22c
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005a26c0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x440c38
push edi
mov ecx, esi
call fcn.004030c0
jmp 0x440d96
lea eax, [ebp - 0x474]
mov dword [ebp - 0x474], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x440d6d
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x248]
call fcn.004030c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x46c], edi
je 0x440c9d
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00403060
lea eax, [ebp - 0x474]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x440c5a
jmp 0x440d6d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a26c0
add esp, 0xc
push dword [ebp - 0x46c]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x440d62
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004032c0
push 0x6568d8
lea ecx, [ebp - 0x230]
call fcn.0043edb6
test al, al
je 0x440d5b
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.004409b1
pop ecx
pop ecx
push 0x6568d8
lea ecx, [ebp - 0x230]
call fcn.0043edb6
test al, al
je 0x440d5b
lea eax, [ebp - 0x450]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x230]
call fcn.004032c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.00403060
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, esi
mov byte [ebp - 0x478], al
push dword [ebp - 0x478]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x230]
push eax
call fcn.0043ec71
lea ecx, [ebp - 0x230]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret
Function at 0x440e7c
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x5d07d2
call fcn.0059d760
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x28c], esi
test eax, eax
je 0x440fd0
push eax
lea ecx, [ebp - 0x40]
call fcn.004030c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0044455a
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.005a26c0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x440fc6
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x440fbf
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.004030c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0044455a
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ed86
test al, al
jne 0x440f56
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044395f
pop ecx
pop ecx
or esi, 1
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x28c], esi
call fcn.0043ed86
mov byte [ebp - 0x285], bl
test al, al
je 0x440f5d
mov byte [ebp - 0x285], 1
mov eax, dword [ebp - 0x28c]
test al, 1
je 0x440f78
and eax, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28c], eax
call fcn.00403060
cmp byte [ebp - 0x285], 0
jne 0x440fa8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00403060
lea eax, [ebp - 0x284]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x440fbf
mov esi, dword [ebp - 0x28c]
jmp 0x440efe
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
call fcn.00403060
jmp 0x440fc6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00403060
mov eax, ebx
call fcn.0059d70a
ret

Function at 0x440fd6
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.005a26c0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44105a
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x441053
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004030c0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0059d38a
leave
ret
Function at 0x4425f0
Capabilities:
Enumerate processes

Disassembly:
push 0x288
mov eax, 0x5d0bf3
call fcn.0059d760
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
push 0x22c
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x284]
push eax
call fcn.005a26c0
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
call fcn.004030c0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004030c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0044455a
lea eax, [ebp - 0x40]
push eax
call fcn.0044455a
pop ecx
pop ecx
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x442763
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44270a
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x27c], esi
je 0x4426f3
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.004030c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.0044455a
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ed86
test al, al
je 0x4426e7
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x294]
push eax
call fcn.0043fc6c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00403060
lea eax, [ebp - 0x284]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x442694
mov esi, dword [ebp - 0x290]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x28c]
jmp 0x442755
push dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.00440940
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0044455a
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push edi
push eax
call fcn.00442faa
lea ecx, [ebp - 0x28]
cmp eax, 0xffffffff
jg 0x44275b
mov byte [ebp - 4], 2
call fcn.00403060
add esi, 4
cmp esi, ebx
jne 0x442719
jmp 0x442763
xor edi, edi
inc edi
call fcn.00403060
lea ecx, [ebp - 0x40]
call fcn.00403060
lea ecx, [ebp - 0x58]
call fcn.00403060
lea ecx, [ebp - 0x290]
call fcn.0043f836
mov eax, edi
call fcn.0059d70a
ret