joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef870
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x448], ax
push 0x206
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.0053c870
add esp, 0xc
xor edx, edx
mov word [ebp - 0x220], dx
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x44c], 1
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push 0x58b218
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4ef943
xor eax, eax
jmp 0x4efaa0
lea edx, [ebp - 0x22c]
push edx
push 0x20019
push 0
push 0x58b224
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4ef976
xor eax, eax
jmp 0x4efaa0
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push 0
push 0x58b230
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4ef9ac
xor eax, eax
jmp 0x4efaa0
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 8], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x58b24c
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x448]
push eax
call fcn.00543839
add esp, 4
mov dword [ebp - 0x224], eax
push 0x58b250
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.004426d0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4efa39
xor eax, eax
jmp 0x4efaa0
mov edx, dword [ebp - 0x450]
add edx, 2
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
push 0x58b254
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.004426d0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4efa7b
xor eax, eax
jmp 0x4efaa0
xor edx, edx
mov eax, dword [ebp - 0x450]
mov word [eax], dx
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4efa9b
xor eax, eax
jmp 0x4efaa0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4efc90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x440], ax
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.0053c870
add esp, 0xc
xor edx, edx
mov word [ebp - 0x220], dx
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x444], 1
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push str.htmlfile
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4efd63
xor eax, eax
jmp 0x4efe57
lea edx, [ebp - 0x22c]
push edx
push 0x20019
push 0
push str.shell
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4efd96
xor eax, eax
jmp 0x4efe57
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push 0
push str.opencommand
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4efdcc
xor eax, eax
jmp 0x4efe57
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push 0x58b2dc
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x440]
push eax
call fcn.00543839
add esp, 4
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.004426d0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4efe52
xor eax, eax
jmp 0x4efe57
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4effb0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x40], eax
push 0x7d0
lea eax, [ebp - 0xfe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
lea ecx, [ebp - 0xfd4]
push ecx
call fcn.0053f4d4
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xfe0]
push eax
call fcn.0053f4a6
add esp, 8
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x30], 0x58b388
mov dword [ebp - 0x38], 0x200
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x58b394
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4f0052
lea ecx, [ebp - 0xfe0]
push ecx
call fcn.004f0100
add esp, 4
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x4f0100
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.0053c870
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x58b3b8
lea eax, [ebp - 0x7d8]
push eax
call fcn.0053f4f3
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4f018a
jmp 0x4f01a4
mov ecx, dword [ebp - 0x7e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x7e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4f0440
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4f0460
xor eax, eax
jmp 0x4f05b7
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0053c870
add esp, 0xc
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.0053c870
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0053f4d4
add esp, 8
lea eax, [ebp - 0x210]
push eax
call fcn.005425c6
add esp, 4
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x658], 0
push 0x228
push 0
lea ecx, [ebp - 0x654]
push ecx
call fcn.0053c870
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x4f0516
xor eax, eax
jmp 0x4f05b7
mov dword [ebp - 0x658], 0x22c
lea edx, [ebp - 0x658]
push edx
mov eax, dword [ebp - 0x214]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4f05a8
lea ecx, [ebp - 0x634]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.0053f4d4
add esp, 8
lea eax, [ebp - 0x420]
push eax
call fcn.005425c6
add esp, 4
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x65c]
push edx
call fcn.0053eb57
add esp, 8
test eax, eax
jne 0x4f0591
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x650]
jmp 0x4f05b7
lea ecx, [ebp - 0x658]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4f0537
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4f2880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4f28a9
xor eax, eax
jmp 0x4f2960
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4f28c7
xor eax, eax
jmp 0x4f2960
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0053cf83
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004f2970
add esp, 8
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4f45d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f460b
push 0x58b812
mov ecx, dword [ebp + 8]
call fcn.00403970
mov ecx, dword [ebp - 8]
or ecx, 1
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4f4631
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403970
mov eax, dword [ebp - 8]
or eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4f4640
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577922
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x202
mov word [ebp - 0x10], ax
lea ecx, [ebp - 0x1bc]
push ecx
movzx edx, word [ebp - 0x10]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4f4691
xor al, al
jmp 0x4f4886
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4f46ad
xor al, al
jmp 0x4f4886
mov eax, 2
mov word [ebp - 0x28], ax
push 0x92a
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x26], ax
push str.work.kpzip.com
lea ecx, [ebp - 0x2f8]
push ecx
call fcn.004f45d0
add esp, 8
mov dword [ebp - 0x308], eax
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0x30c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30c]
call fcn.00403810
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f8]
call fcn.00403230
mov eax, 1
test eax, eax
je 0x4f4874
push 0x10
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4f4748
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4f4719
lea eax, [ebp - 0x1d8]
push eax
call fcn.004f3b60
add esp, 4
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x1d8]
call fcn.00408b8c
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00403810
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov edx, 1
test edx, edx
je 0x4f485d
push 0
push 0xff
lea eax, [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
jne 0x4f47b8
jmp 0x4f4782
mov edx, dword [ebp - 0x1dc]
mov byte [ebp + edx - 0x2dc], 0
lea ecx, [ebp - 0x1d8]
call fcn.00403810
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00565ac0
add esp, 8
test eax, eax
je 0x4f4858
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2fc], esp
push 0x58b900
call fcn.00403970
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x314], ecx
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x300], esp
push 0x58b908
call fcn.00403970
mov dword [ebp - 0x318], eax
mov byte [ebp - 4], 1
call fcn.004f37b0
add esp, 0x38
mov byte [ebp - 0x301], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.00403230
mov al, byte [ebp - 0x301]
jmp 0x4f4886
jmp 0x4f4782
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.00403230
jmp 0x4f4719
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4f54d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577a80
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004f3b60
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x84]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00565e50
add esp, 8
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8c]
push edx
push 0x2c
push 0x58bb74
lea ecx, [ebp - 0x60]
call fcn.00408888
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
call fcn.0043e970
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0048c180
add esp, 0xc
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00566aa0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00406210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004088d3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00406210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403230
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4f48a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4f78a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x4f7ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
mov esp, ebp
pop ebp
ret
Function at 0x4f8880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578084
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 0x14
call fcn.0053cf1e
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x4f88d3
mov ecx, dword [ebp - 0x20]
call fcn.0045f2b0
mov dword [ebp - 0x2c], eax
jmp 0x4f88da
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0045d9e0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x28], 0
je 0x4f8905
mov edx, dword [ebp - 0x28]
add edx, 4
mov dword [ebp - 0x30], edx
jmp 0x4f890c
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x18]
call fcn.004dfdf0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
call fcn.00401410
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
call fcn.00401410
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
lea ecx, [ebp - 0x18]
call fcn.004dfdf0
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 8]
call fcn.00406410
push eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x10
call fcn.00401410
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x30]
call ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406210
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4f8e30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5781a8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
push 0x58bf70
lea eax, [ebp - 0x28]
push eax
call fcn.00566340
add esp, 8
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00565e50
add esp, 8
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x64]
add ecx, 0x24
call fcn.00407d20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00406210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403230
mov eax, dword [ebp - 0x64]
add eax, 0x24
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00566830
add esp, 8
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x7c]
push eax
call fcn.005663f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00403230
push 0x58bf54
mov ecx, dword [ebp - 0x64]
add ecx, 0x24
call fcn.00437750
push 0
mov ecx, dword [ebp - 0x64]
add ecx, 0x24
call fcn.00406410
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4ffe20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5787c8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.zipfix::data_block_t.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 0xc], 0xffffffff
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00403970
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00402fc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x50], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.004381b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.005008c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.004381b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.004020d0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00408b90
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.005008a0
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.00500b10
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 0x10
Function at 0x501310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578920
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
call fcn.005004f0
test eax, eax
jne 0x5013af
xor ecx, ecx
je 0x5013a8
push 0x420570
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
call fcn.005014f0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
call fcn.00403810
push eax
push str.directory_found_:
push 0x5fe1e0
call fcn.0040c410
add esp, 8
push eax
call fcn.0040c410
add esp, 8
mov ecx, eax
call fcn.0041bab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00403230
jmp 0x501494
xor edx, edx
je 0x501410
push 0x420570
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
call fcn.005014f0
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
call fcn.00403810
push eax
push str.file_found_:
push 0x5fe1e0
call fcn.0040c410
add esp, 8
push eax
call fcn.0040c410
add esp, 8
mov ecx, eax
call fcn.0041bab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00403230
mov eax, dword [ebp - 0x58]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
call fcn.005014b0
add eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
adc ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
sbb eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x501494
jg 0x50144d
cmp dword [ebp - 0x14], 0
jbe 0x501494
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x14
call fcn.00408b90
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
push ecx
call fcn.0054033f
add esp, 0xc
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 0
mov ecx, dword [ebp - 0x58]
add ecx, 0x14
call fcn.0040895a
push eax
call fcn.005459d3
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8