Function at 0x1000a6ad
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], ecx
mov edi, 0x100
mov dword [ebp - 0x20], eax
push edi
push eax
mov ebx, eax
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x188]
mov dword [ebp - 0x1c], 1
push eax
mov esi, edx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x288]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, 0x819
call fcn.1000abca
mov ecx, 0x5c0
mov dword [ebp - 0x38], eax
call fcn.1000abca
mov ecx, 0x413
mov dword [ebp - 0x34], eax
call fcn.1000abca
mov ecx, 0x1047
mov dword [ebp - 0x30], eax
call fcn.1000abca
mov ecx, 0xc5f
mov dword [ebp - 0x2c], eax
call fcn.1000abca
and dword [ebp - 0x24], ebx
push 0x3c
pop edi
push edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1000adb3
lea eax, [ebp - 0x84]
mov dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x188]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x64], eax
mov ecx, 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x74]
push eax
push ebx
push esi
mov dword [ebp - 0x44], ecx
call fcn.1000b431
pop ecx
push eax
mov eax, dword [0x10020b78]
push esi
call dword [eax + 0x28]
test eax, eax
jne 0x1000a7a1
push 0xfffffffffffffffc
pop eax
jmp 0x1000a9bb
xor edx, edx
mov dword [ebp - 8], edx
mov esi, edx
mov eax, dword [0x10020b78]
push 0
push 0
push 0
push dword [ebp + edx*4 - 0x20]
mov dword [ebp - 4], 0x8404f700
push dword [0x10020c44]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x1000a7d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000a90a
mov ecx, edi
call fcn.1000a645
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x188]
push eax
mov eax, dword [0x10020b78]
push edi
call dword [eax + 0x1c]
cmp dword [ebp + 0x1c], 0
mov ebx, eax
je 0x1000a809
mov ecx, dword [ebp + 0x1c]
call fcn.1000b059
test ebx, ebx
jne 0x1000a818
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000a8ff
cmp dword [ebp - 0x68], 4
mov ecx, 0x8484f700
je 0x1000a826
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x14], 2
mov eax, str.POST
je 0x1000a836
mov eax, 0x1001de7c
xor edx, edx
push edx
push ecx
lea ecx, [ebp - 0x38]
push ecx
push edx
push edx
lea ecx, [ebp - 0x288]
push ecx
push eax
mov eax, dword [0x10020b78]
push ebx
call dword [eax + 0x20]
cmp dword [ebp + 0x1c], 0
mov esi, eax
mov dword [ebp - 4], esi
je 0x1000a864
mov ecx, dword [ebp + 0x1c]
call fcn.1000b059
test esi, esi
jne 0x1000a873
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1000a8f4
cmp dword [ebp - 0x68], 4
jne 0x1000a880
mov ecx, esi
call fcn.1000a5f3
cmp dword [ebp - 0x14], 2
jne 0x1000a8bd
mov ecx, 0x7ce
call fcn.1000abca
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push esi
call fcn.1000b431
pop ecx
push eax
mov eax, dword [0x10020b78]
push esi
mov esi, dword [ebp - 4]
push esi
call dword [eax + 0x24]
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.100093d1
jmp 0x1000a8cf
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, dword [0x10020b78]
push esi
call dword [eax + 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
je 0x1000a8dd
mov ecx, dword [ebp + 0x1c]
call fcn.1000b059
cmp dword [ebp - 4], 0
jne 0x1000a927
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x10020b78]
push esi
call dword [eax + 8]
xor esi, esi
mov eax, dword [0x10020b78]
push ebx
call dword [eax + 8]
xor ebx, ebx
mov eax, dword [0x10020b78]
push edi
call dword [eax + 8]
xor edi, edi
mov edx, dword [ebp - 8]
mov ecx, esi
inc edx
mov eax, ebx
mov dword [ebp - 8], edx
cmp edx, 2
jl 0x1000a7a8
test ecx, ecx
jne 0x1000a927
push 0xfffffffffffffffe
pop esi
jmp 0x1000a98b
push 8
pop eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
mov dword [ebp - 0xc], ecx
call fcn.1000adb3
add esp, 0xc
lea eax, [ebp - 0x18]
push 0
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x10020b78]
push 0x13
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x1000a96b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], 0xfffffff8
jmp 0x1000a97f
lea ecx, [ebp - 0x10]
call fcn.1000af63
cmp eax, 0xc8
je 0x1000a9aa
neg eax
mov dword [ebp - 8], eax
mov eax, dword [0x10020b78]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 8]
test ebx, ebx
je 0x1000a998
mov eax, dword [0x10020b78]
push ebx
call dword [eax + 8]
test edi, edi
je 0x1000a9a6
mov ecx, dword [0x10020b78]
push edi
call dword [ecx + 8]
mov eax, esi
jmp 0x1000a9bb
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret