Function at 0x1001eac0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004fa70]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [eax + 0x10], 0
setne cl
test ecx, ecx
je 0x1001eaf1
xor eax, eax
jmp 0x1001ee16
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x1001ecb8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1001eb2b
cmp dword [ebp - 0x30], 1
je 0x1001eb46
cmp dword [ebp - 0x30], 2
je 0x1001eb61
jmp 0x1001eb7f
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__.NET_CLR_1.0.3705_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
jmp 0x1001eb7f
push 0
push 0
push 0
push 1
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__.NET_CLR_1.0.3705_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
jmp 0x1001eb7f
push 0
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x2c]
push ecx
push 3
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__.NET_CLR_1.0.3705_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 8], 0
jne 0x1001eb9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1001ee05
push 4
mov ecx, dword [ebp - 0x2c]
add ecx, 4
push ecx
push 2
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov ecx, dword [ebp - 0x2c]
add ecx, 4
push ecx
push 5
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov ecx, dword [ebp - 0x2c]
add ecx, 4
push ecx
push 6
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov ecx, dword [ebp - 0x2c]
add ecx, 4
push ecx
push 7
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov ecx, dword [ebp - 0x2c]
add ecx, 4
push ecx
push 8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0x1001f130
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
cmp eax, 0xffffffff
jne 0x1001ec34
jmp 0x1001ee05
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x24], 0
je 0x1001ec77
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
push 3
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x2c]
mov cx, word [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
jmp 0x1001eca5
mov edx, dword [ebp - 0x2c]
push edx
push 0
push 3
push 0
push 0
mov eax, dword [ebp - 0x2c]
mov cx, word [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0xc], 0
jne 0x1001ecb8
jmp 0x1001ee05
mov al, byte [0x10041720]
mov byte [ebp - 0x18], al
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov word [ebp - 0xf], cx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x20], 0x10043580
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 0
jne 0x1001ecf9
push 0x10042b40
lea eax, [ebp - 0x18]
push eax
call fcn.1002b3e0
add esp, 8
jmp 0x1001ed13
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 1
jne 0x1001ed13
push 0x10043578
lea edx, [ebp - 0x18]
push edx
call fcn.1002b3e0
add esp, 8
mov dword [ebp - 0x24], 0x80400000
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x1c]
cmp ecx, 0x1bb
jne 0x1001ed35
mov edx, dword [ebp - 0x24]
or edx, 0x803000
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 1
jne 0x1001ed53
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x4c], 1
jne 0x1001ed53
mov edx, dword [ebp - 0x24]
or edx, 0x80000
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push str.HTTP_1.1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x10], 0
jne 0x1001ed91
jmp 0x1001ee05
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 0
jne 0x1001edd4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.1001f170
test eax, eax
jne 0x1001edae
jmp 0x1001ee05
mov ecx, dword [ebp - 0x2c]
call fcn.1001f220
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x48], 0xc8
jl 0x1001edce
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x48], 0x12c
jl 0x1001edd2
jmp 0x1001ee05
jmp 0x1001edf5
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 1
jne 0x1001edf5
mov ecx, dword [ebp - 0x2c]
call fcn.1001f210
test eax, eax
jne 0x1001eded
jmp 0x1001ee05
mov ecx, dword [ebp - 0x2c]
call fcn.1001f220
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x44], ecx
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x1001ee13
mov ecx, dword [ebp - 0x2c]
call fcn.1001ee30
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002ae45
mov esp, ebp
pop ebp
ret 4