Function at 0x407f60
Capabilities:
Check http status code

Disassembly:
push ebx
push ecx
push esi
push edi
sub esp, 0x210
mov edi, eax
mov byte [esp + 0x208], dl
cmp byte [0x43a275], 0
je 0x408086
mov byte [0x43a277], 0
call fcn.00407a20
movzx eax, dl
imul eax, eax, 0x14
inc dl
xor esi, esi
mov byte [esp + 0x208], dl
mov ax, word [edi + eax + 8]
cmp dl, byte [edi + 0x9e4]
jae 0x407fb4
movzx ebx, dl
imul ebx, ebx, 0x14
mov esi, dword [edi + ebx + 4]
cmp ax, 0xc3
jae 0x40809d
cmp ax, 0x16
jae 0x40822e
cmp ax, 0x13
jne 0x408263
cmp ax, 0x16
jne 0x4082a7
mov byte [esp + 0x20c], 2
test esi, esi
jne 0x407fee
mov esi, dword [0x438064]
cmp byte [0x43a275], 7
je 0x408033
mov edi, dword [esp + 0x209]
mov eax, esp
mov edx, esi
sar edi, 0x18
xor ecx, ecx
mov ebx, edi
call fcn.00407c20
call fcn.004236e0
mov eax, esp
mov ebx, edi
mov edx, esi
call fcn.00407db0
call fcn.004236e0
mov ebx, esp
mov edx, edi
mov eax, esi
call fcn.00407820
call fcn.004236e0
mov edi, dword [esp + 0x209]
mov eax, esp
mov edx, esi
sar edi, 0x18
xor ecx, ecx
mov ebx, edi
call fcn.00407c20
call fcn.004236e0
mov eax, esp
mov ebx, edi
mov edx, esi
call fcn.00407ea0
call fcn.004236e0
mov eax, 0x43a2dd
mov ebx, edi
mov edx, esi
call fcn.00407db0
mov al, byte [esp + 0x20c]
mov byte [0x43a2dc], al
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
mov eax, 0xf6
call fcn.0040e5b0
mov al, 1
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
ja 0x40810b
mov byte [esp + 0x200], 0
test esi, esi
jne 0x4080b1
mov esi, dword [0x438068]
mov eax, esi
mov edi, dword [esp + 0x1fd]
call fcn.00406480
mov edx, esi
xor ecx, ecx
sar edi, 0x18
mov eax, esp
mov ebx, edi
call fcn.00407c20
call fcn.004236e0
mov eax, esp
mov ebx, edi
mov edx, esi
call fcn.00407ea0
call fcn.004236e0
mov eax, 0x43a2dd
mov ebx, edi
mov edx, esi
call fcn.00407db0
mov al, byte [esp + 0x200]
mov byte [0x43a2dc], al
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
cmp ax, 0x13d
jae 0x408132
cmp ax, 0xea
je 0x407fd2
cmp ax, 0xc8
je 0x407fd2
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
ja 0x408199
cmp ax, 0x28
jne 0x4082db
mov byte [esp + 0x204], 4
mov edi, dword [esp + 0x201]
mov eax, esp
mov edx, esi
sar edi, 0x18
xor ecx, ecx
mov ebx, edi
call fcn.00407c20
call fcn.004236e0
mov eax, esp
mov ebx, edi
mov edx, esi
call fcn.00407ea0
call fcn.004236e0
mov eax, 0x43a2dd
mov ebx, edi
mov edx, esi
call fcn.00407db0
mov al, byte [esp + 0x204]
mov byte [0x43a2dc], al
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
cmp ax, 0x391
je 0x408134
cmp ax, 0x390
je 0x407fd2
cmp ax, 0x36c
jne 0x408079
mov ebx, 1
mov eax, esp
xor ecx, ecx
xor edx, edx
call fcn.00407c20
call fcn.004236e0
mov ebx, 1
mov eax, esp
xor edx, edx
call fcn.00407db0
call fcn.004236e0
cmp byte [0x43a275], 7
je 0x4081f7
mov ebx, esp
mov edx, 1
xor eax, eax
call fcn.00407820
call fcn.004236e0
mov al, byte [esp + 0x208]
cmp al, byte [edi + 0x9e4]
jae 0x408291
movzx eax, al
imul eax, eax, 0x14
add edi, eax
cmp byte [edi], 8
jne 0x40827a
mov ax, word [edi + 8]
mov word [0x43a6de], ax
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
cmp ax, 0x17
jbe 0x407fd2
cmp ax, 0x3c
je 0x4081b3
cmp ax, 0x28
jb 0x408079
cmp ax, 0x29
jbe 0x408134
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
cmp ax, 0x12
je 0x40809f
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
mov eax, 0x4a
call fcn.0040e5b0
mov al, 1
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
mov word [0x43a6de], 0x400
xor al, al
add esp, 0x210
pop edi
pop esi
pop ecx
pop ebx
ret
cmp ax, 0xea
je 0x407fdc
cmp ax, 0x17
jne 0x4082c6
mov byte [esp + 0x20c], 3
xor esi, esi
jmp 0x407fee
cmp ax, 0x390
je 0x4082b7
mov byte [esp + 0x20c], 6
xor esi, esi
jmp 0x407fee
cmp ax, 0x13d
je 0x40813e
mov byte [esp + 0x204], 5
jmp 0x408146