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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x28], esi
cmp eax, 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
ja case.0x5309a5.13
xor ecx, ecx
mov cl, byte [eax + 0x532044]
jmp dword [ecx*4 + 0x53200c]
mov edx, dword [esi + 0xa0]
fld qword [edx + 0x3d0]
fcomp qword [0x6039a8]
fnstsw ax
test ah, 1
jne case.0x5309a5.13
lea eax, [ebp - 0x14]
push edi
lea ecx, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [esi + 0x30ec]
call fcn.00539870
cmp eax, edi
je case.0x5309a5.13
mov edx, dword [esi + 0x30ec]
cmp dword [edx + 0xec], 2
je case.0x5309a5.13
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jle case.0x5309a5.13
jmp 0x531835
mov ecx, dword [esi + 0x30ec]
cmp dword [ecx + 0xec], edi
jne 0x530a7a
cmp dword [esi + 0x44], edi
jl 0x530a7a
jg 0x530a25
cmp dword [esi + 0x40], edi
jbe 0x530a7a
cmp dword [esi + 0x98], 0x14
jle 0x530a7a
lea edi, [esi + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov edx, dword [esi + 0x320]
mov ecx, dword [esi + 0x94]
sub eax, edx
add esp, 4
cmp eax, ecx
mov dword [esi + 0x338], eax
jl 0x530a78
mov ecx, dword [esi + 0x30ec]
push 0xc8
call fcn.005397f0
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 + 0x30ec]
cmp dword [edx + 0xec], 2
jne 0x530a97
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je 0x530a97
xor ebx, ebx
jmp 0x530a9c
mov ebx, 1
lea edi, [esi + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov edx, dword [esi + 0x320]
mov ecx, dword [esi + 0x94]
sub eax, edx
add esp, 4
cmp eax, ecx
mov dword [esi + 0x338], eax
jl 0x530ac9
test ebx, ebx
jne 0x530af3
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
or ecx, eax
je case.0x5309a5.13
cmp dword [esi + 0x98], 4
jl 0x530af3
mov ecx, dword [esi + 0x30ec]
call fcn.00538330
test eax, eax
jne case.0x5309a5.13
mov edx, dword [esi]
lea eax, [esi + 0x30e4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
je case.0x5309a5.13
mov ecx, dword [esi + 0x30ec]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne case.0x5309a5.13
mov ecx, dword [esi + 0x30ec]
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 + 0x30ec]
mov ecx, dword [esi + 0x30e4]
lea ebx, [esi + 0x30e4]
add eax, 0x1e0
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x530d39
mov ecx, esi
call fcn.0052df60
cmp eax, 0x2733
je 0x530b62
mov edx, dword [esi + 0xd4]
mov ecx, dword [edx + 4]
cmp ecx, 2
jne 0x530c1c
cmp dword [esi + 0x3134], 0x197
jne 0x530c1c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
cmp eax, edi
je 0x530bb6
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 + 0xd4]
lea ecx, [esi + 0x31a8]
push 1
push ecx
mov ecx, dword [eax + 0x154]
lea edx, [esi + 0x31b8]
push edx
mov edx, dword [eax + 0x150]
push ecx
mov ecx, dword [esi + 0x31b4]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00533970
mov edx, dword [esi + 0x3158]
mov eax, dword [esi + 0x315c]
or edx, eax
je 0x530c03
mov ecx, esi
call fcn.0052d5f0
push edi
mov ecx, esi
call fcn.0052cd10
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 0x530c63
cmp dword [esi + 0x3134], 0x197
jne 0x530c63
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 0x530cdd
mov eax, dword [esi + 0x30ec]
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 0x530c8c
cmp dword [esi + 0x3134], 0xc8
jne 0x530c8c
mov dword [esi + 0x7c], 0x10
mov ecx, esi
call fcn.0052d770
cmp eax, 0x2733
je 0x530c7a
cmp eax, edi
je 0x530caf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je case.0x5309a5.13
mov edx, dword [esi]
lea eax, [esi + 0x30e4]
push eax
jmp 0x531131
mov edx, dword [esi + 0x325c]
lea edi, [esi + 0x3208]
push edi
push edx
mov ecx, esi
call fcn.00576a20
test eax, eax
je 0x530cf2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
or ecx, eax
je case.0x5309a5.13
mov edx, dword [esi]
lea eax, [esi + 0x30e4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x531138
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x530d00
mov eax, dword [eax]
jmp 0x530d08
mov edx, dword [esi + 0xa0]
mov eax, dword [edx]
lea ecx, [esi + 0x3218]
push 0
lea edx, [esi + 0x3210]
push ecx
push edx
push eax
mov eax, dword [esi + 0x30e4]
push edi
push eax
mov ecx, esi
call fcn.00576e70
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 + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov edx, dword [esi + 0x320]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x338], eax
jl case.0x5309a5.13
mov ecx, dword [0x692c3c]
push 1
push ecx
mov ecx, esi
call fcn.005132d0
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 0x531138
mov edx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x30e4]
lea edi, [esi + 0x30e4]
add edx, 0x5e8
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x530dd8
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x3128], 1
call dword [edx + 0x18]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je case.0x5309a5.13
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x531138
mov edx, dword [esi + 0x30ec]
mov eax, dword [edi]
add edx, 0x3e4
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x530e1e
mov ecx, dword [edi]
push 0
push 0
push 0
push 0
push ecx
mov ecx, esi
mov dword [esi + 0x3128], 1
call fcn.005139c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x32c]
push ebx
call fcn.00592fdc
mov eax, dword [ebx]
mov edx, dword [esi + 0x320]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x338], eax
jl case.0x5309a5.13
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
mov dword [esi + 0x3128], 1
call fcn.005133a0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x40]
mov ecx, dword [esi + 0x5c]
add ebx, eax
mov dword [esi + 0x40], ebx
mov edx, dword [esi + 0x44]
adc edx, ecx
xor ebx, ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x10]
cmp eax, ebx
jmp 0x531138
mov edx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x30e4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x5310ad
mov ecx, dword [esi + 0x30e4]
push edi
push edi
push edi
push ecx
mov ecx, esi
call fcn.00513c00
cmp eax, edi
jne 0x530ede
mov ecx, esi
call fcn.00530690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x2733
je 0x5310ad
jmp 0x531089
mov eax, dword [esi + 0x30ec]
mov ecx, dword [esi + 0x30e4]
add eax, 0x1e0
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x5310ad
mov eax, dword [esi + 0x30e4]
lea edx, [ebp - 0x15]
push edx
push eax
mov ecx, esi
call fcn.00513d90
cmp eax, edi
jne 0x530fb3
mov al, byte [ebp - 0x15]
test al, al
je 0x530f99
mov ecx, dword [esi + 0xd4]
mov al, byte [ecx + 0x145]
test al, al
jne 0x530f89
mov edx, dword [0x692080]
push 1
push edx
mov ecx, esi
call fcn.005132d0
mov eax, dword [0x692080]
mov ecx, dword [esi + 0x8c]
push eax
call fcn.00518410
mov ecx, dword [esi + 0x30ec]
mov eax, 0x7559
mov dword [ecx + 0xf8], eax
mov ecx, esi
call fcn.00530880
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 + 0x30e4]
push ecx
mov ecx, esi
call fcn.00514350
jmp 0x530fab
mov edx, dword [esi + 0x30e4]
push edi
push edi
push edi
push edi
push edx
mov ecx, esi
call fcn.00514170
cmp eax, edi
je case.0x5309a5.13
cmp eax, 0x2733
je 0x5310ad
mov ecx, dword [esi + 0x30ec]
mov dword [ecx + 0xf8], eax
mov ecx, esi
call fcn.00530880
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 + 0x30ec]
mov eax, dword [esi + 0x30e4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x5310ad
mov ecx, dword [esi + 0x30e4]
push ecx
mov ecx, esi
call fcn.00514470
cmp eax, edi
jne 0x530fb3
mov edx, dword [esi + 0x30e4]
push edi
push edi
push edi
push edi
push edx
mov ecx, esi
call fcn.00514170
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 + 0x30ec]
mov eax, dword [esi + 0x30e4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x5310ad
mov ecx, dword [esi + 0x30e4]
push edi
push edi
push edi
push ecx
mov ecx, esi
call fcn.00513ed0
cmp eax, edi
jne 0x531082
mov ecx, esi
call fcn.00530690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x2733
je 0x5310ad
mov edx, dword [esi + 0x30ec]
mov ecx, esi
mov dword [edx + 0xf8], eax
call fcn.00530880
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 + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov edx, dword [esi + 0x320]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x338], eax
jl case.0x5309a5.13
mov ecx, esi
call fcn.00530920
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 + 0x30ec]
mov ecx, dword [esi + 0x30e4]
lea ebx, [esi + 0x30e4]
add eax, 0x5e8
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x53115b
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x3128], 1
call dword [edx + 0x18]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je case.0x5309a5.13
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je case.0x5309a5.13
mov ecx, dword [esi + 0x30ec]
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 + 0x30ec]
mov eax, dword [ebx]
add edx, 0x3e4
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x5311d1
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x3128], 1
cmp eax, edi
je 0x53118d
mov eax, dword [eax + 0x10]
jmp 0x531196
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x24]
cmp eax, 2
jne 0x53106a
mov edx, dword [esi + 0xd4]
cmp dword [edx], edi
je 0x53106a
push edi
mov ecx, esi
call fcn.0052cd10
cmp eax, edi
je case.0x5309a5.13
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
or ecx, eax
jmp 0x531128
lea edi, [esi + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov edx, dword [esi + 0x320]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x338], eax
jl case.0x5309a5.13
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
mov dword [esi + 0x3128], 1
call fcn.005133a0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x5c]
add edi, eax
mov dword [esi + 0x40], edi
mov edx, dword [esi + 0x44]
adc edx, ecx
xor edi, edi
mov dword [esi + 0x44], edx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
jmp 0x53112e
mov edx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x30e4]
lea ebx, [esi + 0x30e4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
mov eax, dword [esi + 0x3328]
je 0x531298
cmp eax, 0x90312
je 0x53127b
cmp eax, 0x80090318
je 0x53127b
cmp eax, 0x90320
jne 0x53133e
lea ecx, [esi + 0x3218]
lea edx, [esi + 0x3210]
push ecx
mov ecx, dword [ebx]
lea eax, [esi + 0x3208]
push edx
push eax
push ecx
jmp 0x531337
cmp eax, 0x90312
je 0x5312fb
cmp eax, 0x80090318
je 0x5312fb
cmp eax, 0x90320
je 0x5312fb
lea edi, [esi + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov edx, dword [esi + 0x320]
sub eax, edx
add esp, 4
cmp eax, 0x1e
mov dword [esi + 0x338], eax
jl case.0x5309a5.13
mov edx, dword [0x692c3c]
push 1
push edx
mov ecx, esi
call fcn.005132d0
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 0x531138
mov ecx, dword [esi + 0x3330]
cmp ecx, edi
je 0x53130c
cmp eax, 0x80090318
jne 0x531314
cmp dword [esi + 0x3334], edi
je 0x53131f
cmp ecx, edi
je 0x53133e
cmp eax, 0x80090318
je 0x53133e
lea edx, [esi + 0x3218]
lea eax, [esi + 0x3210]
push edx
mov edx, dword [ebx]
lea ecx, [esi + 0x3208]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00578b50
mov eax, dword [esi + 0x3328]
cmp eax, 0x90312
je case.0x5309a5.13
cmp eax, 0x80090318
je case.0x5309a5.13
cmp eax, 0x90320
je case.0x5309a5.13
cmp eax, edi
jge 0x5313d2
mov eax, dword [esi + 0xa0]
lea ecx, [esi + 0x3210]
push ecx
call dword [eax + 0x370]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30ec]
cmp dword [eax + 0xec], 2
je 0x5313b4
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
or ecx, eax
je 0x5313b4
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x5313b4
mov ecx, dword [esi + 0x30ec]
mov dword [ecx + 0xf8], eax
mov edx, dword [esi + 0x332c]
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 + 0x332c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esi + 0x3210]
push ecx
mov ecx, esi
call fcn.005779d0
cmp dword [esi + 0x44], edi
jg 0x5314aa
jl 0x531401
cmp dword [esi + 0x40], edi
jae 0x5314aa
mov ecx, dword [esi + 0x30ec]
push edi
add ecx, 0x48
mov byte [ebp - 4], 1
call fcn.00511b70
mov ecx, dword [esi + 0x30ec]
push eax
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
push edx
push eax
call fcn.00539870
cmp dword [esi + 8], edi
je 0x531472
cmp eax, edi
je 0x531472
mov ecx, dword [esi + 0x30ec]
cmp dword [ecx + 0xac], edi
jne 0x531472
mov edx, dword [eax + 0x80]
push esi
push edx
add ecx, 0x48
call fcn.00512050
cmp eax, edi
jne 0x5314a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [esi + 0x7c], 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 + 0x30ec]
push edi
push edi
push edi
push esi
add ecx, 0x48
call fcn.0050cc80
cmp eax, edi
jne 0x5314a7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x7c], 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 0x531136
mov edx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x30e4]
lea ebx, [esi + 0x30e4]
add edx, 0x1e0
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x5312ad
mov ecx, esi
call fcn.00526fe0
mov edi, eax
cmp edi, 0x7571
je 0x530d71
mov ecx, dword [esi + 0x30ec]
mov eax, dword [ecx + 0xec]
test eax, eax
jne 0x5315ab
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or edx, eax
je 0x5315ab
mov eax, dword [esi + 0x3134]
push eax
call fcn.005397f0
test eax, eax
jne 0x5315ab
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
or ecx, eax
jne case.0x5309a5.13
mov edx, dword [esi + 0x30ec]
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
test ecx, ecx
jl case.0x5309a5.13
jg 0x53155e
test eax, eax
jbe case.0x5309a5.13
mov eax, dword [esi + 0x78]
test eax, eax
jne case.0x5309a5.13
mov al, byte [esi + 0xb4]
test al, al
je 0x5319d0
xor eax, eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x30ec]
mov eax, dword [ecx + 0x158]
mov ecx, dword [ecx + 0x15c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
mov ecx, esi
call fcn.005335d0
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 + 0xa0]
mov al, byte [edx + 0x176]
test al, al
jne 0x531637
cmp dword [esi + 0x3134], 0x191
jne 0x531637
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
je 0x5315ec
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 + 0xa0]
lea ecx, [esi + 0x3194]
push 0
push ecx
mov ecx, dword [eax + 0x10]
lea edx, [esi + 0x319c]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [esi + 0x3198]
push edx
add eax, 0x1a0
push ecx
push eax
mov ecx, esi
call fcn.00533970
mov edx, dword [esi + 0x3158]
mov eax, dword [esi + 0x315c]
or edx, eax
je 0x5316cb
jmp 0x5316c4
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx + 4]
cmp eax, 2
jne 0x5316e5
cmp dword [esi + 0x3134], 0x197
jne 0x5316e5
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
je 0x53167e
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 + 0xd4]
lea ecx, [esi + 0x31a8]
push 1
push ecx
mov ecx, dword [eax + 0x154]
lea edx, [esi + 0x31b8]
push edx
mov edx, dword [eax + 0x150]
push ecx
mov ecx, dword [esi + 0x31b4]
push edx
add eax, 8
push ecx
push eax
mov ecx, esi
call fcn.00533970
mov edx, dword [esi + 0x3158]
mov eax, dword [esi + 0x315c]
or edx, eax
je 0x5316cb
mov ecx, esi
call fcn.0052d5f0
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 0x53172d
cmp dword [esi + 0x3134], 0x197
jne 0x53172d
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 0x5312ec
mov ecx, dword [esi + 0x30ec]
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 + 0x3134]
cmp eax, 0x191
je 0x531741
cmp eax, 0x197
jne 0x531748
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test edi, edi
jne 0x531785
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x53175b
mov eax, dword [eax + 0x10]
jmp 0x531764
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne case.0x5309a5.13
mov byte [esi + 0x3340], 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 0x5312ad
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30ec]
cmp dword [eax + 0xec], 2
jne 0x531809
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
or ecx, edx
jne case.0x5309a5.13
mov edi, dword [eax + 0x15c]
mov ecx, dword [eax + 0x158]
xor edx, edx
cmp edi, edx
jl case.0x5309a5.13
jg 0x5317d5
cmp ecx, edx
jbe case.0x5309a5.13
cmp dword [esi + 0x78], edx
jne case.0x5309a5.13
mov al, byte [esi + 0xb4]
test al, al
je 0x5319d0
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov edx, dword [esi + 0x30ec]
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
jmp 0x53158d
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
or eax, ecx
je case.0x5309a5.13
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x531138
mov ecx, dword [esi + 0x30ec]
call fcn.005399f0
cmp eax, edi
je 0x531876
push str.Reusing_connection._n
mov ecx, esi
call fcn.005133a0
mov dword [esi + 8], 1
mov dword [esi + 0x58], edi
or eax, 0xffffffff
mov dword [esi + 0x5c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov edx, dword [esi]
lea eax, [esi + 0x30e4]
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 + 0x7c], 0xe
call fcn.005161d0
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 + 0x30ec]
mov edx, dword [esi + 0x30e4]
add ecx, 0x1e0
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
mov ecx, dword [esi + 0x2dc]
mov dword [ebp - 0x1c], eax
cmp ecx, edi
jg 0x53194f
cmp eax, edi
jne 0x53194f
mov eax, dword [esi + 0xa4]
cmp eax, edi
je 0x5318d8
mov eax, dword [eax + 0x10]
jmp 0x5318e1
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x5318f8
cmp dword [esi + 0x333c], edi
ja 0x53194f
mov al, byte [esi + 0x3340]
test al, al
jne 0x53194f
lea edi, [esi + 0x32c]
push edi
call fcn.00592fdc
mov eax, dword [edi]
mov ebx, dword [esi + 0x320]
sub eax, ebx
add esp, 4
mov dword [esi + 0x338], eax
mov ecx, dword [esi + 0x30ec]
mov edx, dword [ecx + 0xec]
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xfffffef2
add edx, 0x12c
cmp eax, edx
jl case.0x5309a5.13
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
call fcn.005133a0
jmp 0x531593
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x30e4]
lea edi, [esi + 0x30e4]
push 0xffffffffffffffff
push eax
push ecx
mov ecx, esi
mov byte [esi + 0x3340], 0
call fcn.00515250
mov ebx, eax
mov al, byte [esi + 0xb2]
test al, al
mov dword [ebp - 0x20], ebx
je 0x531995
mov ecx, dword [esi + 0x30ec]
mov byte [esi + 0xb2], 0
test ecx, ecx
je 0x531995
call fcn.0055b370
cmp ebx, 0xffffffff
jg 0x531d6b
cmp ebx, 0xfffffff9
jne 0x531a0f
mov edx, dword [esi + 0x30ec]
cmp dword [edx + 0xec], 2
jne 0x5319e8
mov eax, dword [esi + 0x44]
test eax, eax
jl 0x5319e8
jg 0x5319c2
mov eax, dword [esi + 0x40]
test eax, eax
jbe 0x5319e8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 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 + 0xb0], 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 0x531aa8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30ec]
test eax, eax
je case.0x5309a5.13
mov dword [eax + 0xf8], 0x753f
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0xe0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x531a62
cmp ecx, 8
jle 0x531a62
mov ecx, dword [esi + 0x30ec]
push 0xc8
call fcn.005397f0
mov ecx, dword [esi + 0x30ec]
mov eax, dword [esi + 0x80]
mov edx, dword [ecx + 0x68]
cmp edx, eax
jne case.0x5309a5.13
mov eax, dword [esi + 0x44]
add esi, 0x40
test eax, eax
jl case.0x5309a5.13
jg 0x531a92
cmp dword [esi], 0
jbe case.0x5309a5.13
call fcn.0053a2b0
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 0x531acd
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 0x531c0d
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
or eax, ecx
jne 0x531b39
mov eax, dword [esi + 0x80]
test eax, eax
je 0x531af9
mov ecx, dword [esi + 0x30ec]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0xfc], edx
mov eax, dword [esi + 0x30ec]
mov dword [eax + 0xf8], 0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x80]
test eax, eax
je 0x531b21
mov dword [eax + 0x14], 1
mov dword [esi + 0x7c], 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 + 0xa4]
test eax, eax
je 0x531b4a
mov ecx, 0x691568
jmp 0x531b53
mov ecx, dword [esi + 0xa0]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x531c86
test eax, eax
je 0x531b64
add eax, 4
jmp 0x531b7a
mov edx, dword [esi + 0xa0]
lea ecx, [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call fcn.005adcbb
or dword [ebp - 0x14], 1
mov eax, dword [eax]
push str..mail.yahoo.com_
push eax
call fcn.00591800
add esp, 8
test eax, eax
jne 0x531b98
mov al, byte [esi + 0x3146]
test al, al
je 0x531bbf
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x44]
add eax, edi
adc ecx, edx
mov edx, dword [esi + 0x84]
mov edi, dword [edx]
cmp edi, eax
jne 0x531bbf
mov edx, dword [edx + 4]
cmp edx, ecx
jne 0x531bbf
mov bl, 1
jmp 0x531bc1
xor bl, bl
test byte [ebp - 0x14], 1
je 0x531bd7
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.005adc4d
test bl, bl
je 0x531c86
mov ecx, dword [esi + 0x30ec]
push 1
mov eax, dword [ecx + 0x15c]
mov edx, dword [ecx + 0x158]
push eax
push edx
call fcn.0055a890
mov eax, dword [esi + 0x80]
test eax, eax
je 0x531af9
jmp 0x531aea
cmp ebx, 0xfffffffb
jne 0x531c37
mov eax, dword [esi + 0x30ec]
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 0x531c6e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x5c]
add eax, ecx
mov dword [esi + 0x40], eax
mov ebx, dword [esi + 0x44]
adc ebx, edx
xor eax, eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
jmp 0x531e3c
cmp ebx, 0xfffffffd
je 0x531ca8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x7c], 0xe
jmp 0x531e12
mov eax, dword [esi + 0x50]
mov edi, dword [esi + 0x54]
mov ecx, eax
or ecx, edi
jne 0x531cb4
mov edx, dword [esi]
mov ebx, dword [ebp - 0x20]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x7c], 0xe
jmp 0x531e12
mov ecx, esi
call fcn.005335d0
jmp 0x531e3c
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
cmp ecx, eax
jne 0x531ced
cmp edx, edi
jne 0x531ced
test edx, edx
jl 0x531ced
jg 0x531ccc
test ecx, ecx
jbe 0x531ced
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x2c0]
test eax, eax
je 0x531ced
mov eax, dword [esi + 0x30ec]
mov edx, dword [eax + 0x70]
push edx
push 0
call fcn.00570d70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi + 0x5c]
xor edi, edi
cmp eax, edi
jl 0x531d2f
jg 0x531d04
cmp dword [esi + 0x58], edi
jbe 0x531d2f
push edi
mov ecx, esi
call fcn.005161d0
mov ecx, dword [esi + 0x58]
mov ebx, dword [esi + 0x40]
mov edx, dword [esi + 0x5c]
add ebx, ecx
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x44]
adc eax, edx
mov ecx, esi
mov dword [esi + 0x44], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
call fcn.00515fa0
mov edx, dword [esi]
lea eax, [esi + 0x30e4]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x531d4d
mov ecx, dword [esi + 0x30ec]
mov dword [ecx + 0xf8], eax
cmp eax, 0x7569
jne 0x531e3c
mov ecx, dword [esi + 0x30ec]
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, dword [ebp - 0x20]
jmp 0x531e12
test ebx, ebx
jle 0x531e3c
mov eax, dword [esi + 0x80]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x531e12
mov edi, dword [ecx]
mov ecx, dword [esi + 0x30ec]
push eax
add ecx, 0x48
call fcn.005123f0
test eax, eax
jne case.0x5309a5.13
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push 1
mov ecx, edi
mov dword [edi + 0x7c], 7
call fcn.005161d0
xor ecx, ecx
or eax, 0xffffffff
mov dword [edi + 0x58], ecx
mov dword [edi + 0x40], eax
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x44], eax
mov edx, dword [esi + 0x90]
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, ecx
je 0x531de5
push ecx
push 0x13f3
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x30ec]
call fcn.005399f0
test eax, eax
je 0x531e0b
mov edx, dword [edi]
lea eax, [edi + 0x30e4]
push eax
mov ecx, edi
mov dword [edi + 8], 1
call dword [edx + 0x10]
jmp 0x531e12
mov dword [edi + 0x7c], 0xe
test ebx, ebx
jle 0x531e3c
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
or ecx, eax
jne 0x531e3c
mov al, byte [esi + 0xb5]
test al, al
je 0x53194f
mov al, byte [esi + 0xb4]
test al, al
je 0x53194f
mov ebx, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, ebx
or edx, ecx
je 0x531f02
mov edi, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov eax, ebx
sub eax, edi
sbb ecx, edx
mov edx, dword [esi + 0xa0]
add eax, 1
mov edx, dword [edx + 0x2e8]
adc ecx, 0
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x531e99
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
mov dword [ebp - 0x24], edx
sub edx, 1
sbb edi, 0
cmp ebx, edx
jne 0x531e99
cmp dword [esi + 0x54], edi
jne 0x531e99
mov edi, dword [esi + 0x3c]
mov edx, dword [ebp - 0x24]
or edx, edi
je 0x531e99
add eax, dword [ebp - 0x1c]
adc ecx, 0
cmp eax, dword [esi + 0x58]
jne 0x531ea3
cmp ecx, dword [esi + 0x5c]
je 0x531ea7
or eax, ecx
jne 0x531f02
mov ecx, esi
call fcn.00525ea0
cmp dword [esi + 0x7c], 7
jne 0x531f02
mov ecx, dword [esi + 0x30ec]
call fcn.005399f0
xor edi, edi
cmp eax, edi
je 0x531efb
push str.Reusing_connection._n
mov ecx, esi
call fcn.005133a0
mov eax, 1
mov ecx, esi
mov dword [esi + 0x74], eax
mov dword [esi + 8], eax
mov dword [esi + 0x58], edi
or eax, 0xffffffff
mov dword [esi + 0x5c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov edx, dword [esi]
lea eax, [esi + 0x30e4]
push eax
call dword [edx + 0x10]
jmp 0x531f02
mov dword [esi + 0x7c], 0xe
mov al, byte [esi + 0xb5]
test al, al
je case.0x5309a5.13
mov al, byte [esi + 0xb4]
test al, al
je case.0x5309a5.13
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
or eax, ecx
jne case.0x5309a5.13
mov ecx, dword [esi + 0x30ec]
test ecx, ecx
je 0x531b09
mov edx, dword [esi + 0x84]
push 0
mov eax, dword [edx + 4]
push eax
mov edx, dword [edx]
push edx
call fcn.0055a890
mov eax, dword [esi + 0x80]
test eax, eax
je 0x531f67
mov ecx, dword [esi + 0x30ec]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0xfc], edx
mov eax, dword [esi + 0x30ec]
mov dword [eax + 0xf8], 0
mov ecx, dword [esi + 0x30ec]
mov eax, dword [ecx + 0xac]
test eax, eax
jne 0x531b09
mov eax, dword [esi + 0xa0]
mov edx, dword [eax + 0x120]
mov ecx, dword [eax + 0x124]
or edx, ecx
jne 0x531b09
mov ecx, dword [esi + 0x84]
mov edx, dword [ecx]
mov dword [eax + 0x120], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x124], ecx
jmp 0x531b09