Function at 0x10148100
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x944
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x934], 0
mov dword [ebp - 0x118], 4
mov byte [ebp - 0x918], 0
push 0x3ff
push 0
lea eax, [ebp - 0x917]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x940], 0
mov byte [ebp - 0x930], 0
xor ecx, ecx
mov dword [ebp - 0x92f], ecx
mov dword [ebp - 0x92b], ecx
mov dword [ebp - 0x927], ecx
mov word [ebp - 0x923], cx
mov byte [ebp - 0x921], cl
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea edx, [ebp - 0x10f]
push edx
call fcn.1011e8d0
add esp, 0xc
mov byte [ebp - 0x518], 0
push 0x3ff
push 0
lea eax, [ebp - 0x517]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x93c], 0
mov dword [ebp - 0x938], 0
mov dword [ebp - 0x920], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x91c], 0
mov ecx, dword [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x918]
push edx
call fcn.1011b28e
add esp, 0xc
push 0x2f
push 0x5c
lea eax, [ebp - 0x918]
push eax
call fcn.1014e7f0
add esp, 0xc
push 0x2f
lea ecx, [ebp - 0x918]
push ecx
call fcn.1011e430
add esp, 8
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x10148284
lea edx, [ebp - 0x918]
push edx
push 0x101c48d4
push 0x75
push 0x101c48f0
push 0x101c48fc
push 1
call fcn.1014edc0
add esp, 0x18
lea eax, [ebp - 0x918]
push eax
push 0x101c4914
push 0x75
push 0x101c4930
push 0x101c493c
push 1
call fcn.1014f750
add esp, 0x18
xor ecx, ecx
jne 0x1014822d
mov dword [ebp - 0x91c], 0
jmp 0x10148793
mov edx, dword [ebp - 0x940]
mov dword [ebp - 0x944], edx
push 0x3f
mov eax, dword [ebp - 0x944]
push eax
call fcn.1011bb30
add esp, 8
mov ecx, dword [ebp - 0x940]
add ecx, 1
mov dword [ebp - 0x940], ecx
test eax, eax
jne 0x1014830a
mov edx, dword [ebp - 0x940]
push edx
call fcn.1011e3a0
add esp, 4
mov ecx, 0x400
sub ecx, eax
sub ecx, 0xa
push ecx
mov edx, dword [ebp - 0x940]
push edx
mov eax, dword [ebp - 0x940]
lea ecx, [ebp - 0x918]
sub eax, ecx
add eax, dword [ebp + 8]
push eax
call fcn.1011e3a0
add esp, 4
push eax
mov edx, dword [ebp - 0x940]
lea eax, [ebp - 0x918]
sub edx, eax
add edx, dword [ebp + 8]
push edx
call fcn.10153790
add esp, 0x10
push 0x400
lea ecx, [ebp - 0x518]
push ecx
lea edx, [ebp - 0x93c]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x10
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x918]
push edx
call fcn.10147fc0
add esp, 0x20
test eax, eax
jne 0x101483a2
lea eax, [ebp - 0x918]
push eax
push 0x101c4954
push 0x8e
push 0x101c496c
push 0x101c4978
push 1
call fcn.1014edc0
add esp, 0x18
lea ecx, [ebp - 0x918]
push ecx
push 0x101c4990
push 0x8e
push 0x101c49a8
push 0x101c49b4
push 1
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x10148345
mov dword [ebp - 0x91c], 0
jmp 0x10148793
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x938], eax
cmp dword [ebp - 0x938], 0
jne 0x10148410
push 0x101c49cc
push 0x9a
push 0x101c49e4
push 0x101c49f0
push 1
call fcn.1014edc0
add esp, 0x14
push str.InternetOpen
push 0x9a
push 0x101c4a20
push 0x101c4a2c
push 1
call fcn.1014f750
add esp, 0x14
xor eax, eax
jne 0x101483c1
mov dword [ebp - 0x91c], 0
jmp 0x10148793
mov eax, 0x101c4a44
lea ecx, [ebp - 0x930]
call fcn.10001000
test eax, eax
jne 0x101484b8
push 0
push 0x80000200
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x918]
push ecx
mov edx, dword [ebp - 0x938]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x920], eax
cmp dword [ebp - 0x920], 0
jne 0x101484b3
lea eax, [ebp - 0x918]
push eax
push 0x101c4a4c
push 0xa9
push 0x101c4a6c
push 0x101c4a78
push 1
call fcn.1014edc0
add esp, 0x18
lea ecx, [ebp - 0x918]
push ecx
push str.InternetOpenUrl_call_failed.__s
push 0xa9
push 0x101c4ab0
push 0x101c4abc
push 1
call fcn.1014f750
add esp, 0x18
xor edx, edx
jne 0x10148456
mov dword [ebp - 0x91c], 0
jmp 0x10148793
jmp 0x10148789
cmp dword [ebp - 0x93c], 0
jne 0x101484cb
mov dword [ebp - 0x93c], 0x1bb
push 0
push 0x4400000
push 3
push 0x101d98cc
push 0x101d98cd
mov ax, word [ebp - 0x93c]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x938]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x10148574
mov eax, dword [ebp - 0x93c]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x101c4ad4
push 0xbd
push 0x101c4af8
push 0x101c4b04
push 1
call fcn.1014edc0
add esp, 0x1c
mov edx, dword [ebp - 0x93c]
push edx
lea eax, [ebp - 0x110]
push eax
push str.InternetConnectA_call_failed.__s:_d
push 0xbd
push 0x101c4b40
push 0x101c4b4c
push 1
call fcn.1014f750
add esp, 0x1c
xor ecx, ecx
jne 0x10148509
mov dword [ebp - 0x91c], 0
jmp 0x10148793
push 0
push 0x24e80000
push 0
push 0x101d98ce
push 0
lea edx, [ebp - 0x518]
push edx
push 0x101c4b64
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x920], eax
cmp dword [ebp - 0x920], 0
jne 0x10148609
lea ecx, [ebp - 0x518]
push ecx
push 0x101c4b68
push 0xcf
push 0x101c4b8c
push 0x101c4b98
push 1
call fcn.1014edc0
add esp, 0x18
lea edx, [ebp - 0x518]
push edx
push str.HttpOpenRequestA_call_failed.__s
push 0xcf
push 0x101c4bd4
push 0x101c4be0
push 1
call fcn.1014f750
add esp, 0x18
xor eax, eax
jne 0x101485ac
mov dword [ebp - 0x91c], 0
jmp 0x10148793
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x934]
push edx
push 0x1f
mov eax, dword [ebp - 0x920]
push eax
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
test eax, eax
jne 0x10148679
push 0x101c4bf8
push 0xd6
push 0x101c4c14
push 0x101c4c20
push 1
call fcn.1014edc0
add esp, 0x14
push str.Cannot_get_security_flags.
push 0xd6
push 0x101c4c54
push 0x101c4c60
push 1
call fcn.1014f750
add esp, 0x14
xor ecx, ecx
jne 0x1014862a
mov dword [ebp - 0x91c], 0
jmp 0x10148793
mov edx, dword [ebp - 0x934]
or edx, 0x100
mov dword [ebp - 0x934], edx
mov eax, dword [ebp - 0x934]
or eax, 0x1000
mov dword [ebp - 0x934], eax
mov ecx, dword [ebp - 0x934]
or ecx, 0x2000
mov dword [ebp - 0x934], ecx
push 4
lea edx, [ebp - 0x934]
push edx
push 0x1f
mov eax, dword [ebp - 0x920]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x10148716
push 0x101c4c78
push 0xe1
push 0x101c4c94
push 0x101c4ca0
push 1
call fcn.1014edc0
add esp, 0x14
push str.Cannot_set_security_flags.
push 0xe1
push 0x101c4cd4
push 0x101c4ce0
push 1
call fcn.1014f750
add esp, 0x14
xor ecx, ecx
jne 0x101486ca
mov dword [ebp - 0x91c], 0
jmp 0x10148793
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x920]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x10148789
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x101c4cf8
push 0xea
push 0x101c4d1c
push 0x101c4d28
push 1
call fcn.1014edc0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpSendRequestA_call_failed.__d
push 0xea
push str.HttpOpenUrl
push 0x101c4d70
push 1
call fcn.1014f750
add esp, 0x18
xor eax, eax
jne 0x1014872f
mov dword [ebp - 0x91c], 0
jmp 0x10148793
mov dword [ebp - 0x91c], 1
cmp dword [ebp + 0xc], 0
je 0x101487a4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x938]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x101487b5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x114]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x101487c6
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x920]
mov dword [edx], eax
mov eax, dword [ebp - 0x91c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret