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

Disassembly:
push 0xffffffffffffffff
push 0x10042611
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [esp + 0x148]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
xor ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x154]
mov ebp, 7
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x80400000
mov byte [esp + 0x1b], bl
mov dword [esp + 0x128], ebp
mov dword [esp + 0x124], ebx
mov word [esp + 0x114], bx
mov dword [esp + 0x138], ebx
cmp dword [esi + 4], ebx
jne 0x10001758
lea ecx, [esp + 0x110]
push ecx
push edi
lea ecx, [esp + 0x23]
call fcn.100010f0
cmp al, bl
jne 0x1000175f
cmp dword [esp + 0x128], 8
jb 0x10001758
mov edx, dword [esp + 0x114]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10001cde
cmp byte [esp + 0x1b], bl
je 0x1000176d
mov dword [esp + 0x20], 0x80c00000
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x38]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x14c], 6
call fcn.1002b2e0
add esp, 0x14
test al, al
jne 0x10001959
mov esi, 8
cmp dword [esp + 0xd4], esi
jb 0x10001855
mov edx, dword [esp + 0xc0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
jb 0x10001884
mov eax, dword [esp + 0x88]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x100018b0
mov ecx, dword [esp + 0x6c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb8], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x100018d9
mov edx, dword [esp + 0xa4]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xf0], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jb 0x10001908
mov eax, dword [esp + 0xdc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
jb 0x10001937
mov ecx, dword [esp + 0xf8]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x128], esi
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jmp 0x10001746
cmp dword [esp + 0x98], ebx
mov ecx, 8
jne 0x1000196d
mov dword [esp + 0x1c], ebx
jmp 0x1000198e
cmp dword [esp + 0x9c], ecx
jb 0x10001983
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
jmp 0x1000198e
lea edx, [esp + 0x88]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x7c], ebx
jne 0x10001998
xor eax, eax
jmp 0x100019a9
cmp dword [esp + 0x80], ecx
mov eax, dword [esp + 0x6c]
jae 0x100019a9
lea eax, [esp + 0x6c]
cmp dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xa4]
jae 0x100019c0
lea ecx, [esp + 0xa4]
mov edx, dword [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x24]
push 3
push edx
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
jne 0x10001b1d
mov esi, 8
cmp dword [esp + 0xd4], esi
jb 0x10001a01
mov ecx, dword [esp + 0xc0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x9c], esi
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
jb 0x10001a30
mov edx, dword [esp + 0x88]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x10001a5c
mov eax, dword [esp + 0x6c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xb8], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x10001a85
mov ecx, dword [esp + 0xa4]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xf0], esi
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jb 0x10001ab4
mov edx, dword [esp + 0xdc]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x10c], esi
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], bx
jb 0x10001ae3
mov eax, dword [esp + 0xf8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x128], esi
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], bx
jb 0x10001758
mov ecx, dword [esp + 0x114]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x10001cde
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
cmp dword [ecx + 0x14], ebx
mov dword [esp + 0x38], 0x10047804
mov dword [esp + 0x3c], ebx
jne 0x10001b39
xor ecx, ecx
jmp 0x10001b47
cmp dword [ecx + 0x18], 8
jb 0x10001b44
mov ecx, dword [ecx + 4]
jmp 0x10001b47
add ecx, 4
cmp dword [esp + 0xd4], 8
mov edx, dword [esp + 0xc0]
jae 0x10001b5f
lea edx, [esp + 0xc0]
mov edi, dword [esp + 0x20]
push ebx
push edi
lea edi, [esp + 0x40]
push edi
push ecx
push ebx
push edx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp dword [esi + 0xc], ebx
mov edi, eax
jne 0x10001be3
cmp edi, ebx
je 0x10001b8b
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0xbc]
call fcn.10001f30
lea ecx, [esp + 0x84]
call fcn.10001f30
lea ecx, [esp + 0x68]
call fcn.10001f30
lea ecx, [esp + 0xa0]
call fcn.10001f30
lea ecx, [esp + 0xd8]
call fcn.10001f30
lea ecx, [esp + 0xf4]
call fcn.10001f30
lea ecx, [esp + 0x110]
call fcn.10001f30
xor al, al
jmp 0x10001cde
cmp edi, ebx
je 0x10001b8b
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x14c]
push ebx
push ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push ebx
lea eax, [esp + 0x4c]
push eax
push edi
mov dword [esi + 4], edi
mov dword [esp + 0x54], 0x28
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x10001b8b
cmp dword [esi + 0xc], ebx
je 0x10001b8b
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
push ebp
push edx
push edi
mov dword [esp + 0x38], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x10001b8b
cmp dword [esi + 0xc], ebx
je 0x10001b8b
cmp dword [esp + 0x28], ebp
jne 0x10001b8b
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
lea ecx, [esp + 0xbc]
je 0x10001b92
call fcn.10001f30
lea ecx, [esp + 0x84]
call fcn.10001f30
lea ecx, [esp + 0x68]
call fcn.10001f30
lea ecx, [esp + 0xa0]
call fcn.10001f30
lea ecx, [esp + 0xd8]
call fcn.10001f30
lea ecx, [esp + 0xf4]
call fcn.10001f30
lea ecx, [esp + 0x110]
call fcn.10001f30
mov al, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x128
ret 0x18