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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc0a0
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.0x52a1e5.8
xor ecx, ecx
mov cl, byte [eax + 0x52b670]
jmp dword [ecx*4 + 0x52b64c]
mov edx, dword [esi + 0x80]
fld qword [edx + 0x3d0]
fcomp qword [0x5fa888]
fnstsw ax
test ah, 1
jne case.0x52a1e5.8
lea eax, [ebp - 0x14]
push edi
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x30cc]
call fcn.005329c0
cmp eax, edi
je case.0x52a1e5.8
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
je case.0x52a1e5.8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jle case.0x52a1e5.8
jmp 0x52ae91
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xec], edi
jne 0x52a2b4
cmp dword [esi + 0x24], edi
jl 0x52a2b4
jg 0x52a265
cmp dword [esi + 0x20], edi
jbe 0x52a2b4
cmp dword [esi + 0x78], 0x14
jle 0x52a2b4
lea edi, [esi + 0x30c]
push edi
call fcn.0058acfc
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 0x52a2b2
mov ecx, dword [esi + 0x30cc]
push 0xc8
call fcn.00532940
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 0x52a2d1
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
or eax, ecx
je 0x52a2d1
xor ebx, ebx
jmp 0x52a2d6
mov ebx, 1
lea edi, [esi + 0x30c]
push edi
call fcn.0058acfc
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 0x52a300
test ebx, ebx
jne 0x52a327
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je case.0x52a1e5.8
cmp dword [esi + 0x78], 4
jl 0x52a327
mov ecx, dword [esi + 0x30cc]
call fcn.00531470
test eax, eax
jne case.0x52a1e5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
je case.0x52a1e5.8
mov ecx, dword [esi + 0x30cc]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne case.0x52a1e5.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 0x52a56d
mov ecx, esi
call fcn.00527a70
cmp eax, 0x2733
je 0x52a396
mov edx, dword [esi + 0xb4]
mov ecx, dword [edx + 4]
cmp ecx, 2
jne 0x52a450
cmp dword [esi + 0x3114], 0x197
jne 0x52a450
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
cmp eax, edi
je 0x52a3ea
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 + 0xb4]
lea ecx, [esi + 0x3188]
push 1
push ecx
mov ecx, dword [eax + 0x138]
lea edx, [esi + 0x3198]
push edx
mov edx, dword [eax + 0x134]
push ecx
mov ecx, dword [esi + 0x3194]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.0052cb90
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x52a437
mov ecx, esi
call fcn.00527100
push edi
mov ecx, esi
call fcn.00526820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 3
jne 0x52a497
cmp dword [esi + 0x3114], 0x197
jne 0x52a497
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x18]
test edi, edi
je 0x52a511
mov eax, dword [esi + 0x30cc]
mov dword [eax + 0xf8], edi
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 0x52a4c0
cmp dword [esi + 0x3114], 0xc8
jne 0x52a4c0
mov dword [esi + 0x5c], 0x10
mov ecx, esi
call fcn.00527280
cmp eax, 0x2733
je 0x52a4ae
cmp eax, edi
je 0x52a4e3
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.0x52a1e5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
jmp 0x52a600
mov edx, dword [esi + 0x323c]
lea edi, [esi + 0x31e8]
push edi
push edx
mov ecx, esi
call fcn.0056e7a0
test eax, eax
je 0x52a526
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.0x52a1e5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x52a7f2
mov eax, dword [esi + 0x84]
test eax, eax
je 0x52a534
mov eax, dword [eax]
jmp 0x52a53c
mov edx, dword [esi + 0x80]
mov eax, dword [edx]
lea ecx, [esi + 0x31f8]
push 0
lea edx, [esi + 0x31f0]
push ecx
push edx
push eax
mov eax, dword [esi + 0x30c4]
push edi
push eax
mov ecx, esi
call fcn.0056ebe0
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.0058acfc
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.0x52a1e5.8
mov ecx, dword [0x688bf4]
push 1
push ecx
mov ecx, esi
call fcn.0050ee60
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 0x52a7f2
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 0x52a62a
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.0x52a1e5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je case.0x52a1e5.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 0x52a828
mov eax, dword [esi + 0x84]
mov ecx, 1
cmp eax, edi
mov dword [esi + 0x3108], ecx
je 0x52a661
mov eax, dword [eax + 0x10]
jmp 0x52a66a
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x52a72f
mov eax, dword [esi + 0xb4]
cmp dword [eax], edi
je 0x52a6af
push edi
mov ecx, esi
call fcn.00526820
cmp eax, edi
je case.0x52a1e5.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.0x52a1e5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
jmp 0x52a7f0
mov edx, dword [esi + 0x323c]
lea edi, [esi + 0x31e8]
push edi
push edx
mov ecx, esi
call fcn.0056e7a0
test eax, eax
je 0x52a6ec
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.0x52a1e5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x52a7f2
mov eax, dword [esi + 0x84]
test eax, eax
je 0x52a6fa
mov eax, dword [eax]
jmp 0x52a702
mov edx, dword [esi + 0x80]
mov eax, dword [edx]
lea ecx, [esi + 0x31f8]
push 0
lea edx, [esi + 0x31f0]
push ecx
push edx
push eax
mov eax, dword [ebx]
push edi
push eax
mov ecx, esi
call fcn.0056ebe0
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 0x52a7e8
jl 0x52a743
cmp dword [esi + 0x20], edi
jae 0x52a7e8
mov byte [ebp - 4], cl
mov ecx, dword [esi + 0x30cc]
push edi
add ecx, 0x48
call fcn.0050d720
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x30cc]
push edx
call fcn.005329c0
cmp dword [esi + 8], edi
je 0x52a7b0
cmp eax, edi
je 0x52a7b0
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xac], edi
jne 0x52a7b0
mov eax, dword [eax + 0x60]
push esi
push eax
add ecx, 0x48
call fcn.0050dc00
cmp eax, edi
jne 0x52a7e5
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.00508830
cmp eax, edi
jne 0x52a7e5
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.0x52a1e5.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.0058acfc
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.0x52a1e5.8
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
mov dword [esi + 0x3108], 1
call fcn.0050ef30
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 0x52a7f0
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 + 0x3308]
je 0x52a8f7
cmp eax, 0x90312
je 0x52a8da
cmp eax, 0x80090318
je 0x52a8da
cmp eax, 0x90320
jne 0x52a99d
lea ecx, [esi + 0x31f8]
lea edx, [esi + 0x31f0]
push ecx
mov ecx, dword [ebx]
lea eax, [esi + 0x31e8]
push edx
push eax
push ecx
jmp 0x52a996
cmp eax, 0x90312
je 0x52a95a
cmp eax, 0x80090318
je 0x52a95a
cmp eax, 0x90320
je 0x52a95a
lea edi, [esi + 0x30c]
push edi
call fcn.0058acfc
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.0x52a1e5.8
mov edx, dword [0x688bf4]
push 1
push edx
mov ecx, esi
call fcn.0050ee60
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 0x52a7f2
mov ecx, dword [esi + 0x3310]
cmp ecx, edi
je 0x52a96b
cmp eax, 0x80090318
jne 0x52a973
cmp dword [esi + 0x3314], edi
je 0x52a97e
cmp ecx, edi
je 0x52a99d
cmp eax, 0x80090318
je 0x52a99d
lea edx, [esi + 0x31f8]
lea eax, [esi + 0x31f0]
push edx
mov edx, dword [ebx]
lea ecx, [esi + 0x31e8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00570880
mov eax, dword [esi + 0x3308]
cmp eax, 0x90312
je case.0x52a1e5.8
cmp eax, 0x80090318
je case.0x52a1e5.8
cmp eax, 0x90320
je case.0x52a1e5.8
cmp eax, edi
jge 0x52aa31
mov eax, dword [esi + 0x80]
lea ecx, [esi + 0x31f0]
push ecx
call dword [eax + 0x370]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
cmp dword [eax + 0xec], 2
je 0x52aa13
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je 0x52aa13
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x52aa13
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
mov edx, dword [esi + 0x330c]
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 + 0x330c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esi + 0x31f0]
push ecx
mov ecx, esi
call fcn.0056f720
cmp dword [esi + 0x24], edi
jg 0x52ab06
jl 0x52aa60
cmp dword [esi + 0x20], edi
jae 0x52ab06
mov ecx, dword [esi + 0x30cc]
push edi
add ecx, 0x48
mov byte [ebp - 4], 3
call fcn.0050d720
mov ecx, dword [esi + 0x30cc]
push eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.005329c0
cmp dword [esi + 8], edi
je 0x52aace
cmp eax, edi
je 0x52aace
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xac], edi
jne 0x52aace
mov edx, dword [eax + 0x60]
push esi
push edx
add ecx, 0x48
call fcn.0050dc00
cmp eax, edi
jne 0x52ab03
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.00508830
cmp eax, edi
jne 0x52ab03
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 0x52a7f0
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 0x52a90c
mov ecx, esi
call fcn.00520fe0
mov edi, eax
cmp edi, 0x7571
je 0x52a5a5
mov ecx, dword [esi + 0x30cc]
mov eax, dword [ecx + 0xec]
test eax, eax
jne 0x52ac07
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
or edx, eax
je 0x52ac07
mov eax, dword [esi + 0x3114]
push eax
call fcn.00532940
test eax, eax
jne 0x52ac07
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne case.0x52a1e5.8
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
test ecx, ecx
jl case.0x52a1e5.8
jg 0x52abba
test eax, eax
jbe case.0x52a1e5.8
mov eax, dword [esi + 0x58]
test eax, eax
jne case.0x52a1e5.8
mov al, byte [esi + 0x94]
test al, al
je 0x52b02c
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
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.0052c800
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 + 0x176]
test al, al
jne 0x52ac93
cmp dword [esi + 0x3114], 0x191
jne 0x52ac93
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
je 0x52ac48
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 + 0x3174]
push 0
push ecx
mov ecx, dword [eax + 0x10]
lea edx, [esi + 0x317c]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [esi + 0x3178]
push edx
add eax, 0x1a0
push ecx
push eax
mov ecx, esi
call fcn.0052cb90
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x52ad27
jmp 0x52ad20
mov ecx, dword [esi + 0xb4]
mov eax, dword [ecx + 4]
cmp eax, 2
jne 0x52ad41
cmp dword [esi + 0x3114], 0x197
jne 0x52ad41
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
je 0x52acda
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 + 0xb4]
lea ecx, [esi + 0x3188]
push 1
push ecx
mov ecx, dword [eax + 0x138]
lea edx, [esi + 0x3198]
push edx
mov edx, dword [eax + 0x134]
push ecx
mov ecx, dword [esi + 0x3194]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.0052cb90
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x52ad27
mov ecx, esi
call fcn.00527100
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
cmp eax, 3
jne 0x52ad89
cmp dword [esi + 0x3114], 0x197
jne 0x52ad89
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x20]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test edi, edi
je 0x52a6dd
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], edi
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 0x52ad9d
cmp eax, 0x197
jne 0x52ada4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test edi, edi
jne 0x52ade1
mov eax, dword [esi + 0x84]
test eax, eax
je 0x52adb7
mov eax, dword [eax + 0x10]
jmp 0x52adc0
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne case.0x52a1e5.8
mov byte [esi + 0x3320], 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 0x52a90c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
cmp dword [eax + 0xec], 2
jne 0x52ae65
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
or ecx, edx
jne case.0x52a1e5.8
mov edi, dword [eax + 0x15c]
mov ecx, dword [eax + 0x158]
xor edx, edx
cmp edi, edx
jl case.0x52a1e5.8
jg 0x52ae31
cmp ecx, edx
jbe case.0x52a1e5.8
cmp dword [esi + 0x58], edx
jne case.0x52a1e5.8
mov al, byte [esi + 0x94]
test al, al
je 0x52b02c
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 0x52abe9
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je case.0x52a1e5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x52a7f2
mov ecx, dword [esi + 0x30cc]
call fcn.00532b40
cmp eax, edi
je 0x52aed2
push str.Reusing_connection._n
mov ecx, esi
call fcn.0050ef30
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.00511030
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 + 0x2bc]
mov dword [ebp - 0x18], eax
cmp ecx, edi
jg 0x52afab
cmp eax, edi
jne 0x52afab
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x52af34
mov eax, dword [eax + 0x10]
jmp 0x52af3d
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x52af54
cmp dword [esi + 0x331c], edi
ja 0x52afab
mov al, byte [esi + 0x3320]
test al, al
jne 0x52afab
lea edi, [esi + 0x30c]
push edi
call fcn.0058acfc
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.0x52a1e5.8
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
call fcn.0050ef30
jmp 0x52abef
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 + 0x3320], 0
call fcn.005100d0
mov ebx, eax
mov al, byte [esi + 0x92]
test al, al
mov dword [ebp - 0x1c], ebx
je 0x52aff1
mov ecx, dword [esi + 0x30cc]
mov byte [esi + 0x92], 0
test ecx, ecx
je 0x52aff1
call fcn.00553620
cmp ebx, 0xffffffff
jg 0x52b3b8
cmp ebx, 0xfffffff9
jne 0x52b06b
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
jne 0x52b044
mov eax, dword [esi + 0x24]
test eax, eax
jl 0x52b044
jg 0x52b01e
mov eax, dword [esi + 0x20]
test eax, eax
jbe 0x52b044
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 0x52b101
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
test eax, eax
je case.0x52a1e5.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 0x52b0be
cmp ecx, 8
jle 0x52b0be
mov ecx, dword [esi + 0x30cc]
push 0xc8
call fcn.00532940
mov ecx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x60]
mov edx, dword [ecx + 0x68]
cmp edx, eax
jne case.0x52a1e5.8
mov eax, dword [esi + 0x24]
add esi, 0x20
test eax, eax
jl case.0x52a1e5.8
jg 0x52b0eb
cmp dword [esi], 0
jbe case.0x52a1e5.8
call fcn.00533400
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 0x52b126
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 0x52b25a
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne 0x52b18c
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52b14f
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 0x52b174
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 0x52b19d
mov ecx, 0x6874e8
jmp 0x52b1a6
mov ecx, dword [esi + 0x80]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x52b2d3
test eax, eax
je 0x52b1b7
add eax, 4
jmp 0x52b1cd
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call fcn.005a58bb
or dword [ebp - 0x14], 1
mov eax, dword [eax]
push str..mail.yahoo.com_
push eax
call fcn.00589520
add esp, 8
test eax, eax
jne 0x52b1eb
mov al, byte [esi + 0x3126]
test al, al
je 0x52b20f
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 0x52b20f
mov edx, dword [edx + 4]
cmp edx, ecx
jne 0x52b20f
mov bl, 1
jmp 0x52b211
xor bl, bl
test byte [ebp - 0x14], 1
je 0x52b227
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.005a584d
test bl, bl
je 0x52b2d3
mov ecx, dword [esi + 0x30cc]
push 1
mov eax, dword [ecx + 0x15c]
mov edx, dword [ecx + 0x158]
push eax
push edx
call fcn.00552b40
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52b14f
jmp 0x52b140
cmp ebx, 0xfffffffb
jne 0x52b284
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 0x52b2bb
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 0x52b483
cmp ebx, 0xfffffffd
je 0x52b2f5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
jmp 0x52b459
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
mov ecx, eax
or ecx, edi
jne 0x52b301
mov edx, dword [esi]
mov ebx, dword [ebp - 0x1c]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
jmp 0x52b459
mov ecx, esi
call fcn.0052c800
jmp 0x52b483
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
cmp ecx, eax
jne 0x52b33a
cmp edx, edi
jne 0x52b33a
test edx, edx
jl 0x52b33a
jg 0x52b319
test ecx, ecx
jbe 0x52b33a
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0x2c0]
test eax, eax
je 0x52b33a
mov eax, dword [esi + 0x30cc]
mov edx, dword [eax + 0x70]
push edx
push 0
call fcn.00568af0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi + 0x3c]
xor edi, edi
cmp eax, edi
jl 0x52b37c
jg 0x52b351
cmp dword [esi + 0x38], edi
jbe 0x52b37c
push edi
mov ecx, esi
call fcn.00511030
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.00510e00
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x52b39a
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
cmp eax, 0x7569
jne 0x52b483
mov ecx, dword [esi + 0x30cc]
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, dword [ebp - 0x1c]
jmp 0x52b459
test ebx, ebx
jle 0x52b483
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x52b459
mov edi, dword [ecx]
mov ecx, dword [esi + 0x30cc]
push eax
add ecx, 0x48
call fcn.0050df90
test eax, eax
jne case.0x52a1e5.8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push 1
mov ecx, edi
mov dword [edi + 0x5c], 7
call fcn.00511030
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 0x52b42c
push ecx
push 0x13f3
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x30cc]
call fcn.00532b40
test eax, eax
je 0x52b452
mov edx, dword [edi]
lea eax, [edi + 0x30c4]
push eax
mov ecx, edi
mov dword [edi + 8], 1
call dword [edx + 0x10]
jmp 0x52b459
mov dword [edi + 0x5c], 0xe
test ebx, ebx
jle 0x52b483
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne 0x52b483
mov al, byte [esi + 0x95]
test al, al
je 0x52afab
mov al, byte [esi + 0x94]
test al, al
je 0x52afab
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, ebx
or edx, ecx
je 0x52b549
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 + 0x2e8]
adc ecx, 0
mov dword [ebp - 0x18], edx
test edx, edx
je 0x52b4e0
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 0x52b4e0
cmp dword [esi + 0x34], edi
jne 0x52b4e0
mov edi, dword [esi + 0x1c]
mov edx, dword [ebp - 0x20]
or edx, edi
je 0x52b4e0
add eax, dword [ebp - 0x18]
adc ecx, 0
cmp eax, dword [esi + 0x38]
jne 0x52b4ea
cmp ecx, dword [esi + 0x3c]
je 0x52b4ee
or eax, ecx
jne 0x52b549
mov ecx, esi
call fcn.0051fec0
cmp dword [esi + 0x5c], 7
jne 0x52b549
mov ecx, dword [esi + 0x30cc]
call fcn.00532b40
xor edi, edi
cmp eax, edi
je 0x52b542
push str.Reusing_connection._n
mov ecx, esi
call fcn.0050ef30
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 0x52b549
mov dword [esi + 0x5c], 0xe
mov al, byte [esi + 0x95]
test al, al
je case.0x52a1e5.8
mov al, byte [esi + 0x94]
test al, al
je case.0x52a1e5.8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne case.0x52a1e5.8
mov ecx, dword [esi + 0x30cc]
test ecx, ecx
je 0x52b15f
mov edx, dword [esi + 0x64]
push 0
mov eax, dword [edx + 4]
push eax
mov edx, dword [edx]
push edx
call fcn.00552b40
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52b5a8
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 0x52b15f
mov eax, dword [esi + 0x80]
mov edx, dword [eax + 0x120]
mov ecx, dword [eax + 0x124]
or edx, ecx
jne 0x52b15f
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 0x52b15f