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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x31fc]
mov eax, dword [esi + 0x3204]
cmp ecx, eax
jae 0x58b8ec
mov dl, byte [esi + 0x3270]
xor ebx, ebx
cmp dl, bl
je 0x58b8b4
mov edx, dword [esi + 0x326c]
cmp edx, ebx
je 0x58b8b4
sub eax, ecx
mov ecx, dword [esi + 0x3220]
push ebx
push eax
mov eax, dword [esi + 0x3208]
add eax, edx
push eax
push ecx
call sub.WS2_32.dll_recv
cmp eax, ebx
jg 0x58b8ce
cmp eax, 0xffffffff
jne 0x58b856
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
cmp edi, 0x2733
je 0x58bfb3
mov edx, dword [0x6ed978]
push 1
push edx
mov ecx, esi
call fcn.00547400
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x1c], eax
push edi
lea ecx, [ebp - 0x1c]
push 0x6ddfcc
push ecx
mov dword [ebp - 4], ebx
call fcn.005f368b
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.005474d0
mov esi, dword [esi + 0x3224]
cmp esi, ebx
je 0x58b836
cmp edi, ebx
jne 0x58b830
mov edi, 0xfffffffd
mov dword [esi + 0x140], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.005fa859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3204]
mov edx, dword [esi + 0x31fc]
sub ecx, edx
je 0x58b8c6
cmp eax, ebx
jne 0x58b8c8
mov edx, dword [0x6ed974]
push 1
push edx
mov ecx, esi
call fcn.00547400
mov eax, dword [0x6ed9e0]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.0054f740
mov esi, dword [esi + 0x3224]
cmp esi, ebx
je 0x58bfb3
mov dword [esi + 0x140], 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
mov ecx, dword [esi + 0x3220]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0054a180
cmp eax, ebx
jle 0x58bfb3
mov edx, dword [esi + 0x31fc]
mov ecx, dword [esi + 0x3208]
add edx, eax
add ecx, eax
mov dword [esi + 0x31fc], edx
mov dword [esi + 0x3208], ecx
jmp 0x58b8ee
xor ebx, ebx
mov edx, dword [esi + 0x3208]
mov eax, dword [esi + 0x31e8]
cmp edx, eax
jb 0x58bf86
mov eax, dword [esi + 0x3224]
cmp eax, ebx
je 0x58baf3
mov byte [eax + 0x230], 1
mov eax, dword [esi + 0x3224]
cmp dword [eax + 0xf4], ebx
je 0x58baf3
cmp dword [esi + 0x326c], ebx
je 0x58baf3
lea ecx, [ebp - 0x11]
push ecx
mov ecx, esi
call fcn.0058d5f0
test eax, eax
jne 0x58bfb3
cmp byte [ebp - 0x11], bl
je 0x58baf3
mov edx, dword [esi + 0x3224]
cmp dword [edx + 0x13c], ebx
jne 0x58b9b1
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x58b970
mov eax, ecx
jmp 0x58b972
mov eax, dword [eax]
push 0x50041
push eax
push 0x6ddf78
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x58b9b1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x140], 0x7540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x10]
call fcn.0054f8b0
mov eax, dword [esi + 0x3224]
mov edx, dword [eax + 0xb0]
lea ecx, [eax + 0x28]
cmp edx, ebx
setne byte [ebp - 0x11]
call fcn.0053cba0
mov edx, dword [esi + 0x3224]
mov dword [edx + 0xc8], ebx
mov dword [edx + 0xcc], ebx
mov eax, dword [esi + 0x3224]
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd4], ebx
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x1b0], ebx
mov dword [ecx + 0x1b4], ebx
lea ecx, [esi + 0x3214]
call fcn.005950a0
mov edx, dword [esi + 0x3224]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x5c], ebx
mov byte [edx + 0x230], bl
mov eax, dword [esi + 0x326c]
cmp eax, ebx
je 0x58ba72
push eax
mov dword [ebp - 4], 1
call fcn.005f6c85
add esp, 4
jmp 0x58ba6b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x326c], ebx
mov byte [esi + 0x3270], bl
mov byte [esi + 0x32b4], bl
mov word [esi + 0x3230], bx
mov dword [esi + 0x3210], ebx
call dword [eax + 0x1c]
mov edx, dword [esi]
lea eax, [esi + 0x3220]
push eax
mov ecx, esi
call dword [edx + 0x14]
cmp byte [ebp - 0x11], bl
je 0x58badb
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0x30]
mov ecx, dword [esi + 0x3224]
push edx
push esi
add ecx, 0x28
call fcn.0053eba0
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edx, eax
or edx, ecx
je 0x58badb
sub eax, 1
sbb ecx, ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov ecx, esi
call fcn.0054b290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x31e0], ebx
je 0x58bb07
cmp dword [esi + 0x31f8], ebx
jne 0x58bc7b
mov ecx, esi
call fcn.0058a9a0
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x40], ebx
jne 0x58bc7b
cmp dword [esi + 0x3224], ebx
je 0x58bc7b
mov dword [ebp - 0x24], 0x633bf0
fld qword [esi + 0x31f0]
mov dword [ebp - 4], 3
call fcn.005de5f4
mov edi, edx
mov dword [ebp - 0x2c], eax
cmp edi, ebx
jg 0x58bb5d
jl 0x58bb51
cmp eax, ebx
jae 0x58bb5d
mov ecx, dword [0x6ed484]
push ecx
jmp 0x58bbf4
mov eax, dword [ebp - 0x2c]
push ebx
push 0x3c
push edi
push eax
call fcn.005e0090
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
cdq
sub ecx, eax
mov eax, edi
sbb eax, edx
push ebx
push 0x3c
push eax
push ecx
call fcn.005dffe0
push ebx
push 0x3c
push edx
push eax
call fcn.005e0090
mov ecx, dword [ebp - 0x2c]
push ebx
push 0xe10
push edi
push ecx
mov dword [ebp - 0x20], eax
call fcn.005dffe0
cmp edx, ebx
jg 0x58bbef
jl 0x58bbab
cmp eax, 0x2710
ja 0x58bbef
cmp eax, ebx
je 0x58bbbb
mov edx, dword [ebp - 0x20]
push edx
push eax
mov eax, dword [0x6ed4dc]
jmp 0x58bbcc
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp eax, ebx
push edx
je 0x58bbdb
push eax
mov eax, dword [0x6ed4d8]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call fcn.005deb38
add esp, 0x10
jmp 0x58bc00
mov eax, dword [0x6ed4d4]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call fcn.005deb38
add esp, 0xc
jmp 0x58bc00
push 0x6bbf90
lea edx, [ebp - 0x4c]
push edx
call fcn.005deb38
add esp, 8
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x3224]
mov byte [ebp - 4], 4
mov ecx, dword [eax + 0x850]
mov edx, dword [ecx - 8]
mov ecx, 0x6ddf74
cmp edx, ebx
jne 0x58bc29
mov ecx, 0x6ec0c8
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [eax + 0x850]
push edx
mov edx, dword [eax + 0x848]
push ecx
mov ecx, dword [eax + 0x84c]
push ecx
push edx
lea eax, [ebp - 0x20]
push 0x6ddf5c
push eax
call fcn.005f368b
mov ecx, dword [ebp - 0x20]
add esp, 0x1c
push 1
push ecx
mov ecx, dword [esi + 0x3224]
push ebx
push 5
call fcn.005a0f60
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.005fa859
mov dword [ebp - 4], 0xffffffff
cmp byte [esi + 0x320d], bl
je 0x58bc8f
mov dword [esi + 0x48], ebx
mov dword [esi + 0x31e0], ebx
mov dword [esi + 0x4c], ebx
mov edx, dword [esi + 0x31e0]
cmp edx, ebx
je 0x58bd31
mov eax, dword [esi + 0x31dc]
cmp eax, ebx
je 0x58bd31
mov ecx, dword [esi + 0x31f8]
imul eax, edx
mov edi, ecx
shl edi, 5
sub edi, ecx
mov ecx, dword [esi + 0x31e8]
lea eax, [eax + edi*2]
add eax, ecx
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x64]
cmp eax, ebx
mov dword [esi + 0x4c], ebx
jg 0x58bceb
jl 0x58bcda
cmp dword [esi + 0x60], ebx
ja 0x58bceb
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
sub ecx, 1
sbb eax, ebx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
mov ecx, dword [esi + 0x3224]
dec edx
cmp ecx, ebx
mov dword [esi + 0x7c], edx
je 0x58bd31
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
push 1
push edx
push eax
call fcn.005a05c0
mov ecx, dword [esi + 0x3224]
mov edi, dword [ecx + 0x1a0]
call fcn.0059f810
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x198], eax
mov edx, dword [esi + 0x3224]
mov dword [edx + 0x1a0], edi
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x31f8]
push ecx
fld qword [esi + 0x31f0]
push edx
mov dword [ebp - 4], 5
push eax
call fcn.005de5f4
mov ecx, dword [esi + 0x31dc]
push edx
mov edx, dword [esi + 0x31e0]
push eax
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x6ddee0
push eax
call fcn.005f368b
mov ecx, dword [ebp - 0x18]
add esp, 0x24
push ecx
mov ecx, esi
call fcn.005474d0
mov edx, dword [esi + 0x31dc]
mov ecx, dword [esi + 0x90]
push edx
call fcn.00546e50
cmp dword [esi + 0x3224], ebx
je 0x58be69
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
cmp eax, ebx
jl 0x58be22
jg 0x58bdb4
cmp edi, ebx
jbe 0x58be22
mov edx, dword [esi + 0x94]
mov ecx, dword [edx]
cmp ecx, edi
mov edx, dword [edx + 4]
mov dword [ebp - 0x28], edx
jne 0x58bdca
cmp edx, eax
je 0x58bdef
mov eax, dword [esi + 0x3224]
xor edx, edx
mov eax, dword [eax + 0x854]
imul eax, dword [esi + 0x31dc]
add eax, ecx
mov ecx, dword [ebp - 0x28]
adc edx, ecx
cmp eax, edi
jne 0x58be22
cmp edx, dword [esi + 0x4c]
jne 0x58be22
mov ecx, esi
call fcn.0058c280
mov eax, dword [esi + 0x3224]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x140], ebx
call fcn.005fa859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x3224]
push ebx
call fcn.0058f080
test eax, eax
je 0x58be69
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [esi + 0x3224]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x140], 0x7574
call fcn.005fa859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
cmp eax, ebx
mov dword [esi + 0x78], ebx
jl 0x58bf34
jg 0x58be84
cmp ecx, ebx
jbe 0x58bf34
cmp dword [esi + 0x31dc], ebx
je 0x58bf34
mov edi, dword [esi + 0x31e8]
xor edx, edx
sub ecx, edi
mov edi, ecx
sbb eax, edx
xor ecx, ecx
push ecx
mov ecx, dword [esi + 0x31dc]
push ecx
push eax
push edi
mov dword [ebp - 0x28], eax
call fcn.005dffe0
mov dword [esi + 0x78], eax
xor eax, eax
push eax
mov eax, dword [esi + 0x31dc]
push eax
mov eax, dword [ebp - 0x28]
push eax
push edi
call fcn.005e0090
mov edi, eax
cmp edi, ebx
je 0x58befc
push edi
lea ecx, [esi + 0x10]
call fcn.0054fb40
mov ecx, dword [esi + 0x50]
sub ecx, edi
mov dword [esi + 0x50], ecx
mov eax, dword [esi + 0x54]
sbb eax, ebx
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
sub edx, edi
mov dword [eax], edx
mov ecx, dword [eax + 4]
sbb ecx, ebx
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x31e8]
mov eax, dword [esi + 0x60]
xor edx, edx
sub eax, ecx
mov ecx, dword [esi + 0x64]
push ebx
sbb ecx, edx
mov edx, dword [esi + 0x31dc]
add eax, 1
push edx
adc ecx, ebx
push ecx
push eax
call fcn.005dffe0
mov ecx, dword [esi + 0x78]
dec eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x80]
add ecx, eax
mov dword [esi + 0x78], ecx
mov eax, dword [esi + 0x78]
cmp eax, ebx
mov dword [esi + 0x31e4], eax
je 0x58bf46
lea ecx, [eax - 1]
jmp 0x58bf48
xor ecx, ecx
mov dword [esi + 0x3200], ecx
push eax
mov ecx, esi
call fcn.005897a0
cmp eax, ebx
je 0x58bf66
mov ecx, dword [esi + 0x3224]
mov dword [ecx + 0x140], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.005fa859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x31fc]
mov eax, dword [esi + 0x3204]
cmp edx, eax
jb 0x58bfb3
mov dword [esi + 0x8c], 0x11
mov byte [esi + 0x3268], bl
mov word [esi + 0x3230], bx
mov dword [esi + 0x31fc], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret