joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0x5bed44
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b4768
jmp 0x4b47a7
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4b4796
jmp 0x4b47a7
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4b47b9
cmp dword [ebp - 4], 0
je 0x4b47b7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4b47c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b4816
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4b4818
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4b5650
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x464], 1
mov eax, dword [ebp + 8]
push eax
push 0x5c1690
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0059be29
add esp, 0x10
lea edx, [ebp - 0x460]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4b57a6
mov ecx, 1
test ecx, ecx
je 0x4b5788
mov edx, dword [ebp - 0x460]
and edx, 0x10
je 0x4b5733
push 0x5c16a0
lea eax, [ebp - 0x434]
push eax
call fcn.0059943e
add esp, 8
test eax, eax
je 0x4b5731
push 0x5c16a4
lea ecx, [ebp - 0x434]
push ecx
call fcn.0059943e
add esp, 8
test eax, eax
je 0x4b5731
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x5c16ac
push 0x104
lea ecx, [ebp - 0x670]
push ecx
call fcn.0059be29
add esp, 0x14
lea edx, [ebp - 0x670]
push edx
call fcn.004b5650
add esp, 4
test eax, eax
jne 0x4b5731
xor eax, eax
jmp 0x4b57bd
jmp 0x4b576c
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s
push 0x104
lea edx, [ebp - 0x670]
push edx
call fcn.0059be29
add esp, 0x14
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b576c
xor eax, eax
jmp 0x4b57bd
lea ecx, [ebp - 0x460]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b5783
jmp 0x4b5788
jmp 0x4b56ab
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b57a4
xor eax, eax
jmp 0x4b57bd
jmp 0x4b57b8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b57b8
xor eax, eax
jmp 0x4b57bd
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret

Function at 0x4b57d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4b582e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x258]
and eax, 0x10
je 0x4b5822
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5650
add esp, 4
jmp 0x4b5830
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4b5830
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret
Function at 0x4b6010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.0059916a
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b60a6
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b606f
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00597e30
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4b609c
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edx, dword [ebp - 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
jmp 0x4b60a8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b8820
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dx, word [ebp + 0xc]
mov word [ebp - 0x16], dx
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
cmp dword [ebp + 0xc], 0
jne 0x4b88d4
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebp - 0x16], ax
movzx edx, word [ebp - 0x16]
test edx, edx
je 0x4b88d4
mov eax, dword [ebp - 0x14]
or eax, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0x25
je 0x4b88cb
cmp dword [ebp + 8], 0x27
je 0x4b88cb
cmp dword [ebp + 8], 0x26
je 0x4b88cb
cmp dword [ebp + 8], 0x28
je 0x4b88cb
cmp dword [ebp + 8], 0x24
je 0x4b88cb
cmp dword [ebp + 8], 0x23
je 0x4b88cb
cmp dword [ebp + 8], 0x2e
je 0x4b88cb
cmp dword [ebp + 8], 0x2d
je 0x4b88cb
cmp dword [ebp + 8], 0x21
je 0x4b88cb
cmp dword [ebp + 8], 0x22
je 0x4b88cb
cmp dword [ebp + 8], 0xa5
je 0x4b88cb
cmp dword [ebp + 8], 0xa3
je 0x4b88cb
cmp dword [ebp + 8], 0x13
jne 0x4b88d4
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
push 0x1c
lea edx, [ebp - 0x1c]
push edx
push 1
call dword [sym.imp.USER32.dll_SendInput]
cmp eax, 1
je 0x4b8910
cmp dword [0x653730], 3
jg 0x4b8910
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Injection_failed._err_d
push 0x4db
push str..TShareApe.cpp
push 3
call fcn.00401320
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x4b9130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x4b914b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x2bc
call fcn.004b09a0
cmp dword [ebp - 4], eax
jae 0x4b91ba
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x2bc
call fcn.004ba510
movzx edx, word [eax]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b90c0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4b91b8
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004b8820
add esp, 0x10
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004b8820
add esp, 0x10
jmp 0x4b9142
mov ecx, dword [ebp - 0xc]
add ecx, 0x2bc
call fcn.004b0c20
mov esp, ebp
pop ebp
ret

Function at 0x4b91d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x20], 0xa2
mov dword [ebp - 0x1c], 0xa0
mov dword [ebp - 0x18], 0xa4
mov dword [ebp - 0x14], 0xa3
mov dword [ebp - 0x10], 0xa1
mov dword [ebp - 0xc], 0xa5
mov dword [ebp - 8], 0x5b
push 0x11
call fcn.0041a000
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b932c
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004ef740
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00415eb0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a8b50
push 0x11
lea ecx, [ebp - 0x30]
call fcn.004b5ab0
mov dword [ebp - 0x34], 0
jmp 0x4b9264
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 8
jae 0x4b92e6
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + ecx*4 - 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004b90c0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x3c], 0x14
jne 0x4b92ad
mov edx, dword [ebp - 0x38]
and edx, 1
je 0x4b92a4
mov dword [ebp - 0x38], 1
jmp 0x4b92ab
mov dword [ebp - 0x38], 0
jmp 0x4b92c7
mov eax, dword [ebp - 0x38]
and eax, 0x8000
jne 0x4b92c0
mov dword [ebp - 0x38], 0
jmp 0x4b92c7
mov dword [ebp - 0x38], 1
movzx ecx, byte [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004b5ab0
movzx edx, byte [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
call fcn.004b5ab0
jmp 0x4b925b
cmp dword [ebp + 8], 0
jne 0x4b92fa
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x29c]
mov dword [ebp - 0x44], ecx
jmp 0x4b9300
mov edx, dword [ebp + 8]
mov dword [ebp - 0x44], edx
push 0
push 3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4b9de0
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0x7e
jne 0x4b9e0d
push 0x80000
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.004010d0
neg eax
sbb eax, eax
add eax, 1
jmp 0x4b9e78
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
jmp 0x4b9e29
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 6
jge 0x4b9e5e
push 0x20
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
test eax, eax
je 0x4b9e5c
mov ecx, dword [ebp - 8]
call fcn.004b9e80
mov eax, 1
jmp 0x4b9e78
jmp 0x4b9e20
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
je 0x4b9e76
mov eax, 2
jmp 0x4b9e78
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4bea90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b81cb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x64786c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x14], 0
je 0x4beadb
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx]
call eax
test eax, eax
je 0x4beadb
mov eax, 0x69
jmp 0x4bec26
push 0x104
lea ecx, [ebp - 0x3c]
call fcn.00402e40
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403950
push 0x2f
lea ecx, [ebp - 0x3c]
call fcn.00402ed0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402f50
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004032f0
push eax
call fcn.004bec40
add esp, 8
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00542250
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4beb6b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402ea0
mov eax, dword [ebp - 0x48]
jmp 0x4bec26
push 0x5c265c
lea ecx, [ebp - 0x3c]
call fcn.004032f0
push eax
call fcn.00599840
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4bebfe
push 0x5000
call fcn.005971c5
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x5000
push 1
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0059a094
add esp, 0x10
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jbe 0x4bebde
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005422a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4bebdc
jmp 0x4bebde
jmp 0x4beba0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0059951c
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00596bdf
add esp, 4
jmp 0x4bec05
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp + 0x10]
push edx
call fcn.00542d20
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402ea0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4bef40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], str.gotohttp_ft_temp.zip
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4bef6f
mov edx, dword [ebp + 0xc]
sub edx, 0x14
cmp dword [ebp - 8], edx
jb 0x4bef75
xor eax, eax
jmp 0x4befbb
cmp dword [ebp - 8], 0
jbe 0x4befa5
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x4befa5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], 0x5c
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00597ab0
add esp, 8
mov eax, dword [ebp - 8]
add eax, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x4c1630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0x89
mov byte [ebp - 0xb], 0x50
mov byte [ebp - 0xa], 0x4e
mov byte [ebp - 9], 0x47
mov byte [ebp - 8], 0xd
mov byte [ebp - 7], 0xa
mov byte [ebp - 6], 0x1a
mov byte [ebp - 5], 0xa
mov eax, dword [ebp + 8]
push eax
push 1
push 8
lea ecx, [ebp - 0xc]
push ecx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
jne 0x4c1680
mov eax, 1
jmp 0x4c1682
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret
Function at 0x4c1690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x48
mov byte [ebp - 0x22], 0x44
mov byte [ebp - 0x21], 0x52
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x14], 0xd
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c0a60
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0059c578
add esp, 4
push eax
call fcn.004c0a60
add esp, 4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 7]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.004c0b70
add esp, 8
mov byte [ebp - 8], al
mov byte [ebp - 4], 0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004c0a60
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
push edx
push 1
push 4
lea eax, [ebp - 0x28]
push eax
call fcn.005996fa
add esp, 0x10
cmp eax, 1
jne 0x4c175d
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 0x24]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
jne 0x4c175d
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4c1761
xor eax, eax
jmp 0x4c17a9
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004c0c50
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c0a60
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 0x18]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4c17a4
xor eax, eax
jmp 0x4c17a9
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret
Function at 0x4c17c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0x13], 0x4c
mov byte [ebp - 0x12], 0x54
mov byte [ebp - 0x11], 0x45
mov byte [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0x100
jle 0x4c17f7
xor eax, eax
jmp 0x4c1918
mov eax, dword [ebp + 0x10]
imul eax, eax, 3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004c0a60
add esp, 4
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp + 8]
push edx
push 1
push 4
lea eax, [ebp - 0x31c]
push eax
call fcn.005996fa
add esp, 0x10
cmp eax, 1
jne 0x4c1847
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 0x14]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4c184e
xor eax, eax
jmp 0x4c1918
mov dword [ebp - 8], 0
jmp 0x4c1860
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jge 0x4c18ab
mov edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [ebp + edx - 0x316], cl
mov edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 1]
mov byte [ebp + edx - 0x317], cl
mov edx, dword [ebp - 8]
imul edx, edx, 3
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 2]
mov byte [ebp + edx - 0x318], cl
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x4c1857
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x318]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4c18cd
xor eax, eax
jmp 0x4c1918
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004c0c50
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004c0a60
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 4]
push edx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4c1913
xor eax, eax
jmp 0x4c1918
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret

Function at 0x4c1930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x64786c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0xb], 0x45
mov byte [ebp - 0xa], 0x4e
mov byte [ebp - 9], 0x44
mov byte [ebp - 8], 0xae
mov byte [ebp - 7], 0x42
mov byte [ebp - 6], 0x60
mov byte [ebp - 5], 0x82
mov eax, dword [ebp + 8]
push eax
push 1
push 0xc
lea ecx, [ebp - 0x10]
push ecx
call fcn.005996fa
add esp, 0x10
cmp eax, 1
je 0x4c198d
xor eax, eax
jmp 0x4c1992
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059709c
mov esp, ebp
pop ebp
ret
Function at 0x4c9700
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0xffffffff
jne 0x4c9717
or eax, 0xffffffff
jmp 0x4c9774
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call sub.WS2_32.dll_send
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4c9752
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4c9750
push 1
mov ecx, dword [ebp - 8]
call fcn.004c90c0
xor eax, eax
jmp 0x4c9774
jmp 0x4c9771
cmp dword [ebp - 4], 0
jne 0x4c975f
or eax, 0xffffffff
jmp 0x4c9774
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x4c9771
push 1
mov ecx, dword [ebp - 8]
call fcn.004c90c0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4c9780
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0xffffffff
jne 0x4c9797
or eax, 0xffffffff
jmp 0x4c97f4
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4c97d2
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4c97d0
push 1
mov ecx, dword [ebp - 8]
call fcn.004c9090
xor eax, eax
jmp 0x4c97f4
jmp 0x4c97f1
cmp dword [ebp - 4], 0
jne 0x4c97df
or eax, 0xffffffff
jmp 0x4c97f4
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x4c97f1
push 1
mov ecx, dword [ebp - 8]
call fcn.004c9090
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4c98b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8413
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x64786c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], 0
je 0x4c98f4
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x5c3660
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.004a6990
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004a6ab0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004c9ff0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.NS_Provider.2.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], vtable.NS_Provider.1.0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 4], vtable.NS_Provider.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
sub eax, 0x8c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004c9f10
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004cc610
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x84], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004e0b60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8