joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f514
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x51fbf4]
cmp dword [eax + 0x30], 0
je 0x47f5be
cmp dword [ebx + 0x94], 0
jne 0x47f5b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47f4a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47f5b8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47f57e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47f5b8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e384
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47f58d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x480120
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x480155
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404890
jmp 0x480162
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48126c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4812ad
mov eax, esi
call fcn.00467190
test al, al
je 0x4812ad
mov eax, dword [ebx + 0x84]
call fcn.00466e8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4812ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.00466e8c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x486bdc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41ae50]
call fcn.004051e8
xor eax, eax
push ebp
push 0x486d20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51c3d8], 0
jne 0x486c2f
mov ecx, dword [0x51e1a0]
mov dl, 1
mov eax, dword [0x40812c]
call fcn.0040d628
call fcn.0040413c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403200
mov eax, ebx
call fcn.00405038
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x486d30
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040650c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405048
test eax, eax
jle 0x486cc7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x486cc0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a28
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a10
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040905c
test eax, eax
jne 0x486cc0
mov ebx, 0x15
jmp 0x486ccc
mov ebx, 0x10
jmp 0x486ccc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x51c3d8]
call fcn.00486ad8
mov eax, dword [ebp - 8]
call fcn.00486ad8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486d27
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x10]
mov edx, dword [0x41ae50]
call fcn.004052b8
ret

Function at 0x488138
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4881a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x51c4a0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x488193
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00488128
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x487f34]
call fcn.004881d0
mov dword [0x51c504], eax
mov eax, dword [ebp - 4]
call fcn.004880d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4881b0
lea eax, [ebp - 8]
call fcn.0040650c
ret

Function at 0x4892b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4892ec]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4892ca
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4892d9
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4892e8
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x48a7d4
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x51e76c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48a7fa
push 0
mov eax, dword [0x51e76c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x48d744
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48d772
mov eax, ebx
call fcn.0048e1f8
cmp dword [ebx + 0x40], 0
je 0x48d76b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48d7e3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48d7d5
cmp dword [ebx + 8], 0
je 0x48d794
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48d7a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48d7d5
cmp dword [ebx + 8], 0
je 0x48d787
cmp eax, 3
je 0x48d7b9
dec eax
jne 0x48d787
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48d787
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48d787
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48d801
cmp dword [ebx + 0x14], 0xcc
je 0x48d801
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048d80c
pop ebx
ret

Function at 0x49f39c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x49f3ed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x49f3d4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x49f3c4
jmp 0x49f3ed
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x49f3d5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b3150
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407a94
ret
Function at 0x4bb320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4bb328
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4bb51a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4bb530
mov eax, esi
call fcn.004b91ac
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004047f4
lea ecx, [ebp - 0x10]
mov edx, 0x4bb544
mov eax, esi
call fcn.004b91ac
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004047f4
lea ecx, [ebp - 0x14]
mov edx, 0x4bb55c
mov eax, esi
call fcn.004b91ac
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004047f4
lea ecx, [ebp - 0x18]
mov edx, 0x4bb578
mov eax, esi
call fcn.004b91ac
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004047f4
lea ecx, [ebp - 0x1c]
mov edx, 0x4bb594
mov eax, esi
call fcn.004b91ac
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004047f4
lea ecx, [ebp - 0x24]
mov edx, 0x4bb5ac
mov eax, esi
call fcn.004b91ac
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004090cc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409614
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4bb5c4
mov eax, esi
call fcn.004b91ac
mov eax, dword [ebp - 0x28]
call fcn.004b2144
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4bb5d4
mov eax, esi
call fcn.004b91ac
mov eax, dword [ebp - 0x2c]
call fcn.004b2144
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4bb5ec
mov eax, esi
call fcn.004b91ac
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409614
inc eax
je 0x4bb4bd
lea ecx, [ebp - 0x34]
mov edx, 0x4bb5ec
mov eax, esi
call fcn.004b91ac
mov eax, dword [ebp - 0x34]
call fcn.004095d8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b220
fstp qword [ebp - 0x3c]
wait
call fcn.0040b694
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4bb4d8
lea ecx, [ebp - 0x40]
mov edx, 0x4bb5ec
mov eax, esi
call fcn.004b91ac
mov eax, dword [ebp - 0x40]
call fcn.004b2144
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4bb5fc
mov eax, esi
call fcn.004b91ac
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb521
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004047c4
ret
Function at 0x4c62e4
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c63df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x1400
xor edx, edx
push ebp
push 0x4c63bd
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
call fcn.00402830
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4c638d
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x190]
lea eax, [ebx + 0x194]
call fcn.004c5b60
mov edx, dword [ebp - 0x10]
lea eax, [esi + 0xc]
call fcn.004047f4
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c637e
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x190]
lea eax, [ebx + 0x194]
call fcn.004c5b60
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x10]
call fcn.004047f4
jmp 0x4c63a7
lea eax, [esi + 0x10]
mov edx, 0x4c63f8
call fcn.004047f4
jmp 0x4c63a7
lea eax, [esi + 0xc]
mov edx, 0x4c63f8
call fcn.004047f4
lea eax, [esi + 0x10]
mov edx, 0x4c63f8
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c63c4
mov eax, dword [ebp - 8]
call fcn.00402850
ret

Function at 0x4c6d6c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407a94
ret

Function at 0x4c9a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c9aba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004047a0
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041b16c
test al, al
je 0x4c9a9a
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.0040a0d8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c9ac8
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004047f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9ac1
lea eax, [ebp - 8]
call fcn.004047a0
ret

Function at 0x4cac68
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov edi, edx
mov eax, edi
call fcn.00404a60
mov edx, eax
mov eax, ebp
call fcn.00404dec
mov eax, edi
call fcn.00404a60
mov esi, eax
test esi, esi
jle 0x4cacbb
mov ebx, 1
mov eax, ebp
call fcn.00404cb8
lea eax, [eax + ebx - 1]
push eax
mov eax, ebx
mov ecx, 5
cdq
idiv ecx
mov al, byte [edx + 0x51d788]
mov dl, byte [edi + ebx - 1]
xor al, dl
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x4cac92
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cf8e4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, eax
or ebx, 0xffffffff
mov eax, edi
call fcn.00404a60
dec eax
test eax, eax
jl 0x4cf918
inc eax
xor esi, esi
mov dl, byte [edi + esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x51dc18]
shr ebx, 8
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x4cf8fb
xor ebx, 0xffffffff
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4e4780
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x14], 0
je 0x4e47b3
mov eax, dword [ebx + 0x14]
call fcn.00404c60
push eax
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov esi, eax
mov dword [ebx + 0x10], esi
test esi, esi
je 0x4e47b3
push 0x2710
push esi
call sub.kernel32.dll_WaitForSingleObject
pop esi
pop ebx
ret

Function at 0x4e5714
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e582e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x110]
call fcn.0040a0d8
lea eax, [ebp - 0x114]
call fcn.004e9a8c
mov eax, dword [ebp - 0x114]
call fcn.004e9f50
test al, al
je 0x4e57b4
mov al, byte [0x4e583c]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x4e5848
mov edx, 0x4e585c
mov eax, dword [ebp - 0x10]
call fcn.0040eab4
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x10]
call fcn.00404838
lea eax, [ebp - 0xc]
mov ecx, 0x4e5870
mov edx, dword [ebp - 0x10]
call fcn.00404aac
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00404aac
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0xc]
call fcn.00409ccc
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004e8334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5835
lea eax, [ebp - 0x120]
mov edx, 4
call fcn.004047c4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 4]
call fcn.004047a0
ret

Function at 0x4e6954
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffc0
mov ebx, eax
mov dword [esp], 0x40
push esp
call sub.kernel32.dll_GlobalMemoryStatusEx
push 0
push 0x100000
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.00405810
push edx
push eax
mov eax, ebx
call fcn.00409588
add esp, 0x40
pop ebx
ret
Function at 0x4e79b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4e7b94
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.0040a0d8
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x14]
mov ecx, 0x4e7bac
call fcn.00404aac
xor eax, eax
push ebp
push 0x4e7b57
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.004090cc
mov ecx, dword [ebp - 0x11c]
mov edx, 0x4e7bbc
mov eax, dword [ebp - 0x14]
call fcn.004e7804
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4e7b3f
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x124]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x124]
call fcn.00404c60
mov edx, eax
lea eax, [ebp - 0x120]
call fcn.00404998
mov eax, dword [ebp - 0x120]
call fcn.00409bdc
lea ecx, [ebp - 0x128]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x128]
mov eax, 0x4e7bcc
call fcn.00404da4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x130]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 8]
call fcn.0043b244
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0xc]
mov ecx, 0x4e7bd8
call fcn.00404aac
mov eax, dword [ebp - 0xc]
call fcn.00404c60
mov edx, eax
lea eax, [ebp - 0x134]
call fcn.00404998
mov eax, dword [ebp - 0x134]
call fcn.00409bdc
inc ebx
dec esi
jne 0x4e7a8a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7b5e
mov eax, dword [ebp - 0x10]
call fcn.00403970
mov bl, 1
ret
Function at 0x4e8334
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.004047a0
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0xc
call fcn.00403200
mov dword [ebp - 0x6c], 0xc
mov dword [ebp - 0x64], 0xffffffff
xor eax, eax
mov dword [ebp - 0x68], eax
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00403200
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x20], 0
mov dword [ebp - 0x24], 0x101
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c60
push eax
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, esi
call fcn.00404c60
push eax
mov eax, ebx
call fcn.00404c60
push eax
call sub.kernel32.dll_CreateProcessA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41c100]
call fcn.0042111c
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4e8427
cmp eax, 0
jbe 0x4e8450
jmp 0x4e8429
jle 0x4e8450
mov dl, 1
mov eax, dword [0x41bf54]
call fcn.00403940
mov esi, eax
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, esi
call fcn.00403970
mov eax, ebx
call fcn.00403970
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e8474
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4e85a8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x114]
call fcn.0040a0d8
mov al, byte [0x4e85b4]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x4e85c0
mov edx, 0x4e85d4
mov eax, dword [ebp - 0x14]
call fcn.0040eab4
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x14]
call fcn.00404838
lea eax, [ebp - 0x10]
mov ecx, 0x4e85e8
mov edx, dword [ebp - 0x14]
call fcn.00404aac
mov eax, ebx
call fcn.004047a0
push dword [ebp - 0x10]
push 0x4e8600
push 0x4e8618
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.004090cc
push dword [ebp - 0x11c]
push 0x4e8618
lea eax, [ebp - 8]
mov edx, 5
call fcn.00404b20
lea eax, [ebp - 0xc]
push eax
push ebx
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 0x10]
call fcn.00409ccc
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004e8334
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e85af
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.004047c4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c4
ret
Function at 0x4e861c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4e8756
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x114]
call fcn.0040a0d8
mov al, byte [0x4e8764]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x4e8770
mov edx, 0x4e8784
mov eax, dword [ebp - 0x14]
call fcn.0040eab4
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x14]
call fcn.00404838
lea eax, [ebp - 0x10]
mov ecx, 0x4e8798
mov edx, dword [ebp - 0x14]
call fcn.00404aac
push dword [ebp - 0x10]
push 0x4e87b0
push 0x4e87c4
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.004090cc
push dword [ebp - 0x11c]
push 0x4e87c4
lea eax, [ebp - 8]
mov edx, 5
call fcn.00404b20
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x10]
call fcn.00409ccc
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004e8334
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e875d
lea eax, [ebp - 0x124]
mov edx, 4
call fcn.004047c4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c4
ret