joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401426
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0040175b
test eax, eax
je 0x401445
mov eax, 1
jmp 0x4014e8
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
push 0x800
call fcn.004c05bb
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
cmp dword [ebp - 8], 0
jne 0x40147b
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00401800
push eax
push 0x800
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4014d3
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ab3f0
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov byte [eax - 1], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004c05e4
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4014ee
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.0040175b
test eax, eax
je 0x401508
mov eax, dword [ebp + 0xc]
jmp 0x401534
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00401800
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x40153a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040175b
test eax, eax
je 0x401554
fld qword [ebp + 0xc]
jmp 0x4015bd
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4f8128
lea edx, [ebp - 0x28]
push edx
call fcn.004ab545
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00401800
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4015ba
lea eax, [ebp - 0x28]
push eax
call fcn.004ab4ee
add esp, 4
fstp qword [ebp - 8]
fld qword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4015c3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0040175b
test eax, eax
je 0x4015e2
mov eax, 1
jmp 0x4016b5
cmp dword [ebp + 0x10], 1
jb 0x4015ee
cmp dword [ebp + 0xc], 0
jne 0x4015f5
xor eax, eax
jmp 0x4016b5
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0x1000
call fcn.004c05bb
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.00401800
push eax
push 0x1000
mov edx, dword [ebp - 4]
push edx
push 0x506fa0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 8
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4016a0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x401665
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ab5d0
add esp, 4
shr eax, 1
cmp dword [ebp - 0x14], eax
jae 0x4016a0
lea eax, [ebp - 8]
push eax
push str._02x
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx*2]
push eax
call fcn.004ab597
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 8]
mov byte [ecx], dl
jmp 0x40165c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004c05e4
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431623
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd98c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push 0x100000
call fcn.004c05bb
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.004017e0
mov dword [ebp - 4], 0
push str.TempFile.txt
push 0x50c780
lea ecx, [ebp - 0x28]
push ecx
call fcn.004c0285
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
call fcn.004c0129
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004c003c
push 0x4fbd64
mov ecx, dword [ebp + 8]
push ecx
call fcn.004acb15
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4317d5
push 2
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.004acd4f
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
call fcn.004ace08
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x100000
jle 0x4317bc
push 0x4fbd68
lea ecx, [ebp - 0x18]
call fcn.00401800
push eax
call fcn.004acb15
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4317bc
cmp dword [ebp - 0x14], 0
je 0x4317bc
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 1
test ecx, ecx
je 0x431730
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004acd4f
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x431780
mov edx, dword [ebp - 0x20]
push edx
push 0x100000
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.004abbad
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43177e
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.004aba74
add esp, 0x10
jmp 0x431742
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004aca67
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call fcn.004aca67
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [ebp - 0x20], 0
je 0x4317ce
mov edx, dword [ebp - 0x20]
push edx
call fcn.004aca67
add esp, 4
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x4317ed
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004c05e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004c003c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45e149
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
fdiv qword [0x507e68]
fcomp qword [ebp + 8]
fnstsw ax
test ah, 1
je 0x45e1c5
call fcn.0047dcf1
call fcn.0046230a
push 0
push 2
call fcn.00461340
add esp, 8
test eax, eax
je 0x45e1ae
mov dword [0x50a788], 3
cmp dword [0x50a788], 0
je 0x45e1b9
jmp 0x45e1c5
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x45e165
mov eax, dword [0x50a788]
mov esp, ebp
pop ebp
ret
Function at 0x473ec0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x47aa60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 1
jne 0x47aaa0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [ebp - 8]
fstp qword [0x50c530]
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [ebp - 8]
fdiv qword [0x50c530]
fstp qword [0x50c528]
fld qword [0x4e2d78]
jmp 0x47aab9
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [ebp - 8]
fdiv qword [0x50c530]
fsub qword [0x50c528]
mov esp, ebp
pop ebp
ret
Function at 0x4815cb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 0xc], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 0x10], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov word [ebp - 0x14], 0
jmp 0x481605
mov dx, word [ebp - 0x14]
add dx, 1
mov word [ebp - 0x14], dx
movsx eax, word [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jge 0x4816fd
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
add ecx, 1
and ecx, 0x800000ff
jns 0x48162e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0xc], cl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + edx]
mov edx, dword [ebp - 0x10]
and edx, 0xff
add ecx, edx
and ecx, 0x800000ff
jns 0x48165d
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0x10], cl
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + eax]
mov byte [ebp - 4], dl
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 8]
mov al, byte [ebp - 4]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 8]
xor ebx, ebx
mov bl, byte [edx + ecx]
add eax, ebx
and eax, 0x800000ff
jns 0x4816d2
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x18], al
movsx eax, word [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
and ecx, 0xff
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [esi + ecx]
movsx ecx, word [ebp - 0x14]
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
jmp 0x4815f9
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 0x10]
mov byte [edx + 0x101], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48394c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x483969
xor eax, eax
jmp 0x4839d7
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4839d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e5
jne 0x4839d5
push 1
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x4839cc
mov eax, dword [ebp - 4]
jmp 0x4839d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x486e32
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov dword [ebp - 0x194], ecx
mov ecx, dword [ebp - 0x194]
add ecx, 0xc
call fcn.00487310
mov eax, dword [ebp - 0x194]
mov dword [eax], 0x4e5c88
lea ecx, [ebp - 0x190]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, dword [ebp - 0x194]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x194]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x430], 0
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x194]
mov esp, ebp
pop ebp
ret

