joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b9f
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0xc
call fcn.0043e388
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, 0x46a379
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420beb
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jge 0x420c00
mov dword [ebp + 0xc], 0xea60
cmp dword [ebp + 0x14], 1
jge 0x420c11
mov dword [ebp + 0x14], 0x1388
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x420c24
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x130
call fcn.00440a90
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
push dword [ebp - 4]
push 8
push 0xffff
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x420c76
push 0x18c
push 0x402ecef
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x420d72
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x420ce0
push 0x2c8
push 0x402ecef
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x420cf6
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x9dc
call fcn.004405b0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x98000004
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x420d5b
push 0x2f4
push 0x402ecef
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x420d72
mov eax, 1
jmp 0x420d7c
mov eax, 0
jmp 0x420d7c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420d8d
push ebx
call fcn.0043e38e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4210d3
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 8
call fcn.0043e388
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 1
jne 0x42111f
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 1
jmp 0x42112d
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 0
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 4
call fcn.0043e388
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x421198
push 0xe3
push 0x402ecff
push 6
call fcn.0043e37c
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push eax
push 4
call fcn.0043e388
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push 0x80
push 0xffff
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x42122c
push 0x122
push 0x402ecff
push 6
call fcn.0043e37c
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
mov eax, 0
sete al
jmp 0x421267
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x42127b
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0xc
call fcn.0043e388
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4212e6
push 0x47
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 1
push dword [ebp - 0x10]
push 8
push 0xffff
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x421327
push 0x47
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4214cf
cmp dword [ebp + 0xc], 1
jne 0x4214c5
cmp dword [ebp + 0x14], 0
jne 0x42134f
mov dword [ebp + 0x10], 0x1388
cmp dword [ebp + 0x1c], 0
jne 0x421360
mov dword [ebp + 0x18], 0x3e8
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4213c5
push 0x21c
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4213f4
push 0x246
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 4]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x42142b
push 0x260
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x42145a
push 0x28a
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x98000004
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4214a9
push 0x28a
push 0x402ecfe
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4214c0
mov eax, 1
jmp 0x4214d9
jmp 0x4214cf
mov eax, 1
jmp 0x4214d9
mov eax, 0
jmp 0x4214d9
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x421873
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], esp
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 4], esp
je 0x4218b1
push 0x47
push 0x402ed11
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 1
push dword [ebp - 8]
push 4
push 0xffff
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4218f2
push 0x47
push 0x402ed11
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
mov eax, 0
sete al
jmp 0x421906
mov esp, ebp
pop ebp
ret 8

Function at 0x42190c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 8
call fcn.0043e388
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x421958
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 1
jmp 0x421966
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov word [ebx], 0
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 4
call fcn.0043e388
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4219d1
push 0xcd
push 0x402ed0e
push 6
call fcn.0043e37c
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push eax
push 4
call fcn.0043e388
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push 0x80
push 0xffff
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x421a65
push 0x10c
push 0x402ed0e
push 6
call fcn.0043e37c
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
mov eax, 0
sete al
jmp 0x421aa0
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x421ab4
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], esp
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 4], esp
je 0x421af2
push 0x47
push 0x402ed1e
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 1
push dword [ebp - 8]
push 1
push 6
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x421b33
push 0x47
push 0x402ed1e
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
mov eax, 0
sete al
jmp 0x421b47
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jle 0x421e8f
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fsub qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401272
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_send]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x421ded
push 0x110
push 0x402ee06
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x421e34
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_send]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x421e31
push 0x191
push 0x402ee06
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x421e4a
mov dword [ebp - 0xc], 0
jmp 0x421e8f
fild dword [ebp - 0xc]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401272
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fadd qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.00401272
mov dword [ebp - 8], eax
jmp 0x421d8a
mov eax, dword [ebp - 0xc]
jmp 0x421e97
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422cde
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x20000
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x422d28
push 0x2d
push 0x402e64f
push 6
call fcn.0043e37c
add esp, 0xc
jmp 0x422d2d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425ce7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [0x46fa31]
nop
nop
cmp dword [ebp - 4], esp
je 0x425d26
push 0x36
push 0x4016a0b
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x425d5a
push 0x36
push 0x4016a0b
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x425d6e
mov esp, ebp
pop ebp
ret 4
Function at 0x4281e6
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 1
push 0
push 0
push 6
push 1
push 2
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
nop
nop
cmp dword [ebp - 8], esp
je 0x42823d
push 0x19
push 0x402ed23
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4282b1
cmp dword [ebp + 0xc], 0
je 0x428262
cmp dword [ebp + 8], 1
je 0x428262
xor eax, eax
jmp 0x428267
mov eax, 1
test eax, eax
je 0x4282b1
push 1
push dword [ebp - 4]
call fcn.00421873
push 1
push dword [ebp - 4]
call fcn.0042190c
push 1
push dword [ebp - 4]
call fcn.00421ab4
push 1
push 0xbb8
push 1
push 0x1388
push 1
push dword [ebp - 4]
call fcn.004282bf
mov eax, dword [ebp - 4]
jmp 0x4282b9
mov esp, ebp
pop ebp
ret 8
Function at 0x4282bf
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push 0xc
call fcn.0043e388
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x42832a
push 0x47
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 1
push dword [ebp - 0x10]
push 8
push 0xffff
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42836b
push 0x47
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x428513
cmp dword [ebp + 0xc], 0
je 0x428509
cmp dword [ebp + 0x14], 0
jne 0x428393
mov dword [ebp + 0x10], 0x1388
cmp dword [ebp + 0x1c], 0
jne 0x4283a4
mov dword [ebp + 0x18], 0x3e8
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x428409
push 0x206
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x428438
push 0x230
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 4]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x42846f
push 0x24a
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x42849e
push 0x274
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 0x98000004
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x4284ed
push 0x274
push 0x402ed15
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x428504
mov eax, 1
jmp 0x42851d
jmp 0x428513
mov eax, 1
jmp 0x42851d
mov eax, 0
jmp 0x42851d
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18
Function at 0x429aa5
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x429ad3
push 0x2736
call fcn.004229c1
mov eax, 0xffffffff
jmp 0x429b26
push 0
push dword [ebp + 8]
call fcn.00422a84
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_setsockopt]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x429b1b
push 0x97
push 0x402e610
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x429b26
mov esp, ebp
pop ebp
ret 0x14

Function at 0x42abfc
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x42ac31
push 0x2736
call fcn.004229c1
mov eax, 0xffffffff
jmp 0x42adf3
cmp dword [ebp + 0x18], 0
jne 0x42ac4f
push 0x2726
call fcn.004229c1
mov eax, 0xffffffff
jmp 0x42adf3
push 0x3c
call fcn.004229fc
mov dword [ebp - 4], eax
push dword [ebp + 0x20]
push 0x38
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0x1c]
push 0x34
push dword [ebp - 4]
call fcn.00422a70
push 3
push 0x14
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0x18]
push 0x1c
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 8]
push 0x18
push dword [ebp - 4]
call fcn.00422a70
push 0
push 0x10
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0x10]
push 0x28
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0xc]
push 0x2c
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0x14]
push 0x30
push dword [ebp - 4]
call fcn.00422a70
push 0x14
push dword [ebp + 8]
call fcn.00422cb7
push 0
push dword [ebp + 8]
call fcn.00422a84
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x46e8ab]
fstp qword [ebp - 0x1c]
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x46e8bb]
fstp qword [ebp - 0x2c]
mov dword [ebp - 0x30], esp
push 0
push dword [ebp - 4]
fld qword [ebp - 0x2c]
call fcn.00401272
push eax
push 0
push 1
fld qword [ebp - 0x1c]
call fcn.00401272
push eax
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSARecv]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x42ad81
push 0x37c
push 0x402e61a
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x42ade9
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x42adb7
push 0x3c7
push 0x402e61a
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e5
je 0x42ade9
push dword [ebp + 8]
call fcn.0042482e
push dword [ebp - 4]
call fcn.00422aa3
push dword [ebp - 8]
call fcn.004229c1
mov eax, 0xffffffff
jmp 0x42adf3
mov eax, 0
jmp 0x42adf3
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42b613
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x42b641
push 0x2736
call fcn.004229c1
mov eax, 0xffffffff
jmp 0x42b691
push 0
push dword [ebp + 8]
call fcn.00422a84
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_recv]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x42b686
push 0x97
push 0x402e60b
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x42b691
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42c057
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x42c085
push 0x2736
call fcn.004229c1
mov eax, 0xffffffff
jmp 0x42c0d2
push 0
push dword [ebp + 8]
call fcn.00422a84
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_getsockname]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x42c0c7
push 0x97
push 0x402e615
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x42c0d2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43edc0
Capabilities:
Query environment variable

Disassembly:
push ebp
push esi
push edi
push 0x104
call fcn.0043eb00
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, eax
push 0x104
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, 0x104
jbe 0x43ee17
push ebx
push edi
call fcn.0043ec10
push esi
mov ebx, esi
call fcn.0043eb00
add esp, 8
mov edi, eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
ja 0x43edee
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebp
ret