Function at 0x10012439
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, 0x1576
call fcn.10012bb6
mov dword [esp + 0x34], eax
mov eax, 0x2542
call fcn.10012bb6
mov dword [esp + 0x38], eax
mov eax, 0x1b4b
call fcn.10012bb6
mov dword [esp + 0x3c], eax
mov eax, 0x3217
call fcn.10012bb6
mov dword [esp + 0x40], eax
push 0x76
pop eax
call fcn.10012bb6
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 [0x1002ceb4]
test eax, eax
jne 0x1001255b
push 0xfffffffffffffffc
pop eax
jmp 0x100127ce
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 [0x1002caa0]
call dword [0x1002cea0]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebx
jne 0x10012593
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10012725
push 3
pop eax
push 4
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
mov dword [esp + 0x20], eax
call dword [0x1002ceac]
push 4
lea eax, [esp + 0x14]
push eax
push 2
push esi
mov dword [esp + 0x20], 0x3a98
call dword [0x1002ceac]
push 4
lea eax, [esp + 0x14]
push eax
push 6
push dword [esp + 0x20]
mov esi, 0x493e0
mov dword [esp + 0x20], esi
call dword [0x1002ceac]
push 4
lea eax, [esp + 0x14]
push eax
push 5
push dword [esp + 0x20]
mov dword [esp + 0x20], esi
call dword [0x1002ceac]
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 [0x1002ced0]
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x10], eax
cmp esi, ebx
je 0x10012622
call fcn.10010d22
cmp dword [esp + 0x10], ebx
jne 0x10012633
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10012717
cmp dword [esp + 0x58], 4
jne 0x10012642
mov dword [esp + 0x1c], 0x8484f700
cmp dword [ebp + 8], 2
mov eax, str.POST
je 0x10012652
mov eax, 0x10026490
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 [0x1002ce9c]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x1001267e
call fcn.10010d22
mov esi, dword [esp + 0x18]
cmp esi, ebx
jne 0x1001268e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10012709
cmp dword [esp + 0x58], 4
jne 0x1001269c
push esi
call fcn.100123eb
pop ecx
cmp dword [ebp + 8], 2
jne 0x100126d4
mov eax, 0x1ed5
call fcn.10012bb6
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 [0x1002ced4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
call fcn.10012c54
jmp 0x100126e3
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0x1002ced4]
mov dword [esp + 0x28], eax
mov esi, dword [ebp + 0x24]
cmp esi, ebx
je 0x100126ef
call fcn.10010d22
cmp dword [esp + 0x28], ebx
jne 0x10012734
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x18]
call dword [0x1002ceb0]
mov dword [esp + 0x18], ebx
push dword [esp + 0x10]
call dword [0x1002ceb0]
mov dword [esp + 0x10], ebx
push dword [esp + 0x14]
call dword [0x1002ceb0]
mov dword [esp + 0x14], ebx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x1001255f
cmp dword [esp + 0x18], ebx
jne 0x1001273f
push 0xfffffffffffffffe
pop edi
jmp 0x10012791
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 [0x1002cec8]
test eax, eax
jne 0x10012776
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffff8
pop edi
jmp 0x1001278a
lea edx, [esp + 0x2c]
call fcn.10010c99
cmp eax, 0xc8
je 0x100127b5
neg eax
mov edi, eax
push esi
call dword [0x1002ceb0]
cmp dword [esp + 0x10], ebx
je 0x100127a1
push dword [esp + 0x10]
call dword [0x1002ceb0]
cmp dword [esp + 0x14], ebx
je 0x100127b1
push dword [esp + 0x14]
call dword [0x1002ceb0]
mov eax, edi
jmp 0x100127ce
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