Function at 0x486f04
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x128]
cmp dword [eax + 4], 0
jne 0x4870e4
mov ecx, dword [ebp - 0x128]
call fcn.004870ef
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 8], eax
mov dword [ebp - 0x108], 1
lea edx, [ebp - 0x108]
push edx
push 0x8004667e
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x114], edx
mov word [ebp - 0x118], 2
mov ax, word [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x116], ax
push 0x10
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x124], 0
jmp 0x486fcb
mov ecx, dword [ebp - 0x124]
add ecx, 1
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
cmp edx, dword [ebp - 0x104]
jae 0x486ff5
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp + eax*4 - 0x100]
cmp edx, dword [ecx + 8]
jne 0x486ff3
jmp 0x486ff5
jmp 0x486fbc
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x104]
jne 0x487031
cmp dword [ebp - 0x104], 0x40
jae 0x487031
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 8]
mov dword [ebp + ecx*4 - 0x100], eax
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x104], ecx
xor edx, edx
test edx, edx
jne 0x486fb0
mov dword [ebp - 0x120], 2
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x120]
push eax
push 0
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x487091
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 8], 0xffffffff
mov eax, 1
jmp 0x4870e9
mov dword [ebp - 0x108], 0
lea edx, [ebp - 0x108]
push edx
push 0x8004667e
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [ebp - 0x128]
mov dword [edx + 0x430], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x128]
push eax
push 0x486cf0
call fcn.004c4d2c
xor eax, eax
jmp 0x4870e9
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x48712e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0xffffffff
jne 0x48714c
mov eax, dword [ebp - 4]
jmp 0x487169
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x487692
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov dword [ebp - 0x194], ecx
mov ecx, dword [ebp - 0x194]
add ecx, 0x10
call fcn.00487310
mov eax, dword [ebp - 0x194]
mov dword [eax], 0x4e5ca4
lea ecx, [ebp - 0x190]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, dword [ebp - 0x194]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x194]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0xc], 0xffffffff
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x434], 0
mov eax, dword [ebp - 0x194]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x194]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
jne 0x487842
mov ecx, dword [ebp - 0x14]
call fcn.0048784d
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 8], eax
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x10], 2
mov dx, word [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x48782b
push 5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x487812
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x434], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x487592
call fcn.004c4d2c
xor eax, eax
jmp 0x487847
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0xffffffff
jmp 0x487842
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0xffffffff
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4878a7
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0xffffffff
jne 0x4878c5
mov eax, dword [ebp - 4]
jmp 0x4878e2
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x4997eb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004998b7
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.004998e6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xa8]
push ecx
call eax
test eax, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
jne 0x499877
call fcn.004998b7
add esp, 0xc
xor eax, eax
jmp 0x4998b4
call fcn.004998b7
mov eax, dword [ebp - 0x98]
add esp, 0xc
sub eax, ebx
je 0x4998b1
dec eax
je 0x499891
dec eax
je 0x4998a3
jmp 0x499873
cmp dword [ebp - 0xa0], ebx
jne 0x49989d
push 4
jmp 0x4998b3
jbe 0x4998a3
push 5
jmp 0x4998b3
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x4998b4
push 3
pop eax
pop ebx
leave
ret

Function at 0x4998e6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004998b7
mov eax, dword [0x4ff648]
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x499949
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4ff648], eax
leave
ret

Function at 0x49994b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x4000000
push 1
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x5c
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x39
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x44
call fcn.004999f7
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x4999bc
mov eax, 0xc357
jmp 0x4999f3
push ebx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
push esi
push esi
push 2
push edi
call fcn.00499a82
push edi
mov ebx, eax
call fcn.00499b20
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x4999ee
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
xor eax, eax
jmp 0x4999f3
mov eax, 0xc358
pop edi
pop esi
leave
ret