Function at 0x10012a9e
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0xff
push esi
lea eax, [esp + 0x9d]
push ebx
push eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xa4], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [esp + 0x19d]
push ebx
push eax
mov byte [esp + 0x1a4], bl
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x3213
call fcn.1001321d
mov dword [esp + 0x34], eax
mov eax, 0x213d
call fcn.1001321d
mov dword [esp + 0x38], eax
mov eax, 0x3191
call fcn.1001321d
mov dword [esp + 0x3c], eax
mov eax, 0xf18
call fcn.1001321d
mov dword [esp + 0x40], eax
mov eax, 0x2408
call fcn.1001321d
push 0x3c
pop esi
push esi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x50]
push ebx
push eax
mov dword [esp + 0x54], ebx
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x94]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x68], eax
mov eax, 0x100
add esp, 0xc
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x4c]
push eax
push ebx
push dword [ebp + 0xc]
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x60], 0x10
mov dword [esp + 0x84], ecx
mov dword [esp + 0x58], esi
call edi
push eax
push dword [ebp + 0xc]
call dword [0x1002cee0]
test eax, eax
jne 0x10012bc2
push 0xfffffffffffffffc
pop eax
jmp 0x10012e35
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
push ebx
push ebx
push ebx
push dword [esp + eax*4 + 0x38]
mov dword [esp + 0x2c], 0x8404f700
push dword [0x1002cac0]
call dword [0x1002cecc]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebx
jne 0x10012bfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10012d8c
push 3
pop eax
push 4
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
mov dword [esp + 0x20], eax
call dword [0x1002ced8]
push 4
lea eax, [esp + 0x14]
push eax
push 2
push esi
mov dword [esp + 0x20], 0x3a98
call dword [0x1002ced8]
push 4
lea eax, [esp + 0x14]
push eax
push 6
push dword [esp + 0x20]
mov esi, 0x493e0
mov dword [esp + 0x20], esi
call dword [0x1002ced8]
push 4
lea eax, [esp + 0x14]
push eax
push 5
push dword [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x1002ced8]
movzx eax, word [esp + 0x64]
push ebx
push ebx
push 3
push ebx
push ebx
push eax
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x30]
call dword [0x1002cefc]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x10012c89
call fcn.10011370
cmp dword [esp + 0x10], ebx
jne 0x10012c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10012d7e
cmp dword [esp + 0x58], 4
jne 0x10012ca9
mov dword [esp + 0x1c], 0x8484f700
cmp dword [ebp + 8], 2
mov eax, str.POST
je 0x10012cb9
mov eax, 0x10026488
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
lea ecx, [esp + 0x1ac]
push ecx
push eax
push dword [esp + 0x2c]
call dword [0x1002cec8]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x10012ce5
call fcn.10011370
mov esi, dword [esp + 0x18]
cmp esi, ebx
jne 0x10012cf5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10012d70
cmp dword [esp + 0x58], 4
jne 0x10012d03
push esi
call fcn.10012a50
pop ecx
cmp dword [ebp + 8], 2
jne 0x10012d3b
mov eax, 0x2547
call fcn.1001321d
push dword [ebp + 0x14]
mov dword [esp + 0x20], eax
push dword [ebp + 0x10]
push eax
call edi
push eax
push dword [esp + 0x28]
push esi
call dword [0x1002cf00]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
call fcn.100132bb
jmp 0x10012d4a
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0x1002cf00]
mov dword [esp + 0x28], eax
mov esi, dword [ebp + 0x24]
cmp esi, ebx
je 0x10012d56
call fcn.10011370
cmp dword [esp + 0x28], ebx
jne 0x10012d9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x18]
call dword [0x1002cedc]
mov dword [esp + 0x18], ebx
push dword [esp + 0x10]
call dword [0x1002cedc]
mov dword [esp + 0x10], ebx
push dword [esp + 0x14]
call dword [0x1002cedc]
mov dword [esp + 0x14], ebx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x10012bc6
cmp dword [esp + 0x18], ebx
jne 0x10012da6
push 0xfffffffffffffffe
pop edi
jmp 0x10012df8
mov esi, dword [esp + 0x18]
xor eax, eax
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
push 0x13
push esi
mov dword [esp + 0x38], 8
call dword [0x1002cef4]
test eax, eax
jne 0x10012ddd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffff8
pop edi
jmp 0x10012df1
lea edx, [esp + 0x2c]
call fcn.100112e7
cmp eax, 0xc8
je 0x10012e1c
neg eax
mov edi, eax
push esi
call dword [0x1002cedc]
cmp dword [esp + 0x10], ebx
je 0x10012e08
push dword [esp + 0x10]
call dword [0x1002cedc]
cmp dword [esp + 0x14], ebx
je 0x10012e18
push dword [esp + 0x14]
call dword [0x1002cedc]
mov eax, edi
jmp 0x10012e35
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret