joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e970
Capabilities:
Create process on windows
Self delete
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46eb7e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46eb49
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402c64
call fcn.00402cc4
lea edx, [ebp - 0x1d8]
mov eax, dword [ebp - 8]
call fcn.00409b18
push dword [ebp - 0x1d8]
mov eax, 0xffff
call fcn.00403358
lea ecx, [ebp - 0x1dc]
mov edx, 4
call fcn.00409220
push dword [ebp - 0x1dc]
push 0x46eb94
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404d20
mov eax, dword [ebp - 4]
call fcn.004096f8
test al, al
jne 0x46e9c9
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d4]
call fcn.00403018
lea eax, [ebp - 0x1d4]
call fcn.00402db4
call fcn.00402958
mov edx, 0x46eba4
lea eax, [ebp - 0x1d4]
call fcn.0040507c
call fcn.00403680
call fcn.00402958
mov edx, 0x46ebb8
lea eax, [ebp - 0x1d4]
call fcn.0040507c
call fcn.00403680
call fcn.00402958
push 0x46ebc8
push dword [ebp - 8]
push 0x46ebdc
push dword [ebp - 8]
push 0x46ebec
lea eax, [ebp - 0x1e0]
mov edx, 5
call fcn.00404d20
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d4]
call fcn.0040507c
call fcn.00403680
call fcn.00402958
push 0x46ebc8
push dword [ebp - 8]
push 0x46ebec
push 0x46ebf8
lea eax, [ebp - 0x1e4]
mov edx, 4
call fcn.00404d20
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d4]
call fcn.0040507c
call fcn.00403680
call fcn.00402958
mov edx, 0x46ec0c
lea eax, [ebp - 0x1d4]
call fcn.0040507c
call fcn.00403680
call fcn.00402958
lea eax, [ebp - 0x1d4]
call fcn.00403194
call fcn.00402958
push 0
mov eax, dword [ebp - 8]
call fcn.00404e60
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_WinExec
test bl, bl
je 0x46eb3f
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46eb53
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eb85
lea eax, [ebp - 0x1e4]
mov edx, 4
call fcn.004049c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049c4
ret
Function at 0x46ec14
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e50
mov eax, dword [ebp - 8]
call fcn.00404e50
xor eax, eax
push ebp
push 0x46ede4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404ec0
mov eax, dword [ebp - 0x14c]
mov edx, 0x46edfc
call fcn.00404dac
je 0x46eca2
lea eax, [ebp - 4]
mov edx, 0x46edfc
call fcn.00404c68
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
mov eax, dword [0x4ccc18]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [0x4ccc18]
push eax
call sub.user32.dll_UpdateWindow
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cac
mov eax, dword [ebp - 0x150]
call fcn.00404e60
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
test ebx, ebx
jle 0x46ed0f
mov eax, 0x4ccc28
mov edx, dword [ebp - 4]
call fcn.004049f4
mov byte [0x4ccc30], 1
push ebx
call sub.kernel32.dll_FindClose_1
jmp 0x46edb9
cmp esi, 4
jg 0x46edb9
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x154]
mov ecx, 0x46ee08
mov edx, dword [ebp - 4]
call fcn.00404cac
mov eax, dword [ebp - 0x154]
call fcn.00404e60
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
test ebx, ebx
jle 0x46edb9
test dword [ebp - 0x148], 0x10
jbe 0x46eda2
cmp byte [ebp - 0x11c], 0x2e
je 0x46eda2
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404c10
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 4]
call fcn.00404cac
mov eax, dword [ebp - 0x158]
lea ecx, [esi + 1]
mov edx, dword [ebp - 8]
call fcn.0046ec14
cmp byte [0x4ccc30], 0
jne 0x46edb3
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46ed49
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46edeb
lea eax, [ebp - 0x15c]
mov edx, 5
call fcn.004049c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049c4
ret
Function at 0x46f344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xffffffb4
mov ebx, esp
lea esi, [esp + 0x30]
push 0
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x4ccc0c], eax
mov eax, ebx
mov edx, 0x30
call fcn.00407954
mov dword [ebx], 0x30
mov dword [ebx + 4], 3
mov dword [ebx + 8], 0x46f034
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [0x4ccc0c]
mov dword [ebx + 0x14], eax
push 0x46f45c
mov eax, dword [0x4ccc0c]
push eax
call sub.user32.dll_LoadIconA
mov dword [ebx + 0x18], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 5
xor eax, eax
mov dword [ebx + 0x24], eax
mov eax, 0x46f468
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x2c], eax
push ebx
call sub.user32.dll_RegisterClassExA
push 0x80000000
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, 0x154
shr eax, 1
push eax
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, 0xa0
shr eax, 1
push eax
push 0x154
push 0xa0
push 0
push 0
mov eax, dword [0x4ccc0c]
push eax
push 0
mov ecx, 0x46f474
mov edx, 0x46f468
xor eax, eax
call fcn.004079f0
mov dword [0x4ccc10], eax
push 1
mov eax, dword [0x4ccc10]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4ccc10]
push eax
call sub.user32.dll_UpdateWindow
jmp 0x46f444
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x46f438
add esp, 0x4c
pop esi
pop ebx
ret
Function at 0x46f47c
Capabilities:
Copy file
Create process on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46f484
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e50
xor eax, eax
push ebp
push 0x46f5ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dl, 1
mov eax, dword [0x433fec]
call fcn.004340bc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46f5c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0043415c
xor ecx, ecx
mov edx, 0x46f608
mov eax, dword [ebp - 0xc]
call fcn.004341c0
test al, al
je 0x46f5ae
lea ecx, [ebp - 0x18]
mov edx, 0x46f628
mov eax, dword [ebp - 0xc]
call fcn.0043435c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov ecx, 0x46f660
call fcn.00404cac
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00404cac
mov eax, dword [ebp - 0x1c]
call fcn.004096f8
test al, al
je 0x46f5ae
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402c64
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409c34
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404cac
mov eax, dword [ebp - 0x14]
call fcn.004096f8
test al, al
je 0x46f567
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404e60
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404e60
mov ebx, eax
push ebx
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00402c64
mov eax, dword [ebp - 0x28]
call fcn.00404e60
push eax
call sub.kernel32.dll_CopyFileA
push 5
mov eax, dword [ebp - 0x10]
call fcn.00404e60
push eax
push 0
push ebx
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov al, 1
call fcn.0046e970
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f5cb
mov eax, dword [ebp - 0xc]
call fcn.00403bcc
ret

Function at 0x4725d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x472606
mov eax, ebx
call fcn.0047308c
cmp dword [ebx + 0x40], 0
je 0x4725ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x472677
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x472669
cmp dword [ebx + 8], 0
je 0x472628
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47263a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x472669
cmp dword [ebx + 8], 0
je 0x47261b
cmp eax, 3
je 0x47264d
dec eax
jne 0x47261b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47261b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47261b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x472695
cmp dword [ebx + 0x14], 0xcc
je 0x472695
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004726a0
pop ebx
ret
Function at 0x483850
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416174]
call fcn.00405380
xor eax, eax
push ebp
push 0x483994
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c6974], 0
jne 0x4838a3
mov ecx, dword [0x4cb690]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040d05c
call fcn.00404358
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403338
mov eax, ebx
call fcn.00405230
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4839a4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040644c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405240
test eax, eax
jle 0x48393b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x483934
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c28
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c10
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e34
test eax, eax
jne 0x483934
mov ebx, 0x15
jmp 0x483940
mov ebx, 0x10
jmp 0x483940
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c6974]
call fcn.004837a8
mov eax, dword [ebp - 8]
call fcn.004837a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48399b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004049c4
lea eax, [ebp - 0x10]
mov edx, dword [0x416174]
call fcn.00405450
ret

Function at 0x48b87c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x48b905
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cccf0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48b8ef
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c768
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x48b91c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4cbccc]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d098
call fcn.00404358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b90c
lea eax, [ebp - 0x1c]
call fcn.004049a0
ret
Function at 0x48bfac
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0048bed0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403dc8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x48c010
call fcn.0048b7c4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48c002
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403dc8
pop esi
pop ebx
ret

Function at 0x48c034
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404e60
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403338
test ebx, ebx
je 0x48c07f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x48c15c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48c18d
mov ecx, dword [0x4cbb3c]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d05c
call fcn.00404358
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x48c1ba
mov ecx, dword [0x4cba74]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d05c
call fcn.00404358
xor eax, eax
push ebp
push 0x48c236
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403dc8
cmp byte [ebp + 8], 0
je 0x48c212
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048c0c4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0048bfac
jmp 0x48c22c
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048bab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c253
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48c434
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048bd6c
xor eax, eax
push ebp
push 0x48c5a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x48c58f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48c47f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48c489
call fcn.00404404
jmp 0x48c5ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bce8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x48c584
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x48c537
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48c524
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dc8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0048c3ec
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x48c5b8]
cmp dl, byte [eax + 0x28]
je 0x48c58b
call fcn.0040cf74
jmp 0x48c58b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd08
jmp 0x48c58b
cmp ecx, ebx
jge 0x48c553
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd08
jmp 0x48c489
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bce8
cmp edx, dword [esp + 4]
jne 0x48c573
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48c489
push ebp
call fcn.0048c3ec
pop ecx
jmp 0x48c58b
push ebp
call fcn.0048c3ec
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c5ac
mov eax, dword [ebp - 4]
call fcn.0048bd78
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c5bc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c6de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048bd6c
xor eax, eax
push ebp
push 0x48c6c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48c60c
call fcn.00404404
jmp 0x48c6c8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48c6ab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48c6ab
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dc8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48c6ab
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c768
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48c6f8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4cbccc]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d098
call fcn.00404358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c6c8
mov eax, dword [ebp - 4]
call fcn.0048bd78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c6e5
lea eax, [ebp - 0x28]
call fcn.004049a0
ret
Function at 0x48c744
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048bd6c
xor eax, eax
push ebp
push 0x48c871
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48c7a9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48c7a9
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x48c85b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48c7bc
call fcn.00404404
jmp 0x48c878
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48c85b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48c85b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dc8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48c85b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c768
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48c8a8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4cbccc]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d098
call fcn.00404358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c878
mov eax, dword [ebp - 4]
call fcn.0048bd78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c895
lea eax, [ebp - 0x28]
call fcn.004049a0
ret

Function at 0x498d04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x498d3c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d1a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d29
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d38
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4995d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x449660]
call fcn.00403d58
test al, al
je 0x499612
mov eax, dword [0x4cbbb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x499612
mov edx, dword [0x4cbbb0]
xor edx, edx
call fcn.004669bc
push 0
mov eax, dword [0x4cbbb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x49b8d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49ba41
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ba1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404b88
lea eax, [ebp - 0x118]
mov edx, 0x49ba58
call fcn.00404c68
mov eax, dword [ebp - 0x118]
call fcn.00404e60
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x49b98e
lea eax, [ebp - 0x111]
call fcn.00409e04
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404a90
jmp 0x49b995
mov eax, esi
call fcn.004049a0
cmp bl, 0x61
jae 0x49b9b6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040de70
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004049f4
jmp 0x49b9d0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040dde4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004049f4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x49ba64
call fcn.0040a4e0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004049f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ba23
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret