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

Disassembly:
push 0xffffffffffffffff
push 0x660e35
mov eax, dword fs:[0]
push eax
mov eax, 0x794c
call fcn.00621970
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x7948], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
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.005f44e8
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7968], ebp
cmp eax, ebp
je 0x56ca0b
mov ecx, eax
call fcn.0059b780
mov ebp, eax
mov dword [esp + 0x1c], ebp
jmp 0x56ca0f
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x7968], 0xffffffff
test ebp, ebp
je 0x56cccc
mov edx, dword [esp + 0x7974]
push edx
push esi
mov ecx, ebp
call fcn.0059c590
test eax, eax
je 0x56ccc2
cmp dword [ebp + 0x40], 0
je 0x56ca44
mov dword [esp + 0x20], ebx
cmp dword [ebp + 0x78], 0
je 0x56ca61
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 0x56ccd0
cmp dword [esp + 0x20], 0
je 0x56ccc2
lea ecx, [esp + 0x3c]
call fcn.0054bc10
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.0054d4a0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x40]
xor ebp, ebp
test esi, esi
je 0x56cc8c
add ebp, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
call fcn.00402510
mov byte [esp + 0x7968], 2
cmp byte [esp + 0x7c], 0
je 0x56cb32
mov eax, dword [esi + 0x14]
push 0x3f
push eax
call fcn.00621820
add esp, 8
test eax, eax
jne 0x56cb32
mov eax, dword [esi + 0x14]
push 0x2f
push eax
call fcn.00621820
add esp, 8
test eax, eax
jne 0x56cb32
mov eax, dword [esi + 0x14]
push 7
push 0x679010
push eax
call fcn.00624cad
add esp, 0xc
test eax, eax
je 0x56cb32
mov eax, dword [esi + 0x14]
push 8
push 0x678ff0
push eax
call fcn.00624cad
add esp, 0xc
test eax, eax
je 0x56cb32
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x678de0
push ecx
call fcn.00402f80
add esp, 0x10
jmp 0x56cb48
mov edx, dword [esi + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x678ea8
push eax
call fcn.00402f80
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00402510
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 0x56cb79
push ebx
lea ecx, [esp + 0x18]
call fcn.004020d0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
mov eax, ecx
jl 0x56ccfa
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 0x56cc2e
push eax
lea ecx, [esp + 0x18]
call fcn.00402860
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 0x56cc2e
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.0056bf00
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 0x56cc59
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 0x56cc80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x56caa5
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.0054bc50
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.0062023e
add esp, 0x7958
ret 0x14
push 0x80070057
call fcn.00401090
int3