Function at 0x1003f220
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf578
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x40], 0
call fcn.10008cd0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
push 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
push 0x100de8b1
mov dword [edi + 0xb4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1001cab0
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.1005c380
test al, al
sete al
mov byte [ebp - 0x31], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1003f322
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f315
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f46e
push edx
push ecx
call fcn.1008854e
mov al, byte [ebp - 0x31]
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test al, al
je 0x1003f349
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1003f400
push ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push eax
push 0x13
mov dword [ebp - 0x14], 0
call fcn.1005bf40
test al, al
jne 0x1003f374
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1003f400
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x1003f3ed
cmp eax, 0xce
je 0x1003f3ed
cmp eax, 0x12e
jne 0x1003f41e
mov eax, 0x400
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x1003f3b7
push 0x800
call fcn.1008855c
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x30]
add eax, eax
push eax
push 0
push esi
call fcn.1008ac40
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
add esp, 8
push eax
push esi
push 0x21
call fcn.1005bfb0
test al, al
je 0x1003f41e
push esi
call fcn.10004b70
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.100049a0
jmp 0x1003f40e
cmp dword [ebp + 0x14], 0
ja 0x1003f3f9
cmp dword [ebp + 0x10], 0
jbe 0x1003f422
cmp eax, 0xce
je 0x1003f422
cmp dword [ebx + 4], 0
je 0x1003f41e
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x1003f280
xor bl, bl
jmp 0x1003f42e
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x1003f43f
push esi
call fcn.100881b6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004840
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret 0x10
call fcn.1008db97
int3