Function at 0x5275f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c72e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x24], esi
cmp eax, 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
ja case.0x527635.8
xor ecx, ecx
mov cl, byte [eax + 0x528a9c]
jmp dword [ecx*4 + 0x528a78]
mov edx, dword [esi + 0x80]
fld qword [edx + 0x3b0]
fcomp qword [0x5f58a8]
fnstsw ax
test ah, 1
jne case.0x527635.8
lea eax, [ebp - 0x14]
push edi
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x30cc]
call fcn.0052fdc0
cmp eax, edi
je case.0x527635.8
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
je case.0x527635.8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jle case.0x527635.8
jmp 0x5282bd
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xec], edi
jne 0x527704
cmp dword [esi + 0x24], edi
jl 0x527704
jg 0x5276b5
cmp dword [esi + 0x20], edi
jbe 0x527704
cmp dword [esi + 0x78], 0x14
jle 0x527704
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov edx, dword [esi + 0x300]
mov ecx, dword [esi + 0x74]
sub eax, edx
add esp, 4
cmp eax, ecx
mov dword [esi + 0x318], eax
jl 0x527702
mov ecx, dword [esi + 0x30cc]
push 0xc8
call fcn.0052fd40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
jne 0x527721
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
or eax, ecx
je 0x527721
xor ebx, ebx
jmp 0x527726
mov ebx, 1
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov edx, dword [esi + 0x300]
mov ecx, dword [esi + 0x74]
sub eax, edx
add esp, 4
cmp eax, ecx
mov dword [esi + 0x318], eax
jl 0x527750
test ebx, ebx
jne 0x527777
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je case.0x527635.8
cmp dword [esi + 0x78], 4
jl 0x527777
mov ecx, dword [esi + 0x30cc]
call fcn.0052e870
test eax, eax
jne case.0x527635.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
je case.0x527635.8
mov ecx, dword [esi + 0x30cc]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne case.0x527635.8
mov ecx, dword [esi + 0x30cc]
mov edx, dword [ecx]
call dword [edx + 4]
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 + 0x30cc]
mov ecx, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add eax, 0x1e0
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x527974
mov ecx, esi
call fcn.00525510
cmp eax, 0x2733
je 0x5277e6
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], 2
jne 0x52789e
cmp dword [esi + 0x3114], 0x197
jne 0x52789e
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
cmp eax, edi
je 0x527838
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
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 + 0xb0]
lea ecx, [esi + 0x3184]
push 1
push ecx
mov ecx, dword [eax + 0x118]
lea edx, [esi + 0x3194]
push edx
mov edx, dword [eax + 0x114]
push ecx
mov ecx, dword [esi + 0x3190]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00529fc0
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x527885
mov ecx, esi
call fcn.00524ba0
push edi
mov ecx, esi
call fcn.00524600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, edi
jne 0x5278c7
cmp dword [esi + 0x3114], 0xc8
jne 0x5278c7
mov dword [esi + 0x5c], 0x10
mov ecx, esi
call fcn.00524d20
cmp eax, 0x2733
je 0x5278b5
cmp eax, edi
je 0x5278ea
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je case.0x527635.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
jmp 0x527a07
mov edx, dword [esi + 0x3238]
lea edi, [esi + 0x31e4]
push edi
push edx
mov ecx, esi
call fcn.00569bc0
test eax, eax
je 0x52792d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je case.0x527635.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x527bf9
mov eax, dword [esi + 0x84]
test eax, eax
je 0x52793b
mov eax, dword [eax]
jmp 0x527943
mov edx, dword [esi + 0x80]
mov eax, dword [edx]
lea ecx, [esi + 0x31f4]
push 0
lea edx, [esi + 0x31ec]
push ecx
push edx
push eax
mov eax, dword [esi + 0x30c4]
push edi
push eax
mov ecx, esi
call fcn.0056a000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov edx, dword [esi + 0x300]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x318], eax
jl case.0x527635.8
mov ecx, dword [0x68366c]
push 1
push ecx
mov ecx, esi
call fcn.0050df70
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jmp 0x527bf9
mov edx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add edx, 0x5e8
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x527a31
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x3108], 1
call dword [edx + 0x18]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je case.0x527635.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je case.0x527635.8
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
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 + 0x30cc]
mov eax, dword [ebx]
add edx, 0x3e4
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x527c2f
mov eax, dword [esi + 0x84]
mov ecx, 1
cmp eax, edi
mov dword [esi + 0x3108], ecx
je 0x527a68
mov eax, dword [eax + 0x10]
jmp 0x527a71
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x527b36
mov eax, dword [esi + 0xb0]
cmp dword [eax], edi
je 0x527ab6
push edi
mov ecx, esi
call fcn.00524600
cmp eax, edi
je case.0x527635.8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je case.0x527635.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
jmp 0x527bf7
mov edx, dword [esi + 0x3238]
lea edi, [esi + 0x31e4]
push edi
push edx
mov ecx, esi
call fcn.00569bc0
test eax, eax
je 0x527af3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je case.0x527635.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x527bf9
mov eax, dword [esi + 0x84]
test eax, eax
je 0x527b01
mov eax, dword [eax]
jmp 0x527b09
mov edx, dword [esi + 0x80]
mov eax, dword [edx]
lea ecx, [esi + 0x31f4]
push 0
lea edx, [esi + 0x31ec]
push ecx
push edx
push eax
mov eax, dword [ebx]
push edi
push eax
mov ecx, esi
call fcn.0056a000
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 + 0x24], edi
jg 0x527bef
jl 0x527b4a
cmp dword [esi + 0x20], edi
jae 0x527bef
mov byte [ebp - 4], cl
mov ecx, dword [esi + 0x30cc]
push edi
add ecx, 0x48
call fcn.0050c830
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x30cc]
push edx
call fcn.0052fdc0
cmp dword [esi + 8], edi
je 0x527bb7
cmp eax, edi
je 0x527bb7
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xac], edi
jne 0x527bb7
mov eax, dword [eax + 0x60]
push esi
push eax
add ecx, 0x48
call fcn.0050cd10
cmp eax, edi
jne 0x527bec
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
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 + 0x30cc]
push edi
push edi
push edi
push esi
add ecx, 0x48
call fcn.00507990
cmp eax, edi
jne 0x527bec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [esi + 0x5c], 0xe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], edi
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, edi
je case.0x527635.8
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov edx, dword [esi + 0x300]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x318], eax
jl case.0x527635.8
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
mov dword [esi + 0x3108], 1
call fcn.0050e040
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x38]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x3c]
add edi, eax
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0x24]
adc edx, ecx
xor edi, edi
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
jmp 0x527bf7
mov edx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
mov eax, dword [esi + 0x3300]
je 0x527cfe
cmp eax, 0x90312
je 0x527ce1
cmp eax, 0x80090318
je 0x527ce1
cmp eax, 0x90320
jne 0x527da4
lea ecx, [esi + 0x31f4]
lea edx, [esi + 0x31ec]
push ecx
mov ecx, dword [ebx]
lea eax, [esi + 0x31e4]
push edx
push eax
push ecx
jmp 0x527d9d
cmp eax, 0x90312
je 0x527d61
cmp eax, 0x80090318
je 0x527d61
cmp eax, 0x90320
je 0x527d61
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov edx, dword [esi + 0x300]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x318], eax
jl case.0x527635.8
mov edx, dword [0x68366c]
push 1
push edx
mov ecx, esi
call fcn.0050df70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x527bf9
mov ecx, dword [esi + 0x3308]
cmp ecx, edi
je 0x527d72
cmp eax, 0x80090318
jne 0x527d7a
cmp dword [esi + 0x330c], edi
je 0x527d85
cmp ecx, edi
je 0x527da4
cmp eax, 0x80090318
je 0x527da4
lea edx, [esi + 0x31f4]
lea eax, [esi + 0x31ec]
push edx
mov edx, dword [ebx]
lea ecx, [esi + 0x31e4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0056bc80
mov eax, dword [esi + 0x3300]
cmp eax, 0x90312
je case.0x527635.8
cmp eax, 0x80090318
je case.0x527635.8
cmp eax, 0x90320
je case.0x527635.8
cmp eax, edi
jge 0x527e38
mov eax, dword [esi + 0x80]
lea ecx, [esi + 0x31ec]
push ecx
call dword [eax + 0x350]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
cmp dword [eax + 0xec], 2
je 0x527e1a
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je 0x527e1a
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x527e1a
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
mov edx, dword [esi + 0x3304]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
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 + 0x3304]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esi + 0x31ec]
push ecx
mov ecx, esi
call fcn.0056ab40
cmp dword [esi + 0x24], edi
jg 0x527f0d
jl 0x527e67
cmp dword [esi + 0x20], edi
jae 0x527f0d
mov ecx, dword [esi + 0x30cc]
push edi
add ecx, 0x48
mov byte [ebp - 4], 3
call fcn.0050c830
mov ecx, dword [esi + 0x30cc]
push eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.0052fdc0
cmp dword [esi + 8], edi
je 0x527ed5
cmp eax, edi
je 0x527ed5
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xac], edi
jne 0x527ed5
mov edx, dword [eax + 0x60]
push esi
push edx
add ecx, 0x48
call fcn.0050cd10
cmp eax, edi
jne 0x527f0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [esi + 0x5c], 0xe
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 + 0x30cc]
push edi
push edi
push edi
push esi
add ecx, 0x48
call fcn.00507990
cmp eax, edi
jne 0x527f0a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], edi
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x1c]
jmp 0x527bf7
mov edx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x52825a
mov ecx, esi
call fcn.0051f140
mov edi, eax
cmp edi, 0x7571
je 0x5279ac
mov ecx, dword [esi + 0x30cc]
xor ebx, ebx
cmp dword [ecx + 0xec], ebx
jne 0x528004
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
or edx, eax
je 0x528004
mov eax, dword [esi + 0x3114]
push eax
call fcn.0052fd40
cmp eax, ebx
jne 0x528004
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne case.0x527635.8
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x158]
cmp dword [edx + 0x15c], ebx
jl case.0x527635.8
jg 0x527fbb
cmp eax, ebx
jbe case.0x527635.8
cmp dword [esi + 0x58], ebx
jne case.0x527635.8
mov al, byte [esi + 0x94]
test al, al
je 0x528458
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov ecx, dword [esi + 0x30cc]
mov eax, dword [ecx + 0x158]
mov ecx, dword [ecx + 0x15c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov ecx, esi
call fcn.00529c20
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 + 0x80]
mov al, byte [edx + 0x172]
test al, al
jne 0x5280ad
cmp dword [esi + 0x3114], 0x191
jne 0x5280ad
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
cmp eax, ebx
je 0x52804c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
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 + 0x80]
lea ecx, [esi + 0x3170]
push ebx
push ecx
mov ecx, dword [eax + 0x10]
lea edx, [esi + 0x3178]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [esi + 0x3174]
push edx
add eax, 0x19c
push ecx
push eax
mov ecx, esi
call fcn.00529fc0
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x528094
mov ecx, esi
call fcn.00524ba0
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
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 + 0xb0]
mov ebx, 2
cmp dword [ecx + 4], ebx
jne 0x52815d
cmp dword [esi + 0x3114], 0x197
jne 0x52815d
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
je 0x5280f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
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 + 0xb0]
lea ecx, [esi + 0x3184]
push 1
push ecx
mov ecx, dword [eax + 0x118]
lea edx, [esi + 0x3194]
push edx
mov edx, dword [eax + 0x114]
push ecx
mov ecx, dword [esi + 0x3190]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00529fc0
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x528143
mov ecx, esi
call fcn.00524ba0
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x1c]
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 + 0x3114]
cmp eax, 0x191
je 0x528171
cmp eax, 0x197
jne 0x528178
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test edi, edi
jne 0x5281b4
mov eax, dword [esi + 0x84]
test eax, eax
je 0x52818b
mov eax, dword [eax + 0x10]
jmp 0x528194
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x24]
cmp eax, ebx
jne case.0x527635.8
mov byte [esi + 0x3318], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x2733
je 0x52825a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
cmp dword [eax + 0xec], ebx
jne 0x528237
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
or ecx, edx
jne case.0x527635.8
mov edi, dword [eax + 0x15c]
mov ecx, dword [eax + 0x158]
xor edx, edx
cmp edi, edx
jl case.0x527635.8
jg 0x528203
cmp ecx, edx
jbe case.0x527635.8
cmp dword [esi + 0x58], edx
jne case.0x527635.8
mov al, byte [esi + 0x94]
test al, al
je 0x528458
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
jmp 0x527fe6
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je case.0x527635.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x527bf9
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov edx, dword [esi + 0x300]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x318], eax
jl case.0x527635.8
mov edx, dword [0x68366c]
push 1
push edx
mov ecx, esi
call fcn.0050df70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x527bf9
mov ecx, dword [esi + 0x30cc]
call fcn.0052ff40
cmp eax, edi
je 0x5282fe
push str.Reusing_connection._n
mov ecx, esi
call fcn.0050e040
mov dword [esi + 8], 1
mov dword [esi + 0x38], edi
or eax, 0xffffffff
mov dword [esi + 0x3c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
mov ecx, esi
mov dword [esi + 0x5c], 0xe
call fcn.00510130
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 + 0x30cc]
mov edx, dword [esi + 0x30c4]
add ecx, 0x1e0
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
mov ecx, dword [esi + 0x2b8]
mov dword [ebp - 0x18], eax
cmp ecx, edi
jg 0x5283d7
cmp eax, edi
jne 0x5283d7
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x528360
mov eax, dword [eax + 0x10]
jmp 0x528369
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x528380
cmp dword [esi + 0x3314], edi
ja 0x5283d7
mov al, byte [esi + 0x3318]
test al, al
jne 0x5283d7
lea edi, [esi + 0x30c]
push edi
call fcn.005860ec
mov eax, dword [edi]
mov ebx, dword [esi + 0x300]
mov ecx, dword [esi + 0x30cc]
sub eax, ebx
mov dword [esi + 0x318], eax
add esp, 4
mov edx, dword [ecx + 0xec]
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xfffffef2
add edx, 0x12c
cmp eax, edx
jl case.0x527635.8
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
call fcn.0050e040
jmp 0x527fec
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x30c4]
lea edi, [esi + 0x30c4]
push 0xffffffffffffffff
push eax
push ecx
mov ecx, esi
mov byte [esi + 0x3318], 0
call fcn.0050f1e0
mov ebx, eax
mov al, byte [esi + 0x92]
test al, al
mov dword [ebp - 0x1c], ebx
je 0x52841d
mov ecx, dword [esi + 0x30cc]
mov byte [esi + 0x92], 0
test ecx, ecx
je 0x52841d
call fcn.0054ec20
cmp ebx, 0xffffffff
jg 0x5287e4
cmp ebx, 0xfffffff9
jne 0x528497
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
jne 0x528470
mov eax, dword [esi + 0x24]
test eax, eax
jl 0x528470
jg 0x52844a
mov eax, dword [esi + 0x20]
test eax, eax
jbe 0x528470
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0xe
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]
mov ecx, esi
mov byte [esi + 0x90], 1
call dword [edx + 0x18]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xfffffff8
jne 0x52852d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
test eax, eax
je case.0x527635.8
mov dword [eax + 0xf8], 0x753f
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0xe0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x5284ea
cmp ecx, 8
jle 0x5284ea
mov ecx, dword [esi + 0x30cc]
push 0xc8
call fcn.0052fd40
mov ecx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x60]
mov edx, dword [ecx + 0x68]
cmp edx, eax
jne case.0x527635.8
mov eax, dword [esi + 0x24]
add esi, 0x20
test eax, eax
jl case.0x527635.8
jg 0x528517
cmp dword [esi], 0
jbe case.0x527635.8
call fcn.005307b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xfffffff7
jne 0x528552
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xfffffffc
jne 0x528686
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne 0x5285b8
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52857b
mov ecx, dword [esi + 0x30cc]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0xfc], edx
mov eax, dword [esi + 0x30cc]
mov dword [eax + 0xf8], 0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x5285a0
mov dword [eax + 0x14], 1
mov dword [esi + 0x5c], 0xe
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 + 0x84]
test eax, eax
je 0x5285c9
mov ecx, 0x681f78
jmp 0x5285d2
mov ecx, dword [esi + 0x80]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x5286ff
test eax, eax
je 0x5285e3
add eax, 4
jmp 0x5285f9
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call fcn.005a0ccb
or dword [ebp - 0x14], 1
mov eax, dword [eax]
push str..mail.yahoo.com_
push eax
call fcn.00584910
add esp, 8
test eax, eax
jne 0x528617
mov al, byte [esi + 0x3126]
test al, al
je 0x52863b
mov eax, dword [esi + 0x38]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x24]
add eax, edi
adc ecx, edx
mov edx, dword [esi + 0x64]
mov edi, dword [edx]
cmp edi, eax
jne 0x52863b
mov edx, dword [edx + 4]
cmp edx, ecx
jne 0x52863b
mov bl, 1
jmp 0x52863d
xor bl, bl
test byte [ebp - 0x14], 1
je 0x528653
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.005a0c5d
test bl, bl
je 0x5286ff
mov ecx, dword [esi + 0x30cc]
push 1
mov eax, dword [ecx + 0x15c]
mov edx, dword [ecx + 0x158]
push eax
push edx
call fcn.0054e140
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52857b
jmp 0x52856c
cmp ebx, 0xfffffffb
jne 0x5286b0
mov eax, dword [esi + 0x30cc]
mov ecx, esi
mov dword [eax + 0x38], 1
mov edx, dword [esi]
call dword [edx + 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xfffffffe
jne 0x5286e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
add eax, ecx
mov dword [esi + 0x20], eax
mov ebx, dword [esi + 0x24]
adc ebx, edx
xor eax, eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
jmp 0x5288af
cmp ebx, 0xfffffffd
je 0x528721
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
jmp 0x528885
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
mov ecx, eax
or ecx, edi
jne 0x52872d
mov edx, dword [esi]
mov ebx, dword [ebp - 0x1c]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
jmp 0x528885
mov ecx, esi
call fcn.00529c20
jmp 0x5288af
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
cmp ecx, eax
jne 0x528766
cmp edx, edi
jne 0x528766
test edx, edx
jl 0x528766
jg 0x528745
test ecx, ecx
jbe 0x528766
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0x2a0]
test eax, eax
je 0x528766
mov eax, dword [esi + 0x30cc]
mov edx, dword [eax + 0x70]
push edx
push 0
call fcn.00563f10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi + 0x3c]
xor edi, edi
cmp eax, edi
jl 0x5287a8
jg 0x52877d
cmp dword [esi + 0x38], edi
jbe 0x5287a8
push edi
mov ecx, esi
call fcn.00510130
mov ecx, dword [esi + 0x38]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
add ebx, ecx
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x24]
adc eax, edx
mov ecx, esi
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.0050ff10
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x5287c6
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
cmp eax, 0x7569
jne 0x5288af
mov ecx, dword [esi + 0x30cc]
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, dword [ebp - 0x1c]
jmp 0x528885
test ebx, ebx
jle 0x5288af
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x528885
mov edi, dword [ecx]
mov ecx, dword [esi + 0x30cc]
push eax
add ecx, 0x48
call fcn.0050d0a0
test eax, eax
jne case.0x527635.8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push 1
mov ecx, edi
mov dword [edi + 0x5c], 7
call fcn.00510130
xor ecx, ecx
or eax, 0xffffffff
mov dword [edi + 0x38], ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x24], eax
mov edx, dword [esi + 0x70]
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, ecx
je 0x528858
push ecx
push 0x13f3
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x30cc]
call fcn.0052ff40
test eax, eax
je 0x52887e
mov edx, dword [edi]
lea eax, [edi + 0x30c4]
push eax
mov ecx, edi
mov dword [edi + 8], 1
call dword [edx + 0x10]
jmp 0x528885
mov dword [edi + 0x5c], 0xe
test ebx, ebx
jle 0x5288af
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne 0x5288af
mov al, byte [esi + 0x95]
test al, al
je 0x5283d7
mov al, byte [esi + 0x94]
test al, al
je 0x5283d7
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, ebx
or edx, ecx
je 0x528975
mov edi, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, ebx
sub eax, edi
sbb ecx, edx
mov edx, dword [esi + 0x80]
add eax, 1
mov edx, dword [edx + 0x2c8]
adc ecx, 0
mov dword [ebp - 0x18], edx
test edx, edx
je 0x52890c
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x20], edx
sub edx, 1
sbb edi, 0
cmp ebx, edx
jne 0x52890c
cmp dword [esi + 0x34], edi
jne 0x52890c
mov edi, dword [esi + 0x1c]
mov edx, dword [ebp - 0x20]
or edx, edi
je 0x52890c
add eax, dword [ebp - 0x18]
adc ecx, 0
cmp eax, dword [esi + 0x38]
jne 0x528916
cmp ecx, dword [esi + 0x3c]
je 0x52891a
or eax, ecx
jne 0x528975
mov ecx, esi
call fcn.0051e030
cmp dword [esi + 0x5c], 7
jne 0x528975
mov ecx, dword [esi + 0x30cc]
call fcn.0052ff40
xor edi, edi
cmp eax, edi
je 0x52896e
push str.Reusing_connection._n
mov ecx, esi
call fcn.0050e040
mov eax, 1
mov ecx, esi
mov dword [esi + 0x54], eax
mov dword [esi + 8], eax
mov dword [esi + 0x38], edi
or eax, 0xffffffff
mov dword [esi + 0x3c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
call dword [edx + 0x10]
jmp 0x528975
mov dword [esi + 0x5c], 0xe
mov al, byte [esi + 0x95]
test al, al
je case.0x527635.8
mov al, byte [esi + 0x94]
test al, al
je case.0x527635.8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne case.0x527635.8
mov ecx, dword [esi + 0x30cc]
test ecx, ecx
je 0x52858b
mov edx, dword [esi + 0x64]
push 0
mov eax, dword [edx + 4]
push eax
mov edx, dword [edx]
push edx
call fcn.0054e140
mov eax, dword [esi + 0x60]
test eax, eax
je 0x5289d4
mov ecx, dword [esi + 0x30cc]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0xfc], edx
mov eax, dword [esi + 0x30cc]
mov dword [eax + 0xf8], 0
mov ecx, dword [esi + 0x30cc]
mov eax, dword [ecx + 0xac]
test eax, eax
jne 0x52858b
mov eax, dword [esi + 0x80]
mov edx, dword [eax + 0x120]
mov ecx, dword [eax + 0x124]
or edx, ecx
jne 0x52858b
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx]
mov dword [eax + 0x120], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x124], ecx
jmp 0x52858b