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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100984ee
push eax
mov eax, 0x1ae8
mov dword fs:[0], esp
call fcn.10076300
push ebx
push ebp
push edi
xor ebp, ebp
lea ecx, [esp + 0x8b0]
mov dword [esp + 0x1afc], ebp
call fcn.10014660
mov eax, dword [str.http]
push 4
push eax
lea ecx, [esp + 0x8b8]
push ecx
mov dword [esp + 0x1ae4], 2
mov dword [esp + 0x1ae8], 4
mov word [esp + 0x1ae2], 0x50
call fcn.10077eba
add esp, 0xc
call fcn.1008cdb1
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
lea edx, [esp + 0x78]
mov ecx, eax
mov dword [esp + 0x68], 0x1009d9a0
mov dword [esp + 0x70], edx
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0x825
mov dword [esp + 0x78], eax
mov word [esp + 0x88], bp
call dword [0x1009d9ac]
add eax, 0x10
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], 0x1009da58
mov byte [esp + 0x28], 0
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [esp + 0x1afc], 1
stosb byte es:[edi], al
mov dword [esp + 0x1c], 0x40
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1b18]
cmp eax, ebp
mov byte [esp + 0x1afc], 2
jg 0x1003b044
mov eax, dword [esp + 0x1b0c]
mov ecx, dword [esp + 0x1b08]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1b08]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [esp + 0x1c]
push str.http:___s__s__s
push edx
call fcn.10002d50
add esp, 0x14
jmp 0x1003b0a5
cmp dword [esp + 0x1b1c], ebp
je 0x1003b076
mov ecx, dword [esp + 0x1b0c]
mov edx, dword [esp + 0x1b08]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x1b08]
push ecx
push eax
mov eax, dword [edx]
push eax
push str.https:___s:_d__s__s
lea ecx, [esp + 0x24]
push ecx
jmp 0x1003b09d
mov edx, dword [esp + 0x1b0c]
mov ecx, dword [esp + 0x1b08]
push edx
mov edx, dword [ecx]
push edx
push eax
mov eax, dword [esp + 0x1b10]
mov ecx, dword [eax]
push ecx
push str.http:___s:_d__s__s
lea edx, [esp + 0x24]
push edx
call fcn.10002d50
add esp, 0x18
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x8b8]
call fcn.10014b40
mov ecx, dword [esp + 0x1aec]
push ecx
lea edx, [esp + 0xad8]
push edx
lea ecx, [esp + 0x7c]
call fcn.100024d0
mov eax, dword [esp + 0x1af0]
push eax
lea ecx, [esp + 0x12d9]
push ecx
lea ecx, [esp + 0x7c]
call fcn.10002860
push ebp
push ebp
push ebp
push ebp
push 0x100a0100
mov dword [esp + 0x28], 0x1388
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, ebp
jne 0x1003b121
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.3_InternetOpen:_d
push 4
call fcn.1006ac00
add esp, 0xc
jmp 0x1003b381
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea edx, [esp + 0x1c]
push edx
push 2
push ebx
call esi
push 4
lea eax, [esp + 0x1c]
push eax
push 6
push ebx
call esi
push 4
lea ecx, [esp + 0x1c]
push ecx
push 5
push ebx
call esi
mov edx, dword [esp + 0x1ada]
push ebp
push 0x200
mov ebp, 3
push ebp
push 0
push 0
push edx
lea eax, [esp + 0x8ed]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x1003b198
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.3_HttpInternetConnect:_d
push 4
call fcn.1006ac00
add esp, 0xc
jmp 0x1003b36e
mov edx, dword [esp + 0x1adc]
mov eax, dword [esp + 0x78]
xor ecx, ecx
cmp edx, ebp
setne cl
push 0
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0x100a0620
mov dword [esp + 0x2c], 0
dec ecx
and ecx, 0x800000
or ecx, 0x80200
push ecx
push edx
push 0
push str.HTTP_1.1
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x1003b204
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.3_HttpOpenRequest:_d
push 4
call fcn.1006ac00
add esp, 0xc
jmp 0x1003b35f
cmp dword [esp + 0x1adc], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1003b2bf
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x1f
push edi
mov dword [esp + 0x20], 0x1000
call esi
test eax, eax
jne 0x1003b241
call ebp
push eax
push str.SoapClientError_Set_CN_INVALID___d
push 4
call fcn.1006ac00
add esp, 0xc
push 4
lea edx, [esp + 0x14]
push edx
push 0x1f
push edi
mov dword [esp + 0x20], 0x100
call esi
test eax, eax
jne 0x1003b26b
call ebp
push eax
push str.SoapClientError_Set_UNKNOWN_CA___d
push 4
call fcn.1006ac00
add esp, 0xc
push 4
lea eax, [esp + 0x14]
push eax
push 0x1f
push edi
mov dword [esp + 0x20], 0x2000
call esi
test eax, eax
jne 0x1003b295
call ebp
push eax
push str.SoapClientError_Set_DATE_INVALID___d
push 4
call fcn.1006ac00
add esp, 0xc
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x1f
push edi
mov dword [esp + 0x20], 0x8000
call esi
test eax, eax
jne 0x1003b2bf
call ebp
push eax
push str.SoapClientError_Set_REDIRECT_TO_HTTP___d
push 4
call fcn.1006ac00
add esp, 0xc
xor eax, eax
mov edx, 0x100
mov ecx, 0x100bec20
jmp 0x1003b2d0
cmp byte [ecx], 0
je 0x1003b2db
inc ecx
dec edx
jne 0x1003b2d0
jmp 0x1003b2e6
test edx, edx
je 0x1003b2e6
mov eax, 0x100
sub eax, edx
mov esi, dword [esp + 0x1b18]
mov edx, dword [esp + 0x1b14]
push esi
push edx
push eax
push 0x100bec20
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1003b31b
call ebp
push eax
push str.3_HttpSendRequest:_d
push 4
call fcn.1006ac00
add esp, 0xc
jmp 0x1003b35f
push esi
push str.3_Send_file_length:_d
push 2
call fcn.1006ac00
add esp, 0xc
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1003b35f
mov eax, dword [esp + 0x20]
cmp eax, 0x40
jae 0x1003b352
mov byte [esp + eax + 0x2c], 0
lea edx, [esp + 0x2c]
push edx
call fcn.10076e12
add esp, 4
test edi, edi
je 0x1003b36a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [esp + 0x1c]
test edi, edi
pop esi
je 0x1003b37a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1afc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop ebp
pop ebx
jg 0x1003b3aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x68]
mov byte [esp + 0x1af0], 0
mov dword [esp + 0x5c], 0x1009da58
call fcn.10001950
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003b3e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1b00]
add eax, 0xfffffff0
mov dword [esp + 0x5c], 0x1009d9a0
mov dword [esp + 0x1af0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003b415
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1ae8]
mov dword fs:[0], ecx
add esp, 0x1af4
ret