joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45adcc
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push esi
push edi
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0xff]
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x45ae1a
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x45ae1f
push 1
pop eax
jmp 0x45ae78
mov eax, dword [esi + 0xc]
push ebx
mov ebx, 0x49366c
cmp dword [eax], edi
je 0x45ae5b
mov eax, dword [eax + edi*4]
push dword [eax]
call fcn.0045b098
test al, al
pop ecx
je 0x45ae47
mov eax, dword [esi + 0xc]
inc edi
cmp dword [eax + edi*4], 0
jne 0x45ae2c
jmp 0x45ae5b
movsx eax, word [esi + 0xa]
push eax
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
push ebx
call fcn.0044dbc0
add esp, 0xc
mov eax, dword [esi + 0xc]
cmp dword [eax + edi*4], 0
jne 0x45ae74
movsx ecx, word [esi + 0xa]
push ecx
push dword [eax]
push ebx
call fcn.0044dbc0
add esp, 0xc
push 1
pop eax
pop ebx
pop edi
pop esi
leave
ret
Function at 0x45aebc
Capabilities:
Create thread
Get common file path
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov eax, 0x479948
call fcn.0044db9c
sub esp, 0x4ac
push ebx
xor ebx, ebx
cmp dword [0x4936a0], ebx
jne 0x45b06b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x493548
mov dword [0x4936a0], 1
mov byte [0x493540], 1
call edi
push 0x493508
call edi
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x40
mov dword [0x493488], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x128]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00433aa0
lea eax, [ebp - 0x128]
push eax
call fcn.0044db20
pop ecx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x24]
call fcn.00442ce0
mov eax, dword [0x47cb30]
mov dword [ebp - 0x14], eax
mov edi, 0x48fdf4
mov dword [ebp - 4], ebx
push edi
call fcn.0044db20
pop ecx
push eax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
push edi
call fcn.0045b276
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
lea edi, [eax + 1]
call fcn.00433aa0
cmp edi, ebx
pop edi
je 0x45b06b
lea eax, [ebp - 0x328]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x328]
push eax
call fcn.0044b1a8
pop ecx
push eax
lea eax, [ebp - 0x328]
push eax
mov ecx, 0x493520
call fcn.00424e10
call fcn.0045ab8b
call fcn.0045aa65
lea eax, [ebp - 0x4b8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.0045adcc
test eax, eax
jne 0x45b000
push 1
call fcn.0044e9ad
push str.tr.p.360.cn
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x45b028
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
push 0x493678
call fcn.0044dbc0
add esp, 0xc
jmp 0x45b040
cmp dword [0x493678], ebx
jne 0x45b040
push str.221.194.134.215
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x493678], eax
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, 0x493568
mov word [0x493494], ax
mov word [0x493484], 0x1f9a
call fcn.004601e1
test eax, eax
je 0x45b070
mov byte [0x493540], bl
or eax, 0xffffffff
jmp 0x45b081
push ebx
push ebx
push 0x45a98a
call fcn.00474899
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x461fd7
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and byte [0x493540], 0
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov esi, ecx
push 0x1c
call edi
push 0x302
mov word [ebp - 0x1c], ax
call edi
mov word [ebp - 0x1a], ax
mov eax, dword [esi + 4]
push eax
lea ecx, [eax + 1]
mov dword [esi + 4], ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x18], eax
push 0x14
lea eax, [ebp - 0x14]
push 0x493684
push eax
call fcn.0044dbc0
add esp, 0xc
push 3
pop edi
cmp dword [0x493680], 0
je 0x462058
test edi, edi
je 0x462058
lea eax, [esi + 8]
push 0x10
push eax
push 0
lea eax, [ebp - 0x1c]
push 0x1c
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_sendto]
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
jmp 0x46202a
pop edi
pop esi
leave
ret

Function at 0x4624b1
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov al, byte [eax + 8]
cmp al, 2
jne 0x4624db
call fcn.004620e4
push 0
push 0
push 0x45b08e
call fcn.00474899
add esp, 0xc
and dword [0x493680], 0
jmp 0x4624e9
test al, al
jne 0x4624e9
mov dword [0x493680], 1
xor eax, eax
ret 4

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

Disassembly:
mov eax, 0x47a0ba
call fcn.0044db9c
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
push edi
mov ecx, 0x493568
movzx eax, byte [esi + 0x36]
mov edi, dword [esi + 0x30]
mov bx, word [esi + 0x34]
mov dword [ebp - 0x14], eax
lea eax, [esi + 8]
push eax
call fcn.00460873
mov ecx, eax
test ecx, ecx
mov dword [ebp + 8], ecx
je 0x462623
add esi, 0x1c
push esi
mov dword [ebp - 0x10], esi
call fcn.0045bcee
test eax, eax
jne 0x462623
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x462565
push 0xea
call fcn.0044aeaf
pop ecx
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4625e5
push esi
jmp 0x4625d8
push 1
pop esi
cmp ecx, esi
jne 0x46259e
push 0xea
call fcn.0044aeaf
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], esi
je 0x462590
push dword [ebp - 0x10]
mov ecx, eax
push esi
push ebx
push edi
call fcn.00468146
jmp 0x462592
xor eax, eax
push dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push eax
push 0
jmp 0x4625f1
mov eax, dword [0x49369c]
cmp eax, 2
je 0x4625fd
cmp eax, 3
jne 0x4625b2
cmp ecx, 4
jl 0x4625fd
cmp eax, 7
je 0x4625fd
cmp ecx, 2
jne 0x462623
push 0xea
call fcn.0044aeaf
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x4625e5
push dword [ebp - 0x10]
push 0
push ebx
push edi
mov ecx, eax
call fcn.00468146
jmp 0x4625e7
xor eax, eax
push dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push eax
push 0xa
mov ecx, 0x493568
call fcn.0046050c
jmp 0x462623
lea eax, [ebp - 0x28]
push 0x10
push eax
mov eax, dword [ebp - 0x18]
push 0
push esi
push 0x48ff60
mov word [ebp - 0x28], 2
push dword [eax]
mov dword [ebp - 0x24], edi
mov word [ebp - 0x26], bx
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46371d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], ecx
jle 0x4637d6
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov ebx, 0x3e8
cmp dword [ebp + 0xc], ebx
jg 0x463743
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + 0xd]
push eax
call fcn.0044aeaf
mov edi, eax
mov eax, dword [esi + 4]
pop ecx
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [ebx + 0xd]
push eax
mov byte [edi + 0xc], 4
call dword [sym.imp.WS2_32.dll_htonl]
push ebx
mov dword [edi], eax
push dword [ebp + 8]
lea eax, [edi + 0xd]
push eax
call fcn.0044dbc0
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0xd]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x14], edi
call fcn.00463f29
cmp dword [esi + 0x28], 1
jne 0x4637a9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
push 0x10
lea eax, [ebx + 0xd]
push dword [ebp + 0x10]
push 0
push eax
mov eax, dword [ebp - 4]
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_sendto]
sub dword [ebp + 0xc], ebx
add dword [esi + 4], ebx
add dword [ebp + 8], ebx
cmp dword [ebp + 0xc], 0
jg 0x463736
pop edi
pop esi
pop ebx
xor eax, eax
leave
ret 0x10
Function at 0x463b4d
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x47a108
call fcn.0044db9c
sub esp, 0x3c
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x18], ecx
mov esi, dword [eax + 0x18]
mov ecx, 0x493568
push esi
call fcn.0046090f
test eax, eax
je 0x463c7b
mov ecx, dword [esi + 0x1f]
xor esi, esi
cmp ecx, esi
je 0x463c7b
lea eax, [ebp - 0x28]
push eax
call fcn.0045ce7c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x48]
push 0x493520
push eax
call fcn.00425180
push str..torrent
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call fcn.00425050
mov eax, dword [eax + 4]
add esp, 0x18
cmp eax, esi
jne 0x463bc4
mov eax, 0x47ca58
push 0x100
push esi
push eax
call fcn.00457387
add esp, 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], eax
push 1
call fcn.00422400
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00422400
cmp dword [ebp - 0x10], esi
jg 0x463c03
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call fcn.00422400
jmp 0x463c7b
push ebx
push edi
push dword [ebp - 0x10]
call fcn.00474a36
mov edi, eax
lea eax, [edi + 5]
push eax
mov dword [ebp - 0x14], eax
call fcn.0044aeaf
pop ecx
mov esi, eax
pop ecx
lea eax, [edi + 1]
push eax
mov byte [esi + 4], 0xa
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi], eax
lea ebx, [esi + 5]
push edi
push ebx
push dword [ebp - 0x10]
call fcn.004532c3
add esp, 0xc
test eax, eax
jle 0x463c49
add ebx, eax
sub edi, eax
jne 0x463c32
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
push esi
call fcn.0046371d
push dword [ebp - 0x10]
call fcn.00451bcc
push esi
call fcn.004472d3
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.00422400
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4688c1
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 0xc]
and dword [esi + 0x40], 0
mov dword [esi], 0x47e150
push dword [ebp + 8]
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [esi + 0x28], 0
mov dword [esi + 0x44], eax
push 0x10
lea eax, [esi + 0x18]
push 0
push eax
call fcn.0044e2f0
push 0x10
lea eax, [esi + 8]
push 0
push eax
call fcn.0044e2f0
add esp, 0x18
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x4689db
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
push ebx
push dword [ebp + 8]
mov byte [ebp - 8], 8
mov byte [ebp - 7], 0x17
mov byte [ebp - 6], 0x1e
push esi
mov byte [ebp - 5], 0x11
mov byte [ebp - 4], 0xf
mov byte [ebp - 3], 0x1b
mov byte [ebp - 2], 0x18
mov byte [ebp - 1], 9
xor edi, edi
call fcn.0044dbc0
add esp, 0xc
mov eax, ebx
cdq
push 4
pop ecx
idiv ecx
test eax, eax
jle 0x468a60
mov dword [ebp + 0x10], eax
movzx eax, byte [esi + 3]
push 8
cdq
pop ecx
idiv ecx
movsx edi, byte [ebp + edi - 8]
mov eax, dword [esi]
push 0x20
pop ecx
sub ecx, edi
mov dword [ebp + 8], edx
mov edx, eax
shl edx, cl
mov ecx, edi
mov edi, dword [ebp + 8]
shr eax, cl
add edx, eax
xor edx, 0x6a7b9c32
mov dword [esi], edx
add esi, 4
dec dword [ebp + 0x10]
jne 0x468a27
mov esi, dword [ebp + 0xc]
mov eax, ebx
push 4
cdq
pop ecx
idiv ecx
cmp edx, 1
jne 0x468a78
xor byte [esi + ebx - 1], 0x67
lea ebx, [esi + ebx - 1]
jmp 0x468aa3
cmp edx, 2
jne 0x468a8c
xor byte [esi + ebx - 1], 0x67
xor byte [esi + ebx - 2], 0xa2
lea eax, [esi + ebx]
jmp 0x468aa3
cmp edx, 3
jne 0x468aa3
xor byte [esi + ebx - 1], 0x67
xor byte [esi + ebx - 2], 0xa2
xor byte [esi + ebx - 3], 0x18
lea eax, [esi + ebx]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x468aaa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov byte [ebp - 8], 8
push dword [ebp + 8]
mov byte [ebp - 7], 0x17
mov byte [ebp - 6], 0x1e
mov byte [ebp - 5], 0x11
push esi
mov byte [ebp - 4], 0xf
mov byte [ebp - 3], 0x1b
mov byte [ebp - 2], 0x18
mov byte [ebp - 1], 9
call fcn.0044dbc0
add esp, 0xc
mov eax, edi
cdq
push 4
pop ecx
idiv ecx
test eax, eax
jle 0x468b2a
mov dword [ebp + 0x10], eax
mov eax, dword [esi]
push 0x20
movsx edx, byte [ebp + ebx - 8]
xor eax, 0x6a7b9c32
pop ecx
sub ecx, edx
mov ebx, eax
shr ebx, cl
mov ecx, edx
push 8
shl eax, cl
pop ecx
add ebx, eax
mov dword [esi], ebx
movzx eax, byte [esi + 3]
cdq
idiv ecx
add esi, 4
dec dword [ebp + 0x10]
mov ebx, edx
jne 0x468af6
mov esi, dword [ebp + 0xc]
mov eax, edi
push 4
cdq
pop ecx
idiv ecx
cmp edx, 1
jne 0x468b42
xor byte [esi + edi - 1], 0x67
lea edi, [esi + edi - 1]
jmp 0x468b6d
cmp edx, 2
jne 0x468b56
xor byte [esi + edi - 1], 0x67
xor byte [esi + edi - 2], 0xa2
lea eax, [esi + edi]
jmp 0x468b6d
cmp edx, 3
jne 0x468b6d
xor byte [esi + edi - 1], 0x67
xor byte [esi + edi - 2], 0xa2
xor byte [esi + edi - 3], 0x18
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x468e55
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 6
push 1
call fcn.004688c1
xor eax, eax
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea eax, [ebp + 0x10]
push 4
push eax
mov ebx, 0xffff
push 0x1002
push ebx
mov dword [esi], 0x47e16c
push dword [esi + 4]
mov dword [ebp + 0x10], 0x28000
mov dword [ebp + 0xc], 0x14000
call edi
lea eax, [ebp + 0xc]
push 4
push eax
push 0x1001
push ebx
push dword [esi + 4]
call edi
mov eax, dword [ebp + 8]
mov word [esi + 8], 2
pop edi
mov ecx, dword [eax + 0x44]
mov dword [esi + 0xc], ecx
mov ax, word [eax + 0x6c]
and dword [esi + 0x48], 0
mov word [esi + 0xa], ax
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4693b5
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x47a41c
call fcn.0044db9c
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
push edi
push 0x11
push 2
call fcn.004688c1
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esi + 0x74]
mov dword [esi + 0x6c], eax
call fcn.00463dfb
lea eax, [esi + 0x4c]
mov dword [esi], 0x47e18c
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [edi + 0x44]
mov word [esi + 8], 2
mov dword [esi + 0xc], eax
mov ax, word [edi + 0x6c]
mov word [esi + 0xa], ax
mov eax, 0x5000
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp + 0x10]
push 4
push eax
mov ebx, 0xffff
push 0x1002
push ebx
push dword [esi + 4]
call edi
lea eax, [ebp + 8]
push 4
push eax
push 0x1001
push ebx
push dword [esi + 4]
call edi
cmp dword [ebp + 0xc], 0
jne 0x469465
push 0x3e8
mov ecx, esi
call fcn.00468bc6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x469e42
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
call fcn.00469da5
mov eax, dword [0x493678]
push 0x10
mov dword [ebp - 0xc], eax
mov ax, word [0x493494]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push eax
mov ax, word [edi]
push 0
push eax
mov word [ebp - 0x10], 2
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
mov eax, 0x47a4a8
call fcn.0044db9c
sub esp, 0x1c
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0
jne 0x469fae
call fcn.00468cb7
jmp 0x46a029
lea eax, [esi + 0x4c]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004680a4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004680c7
push 0xd
call fcn.0044aeaf
pop ecx
mov edi, eax
push 0xd
and dword [edi + 4], 0
mov byte [edi + 0xc], 1
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [edi + 4]
push 0xd
mov dword [edi], eax
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
push eax
lea ecx, [esi + 0x90]
mov dword [ebp - 0x24], edi
call fcn.00463f29
lea eax, [esi + 8]
push 0x10
push eax
push 0
push 0xd
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
inc dword [esi + 0x78]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004680b3
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x47a4a8
call fcn.0044db9c
sub esp, 0x1c
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0
jne 0x469fae
call fcn.00468cb7
jmp 0x46a029
lea eax, [esi + 0x4c]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.004680a4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004680c7
push 0xd
call fcn.0044aeaf
pop ecx
mov edi, eax
push 0xd
and dword [edi + 4], 0
mov byte [edi + 0xc], 1
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [edi + 4]
push 0xd
mov dword [edi], eax
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
push eax
lea ecx, [esi + 0x90]
mov dword [ebp - 0x24], edi
call fcn.00463f29
lea eax, [esi + 8]
push 0x10
push eax
push 0
push 0xd
push edi
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_sendto]
inc dword [esi + 0x78]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004680b3
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x46a4cd
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
mov dword [esi + 0xa20], eax
je 0x46a500
mov eax, dword [esi]
mov dword [esi + 0xc], 1
call dword [eax + 0x14]
test al, al
je 0x46a502
push esi
push 0
push 0x46a71d
call fcn.00474899
add esp, 0xc
mov al, 1
pop esi
ret 4
Function at 0x46a522
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, 0x19000
lea esi, [edi + 0xc28]
lea ebx, [edi + eax*4 + 0xb24]
mov eax, 0x4000
cmp ebp, eax
jge 0x46a549
mov eax, ebp
push 0
push eax
push esi
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x46a561
sub ebp, eax
add esi, eax
test ebp, ebp
jg 0x46a53e
mov eax, esi
sub eax, edi
pop edi
pop esi
pop ebp
sub eax, 0xc28
pop ebx
ret 4
Function at 0x46a83e
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x47a4f8
call fcn.0044db9c
sub esp, 0x30
mov al, byte [ebp + 0x13]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00433aa0
mov al, byte [ebp + 0x13]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x2c], al
call fcn.00433aa0
mov esi, str.http:__
mov byte [ebp - 4], 1
push esi
call fcn.0044db20
pop ecx
push eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0045b1f4
cmp eax, ebx
jl 0x46aa13
mov ecx, dword [esi + 8]
push edi
add ecx, 0xfffffff9
add eax, 7
push ecx
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0045b1c1
push dword [0x47cb30]
mov ecx, esi
mov byte [ebp - 4], 2
push ebx
push eax
call fcn.00446f80
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00433aa0
mov edi, 0x48fe4c
push edi
call fcn.0044db20
pop ecx
push eax
push ebx
push edi
mov ecx, esi
call fcn.0045b1f4
cmp eax, ebx
jle 0x46a915
push eax
lea eax, [ebp - 0x3c]
push ebx
push eax
mov ecx, esi
call fcn.0045b1c1
push dword [0x47cb30]
mov ecx, esi
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.00446f80
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00433aa0
mov eax, dword [esi + 8]
mov edi, 0x48fe48
push edi
mov dword [ebp + 8], eax
call fcn.0044db20
pop ecx
push eax
mov ecx, esi
push dword [ebp + 8]
push edi
call fcn.0045b276
mov edi, eax
cmp edi, 0xffffffff
jne 0x46a95d
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
push dword [0x47cb30]
lea ecx, [ebp - 0x1c]
push ebx
push esi
call fcn.00446f80
jmp 0x46a9e2
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov ecx, esi
call fcn.0045b1c1
push dword [0x47cb30]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.00446f80
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00433aa0
mov eax, dword [esi + 8]
mov ecx, esi
sub eax, edi
dec eax
inc edi
push eax
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0045b1c1
push dword [0x47cb30]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
push ebx
push eax
call fcn.00446f80
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00433aa0
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x46a9ce
mov eax, 0x47cb2c
push eax
call fcn.00451932
pop ecx
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov eax, dword [ebp - 0x18]
pop edi
cmp eax, ebx
jne 0x46a9ef
mov eax, 0x47cb2c
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x46aa13
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
push dword [ebp + 0xc]
call fcn.0044dbc0
add esp, 0xc
xor esi, esi
jmp 0x46aa16
or esi, 0xffffffff
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00433aa0
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call fcn.00433aa0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x46cbc5
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
push 0x200
push dword [ebp + 8]
lea eax, [ebp - 0x200]
push eax
call fcn.0044d260
and byte [ebp - 1], 0
lea eax, [ebp - 0x200]
push 0x3a
push eax
call fcn.00456d20
add esp, 0x14
test eax, eax
je 0x46cc21
and byte [eax], 0
and dword [ebp + 8], 0
lea ecx, [ebp + 8]
push 0xa
inc eax
push ecx
push eax
call fcn.0044e0d0
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x46cc25
cmp byte [eax], 0
je 0x46cc25
movzx esi, word [ebp + 0x14]
cmp esi, 0x400
jl 0x46cca2
cmp esi, 0xffff
jge 0x46cca2
movsx eax, byte [ebp - 0x200]
push eax
call fcn.0044ca8f
test eax, eax
pop ecx
lea eax, [ebp - 0x200]
push eax
je 0x46cc57
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
jmp 0x46ccad
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x46cca6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.error_was
push 0x4938e8
call fcn.0046626f
pop ecx
pop ecx
mov ecx, eax
call fcn.00465ed2
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0046610c
mov ecx, esi
call fcn.004661d3
push 0x7f000001
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor al, al
jmp 0x46ccc0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov word [eax], si
mov al, 1
pop esi
leave
ret