joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50c2c0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540abe
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ecx + 8]
mov edx, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x50c311
push 0
lea ecx, [ebp - 0x54]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x54]
push eax
call fcn.004ae11e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x158], 0
test al, 1
je 0x50c346
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x360], 1
test al, 2
je 0x50c35a
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], 1
test al, 4
je 0x50c36e
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x158], 1
push edx
lea ecx, [ebp - 0x368]
call fcn.004ed3f0
lea eax, [esi + 1]
xor ebx, ebx
mov dword [ebp - 0x36c], eax
nop word [eax + eax]
push dword [0x55b2f4]
mov esi, dword [ebp - 0x364]
push dword [0x55b2f0]
mov edi, dword [ebp - 0x368]
push esi
push edi
call fcn.00495950
push 0
push 0xf4240
push esi
push edi
mov dword [ebp - 0x38c], eax
call fcn.00495950
imul eax, eax, 0xf4240
lea ecx, [ebp - 0x384]
sub edi, eax
mov dword [ebp - 0x388], edi
call fcn.00454f60
lea eax, [ebp - 0x38c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x360]
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x50c4a9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2714
jne 0x50c4a9
lea ecx, [ebp - 0x37c]
call fcn.00454f60
mov ecx, dword [ebp - 0x37c]
sub ecx, dword [ebp - 0x384]
mov eax, dword [ebp - 0x378]
sbb eax, dword [ebp - 0x380]
push eax
push ecx
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 1
call fcn.004ed440
mov eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 0x364]
jg 0x50c48f
jl 0x50c47b
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x368]
jae 0x50c48f
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x368]
call fcn.004ed460
jmp 0x50c49e
push 0
push 0
lea ecx, [ebp - 0x368]
call fcn.004ed440
lea ecx, [ebp - 0x37c]
call fcn.00404c50
lea ecx, [ebp - 0x384]
mov dword [ebp - 4], 0xffffffff
call fcn.00404c50
test esi, esi
jns 0x50c53d
cmp ebx, 0x2714
je 0x50c390
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
push ebx
call fcn.0050b8c0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0x10
jb 0x50c53b
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x50c532
test cl, 0x1f
je 0x50c50e
call fcn.004b948a
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x50c51a
call fcn.004b948a
sub ecx, eax
cmp ecx, 4
jae 0x50c526
call fcn.004b948a
cmp ecx, 0x23
jbe 0x50c530
call fcn.004b948a
mov ecx, eax
push ecx
call fcn.00495700
add esp, 4
test esi, esi
setg al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 8
Function at 0x50c560
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
push 1
push edx
mov eax, dword [edi]
mov eax, dword [eax + 0x64]
call eax
test al, al
je 0x50c61d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
cmp dword [ebx + 4], eax
jae 0x50c5b0
push 1
push eax
mov ecx, ebx
call fcn.00503090
nop word [eax + eax]
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x50c649
push dword [ebp + 0xc]
push dword [ebx + 4]
push dword [ebx + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [edi + 0x20], 0
mov esi, eax
je 0x50c5e5
test esi, esi
jns 0x50c60e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x50c5b0
test esi, esi
jns 0x50c60e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x50c5fe
cmp byte [edi + 0x20], 0
je 0x50c60e
jmp 0x50c632
cmp eax, 0x274c
je 0x50c632
push eax
call fcn.0050b840
add esp, 4
cmp esi, dword [ebx + 4]
jae 0x50c61d
push 1
push esi
mov ecx, ebx
call fcn.00503090
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0xc
push eax
lea ecx, [ebp - 0x30]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x30]
push eax
call fcn.004ae11e
push 0
lea ecx, [ebp - 0x30]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x30]
push eax
call fcn.004ae11e
int3
Function at 0x50c670
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540af8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x21], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
je 0x50c6eb
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x78]
call fcn.004ed3f0
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x50c6e8
mov eax, dword [esi]
lea ecx, [ebp - 0x78]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x64]
call eax
test al, al
jne 0x50c6e8
push 0
lea ecx, [ebp - 0x3c]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
mov eax, dword [ebp - 0x6c]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esi + 8]
push 0
cmp edx, 0xffffffff
je 0x50c810
mov ecx, dword [ebp + 0xc]
lea edi, [ebp - 0x74]
push 0
push edi
mov dword [ebp - 0x74], ecx
lea edi, [ebp - 0x70]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov dword [ebp - 0x70], 0
push edi
sar eax, 3
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x50c793
call ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x50c793
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x50c78a
test al, 0x1f
jne 0x50c7b1
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x50c7b1
sub eax, ecx
cmp eax, 4
jb 0x50c7b1
cmp eax, 0x23
ja 0x50c7b1
mov eax, ecx
push eax
call fcn.00495700
add esp, 4
cmp byte [esi + 0x20], 0
mov edi, dword [ebp - 0x70]
je 0x50c7b6
test edi, edi
jns 0x50c7f0
call ebx
cmp eax, 0x2714
jne 0x50c7b6
mov eax, dword [ebp - 0x6c]
jmp 0x50c6f1
call fcn.004b948a
test edi, edi
jns 0x50c7f0
call ebx
cmp eax, 0x2733
jne 0x50c7e0
cmp byte [esi + 0x20], 0
je 0x50c7f0
push eax
lea ecx, [ebp - 0x68]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x68]
push eax
call fcn.004ae11e
cmp eax, 0x274c
je 0x50c7c9
push eax
call fcn.0050b840
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x3c]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
int3
Function at 0x50c830
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x34], ecx
cmp byte [esi + 0x21], 0
je 0x50c87f
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004ed3f0
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x38]
je 0x50c87c
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x64]
call eax
test al, al
je 0x50c8ff
mov ecx, dword [ebp - 0x34]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x50c8ee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x50c8b3
test edi, edi
jns 0x50c8d9
call ebx
mov ecx, dword [ebp - 0x34]
cmp eax, 0x2714
je 0x50c885
test edi, edi
jns 0x50c8d9
call ebx
cmp eax, 0x2733
jne 0x50c8c9
cmp byte [esi + 0x20], 0
je 0x50c8d9
push eax
jmp 0x50c901
cmp eax, 0x274c
je 0x50c8c6
push eax
call fcn.0050b840
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0xc
push 0
lea ecx, [ebp - 0x30]
call fcn.00500cb0
push 0x5b9a40
jmp 0x50c90e
push 0
lea ecx, [ebp - 0x30]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x30]
push eax
call fcn.004ae11e
int3
Function at 0x50c920
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540b28
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x21], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], ecx
je 0x50c9a7
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp - 0x78]
call fcn.004ed3f0
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x50c9a4
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
push 1
push ecx
mov ecx, edi
mov eax, dword [eax + 0x64]
call eax
test al, al
jne 0x50c9a4
push 0
lea ecx, [ebp - 0x3c]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
mov eax, dword [ebp - 0x6c]
mov edx, dword [edi + 8]
push 0
cmp edx, 0xffffffff
je 0x50cad3
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x74], ecx
push dword [ebx]
mov ecx, dword [eax]
push dword [esi]
mov eax, dword [eax + 4]
lea esi, [ebp - 0x74]
push esi
sub eax, ecx
mov dword [ebp - 0x70], 0
lea esi, [ebp - 0x70]
sar eax, 3
push esi
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x50ca56
call ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x50ca56
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x50ca4d
test al, 0x1f
jne 0x50ca74
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x50ca74
sub eax, ecx
cmp eax, 4
jb 0x50ca74
cmp eax, 0x23
ja 0x50ca74
mov eax, ecx
push eax
call fcn.00495700
add esp, 4
cmp byte [edi + 0x20], 0
mov esi, dword [ebp - 0x70]
je 0x50ca79
test esi, esi
jns 0x50cab3
call ebx
cmp eax, 0x2714
jne 0x50ca79
mov esi, dword [ebp - 0x80]
jmp 0x50c9a4
call fcn.004b948a
test esi, esi
jns 0x50cab3
call ebx
cmp eax, 0x2733
jne 0x50caa3
cmp byte [edi + 0x20], 0
je 0x50cab3
push eax
lea ecx, [ebp - 0x68]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x68]
push eax
call fcn.004ae11e
cmp eax, 0x274c
je 0x50ca8c
push eax
call fcn.0050b840
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x3c]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae11e
int3
Function at 0x50caf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [esi + 0x21], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], edi
je 0x50cb4e
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x44]
call fcn.004ed3f0
mov eax, dword [ebp - 0x44]
or eax, dword [ebp - 0x40]
je 0x50cb48
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push 1
push ecx
mov ecx, esi
mov eax, dword [eax + 0x64]
call eax
test al, al
je 0x50cbda
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x50cb59
mov edi, dword [ebp - 0x3c]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x50cbc9
push dword [edi]
push dword [edx]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x50cb8e
test edi, edi
jns 0x50cbb4
call ebx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
cmp eax, 0x2714
je 0x50cb56
test edi, edi
jns 0x50cbb4
call ebx
cmp eax, 0x2733
jne 0x50cba4
cmp byte [esi + 0x20], 0
je 0x50cbb4
push eax
jmp 0x50cbdc
cmp eax, 0x274c
je 0x50cba1
push eax
call fcn.0050b840
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0x14
push 0
lea ecx, [ebp - 0x30]
call fcn.00500cb0
push 0x5b9a40
jmp 0x50cbe9
push 0
lea ecx, [ebp - 0x30]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x30]
push eax
call fcn.004ae11e
int3
Function at 0x50cda0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x21], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
je 0x50ce1b
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x60]
call fcn.004ed3f0
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x5c]
je 0x50ce18
mov eax, dword [edi]
lea ecx, [ebp - 0x60]
push 2
push ecx
mov ecx, edi
mov eax, dword [eax + 0x64]
call eax
test al, al
jne 0x50ce18
push 0
lea ecx, [ebp - 0x54]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x54]
push eax
call fcn.004ae11e
mov eax, dword [ebp - 0x58]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [edi + 8]
push 0
cmp edx, 0xffffffff
je 0x50cf40
mov ecx, dword [eax]
lea esi, [ebp - 0x5c]
mov eax, dword [eax + 4]
push 0
push dword [ebp + 0xc]
sub eax, ecx
mov dword [ebp - 0x5c], 0
push esi
sar eax, 3
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x50cebc
call ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x50cebc
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x50ceb3
test cl, 0x1f
jne 0x50ceda
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x50ceda
sub ecx, eax
cmp ecx, 4
jb 0x50ceda
cmp ecx, 0x23
ja 0x50ceda
mov ecx, eax
push ecx
call fcn.00495700
add esp, 4
cmp byte [edi + 0x20], 0
mov esi, dword [ebp - 0x5c]
je 0x50cedf
test esi, esi
jns 0x50cf20
call ebx
cmp eax, 0x2714
jne 0x50cedf
mov eax, dword [ebp - 0x58]
jmp 0x50ce21
call fcn.004b948a
test esi, esi
jns 0x50cf20
call ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
push ecx
push eax
call fcn.0050b8c0
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 0x10
jb 0x50cf20
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407c40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x54]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x54]
push eax
call fcn.004ae11e
int3
Function at 0x50cf60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d828
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x21], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
je 0x50cfdb
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x60]
call fcn.004ed3f0
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x5c]
je 0x50cfd8
mov eax, dword [esi]
lea ecx, [ebp - 0x60]
push 2
push ecx
mov ecx, esi
mov eax, dword [eax + 0x64]
call eax
test al, al
jne 0x50cfd8
push 0
lea ecx, [ebp - 0x54]
call fcn.00452770
push 0x5b36e4
lea eax, [ebp - 0x54]
push eax
call fcn.004ae11e
mov ecx, dword [ebp - 0x58]
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x50d074
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp byte [esi + 0x20], 0
mov edi, eax
je 0x50d013
test edi, edi
jns 0x50d054
call ebx
mov ecx, dword [ebp - 0x58]
cmp eax, 0x2714
je 0x50cfe1
test edi, edi
jns 0x50d054
call ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0x10
jb 0x50d054
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0xc
push 0
lea ecx, [ebp - 0x54]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x54]
push eax
call fcn.004ae11e
int3
Function at 0x50d090
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540690
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ecx
nop dword [eax]
cmp dword [ebx + 8], 0xffffffff
jne 0x50d0ec
mov esi, dword [ebx]
call fcn.00502550
push eax
mov ecx, ebx
call dword [esi + 0xa4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, dword [edx + 4]
mov edi, dword [edx]
sub esi, edi
push 0
push 0
mov dword [ebp - 0x30], 0
sar esi, 3
call fcn.005028f0
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.005024c0
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x30]
push eax
push esi
push edi
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x50d192
call edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x50d192
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x50d189
test al, 0x1f
jne 0x50d1b3
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x50d1b3
sub eax, ecx
cmp eax, 4
jb 0x50d1b3
cmp eax, 0x23
ja 0x50d1b3
mov eax, ecx
push eax
call fcn.00495700
add esp, 4
cmp byte [ebx + 0x20], 0
mov esi, dword [ebp - 0x30]
je 0x50d1b8
test esi, esi
jns 0x50d1f9
call edi
cmp eax, 0x2714
jne 0x50d1b8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
jmp 0x50d0d0
call fcn.004b948a
test esi, esi
jns 0x50d1f9
call edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
push ecx
push eax
call fcn.0050b8c0
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 0x10
jb 0x50d1f9
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00407c40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50d220
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5408d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
cmp dword [edi + 8], 0xffffffff
jne 0x50d26e
mov esi, dword [edi]
mov ecx, ebx
call fcn.00502550
push eax
mov ecx, edi
call dword [esi + 0xa4]
mov ecx, ebx
call fcn.005028f0
push eax
mov ecx, ebx
call fcn.005024c0
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_sendto]
cmp byte [edi + 0x20], 0
mov esi, eax
je 0x50d2a9
test esi, esi
jns 0x50d2ee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x50d256
test esi, esi
jns 0x50d2ee
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0x10
jb 0x50d2ee
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x50d350
push 1
push 1
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x50d340
call fcn.0050be90
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 4
push 0
lea ecx, [ebp - 0x30]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x30]
push eax
call fcn.004ae11e
int3

Function at 0x50d370
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ccf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov bl, byte [ebp + 8]
xor eax, eax
test bl, bl
sete al
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x8004667e
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x50d400
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.0050b8c0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 0x10
jb 0x50d400
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c40
mov byte [esi + 0x20], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 4
Function at 0x50d450
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 8]
mov edx, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x50d496
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x50d486
call fcn.0050be90
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004951c6
mov esp, ebp
pop ebp
ret 0x10
push 0
lea ecx, [ebp - 0x30]
call fcn.00500cb0
push 0x5b9a40
lea eax, [ebp - 0x30]
push eax
call fcn.004ae11e
int3