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

Disassembly:
push 0xffffffffffffffff
push 0x658bc5
mov eax, dword fs:[0]
push eax
mov eax, 0x794c
call fcn.006197b0
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x7948], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x7960]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7978]
mov esi, dword [esp + 0x7970]
mov edi, ecx
mov ecx, dword [esp + 0x7980]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x797c]
mov ebx, 1
xor ebp, ebp
mov dword [edi + 0x54], ebx
mov byte [edi + 0xc], bl
push 0x88
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebp
mov dword [eax], ebp
call fcn.005ec308
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7968], ebp
cmp eax, ebp
je 0x56622b
mov ecx, eax
call fcn.005939e0
mov ebp, eax
mov dword [esp + 0x1c], ebp
jmp 0x56622f
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x7968], 0xffffffff
test ebp, ebp
je 0x5664ec
mov edx, dword [esp + 0x7974]
push edx
push esi
mov ecx, ebp
call fcn.005947f0
test eax, eax
je 0x5664e2
cmp dword [ebp + 0x40], 0
je 0x566264
mov dword [esp + 0x20], ebx
cmp dword [ebp + 0x78], 0
je 0x566281
mov eax, dword [esp + 0x30]
mov dword [eax], ebx
mov edx, dword [ebp]
mov eax, dword [edx]
push ebx
mov ecx, ebp
call eax
mov eax, ebx
jmp 0x5664f0
cmp dword [esp + 0x20], 0
je 0x5664e2
lea ecx, [esp + 0x3c]
call fcn.00545f20
mov dword [esp + 0x7968], ebx
mov ecx, dword [esp + 0x24]
push 0
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 0
call fcn.005477b0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x40]
xor ebp, ebp
test esi, esi
je 0x5664ac
add ebp, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
call fcn.00402500
mov byte [esp + 0x7968], 2
cmp byte [esp + 0x7c], 0
je 0x566352
mov eax, dword [esi + 0x14]
push 0x3f
push eax
call fcn.00619660
add esp, 8
test eax, eax
jne 0x566352
mov eax, dword [esi + 0x14]
push 0x2f
push eax
call fcn.00619660
add esp, 8
test eax, eax
jne 0x566352
mov eax, dword [esi + 0x14]
push 7
push 0x670010
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x566352
mov eax, dword [esi + 0x14]
push 8
push 0x66fff0
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x566352
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x66fde0
push ecx
call fcn.00402f70
add esp, 0x10
jmp 0x566368
mov edx, dword [esi + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x66fea8
push eax
call fcn.00402f70
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x7968], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov edx, ebx
sub edx, dword [ecx - 4]
sub eax, ebx
or eax, edx
jge 0x566399
push ebx
lea ecx, [esp + 0x18]
call fcn.004020c0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
mov eax, ecx
jl 0x56651a
mov dword [ecx - 0xc], ebx
mov ecx, dword [esp + 0x14]
push 0x4000000
lea edx, [esp + 0x2c]
push edx
mov byte [ecx + 1], 0
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.WININET.dll_InternetCombineUrlA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x28]
lea edx, [eax - 1]
cmp edx, 0x27fe
ja 0x56644e
push eax
lea ecx, [esp + 0x18]
call fcn.00402850
mov edx, dword [esp + 0x18]
push 0x4000000
lea ecx, [esp + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCombineUrlA]
test eax, eax
je 0x56644e
mov edi, dword [esi + 0x24]
fld qword [esi + 0x18]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x2c]
push edi
push edx
push ecx
push eax
mov ebp, eax
add ebp, edx
mov edx, ecx
adc edx, edi
mov edi, dword [esp + 0x44]
push edx
push ebp
mov ebp, dword [esp + 0x44]
push ecx
push eax
mov eax, dword [esp + 0x34]
push 0
push 0
push 0
push 0
push ebp
sub esp, 8
fstp qword [esp]
push eax
mov ecx, edi
call fcn.00565720
mov esi, dword [esi + 0x3c]
mov byte [esp + 0x7968], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x566479
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x7968], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5664a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x5662c5
mov eax, dword [esp + 0x1c]
fld qword [eax + 0x60]
fstp qword [edi + 0x18]
mov ecx, dword [eax + 0x68]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0x78]
mov ecx, dword [esp + 0x30]
mov dword [ecx], edx
mov edx, dword [eax + 0x7c]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
mov dword [esp + 0x7968], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00545f60
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp]
mov eax, dword [edx]
push ebx
mov ecx, ebp
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x7960]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7948]
xor ecx, esp
call fcn.0061807e
add esp, 0x7958
ret 0x14
push 0x80070057
call fcn.00401090
int3