Function at 0x408fd0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x24
mov ax, word [0x99436a]
mov ecx, dword [0x97cfb8]
add ax, word [0x994332]
push ebx
push ebp
or ebp, 0xffffffff
add ecx, 0x22049
mov word [0x438312], bp
movsx eax, ax
xor edx, edx
push esi
mov dword [ecx], 0
push edi
mov dword [esp + 0x10], edx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
push str._04d
push ecx
mov word [esp + 0x24], dx
call fcn.004195cf
mov eax, dword [0x97cfb8]
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor ecx, ecx
mov dword [eax + 0x22049], edx
mov dword [esp + 0x10], ecx
movsx edx, word [0x994334]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ecx
push str._04d
push eax
mov word [esp + 0x24], cx
call fcn.004195cf
mov ecx, dword [0x97cfb8]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx + 0x221ad], edx
mov ecx, dword [0x97cfb8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov dx, word [ecx + 0x22068]
lea eax, [esp + 0x28]
mov word [esp + 0x28], dx
push eax
call fcn.004196ac
mov edx, dword [0x97cfb8]
xor ecx, ecx
mov dword [esp + 0x20], ecx
add edx, 0x22051
mov dword [esp + 0x24], ecx
mov esi, eax
mov word [esp + 0x28], cx
mov ax, word [edx]
mov word [esp + 0x20], ax
mov cl, byte [edx + 2]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x26], cl
call fcn.004196ac
mov ebx, eax
add esp, 0x14
movsx eax, si
xor edi, edi
lea esi, [eax + eax*4]
shl esi, 2
xor eax, eax
mov ecx, dword [0x97cfb8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov word [esp + 0x18], ax
movsx eax, di
add eax, esi
lea edx, [ecx + eax*2]
lea eax, [eax + edx + 0x21ad0]
mov cx, word [eax]
mov word [esp + 0x10], cx
mov dl, byte [eax + 2]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x16], dl
call fcn.004196ac
add esp, 4
cmp bx, ax
je 0x409129
inc edi
cmp di, 0x14
jl 0x4090db
jmp 0x40912b
xor ebp, ebp
mov eax, dword [0x97cfb8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
or ebx, 0xffffffff
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], cx
mov edx, dword [eax + 0x221ad]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ecx
mov word [esp + 0x30], cx
mov edx, dword [eax + 0x22041]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
mov word [esp + 0x24], cx
mov edx, dword [eax + 0x22045]
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], edx
push eax
call fcn.004196ac
lea ecx, [esp + 0x2c]
mov esi, eax
push ecx
call fcn.004196ac
lea edx, [esp + 0x24]
mov edi, eax
push edx
call fcn.004196ac
add esp, 0xc
cmp di, si
jg 0x4091ab
cmp si, ax
jg 0x4091ab
xor ebx, ebx
mov eax, dword [0x97cfb8]
cmp byte [eax + 0x221a9], 0x31
jne 0x4091bc
or ebx, 0xffffffff
xor ecx, ecx
add eax, 0x22051
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], cx
mov dx, word [eax]
mov word [esp + 0x10], dx
lea ecx, [esp + 0x10]
mov al, byte [eax + 2]
push ecx
mov byte [esp + 0x16], al
call fcn.004196ac
add esp, 4
cmp ax, 1
je 0x409399
cmp ax, 2
je 0x409399
cmp ax, 3
je 0x409399
cmp ax, 4
je 0x409399
cmp ax, 5
je 0x409399
cmp ax, 6
je 0x409399
cmp ax, 7
je 0x409399
cmp ax, 8
je 0x409399
cmp ax, 9
je 0x409399
cmp ax, 0xa
je 0x409399
cmp ax, 0xb
je 0x409399
cmp ax, 0xc
je 0x409399
cmp ax, 0xd
je 0x409399
cmp ax, 0xe
je 0x409399
cmp ax, 0xf
je 0x409399
cmp ax, 0x11
je 0x409399
cmp ax, 0x12
je 0x409399
cmp ax, 0x13
je 0x409399
cmp ax, 0x14
je 0x409399
cmp ax, 0x15
je 0x409399
cmp ax, 0x16
je 0x409399
cmp ax, 0x17
je 0x409399
cmp ax, 0x19
je 0x409399
cmp ax, 0x1a
je 0x409399
cmp ax, 0x1b
je 0x409399
cmp ax, 0x1d
je 0x409399
cmp ax, 0x21
je 0x409399
cmp ax, 0x22
je 0x409399
cmp ax, 0x23
je 0x409399
cmp ax, 0x24
je 0x409399
cmp ax, 0x25
je 0x409399
cmp ax, 0x26
je 0x409399
cmp ax, 0x27
je 0x409399
cmp ax, 0x28
je 0x409399
cmp ax, 0x29
je 0x409399
cmp ax, 0x2a
je 0x409399
cmp ax, 0x2c
je 0x409399
cmp ax, 0x2d
je 0x409399
cmp ax, 0x51
je 0x409399
cmp ax, 0x52
je 0x409399
cmp ax, 0x53
je 0x409399
cmp ax, 0x54
je 0x409399
cmp ax, 0x55
je 0x409399
cmp ax, 0x56
je 0x409399
cmp ax, 0x57
je 0x409399
cmp ax, 0xc8
jge 0x409399
mov edx, dword [0x97cfb8]
pop edi
pop esi
pop ebp
mov byte [edx + 0x2204f], 0x31
mov word [0x438312], 0
xor ax, ax
pop ebx
add esp, 0x24
ret
mov eax, dword [0x97cfb8]
test bp, bp
mov byte [eax + 0x2204f], 0x30
jne 0x4093b6
test bx, bx
mov word [0x438312], bp
je 0x4093bf
mov word [0x438312], 0xffff
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x24
ret