joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5780f8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
push 0x598658
lea ecx, [ebp - 0x5c]
call fcn.00405220
mov dword [ebp - 4], 0
push 0
push 1
lea eax, [ebp - 0x5c]
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x3c]
call fcn.00563c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.00404950
lea ecx, [ebp - 0x3c]
call fcn.005638c0
movzx ecx, al
test ecx, ecx
jne 0x4b07be
mov byte [ebp - 0x5d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00563c50
mov al, byte [ebp - 0x5d]
jmp 0x4b0898
mov dword [ebp - 0x40], 0
push 0x598670
lea ecx, [ebp - 0x7c]
call fcn.00405220
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00563a10
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x5e], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00404950
movzx edx, byte [ebp - 0x5e]
test edx, edx
je 0x4b081f
mov byte [ebp - 0x7d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00563c50
mov al, byte [ebp - 0x7d]
jmp 0x4b0898
call fcn.00425560
mov esi, eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.004255c0
add esp, 4
cmp esi, eax
je 0x4b084e
mov byte [ebp - 0x7e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00563c50
mov al, byte [ebp - 0x7e]
jmp 0x4b0898
mov ecx, dword [ebp - 0x84]
add ecx, 0x118
call fcn.004048a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4b0882
mov byte [ebp - 0x7f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00563c50
mov al, byte [ebp - 0x7f]
jmp 0x4b0898
mov byte [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00563c50
mov al, byte [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4b09d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x5986a0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4b0a63
push 0
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x4b0a63
lea edx, [ebp - 0x110]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.report_config.txt
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x114]
add ecx, 0x118
call fcn.00404880
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4b1d30
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push 3
call fcn.005237c0
add esp, 4
call fcn.00523930
mov dword [ebp - 0xc], eax
push 1
push 0x29
mov eax, dword [ebp - 0xc]
push eax
call fcn.00523970
add esp, 0xc
mov dword [ebp - 8], 0
push str.User_Agent:Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_42.0.2311.90_Safari_537.36
mov ecx, dword [ebp - 8]
push ecx
call fcn.00524030
add esp, 8
mov dword [ebp - 8], eax
push str.Accept:_
mov edx, dword [ebp - 8]
push edx
call fcn.00524030
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0x2727
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00523970
add esp, 0xc
mov ecx, dword [ebp - 0x10]
call fcn.004048a0
push eax
push 0x2712
mov edx, dword [ebp - 0xc]
push edx
call fcn.00523970
add esp, 0xc
push 0x4b1b40
push 0x4e2b
mov eax, dword [ebp - 0xc]
push eax
call fcn.00523970
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 0x2711
mov edx, dword [ebp - 0xc]
push edx
call fcn.00523970
add esp, 0xc
push 0
push 0x2b
mov eax, dword [ebp - 0xc]
push eax
call fcn.00523970
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 0x2749
mov edx, dword [ebp - 0xc]
push edx
call fcn.00523970
add esp, 0xc
push 0x4b1b70
push 0x4e58
mov eax, dword [ebp - 0xc]
push eax
call fcn.00523970
add esp, 0xc
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x4b1e52
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
push 0x13
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00523970
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
push eax
push 0x14
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00523970
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.00523b70
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b1e78
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004b1ce0
or eax, 0xffffffff
jmp 0x4b1ee3
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
push ecx
push 0x200002
mov edx, dword [ebp - 0xc]
push edx
call fcn.00523bb0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b1eaa
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004b1ce0
or eax, 0xffffffff
jmp 0x4b1ee3
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00523b90
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.00524070
add esp, 4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x28], 0
je 0x4b1ee1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x28]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b2e00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4b3350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jne 0x4b2e36
jmp 0x4b2e6a
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x20], 0xffffffff
jne 0x4b2e41
jmp 0x4b2e6a
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], 0
mov esp, ebp
pop ebp
ret

Function at 0x4b2e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4b3370
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jne 0x4b2ea6
jmp 0x4b2eda
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x20], 0xffffffff
jne 0x4b2eb1
jmp 0x4b2eda
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], 0
mov esp, ebp
pop ebp
ret
Function at 0x4b645d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e5e08]
jne 0x4b6467
repz ret
jmp fcn.004c4f3e

Function at 0x4e1e26
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004c486f
and dword [ebp - 4], 0
cmp dword [0x5ed7dc], 0
mov ebx, eax
jne 0x4e1ed7
push 0x59b09c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4e1f88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x59b090
push edi
call esi
test eax, eax
je 0x4e1f88
push eax
call fcn.004c47fd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5ed7dc], eax
call esi
push eax
call fcn.004c47fd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5ed7e0], eax
call esi
push eax
call fcn.004c47fd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5ed7e4], eax
call esi
push eax
call fcn.004c47fd
pop ecx
mov dword [0x5ed7ec], eax
test eax, eax
je 0x4e1ed7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c47fd
pop ecx
mov dword [0x5ed7e8], eax
mov eax, dword [0x5ed7e8]
cmp eax, ebx
je 0x4e1f2f
cmp dword [0x5ed7ec], ebx
je 0x4e1f2f
push eax
call fcn.004c4878
push dword [0x5ed7ec]
mov esi, eax
call fcn.004c4878
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4e1f2f
test edi, edi
je 0x4e1f2f
call esi
test eax, eax
je 0x4e1f26
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4e1f26
test byte [ebp - 0xc], 1
jne 0x4e1f2f
or dword [ebp + 0x10], 0x200000
jmp 0x4e1f68
mov eax, dword [0x5ed7e0]
cmp eax, ebx
je 0x4e1f68
push eax
call fcn.004c4878
pop ecx
test eax, eax
je 0x4e1f68
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4e1f68
mov eax, dword [0x5ed7e4]
cmp eax, ebx
je 0x4e1f68
push eax
call fcn.004c4878
pop ecx
test eax, eax
je 0x4e1f68
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5ed7dc]
call fcn.004c4878
pop ecx
test eax, eax
je 0x4e1f88
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4e1f8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ea120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578f9d
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [0x5adab4]
add esp, 4
lea ecx, [ebp - 0x9c]
push ecx
call dword [0x5adac0]
add esp, 4
mov dword [ebp - 4], 0
xor edx, edx
mov word [ebp - 0x2dc], dx
push 0x206
push 0
lea eax, [ebp - 0x2da]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x2dc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x59bafc
lea edx, [ebp - 0x2dc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x2dc]
push eax
call dword [0x5adb20]
add esp, 4
push 0x5edb04
lea ecx, [ebp - 0xd4]
call fcn.004f5090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f8]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004f53f0
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x320], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x320]
push eax
lea ecx, [ebp - 0x314]
push ecx
call fcn.00568c20
add esp, 8
mov dword [ebp - 0x324], eax
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x328], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x328]
push eax
mov ecx, 0x5edb28
call fcn.00401810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x314]
call fcn.004017f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2f8]
call fcn.00404950
mov ecx, 0x5edb28
call fcn.0043d4c0
movzx ecx, al
test ecx, ecx
je 0x4ea29c
mov byte [ebp - 0x315], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004ea300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [0x5adab8]
mov al, byte [ebp - 0x315]
jmp 0x4ea2e1
push 1
mov ecx, 0x5edb28
call fcn.00401830
push eax
call dword [0x5adb1c]
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.004ea300
mov byte [ebp - 0x316], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call dword [0x5adab8]
mov al, byte [ebp - 0x316]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4eadf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x830], 0
push 0x40
push 0
lea eax, [ebp - 0x82c]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x7e8], 0
xor ecx, ecx
mov dword [ebp - 0x7e4], ecx
mov dword [ebp - 0x7e0], ecx
mov dword [ebp - 0x7dc], ecx
mov dword [ebp - 0x830], 0x44
xor edx, edx
mov word [ebp - 0x800], dx
xor eax, eax
mov word [ebp - 0x7d8], ax
push 0x7ce
push 0
lea ecx, [ebp - 0x7d6]
push ecx
call fcn.004b6500
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x59bba0
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.004b721f
add esp, 0x10
lea edx, [ebp - 0x7e8]
push edx
lea eax, [ebp - 0x830]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x7d8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4eaee9
push 0xffffffffffffffff
mov edx, dword [ebp - 0x7e8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x7e8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x7e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4eaefc
cmp dword [ebp + 0x10], 0
je 0x4eaefa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4ec200
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579446
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4ec439
mov ecx, dword [ebp + 8]
add ecx, 0x17c
call fcn.00401870
cmp eax, 4
jbe 0x4ec439
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4ec439
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ec42f
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.00568460
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x17c
call fcn.00401830
push eax
lea edx, [ebp - 0x284]
push edx
call fcn.00569590
add esp, 8
mov byte [ebp - 4], 1
push 0x4c026f
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x268]
call fcn.004015c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044d3e0
add esp, 0x20
push 0x4c026f
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004015c0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x284]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0044d3e0
add esp, 0x20
lea ecx, [ebp - 0x268]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x284]
call fcn.004048a0
push eax
call fcn.004c0290
add esp, 8
test eax, eax
je 0x4ec3f6
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
jmp 0x4ec42f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x284]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00404950
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ec2ab
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4ec460
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579486
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4ec699
mov ecx, dword [ebp + 8]
add ecx, 0x198
call fcn.00401870
cmp eax, 4
jbe 0x4ec699
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004b6500
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4ec699
mov dword [ebp - 0x24c], 0x22c
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ec68f
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.00568460
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x198
call fcn.00401830
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.00569590
add esp, 8
mov byte [ebp - 4], 1
push 0x4c026f
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x284]
call fcn.004015c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
call fcn.00401590
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2a4]
push eax
call fcn.0044d3e0
add esp, 0x20
push 0x4c026f
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004015c0
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00401590
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0044d3e0
add esp, 0x20
lea ecx, [ebp - 0x284]
call fcn.004048a0
push eax
lea ecx, [ebp - 0x268]
call fcn.004048a0
push eax
call fcn.004c0290
add esp, 8
test eax, eax
je 0x4ec656
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00404950
jmp 0x4ec68f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x284]
call fcn.00404950
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ec50b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4ed0d0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5795eb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x4ed116
xor eax, eax
jmp 0x4ed25f
mov eax, dword [ebp + 8]
push eax
call fcn.004ecbe0
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401870
test eax, eax
jne 0x4ed140
mov ecx, dword [ebp + 8]
call fcn.00401870
test eax, eax
jne 0x4ed147
xor eax, eax
jmp 0x4ed25f
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x208
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.004b6500
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00401870
test eax, eax
je 0x4ed1a0
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00401830
mov dword [ebp - 0x248], eax
jmp 0x4ed1b5
mov ecx, dword [ebp + 8]
call fcn.00401830
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401770
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x250]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xa8
call fcn.00401810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.004017f0
movzx eax, byte [0x5e7d1d]
test eax, eax
je 0x4ed24e
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push fcn.004edd70
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov ecx, dword [ebp - 0x244]
call fcn.004ee2d0
mov dword [eax], esi
jmp 0x4ed25a
mov edx, dword [ebp + 8]
push edx
call fcn.004edd70
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret 4