Function at 0x10010aa3
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0xff
push edi
lea eax, [ebp - 0x183]
push ebx
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x184], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x283]
push ebx
push eax
mov byte [ebp - 0x284], bl
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x359
call fcn.10012cb7
mov dword [ebp - 0x38], eax
mov eax, 0x2c1
call fcn.10012cb7
mov dword [ebp - 0x34], eax
mov eax, 0xbe2
call fcn.10012cb7
mov dword [ebp - 0x30], eax
mov eax, 0x9e3
call fcn.10012cb7
mov dword [ebp - 0x2c], eax
mov eax, 0xa98
call fcn.10012cb7
push 0x3c
pop edi
push edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x24], ebx
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x84]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x184]
mov dword [ebp - 0x64], eax
mov eax, pe_nt_image_headers32
add esp, 0xc
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x74]
push eax
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x74], edi
call fcn.1000acd6
pop ecx
push eax
push dword [ebp + 8]
mov eax, dword [0x1003971c]
call dword [eax + 0x28]
test eax, eax
jne 0x10010ba6
push 0xfffffffffffffffc
pop eax
jmp 0x10010dde
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp + eax*4 - 0x1c]
mov eax, dword [0x1003971c]
push dword [0x100397f8]
mov dword [ebp - 0xc], 0x8404f700
call dword [eax]
mov esi, eax
cmp esi, ebx
jne 0x10010bd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10010d38
push 3
pop eax
push 4
pop edi
push edi
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], eax
mov eax, dword [0x1003971c]
push esi
call dword [eax + 0x14]
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [0x1003971c]
push 2
push esi
mov dword [ebp - 8], 0x3a98
call dword [eax + 0x14]
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [0x1003971c]
push 6
push esi
mov dword [ebp - 8], 0x493e0
call dword [eax + 0x14]
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [0x1003971c]
push 5
push esi
mov dword [ebp - 8], 0x493e0
call dword [eax + 0x14]
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x5c]
lea eax, [ebp - 0x184]
push eax
mov eax, dword [0x1003971c]
push esi
call dword [eax + 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x20], ebx
je 0x10010c5f
push dword [ebp + 0x20]
call fcn.1000cef9
pop ecx
cmp dword [ebp - 8], ebx
jne 0x10010c6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10010d2d
cmp dword [ebp - 0x68], edi
jne 0x10010c7b
mov dword [ebp - 0xc], 0x8484f700
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
lea eax, [ebp - 0x284]
push eax
mov eax, dword [0x1003971c]
push str.POST
push dword [ebp - 8]
call dword [eax + 0x20]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x20], ebx
je 0x10010cad
push dword [ebp + 0x20]
call fcn.1000cef9
pop ecx
cmp dword [ebp - 0x10], ebx
jne 0x10010cba
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10010d1f
cmp dword [ebp - 0x68], edi
jne 0x10010cc8
push dword [ebp - 0x10]
call fcn.100107a9
pop ecx
push 0xe
pop eax
call fcn.10012cb7
push dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push eax
call fcn.1000acd6
pop ecx
push eax
push dword [ebp - 0xc]
mov eax, dword [0x1003971c]
push dword [ebp - 0x10]
call dword [eax + 0x24]
mov edi, eax
lea eax, [ebp - 0xc]
call fcn.1000b9f4
cmp dword [ebp + 0x20], ebx
je 0x10010d07
push dword [ebp + 0x20]
call fcn.1000cef9
pop ecx
cmp edi, ebx
jne 0x10010d45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov eax, dword [0x1003971c]
call dword [eax + 8]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
mov eax, dword [0x1003971c]
call dword [eax + 8]
mov dword [ebp - 8], ebx
mov eax, dword [0x1003971c]
push esi
call dword [eax + 8]
xor esi, esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10010ba9
cmp dword [ebp - 0x10], ebx
jne 0x10010d53
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x10010da8
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x1003971c]
push 0x13
push edi
mov dword [ebp - 0x20], 8
call dword [eax + 0xc]
test eax, eax
jne 0x10010d8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], 0xfffffff8
jmp 0x10010d9f
lea ecx, [ebp - 0x1c]
call fcn.1000ce8a
cmp eax, 0xc8
je 0x10010dca
neg eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x1003971c]
push edi
call dword [eax + 8]
cmp dword [ebp - 8], ebx
je 0x10010db8
push dword [ebp - 8]
mov eax, dword [0x1003971c]
call dword [eax + 8]
cmp esi, ebx
je 0x10010dc5
mov eax, dword [0x1003971c]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
jmp 0x10010dde
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret