joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4388d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5635bc]
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
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.00462540
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x444], 1
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push str.htmlfile
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4389a3
xor eax, eax
jmp 0x438a97
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push str.shell
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4389d6
xor eax, eax
jmp 0x438a97
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push str.opencommand
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x438a0c
xor eax, eax
jmp 0x438a97
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x5159d4
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
push ecx
call fcn.00467c59
add esp, 4
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.00414670
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x438a92
xor eax, eax
jmp 0x438a97
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret

Function at 0x438bf0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x5635bc]
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.0046439f
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xfe0]
push eax
call fcn.00464375
add esp, 8
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0x30], 0x515a80
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 0x515a8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x438c92
lea ecx, [ebp - 0xfe0]
push ecx
call fcn.00438d40
add esp, 4
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x438cd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.004628d7
add esp, 4
test eax, eax
jne 0x438ce8
jmp 0x438d3b
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0x30], 0x515a98
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 str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x438d3b
mov ecx, dword [ebp + 8]
push ecx
call fcn.00438d40
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x438d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00462540
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x515ab0
lea eax, [ebp - 0x7d8]
push eax
call fcn.004654fb
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 0x438dca
jmp 0x438de4
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.0046252a
mov esp, ebp
pop ebp
ret

Function at 0x438e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00462540
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x515ab8
lea eax, [ebp - 0x7d8]
push eax
call fcn.004654fb
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 0x438e8c
xor al, al
jmp 0x438ea8
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 al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x439080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4390a0
xor eax, eax
jmp 0x4391f7
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00462540
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00462540
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0046439f
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00467e7c
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 edx, [ebp - 0x654]
push edx
call fcn.00462540
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x439156
xor eax, eax
jmp 0x4391f7
mov dword [ebp - 0x658], 0x22c
lea eax, [ebp - 0x658]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4391e8
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.0046439f
add esp, 8
lea ecx, [ebp - 0x420]
push ecx
call fcn.00467e7c
add esp, 4
mov dword [ebp - 0x65c], eax
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x65c]
push eax
call fcn.0046561a
add esp, 8
test eax, eax
jne 0x4391d1
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x650]
jmp 0x4391f7
lea edx, [ebp - 0x658]
push edx
mov eax, dword [ebp - 0x214]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x439177
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x439a90
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00462540
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00462540
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0046439f
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0046439f
add esp, 8
lea eax, [ebp - 0x418]
push eax
call fcn.00467c59
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
call fcn.00467c59
add esp, 4
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.0046561a
add esp, 8
test eax, eax
jne 0x439b44
jmp 0x439c6b
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0
mov ecx, 1
test ecx, ecx
je 0x439c5d
mov word [ebp - 0x628], 0
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.00462540
add esp, 0xc
cmp dword [ebp - 0x41c], 0
jne 0x439ba4
mov eax, dword [ebp + 0xc]
push eax
push str._s.bak
lea ecx, [ebp - 0x628]
push ecx
call fcn.004654fb
add esp, 0xc
jmp 0x439bc3
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x515b28
lea ecx, [ebp - 0x628]
push ecx
call fcn.004654fb
add esp, 0x10
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439be1
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00467ee5
add esp, 8
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x439c2d
push 5
push 0
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x439c5d
push 5
push 0
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x41c], 0xa
jl 0x439c49
jmp 0x439c6b
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
jmp 0x439b55
push 5
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x439dd0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439df6
jmp 0x439f88
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x439e0e
jmp 0x439f88
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00462540
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00462540
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004394f0
add esp, 8
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x424], 0
mov ecx, 1
test ecx, ecx
je 0x439f88
mov dword [ebp - 0x428], 1
mov word [ebp - 0x630], 0
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.00462540
add esp, 0xc
cmp dword [ebp - 0x424], 0
jne 0x439ee8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x420]
push ecx
push str._s_s.del
lea edx, [ebp - 0x630]
push edx
call fcn.004654fb
add esp, 0x10
jmp 0x439f11
mov eax, dword [ebp - 0x424]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
push str._s_s.del_d
lea eax, [ebp - 0x630]
push eax
call fcn.004654fb
add esp, 0x14
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439f35
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x439f5d
cmp dword [ebp - 0x424], 0xa
jl 0x439f49
jmp 0x439f88
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
jmp 0x439e85
lea ecx, [ebp - 0x630]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00467ee5
add esp, 8
push 5
push 0
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x439f88
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x43a300
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x600], 0
push 0x206
push 0
lea eax, [ebp - 0x5fe]
push eax
call fcn.00462540
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x600]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x600]
push edx
call fcn.0040c580
add esp, 8
mov word [eax + 2], 0
mov dword [ebp - 0x814], 0x1f4
mov word [ebp - 0x3f0], 0
push 0x3e6
push 0
lea eax, [ebp - 0x3ee]
push eax
call fcn.00462540
add esp, 0xc
lea ecx, [ebp - 0x600]
push ecx
push str._sxxxx.log
lea edx, [ebp - 0x808]
push edx
call fcn.004654fb
add esp, 0xc
lea eax, [ebp - 0x600]
push eax
push str._slog.txt
lea ecx, [ebp - 0x808]
push ecx
call fcn.004654fb
add esp, 0xc
lea edx, [ebp + 0xc]
mov dword [ebp - 0x80c], edx
mov eax, dword [ebp - 0x80c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x814]
sub edx, 1
push edx
lea eax, [ebp - 0x3f0]
push eax
call fcn.004680be
add esp, 0x10
mov ecx, dword [ebp - 0x814]
mov word [ebp + ecx*2 - 0x3f2], 0
mov dword [ebp - 0x810], 0
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a41e
mov dword [ebp - 0x810], 1
push 0x515c50
lea eax, [ebp - 0x808]
push eax
call fcn.00467fd9
add esp, 8
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x43a4fc
cmp dword [ebp - 0x810], 0
jne 0x43a471
mov word [ebp - 0x820], 0xfeff
mov ecx, dword [ebp - 0x3f4]
push ecx
push 2
push 1
lea edx, [ebp - 0x820]
push edx
call fcn.004644eb
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call fcn.004628d7
add esp, 4
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x3f4]
push ecx
mov edx, dword [ebp - 0x818]
shl edx, 1
push edx
push 1
lea eax, [ebp - 0x3f0]
push eax
call fcn.004644eb
add esp, 0x10
mov word [ebp - 0x81c], 0xd
mov ecx, dword [ebp - 0x3f4]
push ecx
push 2
push 1
lea edx, [ebp - 0x81c]
push edx
call fcn.004644eb
add esp, 0x10
mov word [ebp - 0x81c], 0xa
mov eax, dword [ebp - 0x3f4]
push eax
push 2
push 1
lea ecx, [ebp - 0x81c]
push ecx
call fcn.004644eb
add esp, 0x10
mov edx, dword [ebp - 0x3f4]
push edx
call fcn.00464e82
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret

Function at 0x43bae0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x43cf70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x43d260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x43d5c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x43d296
jmp 0x43d2b3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x43d2a1
jmp 0x43d2b3
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x43d2c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x43d5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x43d2f6
jmp 0x43d313
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x43d301
jmp 0x43d313
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x46252a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5635bc]
jne 0x462534
repz ret
jmp fcn.0046cbec
Function at 0x47875e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046c59a
xor ebx, ebx
cmp dword [0x5696bc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x478833
push 0x51a728
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x47879e
xor eax, eax
jmp 0x4788f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51a71c
push edi
call esi
cmp eax, ebx
je 0x478797
push eax
call fcn.0046c537
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5696bc], eax
call esi
push eax
call fcn.0046c537
mov dword [esp], 0x51a6f8
push edi
mov dword [0x5696c0], eax
call esi
push eax
call fcn.0046c537
mov dword [0x5696c4], eax
lea eax, [ebp - 8]
push eax
call fcn.0046b5c1
test eax, eax
pop ecx
pop ecx
je 0x478801
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046260e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x478833
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.0046c537
cmp eax, ebx
pop ecx
mov dword [0x5696cc], eax
je 0x478833
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046c537
pop ecx
mov dword [0x5696c8], eax
mov eax, dword [0x5696c8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4788ac
cmp dword [0x5696cc], esi
je 0x4788ac
push eax
call fcn.0046c5a3
pop ecx
call eax
cmp eax, ebx
je 0x478879
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x5696cc]
call fcn.0046c5a3
pop ecx
call eax
test eax, eax
je 0x478879
test byte [ebp - 0x18], 1
jne 0x4788ac
lea eax, [ebp - 0xc]
push eax
call fcn.0046b5f8
test eax, eax
pop ecx
je 0x478894
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046260e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4788a3
or dword [ebp + 0x10], 0x200000
jmp 0x4788dd
or dword [ebp + 0x10], 0x40000
jmp 0x4788dd
mov eax, dword [0x5696c0]
cmp eax, esi
je 0x4788dd
push eax
call fcn.0046c5a3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4788dd
mov eax, dword [0x5696c4]
cmp eax, esi
je 0x4788dd
push dword [ebp - 4]
push eax
call fcn.0046c5a3
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x5696bc]
call fcn.0046c5a3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47cbd1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046c59a
xor ebx, ebx
cmp dword [0x569934], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x47cca6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x47cc11
xor eax, eax
jmp 0x47cd6a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x47cc0a
push eax
call fcn.0046c537
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x569934], eax
call esi
push eax
call fcn.0046c537
mov dword [esp], 0x51a6f8
push edi
mov dword [0x569938], eax
call esi
push eax
call fcn.0046c537
mov dword [0x56993c], eax
lea eax, [ebp - 8]
push eax
call fcn.0046b5c1
test eax, eax
pop ecx
pop ecx
je 0x47cc74
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046260e
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x47cca6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046c537
cmp eax, ebx
pop ecx
mov dword [0x569944], eax
je 0x47cca6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046c537
pop ecx
mov dword [0x569940], eax
mov eax, dword [0x569940]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x47cd1f
cmp dword [0x569944], esi
je 0x47cd1f
push eax
call fcn.0046c5a3
pop ecx
call eax
cmp eax, ebx
je 0x47ccec
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x569944]
call fcn.0046c5a3
pop ecx
call eax
test eax, eax
je 0x47ccec
test byte [ebp - 0x18], 1
jne 0x47cd1f
lea eax, [ebp - 0xc]
push eax
call fcn.0046b5f8
test eax, eax
pop ecx
je 0x47cd07
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046260e
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x47cd16
or dword [ebp + 0x10], 0x200000
jmp 0x47cd50
or dword [ebp + 0x10], 0x40000
jmp 0x47cd50
mov eax, dword [0x569938]
cmp eax, esi
je 0x47cd50
push eax
call fcn.0046c5a3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47cd50
mov eax, dword [0x56993c]
cmp eax, esi
je 0x47cd50
push dword [ebp - 4]
push eax
call fcn.0046c5a3
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x569934]
call fcn.0046c5a3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48329f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00483234
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00462540
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4832ee
cmp dword [ebp - 0x1c], 5
jb 0x483306
jmp 0x483302
cmp dword [ebp - 0x10], 1
jne 0x483306
cmp dword [ebp - 0x1c], 4
ja 0x483302
jne 0x483306
cmp dword [ebp - 0x18], 0
jbe 0x483306
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x51b0b8
call fcn.00429e90
test eax, eax
jge 0x483327
mov byte [0x56a344], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046252a
add ebp, 0x78
leave
ret

Function at 0x483370
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x5635bc]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4833c0
mov ax, word [esp]
cmp al, 2
jne 0x4833ba
cmp ah, al
jne 0x4833ba
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0046252a
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.0046252a
add esp, 0x194
ret

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

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x48eec2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x48f010
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x48f02b
mov edx, dword [esi + 0xf4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x48f05f
cmp eax, 2
jg 0x48f05f
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x51c214]
push 2
push edx
call fcn.004644eb
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.004644eb
add esp, 0x20
xor eax, eax
ret