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

Disassembly:
push 0xffffffffffffffff
push 0x100a314a
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xec]
mov edi, dword [eax + 4]
mov ebp, dword [esp + 0xf4]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x44], edx
mov dword [eax + 8], ebx
jne 0x10066b5b
xor al, al
jmp 0x10067227
mov eax, dword [ebp + 4]
cmp eax, ebx
mov dword [esp + 0x28], 0x4000000
je 0x10066b84
mov esi, dword [ebp + 8]
sub esi, eax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10066b8b
mov eax, 0x4080000
jmp 0x10066b8f
mov eax, dword [esp + 0x28]
push eax
mov edx, edi
call fcn.100659c0
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x28], edi
je 0x10066b54
mov eax, 0xf
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0xe4], ebx
push 0x20
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.10008280
mov byte [esp + 0xe4], 1
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x68]
call fcn.10067260
mov dword [esp + 0x3c], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x40], edi
mov byte [esp + 0xe4], 2
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
mov byte [esp + 0xe4], 3
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.1006d610
add esp, 8
mov byte [esp + 0xe4], 4
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x10066c63
mov eax, dword [eax + 4]
jmp 0x10066c66
add eax, 4
push eax
push str.Content_Type:_multipart_form_data__boundary_s_r_n
lea ecx, [esp + 0xa4]
call fcn.1006b330
add esp, 8
mov byte [esp + 0xe4], 3
cmp dword [esp + 0x60], esi
jb 0x10066c96
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb4], 8
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x10066cc5
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x20], edx
jmp 0x10066cd0
lea eax, [esp + 0xa0]
mov dword [esp + 0x20], 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 0x10066cf6
mov edx, dword [esp + 0x20]
push 0xa0000000
push esi
push edx
push edi
call eax
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x10066e5c
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 0x10066e5c
mov edx, str.Cookie:
lea eax, [esp + 0x48]
call fcn.10010210
mov byte [esp + 0xe4], 5
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.10067960
test eax, eax
jbe 0x10066de2
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x10066d71
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 0x10066d77
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 4]
add eax, dword [esp + 0x20]
cmp dword [eax + 0x14], ebx
lea edi, [eax + 0x1c]
je 0x10066dc3
cmp dword [edi + 0x14], ebx
je 0x10066dc3
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x50]
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 + 0x20], 0x38
add esi, 1
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.10067960
cmp esi, eax
jb 0x10066d4e
mov edi, dword [esp + 0x28]
push 2
push 0x100ab4b0
lea ecx, [esp + 0x50]
call fcn.10011bd0
cmp dword [esp + 0x60], 8
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
jae 0x10066e09
lea esi, [esp + 0x4c]
call fcn.10074b70
mov edx, dword [eax + 0x20]
push str.HttpAddRequestHeadersW
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10066e2f
mov ecx, dword [esp + 0x1c]
push 0xa0000000
push ecx
push esi
push edi
call eax
mov byte [esp + 0xe4], 3
cmp dword [esp + 0x60], 8
jb 0x10066e4b
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov byte [esp + 0xe4], 6
mov eax, dword [esp + 0x78]
push eax
push str.Content_Length:__d
lea ecx, [esp + 0x88]
call fcn.1006b330
mov esi, dword [esp + 0x9c]
add esp, 8
cmp dword [esp + 0x98], 8
jb 0x10066eb5
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
jmp 0x10066ec0
lea edx, [esp + 0x84]
mov dword [esp + 0x1c], edx
call fcn.10074b70
mov eax, dword [eax + 0x20]
push str.HttpAddRequestHeadersW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10066ee6
mov ecx, dword [esp + 0x1c]
push 0xa0000000
push esi
push ecx
push edi
call eax
cmp dword [esp + 0x7c], 0x10
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x1c], edx
jae 0x10066efd
lea esi, [esp + 0x68]
call fcn.10074b70
mov eax, dword [eax + 0x20]
push str.HttpSendRequestA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10066f28
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push ebx
push ebx
push edi
call eax
cmp eax, ebx
jne 0x1006701f
mov byte [esp + 0xe4], 3
mov ebp, 8
cmp dword [esp + 0x98], ebp
jb 0x10066f4e
mov edx, dword [esp + 0x84]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov byte [esp + 0xe4], 2
cmp dword [esp + 0xb4], ebp
jb 0x10066f8a
mov eax, dword [esp + 0xa0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
mov byte [esp + 0xe4], 1
mov ecx, edi
mov dword [esp + 0x3c], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x40], ebx
call fcn.1007b3c0
mov byte [esp + 0xe4], bl
mov esi, 0x10
cmp dword [esp + 0xd0], esi
jb 0x10066fe0
mov ecx, dword [esp + 0xbc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0xf
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0xe4], 0xffffffff
cmp dword [esp + 0x7c], esi
jb 0x10067018
mov edx, dword [esp + 0x68]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1006721b
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0xe4], 7
push edi
mov ecx, ebp
lea edx, [esp + 0x30]
call fcn.10066310
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x10067102
mov ecx, dword [esp + 0x34]
sub ecx, eax
je 0x10067102
add ecx, 2
push ecx
lea ecx, [esp + 0x30]
call fcn.10067730
mov byte [esp + 0x1b], bl
lea ebx, [esp + 0x1b]
lea esi, [esp + 0x2c]
call fcn.10067900
lea ebx, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.10067900
mov ecx, dword [esp + 0x30]
xor edi, edi
cmp ecx, edi
je 0x10067099
mov eax, dword [esp + 0x34]
sub eax, ecx
jne 0x100670a3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
push edi
push 0xffffffffffffffff
lea esi, [esp + 0x50]
call fcn.1006d690
add esp, 8
mov byte [esp + 0xe4], 8
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push edi
call fcn.100076e0
mov ebx, 7
mov byte [esp + 0xe4], bl
cmp dword [esp + 0x60], 8
jb 0x100670e6
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x2c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
call fcn.10031da0
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0xe4], 6
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1006711b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0xe4], 3
mov ebp, 8
cmp dword [esp + 0x98], ebp
jb 0x1006714d
mov edx, dword [esp + 0x84]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
mov byte [esp + 0xe4], 2
cmp dword [esp + 0xb4], ebp
jb 0x10067189
mov eax, dword [esp + 0xa0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
mov byte [esp + 0xe4], 1
mov ecx, edi
mov dword [esp + 0x3c], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x40], ebx
call fcn.1007b3c0
mov byte [esp + 0xe4], bl
mov esi, 0x10
cmp dword [esp + 0xd0], esi
jb 0x100671df
mov ecx, dword [esp + 0xbc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0xf
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0xe4], 0xffffffff
cmp dword [esp + 0x7c], esi
jb 0x10067217
mov edx, dword [esp + 0x68]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [esp + 0x27]
mov byte [esp + 0x68], bl
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.1009176c
add esp, 0xd4
ret 0xc