Function at 0x1006fb0c
Capabilities:
Create http request

Disassembly:
push 0x64
mov eax, 0x100a9ec6
call fcn.1009de3f
mov edi, ecx
mov dword [ebp - 0x44], edi
xor eax, eax
cmp dword [edi + 0x3c], eax
jne 0x1006ff0b
push 0x10000000
push eax
push eax
push eax
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [edi + 0x44]
mov ebx, eax
mov dword [ebp - 0x34], ebx
mov dword [edi + 0x3c], ebx
mov dword [ebp - 0x24], ecx
test ebx, ebx
je 0x1006feb7
lea eax, [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
cmp dword [eax - 4], 0
jne 0x1006fb65
cmp dword [ecx + 0x10], 0
je 0x1006feb7
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
lea ecx, [ebp - 0x18]
call esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call esi
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x20]
and dword [ebp - 0x20], 0
push eax
push 0
push 0x26
push ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
mov bl, al
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
test bl, bl
jne 0x1006fbb1
cmp eax, 0x7a
je 0x1006fbb1
test eax, eax
jne 0x1006fdc4
mov ecx, dword [ebp - 0x20]
call fcn.1001d3c4
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 0x26
push dword [ebp - 0x34]
mov dword [ebp - 0x40], ebx
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test al, al
je 0x1006fda4
cmp dword [ebx + 4], 0
je 0x1006fda4
push dword [ebx + 4]
lea ecx, [ebp - 0x28]
call dword [sym.imp.fpsrvutl.dll_Ordinal_1345]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_716]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call dword [sym.imp.fpsrvutl.dll_Ordinal_443]
push 0x100c0ba0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5595]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4499]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 0
je 0x1006fd8e
mov ebx, dword [ebp - 0x30]
push 5
push str.http
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_1255]
test eax, eax
jne 0x1006fc6f
push ebx
push str.http
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5679]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
lea ecx, [ebp - 0x38]
jmp 0x1006fca4
push 6
push str.https
push dword [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_1255]
test eax, eax
jne 0x1006fcaa
push ebx
push str.https
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5679]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call esi
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 0
jbe 0x1006fcdb
push 0x100b2c64
lea ecx, [ebp - 0x2c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
push 0x3d
lea ecx, [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5266]
cmp eax, 0xffffffff
je 0x1006fd1a
mov ecx, dword [ebp - 0x10]
inc eax
mov ecx, dword [ecx - 4]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2609]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_687]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 0
jbe 0x1006fd4b
push 0x100b2c64
lea ecx, [ebp - 0x30]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call esi
push 0x100c0ba0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_5595]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4499]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 0
jne 0x1006fc3a
lea ecx, [ebp - 0x10]
call esi
xor eax, eax
lea ecx, [ebp - 0x4c]
inc eax
mov byte [ebp - 4], al
call dword [sym.imp.fpsrvutl.dll_Ordinal_443]
jmp 0x1006fdbb
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
push ebx
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
push dword [ebp - 0x40]
call fcn.10042763
pop ecx
mov eax, dword [ebp - 0x24]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jbe 0x1006fe23
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 0
jbe 0x1006fe03
push 0x100b2c64
lea ecx, [ebp - 0x30]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
xor eax, eax
lea ecx, [ebp - 0x30]
inc eax
mov byte [ebp - 4], al
call esi
push ebx
lea ecx, [edi + 8]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4168]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
inc ebx
cmp ebx, dword [edi + 0x10]
jb 0x1006fdd0
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x21], 0
je 0x1006fe80
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 0
jbe 0x1006fe5c
push 0x100b2c64
lea ecx, [ebp - 0x30]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
xor eax, eax
lea ecx, [ebp - 0x30]
inc eax
mov byte [ebp - 4], al
call esi
push str._local_
lea ecx, [ebp - 0x30]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.fpsrvutl.dll_Ordinal_2202]
lea ecx, [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x18]
push 3
pop ecx
push 1
cmp dword [eax - 4], 0
pop edx
mov dword [ebp - 0x54], eax
cmove ecx, edx
mov eax, dword [ebp - 0x14]
push 0xc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x58]
push eax
push 0x26
push dword [ebp - 0x34]
mov dword [ebp - 0x58], ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
mov eax, dword [edi + 0x58]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 2
push dword [edi + 0x3c]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 5
push eax
push 3
push dword [edi + 0x3c]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [edi + 0x5c]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 6
push dword [edi + 0x3c]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push fcn.1002e7ba
push dword [edi + 0x3c]
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov eax, dword [edi + 0x3c]
call fcn.1009de13
ret