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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4130
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.0x5246f5.8
xor ecx, ecx
mov cl, byte [eax + 0x525b5c]
jmp dword [ecx*4 + 0x525b38]
mov edx, dword [esi + 0x80]
fld qword [edx + 0x3b0]
fcomp qword [0x5f19e8]
fnstsw ax
test ah, 1
jne case.0x5246f5.8
lea eax, [ebp - 0x14]
push edi
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x30cc]
call fcn.0052ce90
cmp eax, edi
je case.0x5246f5.8
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
je case.0x5246f5.8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jle case.0x5246f5.8
jmp 0x52537d
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xec], edi
jne 0x5247c4
cmp dword [esi + 0x24], edi
jl 0x5247c4
jg 0x524775
cmp dword [esi + 0x20], edi
jbe 0x5247c4
cmp dword [esi + 0x78], 0x14
jle 0x5247c4
lea edi, [esi + 0x30c]
push edi
call fcn.005833ec
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 0x5247c2
mov ecx, dword [esi + 0x30cc]
push 0xc8
call fcn.0052ce10
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 0x5247e1
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
or eax, ecx
je 0x5247e1
xor ebx, ebx
jmp 0x5247e6
mov ebx, 1
lea edi, [esi + 0x30c]
push edi
call fcn.005833ec
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 0x524810
test ebx, ebx
jne 0x524837
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je case.0x5246f5.8
cmp dword [esi + 0x78], 4
jl 0x524837
mov ecx, dword [esi + 0x30cc]
call fcn.0052b930
test eax, eax
jne case.0x5246f5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
je case.0x5246f5.8
mov ecx, dword [esi + 0x30cc]
cmp eax, 0x7569
mov dword [ecx + 0xf8], eax
jne case.0x5246f5.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, 0x1d0
push eax
push ecx
call fcn.00579480
test eax, eax
je 0x524a34
mov ecx, esi
call fcn.005225d0
cmp eax, 0x2733
je 0x5248a6
mov edx, dword [esi + 0xb0]
cmp dword [edx + 4], 2
jne 0x52495e
cmp dword [esi + 0x3114], 0x197
jne 0x52495e
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x20]
cmp eax, edi
je 0x5248f8
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.00527070
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x524945
mov ecx, esi
call fcn.00521c60
push edi
mov ecx, esi
call fcn.005216c0
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 0x524987
cmp dword [esi + 0x3114], 0xc8
jne 0x524987
mov dword [esi + 0x5c], 0x10
mov ecx, esi
call fcn.00521de0
cmp eax, 0x2733
je 0x524975
cmp eax, edi
je 0x5249aa
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.0x5246f5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
jmp 0x524ac7
mov edx, dword [esi + 0x3238]
lea edi, [esi + 0x31e4]
push edi
push edx
mov ecx, esi
call fcn.00566bf0
test eax, eax
je 0x5249ed
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.0x5246f5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x524cb9
mov eax, dword [esi + 0x84]
test eax, eax
je 0x5249fb
mov eax, dword [eax]
jmp 0x524a03
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.00567030
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.005833ec
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.0x5246f5.8
mov ecx, dword [0x67f62c]
push 1
push ecx
mov ecx, esi
call fcn.0050b030
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 0x524cb9
mov edx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add edx, 0x5d8
push edx
push eax
call fcn.00579480
test eax, eax
je 0x524af1
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.0x5246f5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je case.0x5246f5.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, 0x3d4
push edx
push eax
call fcn.00579480
test eax, eax
je 0x524cef
mov eax, dword [esi + 0x84]
mov ecx, 1
cmp eax, edi
mov dword [esi + 0x3108], ecx
je 0x524b28
mov eax, dword [eax + 0x10]
jmp 0x524b31
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x524bf6
mov eax, dword [esi + 0xb0]
cmp dword [eax], edi
je 0x524b76
push edi
mov ecx, esi
call fcn.005216c0
cmp eax, edi
je case.0x5246f5.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.0x5246f5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
jmp 0x524cb7
mov edx, dword [esi + 0x3238]
lea edi, [esi + 0x31e4]
push edi
push edx
mov ecx, esi
call fcn.00566bf0
test eax, eax
je 0x524bb3
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.0x5246f5.8
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x524cb9
mov eax, dword [esi + 0x84]
test eax, eax
je 0x524bc1
mov eax, dword [eax]
jmp 0x524bc9
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.00567030
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 0x524caf
jl 0x524c0a
cmp dword [esi + 0x20], edi
jae 0x524caf
mov byte [ebp - 4], cl
mov ecx, dword [esi + 0x30cc]
push edi
add ecx, 0x48
call fcn.005098f0
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x30cc]
push edx
call fcn.0052ce90
cmp dword [esi + 8], edi
je 0x524c77
cmp eax, edi
je 0x524c77
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xac], edi
jne 0x524c77
mov eax, dword [eax + 0x60]
push esi
push eax
add ecx, 0x48
call fcn.00509dd0
cmp eax, edi
jne 0x524cac
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.00504a50
cmp eax, edi
jne 0x524cac
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.0x5246f5.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.005833ec
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.0x5246f5.8
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
mov dword [esi + 0x3108], 1
call fcn.0050b100
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 0x524cb7
mov edx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add edx, 0x1d0
push edx
push eax
call fcn.00579480
test eax, eax
mov eax, dword [esi + 0x3300]
je 0x524dbe
cmp eax, 0x90312
je 0x524da1
cmp eax, 0x80090318
je 0x524da1
cmp eax, 0x90320
jne 0x524e64
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 0x524e5d
cmp eax, 0x90312
je 0x524e21
cmp eax, 0x80090318
je 0x524e21
cmp eax, 0x90320
je 0x524e21
lea edi, [esi + 0x30c]
push edi
call fcn.005833ec
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.0x5246f5.8
mov edx, dword [0x67f62c]
push 1
push edx
mov ecx, esi
call fcn.0050b030
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 0x524cb9
mov ecx, dword [esi + 0x3308]
cmp ecx, edi
je 0x524e32
cmp eax, 0x80090318
jne 0x524e3a
cmp dword [esi + 0x330c], edi
je 0x524e45
cmp ecx, edi
je 0x524e64
cmp eax, 0x80090318
je 0x524e64
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.00568cb0
mov eax, dword [esi + 0x3300]
cmp eax, 0x90312
je case.0x5246f5.8
cmp eax, 0x80090318
je case.0x5246f5.8
cmp eax, 0x90320
je case.0x5246f5.8
cmp eax, edi
jge 0x524ef8
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 0x524eda
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
or ecx, eax
je 0x524eda
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x524eda
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.00567b70
cmp dword [esi + 0x24], edi
jg 0x524fcd
jl 0x524f27
cmp dword [esi + 0x20], edi
jae 0x524fcd
mov ecx, dword [esi + 0x30cc]
push edi
add ecx, 0x48
mov byte [ebp - 4], 3
call fcn.005098f0
mov ecx, dword [esi + 0x30cc]
push eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.0052ce90
cmp dword [esi + 8], edi
je 0x524f95
cmp eax, edi
je 0x524f95
mov ecx, dword [esi + 0x30cc]
cmp dword [ecx + 0xac], edi
jne 0x524f95
mov edx, dword [eax + 0x60]
push esi
push edx
add ecx, 0x48
call fcn.00509dd0
cmp eax, edi
jne 0x524fca
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.00504a50
cmp eax, edi
jne 0x524fca
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 0x524cb7
mov edx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x30c4]
lea ebx, [esi + 0x30c4]
add edx, 0x1d0
push edx
push eax
call fcn.00579480
test eax, eax
je 0x52531a
mov ecx, esi
call fcn.0051c200
mov edi, eax
cmp edi, 0x7571
je 0x524a6c
mov ecx, dword [esi + 0x30cc]
xor ebx, ebx
cmp dword [ecx + 0xec], ebx
jne 0x5250c4
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
or edx, eax
je 0x5250c4
mov eax, dword [esi + 0x3114]
push eax
call fcn.0052ce10
cmp eax, ebx
jne 0x5250c4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne case.0x5246f5.8
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x148]
cmp dword [edx + 0x14c], ebx
jl case.0x5246f5.8
jg 0x52507b
cmp eax, ebx
jbe case.0x5246f5.8
cmp dword [esi + 0x58], ebx
jne case.0x5246f5.8
mov al, byte [esi + 0x94]
test al, al
je 0x525518
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov ecx, dword [esi + 0x30cc]
mov eax, dword [ecx + 0x148]
mov ecx, dword [ecx + 0x14c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov ecx, esi
call fcn.00526ce0
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 0x52516d
cmp dword [esi + 0x3114], 0x191
jne 0x52516d
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
cmp eax, ebx
je 0x52510c
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.00527070
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x525154
mov ecx, esi
call fcn.00521c60
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 0x52521d
cmp dword [esi + 0x3114], 0x197
jne 0x52521d
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
je 0x5251b6
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.00527070
mov edx, dword [esi + 0x3138]
mov eax, dword [esi + 0x313c]
or edx, eax
je 0x525203
mov ecx, esi
call fcn.00521c60
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 0x525231
cmp eax, 0x197
jne 0x525238
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test edi, edi
jne 0x525274
mov eax, dword [esi + 0x84]
test eax, eax
je 0x52524b
mov eax, dword [eax + 0x10]
jmp 0x525254
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x24]
cmp eax, ebx
jne case.0x5246f5.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 0x52531a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
cmp dword [eax + 0xec], ebx
jne 0x5252f7
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
or ecx, edx
jne case.0x5246f5.8
mov edi, dword [eax + 0x14c]
mov ecx, dword [eax + 0x148]
xor edx, edx
cmp edi, edx
jl case.0x5246f5.8
jg 0x5252c3
cmp ecx, edx
jbe case.0x5246f5.8
cmp dword [esi + 0x58], edx
jne case.0x5246f5.8
mov al, byte [esi + 0x94]
test al, al
je 0x525518
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov edx, dword [esi + 0x30cc]
mov eax, dword [edx + 0x148]
mov ecx, dword [edx + 0x14c]
jmp 0x5250a6
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
or eax, ecx
je case.0x5246f5.8
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jmp 0x524cb9
lea edi, [esi + 0x30c]
push edi
call fcn.005833ec
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.0x5246f5.8
mov edx, dword [0x67f62c]
push 1
push edx
mov ecx, esi
call fcn.0050b030
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 0x524cb9
mov ecx, dword [esi + 0x30cc]
call fcn.0052d010
cmp eax, edi
je 0x5253be
push str.Reusing_connection._n
mov ecx, esi
call fcn.0050b100
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.0050d1f0
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, 0x1d0
push ecx
push edx
call fcn.00579480
mov ecx, dword [esi + 0x2b8]
mov dword [ebp - 0x18], eax
cmp ecx, edi
jg 0x525497
cmp eax, edi
jne 0x525497
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x525420
mov eax, dword [eax + 0x10]
jmp 0x525429
mov eax, dword [esi + 0x80]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x525440
cmp dword [esi + 0x3314], edi
ja 0x525497
mov al, byte [esi + 0x3318]
test al, al
jne 0x525497
lea edi, [esi + 0x30c]
push edi
call fcn.005833ec
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.0x5246f5.8
push str.Connection_restarted_because_of_timeout_n
mov ecx, esi
call fcn.0050b100
jmp 0x5250ac
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.0050c2a0
mov ebx, eax
mov al, byte [esi + 0x92]
test al, al
mov dword [ebp - 0x1c], ebx
je 0x5254dd
mov ecx, dword [esi + 0x30cc]
mov byte [esi + 0x92], 0
test ecx, ecx
je 0x5254dd
call fcn.0054bc30
cmp ebx, 0xffffffff
jg 0x5258a4
cmp ebx, 0xfffffff9
jne 0x525557
mov edx, dword [esi + 0x30cc]
cmp dword [edx + 0xec], 2
jne 0x525530
mov eax, dword [esi + 0x24]
test eax, eax
jl 0x525530
jg 0x52550a
mov eax, dword [esi + 0x20]
test eax, eax
jbe 0x525530
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 0x5255ed
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esi + 0x30cc]
test eax, eax
je case.0x5246f5.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 0x5255aa
cmp ecx, 8
jle 0x5255aa
mov ecx, dword [esi + 0x30cc]
push 0xc8
call fcn.0052ce10
mov ecx, dword [esi + 0x30cc]
mov eax, dword [esi + 0x60]
mov edx, dword [ecx + 0x68]
cmp edx, eax
jne case.0x5246f5.8
mov eax, dword [esi + 0x24]
add esi, 0x20
test eax, eax
jl case.0x5246f5.8
jg 0x5255d7
cmp dword [esi], 0
jbe case.0x5246f5.8
call fcn.0052d880
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 0x525612
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 0x525746
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne 0x525678
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52563b
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 0x525660
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 0x525689
mov ecx, 0x67df58
jmp 0x525692
mov ecx, dword [esi + 0x80]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x5257bf
test eax, eax
je 0x5256a3
add eax, 4
jmp 0x5256b9
mov edx, dword [esi + 0x80]
lea ecx, [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call fcn.0059dfae
or dword [ebp - 0x14], 1
mov eax, dword [eax]
push str..mail.yahoo.com_
push eax
call fcn.00581c10
add esp, 8
test eax, eax
jne 0x5256d7
mov al, byte [esi + 0x3126]
test al, al
je 0x5256fb
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 0x5256fb
mov edx, dword [edx + 4]
cmp edx, ecx
jne 0x5256fb
mov bl, 1
jmp 0x5256fd
xor bl, bl
test byte [ebp - 0x14], 1
je 0x525713
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
and al, 0xfe
mov dword [ebp - 0x14], eax
call fcn.0059df40
test bl, bl
je 0x5257bf
mov ecx, dword [esi + 0x30cc]
push 1
mov eax, dword [ecx + 0x14c]
mov edx, dword [ecx + 0x148]
push eax
push edx
call fcn.0054b150
mov eax, dword [esi + 0x60]
test eax, eax
je 0x52563b
jmp 0x52562c
cmp ebx, 0xfffffffb
jne 0x525770
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 0x5257a7
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 0x52596f
cmp ebx, 0xfffffffd
je 0x5257e1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
jmp 0x525945
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x34]
mov ecx, eax
or ecx, edi
jne 0x5257ed
mov edx, dword [esi]
mov ebx, dword [ebp - 0x1c]
mov ecx, esi
call dword [edx + 0x18]
mov dword [esi + 0x5c], 0xe
jmp 0x525945
mov ecx, esi
call fcn.00526ce0
jmp 0x52596f
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
cmp ecx, eax
jne 0x525826
cmp edx, edi
jne 0x525826
test edx, edx
jl 0x525826
jg 0x525805
test ecx, ecx
jbe 0x525826
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0x2a0]
test eax, eax
je 0x525826
mov eax, dword [esi + 0x30cc]
mov edx, dword [eax + 0x70]
push edx
push 0
call int.00560f40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [esi + 0x3c]
xor edi, edi
cmp eax, edi
jl 0x525868
jg 0x52583d
cmp dword [esi + 0x38], edi
jbe 0x525868
push edi
mov ecx, esi
call fcn.0050d1f0
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.0050cfd0
mov edx, dword [esi]
lea eax, [esi + 0x30c4]
push eax
mov ecx, esi
call dword [edx + 0x10]
cmp eax, edi
je 0x525886
mov ecx, dword [esi + 0x30cc]
mov dword [ecx + 0xf8], eax
cmp eax, 0x7569
jne 0x52596f
mov ecx, dword [esi + 0x30cc]
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, dword [ebp - 0x1c]
jmp 0x525945
test ebx, ebx
jle 0x52596f
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x525945
mov edi, dword [ecx]
mov ecx, dword [esi + 0x30cc]
push eax
add ecx, 0x48
call fcn.0050a160
test eax, eax
jne case.0x5246f5.8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
push 1
mov ecx, edi
mov dword [edi + 0x5c], 7
call fcn.0050d1f0
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 0x525918
push ecx
push 0x13f3
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x30cc]
call fcn.0052d010
test eax, eax
je 0x52593e
mov edx, dword [edi]
lea eax, [edi + 0x30c4]
push eax
mov ecx, edi
mov dword [edi + 8], 1
call dword [edx + 0x10]
jmp 0x525945
mov dword [edi + 0x5c], 0xe
test ebx, ebx
jle 0x52596f
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
or ecx, eax
jne 0x52596f
mov al, byte [esi + 0x95]
test al, al
je 0x525497
mov al, byte [esi + 0x94]
test al, al
je 0x525497
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, ebx
or edx, ecx
je 0x525a35
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 0x5259cc
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 0x5259cc
cmp dword [esi + 0x34], edi
jne 0x5259cc
mov edi, dword [esi + 0x1c]
mov edx, dword [ebp - 0x20]
or edx, edi
je 0x5259cc
add eax, dword [ebp - 0x18]
adc ecx, 0
cmp eax, dword [esi + 0x38]
jne 0x5259d6
cmp ecx, dword [esi + 0x3c]
je 0x5259da
or eax, ecx
jne 0x525a35
mov ecx, esi
call fcn.0051b0f0
cmp dword [esi + 0x5c], 7
jne 0x525a35
mov ecx, dword [esi + 0x30cc]
call fcn.0052d010
xor edi, edi
cmp eax, edi
je 0x525a2e
push str.Reusing_connection._n
mov ecx, esi
call fcn.0050b100
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 0x525a35
mov dword [esi + 0x5c], 0xe
mov al, byte [esi + 0x95]
test al, al
je case.0x5246f5.8
mov al, byte [esi + 0x94]
test al, al
je case.0x5246f5.8
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
or eax, ecx
jne case.0x5246f5.8
mov ecx, dword [esi + 0x30cc]
test ecx, ecx
je 0x52564b
mov edx, dword [esi + 0x64]
push 0
mov eax, dword [edx + 4]
push eax
mov edx, dword [edx]
push edx
call fcn.0054b150
mov eax, dword [esi + 0x60]
test eax, eax
je 0x525a94
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 0x52564b
mov eax, dword [esi + 0x80]
mov edx, dword [eax + 0x120]
mov ecx, dword [eax + 0x124]
or edx, ecx
jne 0x52564b
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 0x52564b