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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x48]
mov edi, dword [ebx + 0x4c]
mov eax, esi
xor edx, edx
or eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x21], dl
je 0x54a1de
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x50]
sub eax, ecx
mov ecx, dword [ebx + 0x64]
sbb ecx, dword [ebx + 0x54]
add eax, 1
mov dword [ebp - 0x1c], eax
adc ecx, edx
mov dword [ebp - 0x18], ecx
jmp 0x54a1e4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ecx, esi
or ecx, edi
jne 0x54a236
mov eax, dword [ebx + 0xb0]
cmp dword [eax + 0x2f8], edx
je 0x54a236
mov cl, byte [eax + 0x2fc]
test cl, cl
je 0x54a236
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x60]
cmp eax, edx
jl 0x54a236
jg 0x54a216
cmp ecx, dword [ebx + 0x50]
jb 0x54a236
mov dl, byte [ebx + 0xc8]
test dl, dl
jne 0x54a236
mov edx, dword [ebx + 0x50]
sub ecx, edx
mov edx, dword [ebx + 0x54]
sbb eax, edx
add ecx, 1
adc eax, 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov al, byte [ebx + 0xc7]
test al, al
je 0x54a26c
mov eax, dword [ebx + 0x17c]
mov edx, dword [ebx + 0x180]
sub eax, edx
test eax, eax
jle 0x54a265
mov cl, byte [ebx + 0xc6]
test cl, cl
je 0x54a265
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jmp 0x54a26c
mov byte [ebx + 0xc7], 0
mov eax, dword [ebx + 0xb0]
mov ecx, dword [eax + 0x330]
test ecx, ecx
je 0x54a2be
mov edx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x64]
mov ecx, edx
or ecx, eax
je 0x54a2be
mov eax, esi
mov ecx, edi
sub eax, 1
sbb ecx, 0
cmp edx, eax
jne 0x54a2be
cmp dword [ebx + 0x64], ecx
jne 0x54a2be
mov edx, esi
or edx, edi
je 0x54a2be
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x330]
add ecx, eax
mov eax, dword [ebp - 0x18]
adc eax, 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, edx
or eax, ecx
jne 0x54a2f1
mov eax, esi
or eax, edi
je 0x54a2f1
push 0x6da0f0
mov ecx, ebx
call fcn.005474d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x54a304
cmp eax, 0x2da0
jg 0x54a335
mov dword [ebp + 0x10], eax
jmp 0x54a33c
test ecx, ecx
jl 0x54a335
jg 0x54a30e
test edx, edx
jbe 0x54a335
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x6c]
mov ecx, edx
add ecx, 0x2da0
adc eax, 0
cmp eax, dword [ebp - 0x18]
jl 0x54a335
jg 0x54a32b
cmp ecx, dword [ebp - 0x1c]
jbe 0x54a335
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp + 0x10], eax
jmp 0x54a33c
mov dword [ebp + 0x10], 0x2da0
mov eax, dword [ebp + 0x10]
mov byte [ebx + 0xc5], 0
test eax, eax
jne 0x54a3fb
mov al, byte [ebx + 0xc4]
test al, al
je 0x54a3fb
mov ecx, esi
or ecx, edi
je 0x54a3fb
mov eax, dword [ebx + 0x3d0]
mov edx, dword [ebx + 0x3d4]
mov ecx, eax
mov byte [ebx + 0xc5], 1
sub ecx, edx
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebx + 0x60]
cdq
add eax, ecx
mov ecx, dword [ebx + 0x64]
adc edx, ecx
sub esi, 2
sbb edi, 0
mov ecx, edi
cmp edx, ecx
jl 0x54a3ad
jg 0x54a39d
cmp eax, esi
jbe 0x54a3ad
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x60]
sub eax, edx
sub eax, 2
mov dword [ebp + 0x10], eax
jmp 0x54a3b0
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x54a3d5
push 0x6da0e0
mov ecx, ebx
call fcn.005474d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0xffffffff
jne 0x54a3fb
push 0x6da0d0
mov ecx, ebx
call fcn.005474d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x54a40a
mov eax, dword [eax + 0x10]
jmp 0x54a413
mov eax, dword [ebx + 0xb0]
mov eax, dword [eax + 0x24]
cmp eax, 2
mov dword [ebp - 0x38], eax
jne 0x54a696
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx]
push eax
push ecx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x14]
push eax
xor esi, esi
push ecx
mov ecx, ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
mov dword [ebp - 0x28], eax
je 0x54a60a
cmp ecx, dword [ebp - 0x20]
jne 0x54a60a
cmp dword [ebp + 0xc], esi
je 0x54a60a
mov esi, dword [ebx + 0x68]
mov edi, dword [ebx + 0x6c]
mov eax, ecx
cdq
add eax, esi
adc edx, edi
mov edi, dword [ebp - 0x18]
cmp edx, edi
jl 0x54a4a8
mov esi, dword [ebp - 0x1c]
jg 0x54a47b
cmp eax, esi
jb 0x54a4a8
mov edi, esi
or edi, dword [ebp - 0x18]
je 0x54a4a5
mov edi, dword [ebp - 0x18]
cmp eax, esi
jne 0x54a610
cmp edx, edi
jne 0x54a610
mov al, byte [ebx + 0xc5]
test al, al
je 0x54a61a
jmp 0x54a4a8
mov edi, dword [ebp - 0x18]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
xor edx, edx
cmp eax, edx
je 0x54a4dd
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
jne 0x54a5f7
sub eax, 0x2733
neg eax
sbb eax, eax
and al, 0xfd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebx + 0x3d8]
test al, al
je 0x54a4fa
mov ecx, dword [ebp - 0x14]
mov byte [ebx + 0x3d8], 0
mov byte [ebp - 0x21], 1
jmp 0x54a705
mov al, byte [ebx + 0xc3]
test al, al
jne 0x54a598
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
cdq
add ecx, eax
mov eax, dword [ebx + 0x6c]
mov esi, dword [ebx]
adc eax, edx
lea edx, [ebp - 0x2c]
push eax
push ecx
lea ecx, [ebp - 0x30]
push ecx
push edx
mov ecx, ebx
call dword [esi + 0x10]
mov cl, byte [ebx + 0xc5]
mov dword [ebp - 0x28], eax
test cl, cl
jne 0x54a544
mov cl, byte [ebx + 0xc7]
test cl, cl
je 0x54a55e
test eax, eax
jne 0x54a55e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
add ecx, edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
add esi, edx
mov dl, byte [ebx + 0xc8]
test dl, dl
mov dword [ebp - 0x20], esi
je 0x54a59e
mov edx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x4c]
or edx, esi
jne 0x54a59e
mov dl, byte [ebx + 0xc9]
test dl, dl
jne 0x54a705
jmp 0x54a59e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x54a5f7
cmp ecx, dword [ebp - 0x20]
jne 0x54a5f7
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x54a5cc
mov al, byte [ebx + 0xc8]
test al, al
je 0x54a5f7
mov eax, dword [ebx + 0x3dc]
test eax, eax
je 0x54a5f7
mov al, byte [ebx + 0x3d9]
test al, al
je 0x54a5f7
mov esi, dword [ebx + 0x68]
mov eax, ecx
cdq
add esi, eax
mov eax, dword [ebx + 0x6c]
adc eax, edx
cmp eax, edi
jl 0x54a4a8
jg 0x54a5ec
cmp esi, dword [ebp - 0x1c]
jb 0x54a4a8
mov eax, dword [ebp - 0x1c]
or eax, edi
je 0x54a4a8
mov al, byte [ebx + 0xc3]
test al, al
jne 0x54a4a8
jmp 0x54a705
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov al, byte [ebx + 0xc5]
test al, al
jne 0x54a624
mov al, byte [ebx + 0xc7]
test al, al
je 0x54a640
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x54a64b
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x54a705
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x54a705
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x54a705
test ecx, ecx
jne 0x54a705
mov edx, dword [ebx + 0x6c]
cmp edx, edi
jl 0x54a681
jg 0x54a679
mov eax, dword [ebx + 0x68]
cmp eax, esi
jb 0x54a681
or esi, edi
jne 0x54ac65
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x38c]
test eax, eax
jle 0x54a6ea
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jl 0x54a6a9
mov eax, ecx
mov edx, dword [ebx + 0x388]
mov ecx, eax
lea edi, [ebx + 0x434]
lea esi, [ebx + edx + 0x188]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x388]
mov ecx, dword [ebx + 0x38c]
add edx, eax
sub ecx, eax
mov dword [ebx + 0x388], edx
mov dword [ebx + 0x38c], ecx
jmp 0x54a700
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebx + 0x434]
push eax
push ecx
push edx
call sub.WS2_32.dll_recv
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor esi, esi
cmp ecx, esi
jle 0x54abfb
cmp dword [ebp - 0x38], 2
je 0x54a9aa
mov al, byte [ebx + 0xc8]
test al, al
je 0x54a786
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x38]
push eax
lea edx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x14]
push edx
lea ecx, [ebx + 0x434]
push eax
push ecx
mov ecx, ebx
mov dword [ebp + 0xc], esi
call fcn.00549590
mov cl, byte [ebx + 0xc5]
mov dword [ebp - 0x28], eax
test cl, cl
jne 0x54a75f
mov cl, byte [ebx + 0xc7]
test cl, cl
je 0x54a9a7
cmp eax, esi
jne 0x54a779
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], ecx
jmp 0x54a9aa
lea edx, [ebp + 0xc]
lea esi, [ebx + 0x434]
push edx
push esi
push ecx
mov ecx, ebx
mov dword [ebp + 0xc], 0
call fcn.0054ad20
test eax, eax
je 0x54a887
mov eax, dword [ebp + 0xc]
cmp eax, 0xfffffff6
jne 0x54a62d
mov eax, dword [ebp - 0x14]
add eax, 0x30
push eax
call fcn.005f6c5c
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
jne 0x54a7e2
mov eax, 0xfffffff7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebx + 0xb0]
mov eax, dword [ebp + 8]
mov edi, eax
mov edx, dword [ecx + 0xe0]
mov ecx, 0xc
mov esi, dword [edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
lea edi, [eax + 0x30]
mov eax, ecx
lea esi, [ebx + 0x434]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
add esi, 0x30
test eax, eax
mov dword [ebp - 0x14], esi
jl 0x54a85a
jg 0x54a82f
mov eax, dword [ebp - 0x1c]
test eax, eax
jbe 0x54a85a
mov edi, dword [ebx + 0x68]
mov eax, esi
cdq
mov ecx, eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x34], ecx
add ecx, edi
adc edx, eax
mov eax, dword [ebp - 0x18]
cmp edx, eax
jl 0x54a855
mov eax, dword [ebp - 0x1c]
jg 0x54a851
cmp ecx, eax
jbe 0x54a855
sub eax, edi
jmp 0x54a85c
mov eax, dword [ebp - 0x34]
jmp 0x54a85c
mov eax, esi
cmp eax, esi
jge 0x54a865
mov esi, eax
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x20]
push ecx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x10]
push esi
call fcn.0054feb0
push esi
mov dword [ebp - 0x28], eax
call fcn.005f6c85
add esp, 4
jmp 0x54a9a7
mov al, byte [ebx + 0xc5]
test al, al
je 0x54a90b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x3d4]
mov eax, ecx
lea esi, [ebx + 0x434]
lea edi, [ebx + edx + 0x390]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x3d4]
mov ecx, dword [ebp + 0x10]
add edx, eax
cmp eax, ecx
mov dword [ebx + 0x3d4], edx
jne 0x54a8fe
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.00549e70
test eax, eax
jne 0x54a8f2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x6da0c0
mov ecx, ebx
call fcn.005474d0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
jmp 0x54a9be
mov al, byte [ebx + 0xc7]
test al, al
je 0x54a993
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x180]
mov eax, ecx
lea esi, [ebx + 0x434]
lea edi, [edx + ebx + 0xfc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x180]
mov ecx, dword [ebp + 0x10]
add edx, eax
cmp eax, ecx
mov dword [ebx + 0x180], edx
jne 0x54a989
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.00549e20
test eax, eax
jne 0x54a976
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x6da0ac
mov ecx, ebx
call fcn.005474d0
mov byte [ebx + 0xc6], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
jmp 0x54a9be
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push eax
push esi
lea ecx, [ebx + 0x10]
call fcn.0054feb0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x54ab3b
cmp ecx, dword [ebp - 0x20]
jne 0x54ab3b
mov edi, dword [ebx + 0x68]
mov eax, ecx
mov ecx, dword [ebx + 0x70]
cdq
add edi, eax
mov dword [ebx + 0x68], edi
mov esi, dword [ebx + 0x6c]
adc esi, edx
add ecx, eax
mov dword [ebx + 0x70], ecx
mov edi, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x94]
mov dword [ebx + 0x6c], esi
adc edi, edx
mov dword [ebx + 0x74], edi
mov esi, dword [ecx]
add esi, eax
mov dword [ecx], esi
mov eax, dword [ecx + 4]
adc eax, edx
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebp - 0x14]
mov edi, dword [ecx]
cdq
add edi, eax
mov dword [ecx], edi
mov esi, dword [ecx + 4]
adc esi, edx
mov dword [ecx + 4], esi
mov ecx, dword [ebx + 0xb0]
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x54aa64
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebx + 0x60]
test ecx, ecx
jl 0x54aa64
jg 0x54aa2d
test edx, edx
jbe 0x54aa64
fld qword [ebx + 0xe0]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
jne 0x54aa64
fild dword [ebp - 0x14]
add edx, 1
mov eax, dword [ebx + 0xe8]
adc ecx, 0
mov dword [ebp - 0x1c], edx
fmul qword [ebx + 0xe0]
mov dword [ebp - 0x18], ecx
fild qword [ebp - 0x1c]
fdivp st(1)
fadd qword [eax]
fstp qword [eax]
lea esi, [ebx + 0x424]
push esi
call fcn.005dfac7
mov eax, dword [esi]
mov ecx, dword [ebx + 0x418]
mov esi, dword [ebx + 0xb0]
add esp, 4
sub eax, ecx
mov dword [ebx + 0x430], eax
mov dword [ebp + 0xc], eax
je 0x54ab22
mov edi, dword [esi + 0x454]
test edi, edi
mov dword [ebp + 8], edi
je 0x54aafb
fild dword [ebp + 8]
lea edx, [edi + 1]
fstp qword [ebp - 0x44]
fild dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
fstp qword [ebp - 0x1c]
fild dword [ebp + 0xc]
fst qword [ebp - 0x3c]
fld qword [ebp - 0x44]
fmul qword [esi + 0x428]
fadd qword [ebp - 0x1c]
fdivrp st(1)
fst qword [ebp - 0x34]
fstp qword [esi + 0x428]
fld qword [ebp - 0x1c]
fsub qword [ebp - 0x34]
fld qword [0x654fe8]
call fcn.005e0570
fdiv qword [ebp - 0x3c]
fld qword [ebp - 0x44]
fmul qword [esi + 0x438]
fdiv qword [ebp - 0x3c]
faddp st(1)
fstp qword [esi + 0x438]
fld qword [ebp - 0x1c]
jmp 0x54ab04
fild dword [ebp + 0xc]
fst qword [esi + 0x428]
fcom qword [esi + 0x448]
fnstsw ax
test ah, 0x41
jne 0x54ab19
fstp qword [esi + 0x448]
jmp 0x54ab1b
fstp st(0)
inc edi
mov dword [esi + 0x454], edi
mov ecx, ebx
call fcn.00549570
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0xa4], 0
jmp 0x54a62b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x20]
push esi
push eax
push ecx
lea edx, [ebp - 0x104]
push 0x6d9ffc
push edx
call fcn.005deb38
add esp, 0x14
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.005474d0
cmp esi, 5
jne 0x54ab85
mov ecx, dword [0x6ed6e8]
push ecx
mov ecx, dword [ebx + 0x9c]
call fcn.0054f740
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x68]
xor edx, edx
add eax, ecx
mov dword [ebx + 0x68], eax
mov edi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x94]
adc edi, edx
mov dword [ebx + 0x6c], edi
mov esi, dword [eax]
add esi, ecx
mov dword [eax], esi
mov ecx, dword [eax + 4]
adc ecx, edx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0054b870
test eax, eax
je 0x54abd1
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx + 0x90]
lea ecx, [ebx + 0x10]
mov eax, dword [edx + 0x10]
push eax
call fcn.0054faa0
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0xffffffff
jne 0x54ac65
call sub.WS2_32.dll_WSAGetLastError
mov ecx, dword [ebp + 8]
mov esi, eax
push ecx
push esi
lea edx, [ebp - 0x84]
push 0x6da08c
push edx
call fcn.005deb38
add esp, 0x10
cmp esi, 0x2733
je 0x54ac45
mov eax, dword [0x6ed978]
push 1
push eax
mov ecx, ebx
call fcn.00547400
lea ecx, [ebp - 0x84]
push ecx
mov ecx, ebx
call fcn.005474d0
mov eax, esi
sub eax, 0x2733
neg eax
sbb eax, eax
and al, 0xfd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x54a62b
test ecx, ecx
jne 0x54a62b
cmp dword [ebp - 0x38], 2
jne 0x54ac89
mov al, byte [ebp - 0x21]
test al, al
je 0x54a62b
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x54]
or edx, eax
jne 0x54acb4
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
or eax, ecx
jne 0x54acb4
mov eax, dword [ebx + 0x4c]
test eax, eax
jl 0x54acb4
jg 0x54acad
mov eax, dword [ebx + 0x48]
test eax, eax
jbe 0x54acb4
mov byte [ebx + 0xca], 1
mov ecx, dword [0x6ed974]
push 1
push ecx
mov ecx, ebx
call fcn.00547400
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc