Function at 0x1066288
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x1099a38]
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x234], ecx
mov ecx, dword [ebp + 0x28]
push edi
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [ebp - 0x23c], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ebx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], ecx
push 7
pop ecx
mov edi, 0x1021798
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x106630e
push 0x1021764
call fcn.01071aad
push 0x7b
jmp 0x10666b1
add eax, 7
lea edx, [ebp - 0x20c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1066319
mov esi, dword [sym.imp.msvcrt.dll_strchr]
lea eax, [ebp - 0x20c]
push 0x2f
push eax
call esi
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x1066356
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call esi
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x1066356
mov edi, 0x1009220
jmp 0x1066359
mov byte [edi], bl
inc edi
push ebx
push ebx
push ebx
push ebx
push 0x1021758
call dword [0x10bd160]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x228], esi
je 0x10666b6
push esi
call fcn.01066213
push ebx
push ebx
push 3
push dword [ebp - 0x224]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x220]
push 0x50
push eax
push esi
call dword [0x10bd164]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x224], esi
je 0x106668f
push esi
call fcn.01066213
push ebx
push 0x84400000
push ebx
push ebx
push ebx
push edi
push 0x1021750
push esi
call dword [0x10bd168]
cmp eax, ebx
mov dword [ebp - 0x214], eax
je 0x106666c
mov eax, dword [ebp - 0x218]
cmp eax, ebx
jne 0x10663e8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push dword [ebp - 0x214]
mov dword [ebp - 0x220], eax
call fcn.01066213
mov dword [ebp - 0x218], ebx
mov edi, 0x2eee
mov esi, 0x2f00
push dword [ebp + 0x1c]
push dword [ebp - 0x22c]
push ebx
push ebx
push dword [ebp - 0x214]
call dword [0x10bd16c]
test eax, eax
je 0x1066639
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x13
push dword [ebp - 0x214]
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x210], 0x103
call dword [0x10bd170]
test eax, eax
je 0x106662b
mov eax, dword [ebp - 0x210]
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
push eax
call fcn.01033517
cmp eax, 0xc8
mov dword [ebp - 0x21c], eax
je 0x106650e
cmp eax, 0x191
je 0x1066499
cmp eax, 0x197
jne 0x1066587
cmp dword [ebp - 0x218], ebx
jne 0x10664c4
push ebx
push 0xe
push edi
push dword [ebp - 0x214]
push ebx
call dword [0x10bd180]
cmp eax, esi
je 0x10664f0
cmp dword [ebp + 0x30], ebx
je 0x10664d2
cmp dword [ebp + 0x34], ebx
je 0x10665d9
cmp dword [ebp + 0x30], ebx
je 0x10664d2
cmp dword [ebp + 0x34], ebx
je 0x10665e7
push ebx
push 6
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x220]
call dword [0x10bd180]
cmp eax, esi
jne 0x10665f4
inc dword [ebp - 0x218]
cmp dword [ebp - 0x218], 3
jb 0x1066409
mov esi, dword [ebp - 0x238]
jmp 0x1066651
mov esi, dword [ebp - 0x214]
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
push 5
push esi
mov dword [ebp - 0x210], 0x103
call dword [0x10bd170]
test eax, eax
je 0x106655b
mov eax, dword [ebp - 0x210]
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
push eax
call fcn.01033517
mov ecx, dword [ebp - 0x240]
mov dword [ecx], eax
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x224]
mov dword [eax], ecx
mov eax, dword [ebp - 0x230]
mov dword [eax], esi
xor eax, eax
inc eax
jmp 0x10666b8
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x14
push dword [ebp - 0x214]
mov dword [ebp - 0x210], 0x103
mov byte [ebp - 0x108], bl
call dword [0x10bd170]
test eax, eax
je 0x10665c5
mov eax, dword [ebp - 0x210]
mov byte [ebp + eax - 0x108], bl
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x21c]
push 0x1021724
jmp 0x106660d
push eax
push dword [ebp - 0x21c]
push 0x10216f4
jmp 0x106660d
push dword [ebp - 0x21c]
push 0x10216b0
jmp 0x1066645
cmp eax, ebx
mov esi, 0x4c7
je 0x1066617
cmp eax, esi
je 0x1066617
push eax
push dword [ebp - 0x21c]
push 0x1021674
call fcn.01071ac0
add esp, 0xc
jmp 0x106664c
push dword [ebp - 0x21c]
push 0x1021634
call fcn.01071ac0
pop ecx
pop ecx
jmp 0x1066651
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1021614
jmp 0x1066645
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10215f8
call fcn.01071ac0
pop ecx
pop ecx
mov esi, 0x2efd
push esi
push 0x10215d4
call fcn.01071ac0
pop ecx
pop ecx
push dword [ebp - 0x214]
call dword [0x10bd184]
jmp 0x1066681
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x10215a0
call fcn.01071ac0
pop ecx
pop ecx
push dword [ebp - 0x224]
call dword [0x10bd184]
jmp 0x10666a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x102156c
call fcn.01071ac0
pop ecx
pop ecx
push dword [ebp - 0x228]
call dword [0x10bd184]
push esi
call fcn.01037f35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0x30