Function at 0x1003cb50
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
mov eax, 0x100d033e
call fcn.100b286c
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edi
mov esi, 0xfde9
push esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 6
call fcn.1007e2fa
push esi
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.1007e2fa
push esi
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 8
call fcn.1007e2fa
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 9
call fcn.1007e2fa
push esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0xa
call fcn.1007e2fa
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0xb
call fcn.1007e2fa
push esi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xc
call fcn.1007e2fa
xor ebx, ebx
cmp dword [edi + 8], ebx
mov byte [ebp - 4], 0xd
je 0x1003cf34
lea ecx, [ebp - 0x80]
call fcn.1000347b
test eax, eax
jne 0x1003cf34
lea ecx, [ebp - 0x68]
call fcn.1000347b
test eax, eax
jne 0x1003cf34
lea ecx, [ebp - 0x5c]
call fcn.1000347b
test eax, eax
jne 0x1003cf34
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x44]
mov dword [esi], ebx
mov dword [ebp - 0x18], ebx
call fcn.100031dc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.100031dc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x10
call fcn.1003bb11
cmp eax, ebx
je 0x1003cf11
mov eax, dword [esi]
inc dword [ebp - 0x24]
cmp eax, ebx
je 0x1003cc8f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi], ebx
push dword [ebp - 0x20]
lea eax, [ebp - 0x44]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10003fa5
mov ecx, dword [ebp - 0x30]
call fcn.1003c1ef
mov edi, eax
cmp edi, ebx
jne 0x1003cd84
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.10003276
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.10003276
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.10003276
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.10003276
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.10003276
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.10003276
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.10003276
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.10003276
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.10003276
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.1007e410
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.1007e410
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 3
call fcn.1007e410
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 2
call fcn.1007e410
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 1
call fcn.1007e410
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], bl
call fcn.1007e410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.1007e410
xor eax, eax
jmp 0x1003cfe5
lea ecx, [ebp - 0x5c]
call fcn.1000335c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
call fcn.1000335c
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x14], eax
call fcn.1000335c
push dword [ebp + 0x4c]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi], eax
jne 0x1003ce2e
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x98]
call fcn.10003fa5
push 0x3a
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x11
call fcn.1000460b
movzx eax, word [ebp - 0x20]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000405b
sub esp, 0xc
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10003fa5
mov ecx, dword [ebp - 0x30]
add ecx, 0x18
call fcn.10004345
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0x10
call fcn.10003276
cmp dword [esi], ebx
je 0x1003cec4
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x74]
call fcn.100032d4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], eax
call fcn.1000335c
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x2c], eax
call fcn.100032d4
lea ecx, [ebp - 0x50]
mov edi, eax
call fcn.1000335c
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push edi
push eax
push dword [esi]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x1003cebf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xfffffffe
je 0x1003cebf
cmp eax, 0xffffffff
je 0x1003cebf
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x1f
push dword [esi]
mov dword [ebp + 0x18], ebx
mov dword [ebp - 0x34], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
cmp eax, ebx
je 0x1003cebf
or word [ebp + 0x18], 0xf180
push ebx
push dword [ebp - 0x34]
lea eax, [ebp + 0x18]
push eax
push 0x1f
push dword [esi]
call dword [sym.imp.WININET.dll_InternetSetOptionExA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], ebx
je 0x1003cece
cmp dword [ebp - 0x24], 4
jl 0x1003cc7d
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push dword [esi]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x1c], 0xc8
je 0x1003cf11
cmp dword [ebp - 0x1c], 0x191
je 0x1003cf11
mov dword [ebp - 0x18], ebx
jmp 0x1003cf11
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xe
call fcn.10003276
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.10003276
mov esi, dword [ebp - 0x18]
jmp 0x1003cf36
xor esi, esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.10003276
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.10003276
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.10003276
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.10003276
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.10003276
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 7
call fcn.10003276
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.10003276
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.1007e410
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.1007e410
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 3
call fcn.1007e410
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 2
call fcn.1007e410
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 1
call fcn.1007e410
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], bl
call fcn.1007e410
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x60]
call fcn.1007e410
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x68