Function at 0x418620
Capabilities:
Check http status code

Disassembly:
sub esp, 0x7c
mov ecx, dword [0x97cfb8]
xor eax, eax
mov dword [esp + 0x14], eax
push ebx
push ebp
mov dword [esp + 0x20], eax
or ebp, 0xffffffff
mov word [esp + 0x24], ax
mov dword [0xa25068], ebp
mov dx, word [ecx + 0x22068]
lea eax, [esp + 0x1c]
push esi
push eax
mov word [esp + 0x24], dx
call fcn.004196ac
mov edx, dword [0x97cfb8]
xor ecx, ecx
mov dword [esp + 0x18], ecx
add edx, 0x22051
mov dword [esp + 0x1c], ecx
mov ebx, eax
mov word [esp + 0x20], cx
mov ax, word [edx]
mov word [esp + 0x18], ax
mov dword [esp + 0x10], ebp
mov cl, byte [edx + 2]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1e], cl
call fcn.004196ac
mov esi, eax
add esp, 8
cmp si, 1
je 0x418813
cmp si, 2
je 0x418813
cmp si, 3
je 0x418813
cmp si, 4
je 0x418813
cmp si, 5
je 0x418813
cmp si, 6
je 0x418813
cmp si, 7
je 0x418813
cmp si, 8
je 0x418813
cmp si, 9
je 0x418813
cmp si, 0xa
je 0x418813
cmp si, 0xb
je 0x418813
cmp si, 0xc
je 0x418813
cmp si, 0xd
je 0x418813
cmp si, 0xe
je 0x418813
cmp si, 0xf
je 0x418813
cmp si, 0x11
je 0x418813
cmp si, 0x12
je 0x418813
cmp si, 0x13
je 0x418813
cmp si, 0x14
je 0x418813
cmp si, 0x15
je 0x418813
cmp si, 0x16
je 0x418813
cmp si, 0x17
je 0x418813
cmp si, 0x19
je 0x418813
cmp si, 0x1a
je 0x418813
cmp si, 0x1b
je 0x418813
cmp si, 0x1d
je 0x418813
cmp si, 0x21
je 0x418813
cmp si, 0x22
je 0x418813
cmp si, 0x23
je 0x418813
cmp si, 0x24
je 0x418813
cmp si, 0x28
je 0x418813
cmp si, 0x29
je 0x418813
cmp si, 0x2a
je 0x418813
cmp si, 0x2c
je 0x418813
cmp si, 0x2d
je 0x418813
cmp si, 0x51
je 0x418813
cmp si, 0x52
je 0x418813
cmp si, 0x53
je 0x418813
cmp si, 0x54
je 0x418813
cmp si, 0x55
je 0x418813
cmp si, 0x56
je 0x418813
cmp si, 0x57
je 0x418813
cmp si, 0xc8
jge 0x418813
pop esi
pop ebp
mov dword [0xa25068], 0
xor eax, eax
pop ebx
add esp, 0x7c
ret
movsx eax, bx
push edi
xor edi, edi
lea ebx, [eax + eax*4]
shl ebx, 2
xor eax, eax
mov ecx, dword [0x97cfb8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
movsx eax, di
add eax, ebx
lea edx, [ecx + eax*2]
lea eax, [eax + edx + 0x21ad0]
mov cx, word [eax]
mov word [esp + 0x18], cx
mov dl, byte [eax + 2]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1e], dl
call fcn.004196ac
add esp, 4
cmp si, ax
je 0x41886d
inc edi
cmp di, 0x14
jl 0x41881f
jmp 0x418875
mov dword [esp + 0x10], 0
mov eax, dword [0x97cfb8]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov word [esp + 0x20], cx
mov edx, dword [eax + 0x22049]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ecx
mov word [esp + 0x38], cx
mov edx, dword [eax + 0x22041]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], cx
mov edx, dword [eax + 0x22045]
lea eax, [esp + 0x18]
mov dword [esp + 0x24], edx
push eax
call fcn.004196ac
lea ecx, [esp + 0x34]
mov esi, eax
push ecx
call fcn.004196ac
lea edx, [esp + 0x2c]
mov ebx, eax
push edx
call fcn.004196ac
mov dword [esp + 0x20], eax
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [0x97cfb8]
lea edx, [esp + 0x48]
push edx
mov cl, byte [eax + 0x22034]
mov byte [esp + 0x4c], cl
call fcn.004196ac
mov ecx, dword [0x97cfb0]
add esp, 0x10
mov edx, dword [ecx + 0x3dbb4]
pop edi
test edx, edx
jne 0x418928
cmp ax, 1
jne 0x418928
dec esi
movsx eax, si
movsx edx, bx
inc eax
cmp edx, eax
jg 0x41893e
movsx ecx, word [esp + 0x10]
cmp eax, ecx
jg 0x41893e
xor ebp, ebp
mov eax, dword [0x97cfb8]
mov cl, 0x31
cmp byte [eax + 0x221a9], cl
je 0x418955
cmp byte [eax + 0x221aa], cl
jne 0x418958
or ebp, 0xffffffff
cmp word [esp + 0xc], 0
jne 0x41896f
test bp, bp
mov dword [0xa25068], 0
je 0x418979
mov dword [0xa25068], 0xffffffff
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7c
ret