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

Disassembly:
push 0xffffffffffffffff
push 0x661865
mov eax, dword fs:[0]
push eax
mov eax, 0x794c
call fcn.006222c0
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.005f4e18
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x7968], ebp
cmp eax, ebp
je 0x56cf9b
mov ecx, eax
call fcn.0059bb80
mov ebp, eax
mov dword [esp + 0x1c], ebp
jmp 0x56cf9f
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x7968], 0xffffffff
test ebp, ebp
je 0x56d25c
mov edx, dword [esp + 0x7974]
push edx
push esi
mov ecx, ebp
call fcn.0059c990
test eax, eax
je 0x56d252
cmp dword [ebp + 0x40], 0
je 0x56cfd4
mov dword [esp + 0x20], ebx
cmp dword [ebp + 0x78], 0
je 0x56cff1
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 0x56d260
cmp dword [esp + 0x20], 0
je 0x56d252
lea ecx, [esp + 0x3c]
call fcn.0054c120
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.0054d9b0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0x40]
xor ebp, ebp
test esi, esi
je 0x56d21c
add ebp, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebp
call fcn.004024f0
mov byte [esp + 0x7968], 2
cmp byte [esp + 0x7c], 0
je 0x56d0c2
mov eax, dword [esi + 0x14]
push 0x3f
push eax
call fcn.00622170
add esp, 8
test eax, eax
jne 0x56d0c2
mov eax, dword [esi + 0x14]
push 0x2f
push eax
call fcn.00622170
add esp, 8
test eax, eax
jne 0x56d0c2
mov eax, dword [esi + 0x14]
push 7
push 0x679010
push eax
call fcn.006255fd
add esp, 0xc
test eax, eax
je 0x56d0c2
mov eax, dword [esi + 0x14]
push 8
push 0x678ff0
push eax
call fcn.006255fd
add esp, 0xc
test eax, eax
je 0x56d0c2
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x7c]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x678de0
push ecx
call fcn.00402f60
add esp, 0x10
jmp 0x56d0d8
mov edx, dword [esi + 0x14]
push edx
lea eax, [esp + 0x1c]
push 0x678ea8
push eax
call fcn.00402f60
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.004024f0
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 0x56d109
push ebx
lea ecx, [esp + 0x18]
call fcn.004020b0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
mov eax, ecx
jl 0x56d28a
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 0x56d1be
push eax
lea ecx, [esp + 0x18]
call fcn.00402840
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 0x56d1be
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.0056c490
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 0x56d1e9
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 0x56d210
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x56d035
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.0054c160
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.00620b8d
add esp, 0x7958
ret 0x14
push 0x80070057
call fcn.00401090
int3