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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5645bc]
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.00463f00
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00463f00
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 0x43a063
xor eax, eax
jmp 0x43a157
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 0x43a096
xor eax, eax
jmp 0x43a157
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 0x43a0cc
xor eax, eax
jmp 0x43a157
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 0x516bb4
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.00468a99
add esp, 4
mov dword [ebp - 0x224], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
push eax
call fcn.00414260
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43a152
xor eax, eax
jmp 0x43a157
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00463ee8
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfe0
mov eax, dword [0x5645bc]
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.00465d5f
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xfe0]
push eax
call fcn.00465d35
add esp, 8
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00463f00
add esp, 0xc
mov dword [ebp - 0x30], 0x516c60
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 0x516c6c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x43a352
lea ecx, [ebp - 0xfe0]
push ecx
call fcn.0043a400
add esp, 4
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00463ee8
mov esp, ebp
pop ebp
ret
Function at 0x43a390
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push eax
call fcn.00464297
add esp, 4
test eax, eax
jne 0x43a3a8
jmp 0x43a3fb
push 0x3c
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00463f00
add esp, 0xc
mov dword [ebp - 0x30], 0x516c78
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 0x43a3fb
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043a400
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x43a400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5645bc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00463f00
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00463f00
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x516c90
lea eax, [ebp - 0x7d8]
push eax
call fcn.00466ebb
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 0x43a48a
jmp 0x43a4a4
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.00463ee8
mov esp, ebp
pop ebp
ret
Function at 0x43a680
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x5645bc]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x43a6a0
xor eax, eax
jmp 0x43a7f7
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00463f00
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00463f00
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00465d5f
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call fcn.00468cbc
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.00463f00
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x43a756
xor eax, eax
jmp 0x43a7f7
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 0x43a7e8
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.00465d5f
add esp, 8
lea ecx, [ebp - 0x420]
push ecx
call fcn.00468cbc
add esp, 4
mov dword [ebp - 0x65c], eax
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x65c]
push eax
call fcn.00466fda
add esp, 8
test eax, eax
jne 0x43a7d1
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x650]
jmp 0x43a7f7
lea edx, [ebp - 0x658]
push edx
mov eax, dword [ebp - 0x214]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43a777
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.00463ee8
mov esp, ebp
pop ebp
ret
Function at 0x43b090
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x5645bc]
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.00463f00
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00463f00
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00465d5f
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00465d5f
add esp, 8
lea eax, [ebp - 0x418]
push eax
call fcn.00468a99
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
call fcn.00468a99
add esp, 4
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00466fda
add esp, 8
test eax, eax
jne 0x43b144
jmp 0x43b26b
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0
mov ecx, 1
test ecx, ecx
je 0x43b25d
mov word [ebp - 0x628], 0
push 0x206
push 0
lea edx, [ebp - 0x626]
push edx
call fcn.00463f00
add esp, 0xc
cmp dword [ebp - 0x41c], 0
jne 0x43b1a4
mov eax, dword [ebp + 0xc]
push eax
push str._s.bak
lea ecx, [ebp - 0x628]
push ecx
call fcn.00466ebb
add esp, 0xc
jmp 0x43b1c3
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x516d00
lea ecx, [ebp - 0x628]
push ecx
call fcn.00466ebb
add esp, 0x10
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b1e1
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.00468d25
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 0x43b22d
push 5
push 0
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x43b25d
push 5
push 0
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x41c], 0xa
jl 0x43b249
jmp 0x43b26b
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
jmp 0x43b155
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.00463ee8
mov esp, ebp
pop ebp
ret
Function at 0x43b3d0
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 [0x5645bc]
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 0x43b3f6
jmp 0x43b588
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 0x43b40e
jmp 0x43b588
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00463f00
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00463f00
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.0043aaf0
add esp, 8
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x424], 0
mov ecx, 1
test ecx, ecx
je 0x43b588
mov dword [ebp - 0x428], 1
mov word [ebp - 0x630], 0
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.00463f00
add esp, 0xc
cmp dword [ebp - 0x424], 0
jne 0x43b4e8
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.00466ebb
add esp, 0x10
jmp 0x43b511
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.00466ebb
add esp, 0x14
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b535
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x43b55d
cmp dword [ebp - 0x424], 0xa
jl 0x43b549
jmp 0x43b588
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
jmp 0x43b485
lea ecx, [ebp - 0x630]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00468d25
add esp, 8
push 5
push 0
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x43b588
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00463ee8
mov esp, ebp
pop ebp
ret
Function at 0x43b900
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x5645bc]
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.00463f00
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.0040c390
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.00463f00
add esp, 0xc
lea ecx, [ebp - 0x600]
push ecx
push str._sxxxx.log
lea edx, [ebp - 0x808]
push edx
call fcn.00466ebb
add esp, 0xc
lea eax, [ebp - 0x600]
push eax
push str._slog.txt
lea ecx, [ebp - 0x808]
push ecx
call fcn.00466ebb
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.00468efe
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 0x43ba1e
mov dword [ebp - 0x810], 1
push 0x516e28
lea eax, [ebp - 0x808]
push eax
call fcn.00468e19
add esp, 8
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x43bafc
cmp dword [ebp - 0x810], 0
jne 0x43ba71
mov word [ebp - 0x820], 0xfeff
mov ecx, dword [ebp - 0x3f4]
push ecx
push 2
push 1
lea edx, [ebp - 0x820]
push edx
call fcn.00465eab
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call fcn.00464297
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.00465eab
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.00465eab
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.00465eab
add esp, 0x10
mov edx, dword [ebp - 0x3f4]
push edx
call fcn.00466842
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463ee8
mov esp, ebp
pop ebp
ret

