Function at 0x10065d50
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100a130b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov esi, dword [eax + 4]
mov ebp, dword [esp + 0xc4]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x2c], edx
mov dword [eax + 8], ebx
je 0x100661e6
mov eax, dword [ebp + 4]
cmp eax, ebx
mov dword [esp + 0x1c], 0x4000000
je 0x10065de1
mov edi, dword [ebp + 8]
sub edi, eax
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10065de8
mov eax, 0x4080000
jmp 0x10065dec
mov eax, dword [esp + 0x1c]
push eax
mov edx, esi
call fcn.100659c0
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x100661e6
mov dword [esp + 0x24], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x28], edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov byte [esp + 0xb0], 1
mov ecx, dword [esp + 0xbc]
push ecx
push str.Content_Length:__u_r_n
lea ecx, [esp + 0x90]
call fcn.1006b330
mov esi, dword [esp + 0xa4]
add esp, 8
cmp dword [esp + 0xa0], 8
jb 0x10065e74
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
jmp 0x10065e7f
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.10074b70
mov ecx, dword [eax + 0x20]
push str.HttpAddRequestHeadersW
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10065ea5
mov edx, dword [esp + 0x14]
push 0xa0000000
push esi
push edx
push edi
call eax
push 0xd
push str.Accept:___r_n
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.10011cd0
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x84], 8
mov esi, dword [esp + 0x80]
jb 0x10065eef
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
jmp 0x10065ef7
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ecx
call fcn.10074b70
mov edx, dword [eax + 0x20]
push str.HttpAddRequestHeadersW
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10065f1d
mov ecx, dword [esp + 0x14]
push 0xa0000000
push esi
push ecx
push edi
call eax
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea esi, [esp + 0x58]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.10011cd0
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x68], 8
mov esi, dword [esp + 0x64]
jb 0x10065f5b
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
jmp 0x10065f63
lea eax, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.10074b70
mov ecx, dword [eax + 0x20]
push str.HttpAddRequestHeadersW
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10065f89
mov edx, dword [esp + 0x14]
push 0xa0000000
push esi
push edx
push edi
call eax
push 8
push str.Cookie:
lea esi, [esp + 0x3c]
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.10011cd0
mov byte [esp + 0xb0], 4
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x100660d5
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100660d5
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.10067960
test eax, eax
jbe 0x10066088
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x10066017
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1006601d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x14]
cmp dword [eax + 0x14], ebx
lea edi, [eax + 0x1c]
je 0x10066069
cmp dword [edi + 0x14], ebx
je 0x10066069
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x3c]
call fcn.10011ac0
push 1
push 0x100ad190
mov ecx, esi
call fcn.10011bd0
push ebx
push edi
or eax, 0xffffffff
call fcn.10011ac0
push 1
push 0x100ac3ac
mov ecx, esi
call fcn.10011bd0
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x38
add esi, 1
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.10067960
cmp esi, eax
jb 0x10065ff4
mov edi, dword [esp + 0x20]
push 2
push 0x100ab4b0
lea ecx, [esp + 0x3c]
call fcn.10011bd0
cmp dword [esp + 0x4c], 8
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
jae 0x100660af
lea esi, [esp + 0x38]
call fcn.10074b70
mov edx, dword [eax + 0x20]
push str.HttpAddRequestHeadersW
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100660d5
mov ecx, dword [esp + 0x20]
push 0xa0000000
push ecx
push esi
push edi
call eax
call fcn.10074b70
mov edx, dword [eax + 0x20]
push str.HttpSendRequestA
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10066107
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x30]
push ecx
push edx
push ebx
push ebx
push edi
call eax
cmp eax, ebx
jne 0x100661ed
mov byte [esp + 0xb0], 3
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x10066127
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, 7
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x68], esi
jb 0x10066154
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x84], esi
jb 0x1006617f
mov edx, dword [esp + 0x70]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0xa0], esi
jb 0x100661b2
mov eax, dword [esp + 0x8c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov dword [esp + 0xb0], 0xffffffff
mov ecx, edi
mov dword [esp + 0x24], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x28], ebx
call fcn.1007b3c0
xor al, al
jmp 0x100662e0
mov edx, dword [esp + 0x2c]
push edi
mov ecx, ebp
call fcn.10066310
mov byte [esp + 0x1b], al
mov byte [esp + 0xb0], 3
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x1006621d
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, 7
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x68], esi
jb 0x1006624a
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
mov byte [esp + 0xb0], 1
cmp dword [esp + 0x84], esi
jb 0x10066275
mov eax, dword [esp + 0x70]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0xa0], esi
jb 0x100662a8
mov ecx, dword [esp + 0x8c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov dword [esp + 0xb0], 0xffffffff
mov ecx, edi
mov dword [esp + 0x24], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x28], ebx
call fcn.1007b3c0
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1009176c
add esp, 0xa0
ret 0x10