Function at 0x43d1c0
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 0x43e650
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 0x43e940
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 0x43eca0
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 0x43e976
jmp 0x43e993
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x43e981
jmp 0x43e993
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 0x43e9a0
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 0x43ecc0
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 0x43e9d6
jmp 0x43e9f3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x43e9e1
jmp 0x43e9f3
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 0x463ee8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5645bc]
jne 0x463ef2
repz ret
jmp fcn.0046d82c
Function at 0x478a87
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046d1da
xor ebx, ebx
cmp dword [0x56a6dc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x478b5c
push 0x51b894
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x478ac7
xor eax, eax
jmp 0x478c20
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51b888
push edi
call esi
cmp eax, ebx
je 0x478ac0
push eax
call fcn.0046d177
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x56a6dc], eax
call esi
push eax
call fcn.0046d177
mov dword [esp], 0x51b864
push edi
mov dword [0x56a6e0], eax
call esi
push eax
call fcn.0046d177
mov dword [0x56a6e4], eax
lea eax, [ebp - 8]
push eax
call fcn.0046c201
test eax, eax
pop ecx
pop ecx
je 0x478b2a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00463fce
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x478b5c
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.0046d177
cmp eax, ebx
pop ecx
mov dword [0x56a6ec], eax
je 0x478b5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046d177
pop ecx
mov dword [0x56a6e8], eax
mov eax, dword [0x56a6e8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x478bd5
cmp dword [0x56a6ec], esi
je 0x478bd5
push eax
call fcn.0046d1e3
pop ecx
call eax
cmp eax, ebx
je 0x478ba2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x56a6ec]
call fcn.0046d1e3
pop ecx
call eax
test eax, eax
je 0x478ba2
test byte [ebp - 0x18], 1
jne 0x478bd5
lea eax, [ebp - 0xc]
push eax
call fcn.0046c238
test eax, eax
pop ecx
je 0x478bbd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00463fce
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x478bcc
or dword [ebp + 0x10], 0x200000
jmp 0x478c06
or dword [ebp + 0x10], 0x40000
jmp 0x478c06
mov eax, dword [0x56a6e0]
cmp eax, esi
je 0x478c06
push eax
call fcn.0046d1e3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x478c06
mov eax, dword [0x56a6e4]
cmp eax, esi
je 0x478c06
push dword [ebp - 4]
push eax
call fcn.0046d1e3
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 [0x56a6dc]
call fcn.0046d1e3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47cf91
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046d1da
xor ebx, ebx
cmp dword [0x56a954], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x47d066
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x47cfd1
xor eax, eax
jmp 0x47d12a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x47cfca
push eax
call fcn.0046d177
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x56a954], eax
call esi
push eax
call fcn.0046d177
mov dword [esp], 0x51b864
push edi
mov dword [0x56a958], eax
call esi
push eax
call fcn.0046d177
mov dword [0x56a95c], eax
lea eax, [ebp - 8]
push eax
call fcn.0046c201
test eax, eax
pop ecx
pop ecx
je 0x47d034
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00463fce
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x47d066
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046d177
cmp eax, ebx
pop ecx
mov dword [0x56a964], eax
je 0x47d066
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046d177
pop ecx
mov dword [0x56a960], eax
mov eax, dword [0x56a960]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x47d0df
cmp dword [0x56a964], esi
je 0x47d0df
push eax
call fcn.0046d1e3
pop ecx
call eax
cmp eax, ebx
je 0x47d0ac
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x56a964]
call fcn.0046d1e3
pop ecx
call eax
test eax, eax
je 0x47d0ac
test byte [ebp - 0x18], 1
jne 0x47d0df
lea eax, [ebp - 0xc]
push eax
call fcn.0046c238
test eax, eax
pop ecx
je 0x47d0c7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00463fce
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x47d0d6
or dword [ebp + 0x10], 0x200000
jmp 0x47d110
or dword [ebp + 0x10], 0x40000
jmp 0x47d110
mov eax, dword [0x56a958]
cmp eax, esi
je 0x47d110
push eax
call fcn.0046d1e3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47d110
mov eax, dword [0x56a95c]
cmp eax, esi
je 0x47d110
push dword [ebp - 4]
push eax
call fcn.0046d1e3
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 [0x56a954]
call fcn.0046d1e3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48415f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5645bc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004840f4
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.00463f00
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 0x4841ae
cmp dword [ebp - 0x1c], 5
jb 0x4841c6
jmp 0x4841c2
cmp dword [ebp - 0x10], 1
jne 0x4841c6
cmp dword [ebp - 0x1c], 4
ja 0x4841c2
jne 0x4841c6
cmp dword [ebp - 0x18], 0
jbe 0x4841c6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x51c280
call fcn.0042b710
test eax, eax
jge 0x4841e7
mov byte [0x56b364], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00463ee8
add ebp, 0x78
leave
ret

Function at 0x484230
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x5645bc]
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 0x484280
mov ax, word [esp]
cmp al, 2
jne 0x48427a
cmp ah, al
jne 0x48427a
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00463ee8
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.00463ee8
add esp, 0x194
ret

Function at 0x48fd50
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 0x48fd82
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 0x48fed0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x48feeb
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 0x48ff1f
cmp eax, 2
jg 0x48ff1f
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x51d3dc]
push 2
push edx
call fcn.00465eab
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.00465eab
add esp, 0x20
xor eax, eax
ret
Function at 0x490230
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + eax*4 + 0x130]
push edi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebx], 0
jne 0x4902ad
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x490284
pop ebp
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push ebp
push esi
call fcn.00494130
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.004900b0
mov ecx, dword [esi]
add esp, 0x14
mov dword [ecx + 0x856c], ebp
mov dword [ebx], 0x37
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret