Function at 0x4e0180
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x5fdab0], 0
jle 0x4e019c
mov eax, dword [0x5fdab0]
cmp eax, dword [0x5fdaac]
jle 0x4e01aa
cmp dword [0x5fd9d8], 0x13
je 0x4e01aa
jmp 0x4e07e1
cmp dword [0x5fd9d8], 0xa
je 0x4e01db
cmp dword [0x5fd9d8], 0xb
je 0x4e01db
cmp dword [0x5fd9d8], 0xc
je 0x4e01db
cmp dword [0x5fd9d8], 0xe
je 0x4e01db
cmp dword [0x5fd9d8], 0x13
jne 0x4e0526
mov ecx, dword [0x5fdad8]
imul ecx, ecx, 9
mov edx, dword [0x5fdad4]
movsx eax, byte [ecx + edx + 0x663b1d]
sub eax, 0x30
mov dword [ebp - 0x18], eax
mov ecx, dword [0x5fdad8]
imul ecx, ecx, 9
mov edx, dword [0x5fdad4]
movsx eax, byte [ecx + edx + 0x663b18]
sub eax, 0x30
mov dword [ebp - 0x14], eax
mov ecx, dword [0x5fdad8]
imul ecx, ecx, 9
mov edx, dword [0x5fdad4]
movsx eax, byte [ecx + edx + 0x663b19]
sub eax, 0x30
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.004d7d60
add esp, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*8 + 0x664420]
add eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx*8 + 0x664424]
add edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
movsx eax, word [0x600434]
test eax, eax
je 0x4e028b
mov ecx, dword [ebp - 8]
shl ecx, 1
push ecx
call fcn.0049d520
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
shl edx, 1
push edx
call fcn.0049d520
add esp, 4
mov dword [ebp - 4], eax
cmp dword [0x5fd9f0], 6
jne 0x4e02ac
mov eax, dword [ebp - 0x18]
sub eax, 0xb
push eax
mov ecx, dword [0x5fdab0]
push ecx
call fcn.004c26f0
add esp, 8
jmp 0x4e02be
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x5fdab0]
push eax
call fcn.004c26f0
add esp, 8
cmp dword [ebp - 0x18], 0xf
jge 0x4e02d6
mov ecx, dword [ebp - 8]
sub ecx, 0xe
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [ebp - 4], edx
cmp dword [0x5fd9d8], 0xb
jne 0x4e03db
mov dword [ebp - 0x1c], 0xfd
mov dword [ebp - 0x10], 0xec
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x5fdab0]
push edx
call fcn.004dc690
add esp, 0xc
movsx eax, word [0x600434]
test eax, eax
je 0x4e0351
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
movsx edx, word [0x575690]
cmp ecx, edx
jle 0x4e0331
movsx eax, word [0x575690]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x1c]
movsx edx, word [0x57568c]
cmp ecx, edx
jle 0x4e034f
movsx eax, word [0x57568c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x4e0382
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
cmp ecx, 0x193
jle 0x4e036a
mov edx, 0x193
sub edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
cmp eax, 0x27b
jle 0x4e0382
mov ecx, 0x27b
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
cmp dword [0x5fd8dc], 1
jne 0x4e0394
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0c80
add esp, 0x14
mov dword [0x5fdab4], 1
mov ecx, dword [ebp - 8]
mov dword [0x5fdab8], ecx
mov edx, dword [ebp - 4]
mov dword [0x5fdabc], edx
mov eax, dword [ebp - 0x1c]
mov dword [0x5fdac4], eax
mov ecx, dword [ebp - 0x10]
mov dword [0x5fdac0], ecx
cmp dword [0x5fd9d8], 0xe
jne 0x4e0496
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [0x5fdab0]
push ecx
call fcn.004dc690
add esp, 0xc
mov dword [ebp - 0xc], 1
jmp 0x4e0411
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 3
jg 0x4e0491
cmp dword [0x5fdbac], 0
jne 0x4e0491
cmp dword [0x658f10], 0
jne 0x4e0491
push 1
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004d0c80
add esp, 0x14
mov ecx, dword [0x5fdab0]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b8a90
add esp, 0xc
push 0xf
push 4
call fcn.004bd160
add esp, 8
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d1100
add esp, 0x14
push 0xf
push 3
call fcn.004bd160
add esp, 8
jmp 0x4e0408
jmp 0x4e0521
cmp dword [0x5fd9d8], 0xc
jne 0x4e04d9
cmp dword [0x5fdab4], 1
jne 0x4e04d7
push 0
mov edx, dword [0x5fdac0]
push edx
mov eax, dword [0x5fdac4]
push eax
mov ecx, dword [0x5fdabc]
push ecx
mov edx, dword [0x5fdab8]
push edx
call fcn.004d1100
add esp, 0x14
mov dword [0x5fdab4], 0
jmp 0x4e0521
cmp dword [0x5fd9d8], 0x13
jne 0x4e0502
push 1
mov eax, dword [0x5fdab0]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x3e8
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004c0e30
add esp, 0x10
jmp 0x4e0521
call fcn.004a6740
test eax, eax
jne 0x4e0521
mov eax, dword [0x5fdab0]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004b8790
add esp, 0xc
jmp 0x4e07ce
cmp dword [0x5fd9d8], 8
jne 0x4e0630
cmp dword [0x5fdc14], 1
jne 0x4e0560
movsx eax, byte [0x5fd8cf]
cmp eax, 0x31
je 0x4e0560
mov ecx, dword [0x5fdad8]
imul ecx, ecx, 9
movsx edx, byte [ecx + 0x663b3b]
sub edx, 0x30
mov dword [ebp - 0x18], edx
jmp 0x4e0575
mov eax, dword [0x5fdad8]
imul eax, eax, 9
movsx ecx, byte [eax + 0x663b29]
sub ecx, 0x30
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004d7d60
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax*8 + 0x664420]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*8 + 0x664424]
mov dword [ebp - 4], eax
cmp dword [0x5fd9f0], 6
jne 0x4e05bc
mov ecx, dword [ebp - 0x18]
sub ecx, 0xb
push ecx
mov edx, dword [0x5fdab0]
push edx
call fcn.004c26f0
add esp, 8
jmp 0x4e05cf
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x5fdab0]
push ecx
call fcn.004c26f0
add esp, 8
cmp dword [ebp - 0x18], 0xf
jge 0x4e05e7
mov edx, dword [ebp - 8]
sub edx, 0xe
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
movsx ecx, word [0x600434]
test ecx, ecx
je 0x4e0614
mov edx, dword [ebp - 8]
shl edx, 1
push edx
call fcn.0049d520
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shl eax, 1
push eax
call fcn.0049d520
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [0x5fdab0]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b8790
add esp, 0xc
jmp 0x4e07ce
mov ecx, dword [0x5fdab0]
mov edx, dword [ecx*4 + 0x665960]
mov dword [ebp - 8], edx
mov eax, dword [0x5fdab0]
mov ecx, dword [eax*4 + 0x712de0]
mov dword [ebp - 4], ecx
cmp dword [0x5fd9f0], 6
jne 0x4e066a
mov edx, dword [ebp - 8]
add edx, 0x3f
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 0x3b
mov dword [ebp - 4], eax
movsx ecx, word [0x600434]
test ecx, ecx
je 0x4e069b
mov edx, dword [ebp - 8]
lea eax, [edx + edx - 6]
push eax
call fcn.0049d520
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
lea edx, [ecx + ecx - 6]
push edx
call fcn.0049d520
add esp, 4
mov dword [ebp - 4], eax
cmp dword [0x5fd9d8], 7
jne 0x4e074a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x5fdab0]
push edx
call fcn.004dc690
add esp, 0xc
mov dword [ebp - 0xc], 1
jmp 0x4e06d1
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x4e0745
cmp dword [0x5fdbac], 0
jne 0x4e0745
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004d0c80
add esp, 0x14
mov edx, dword [0x5fdab0]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004b8a90
add esp, 0xc
push 0xf
push 4
call fcn.004bd160
add esp, 8
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004d1100
add esp, 0x14
push 0xf
push 4
call fcn.004bd160
add esp, 8
jmp 0x4e06c8
jmp 0x4e07ce
cmp dword [0x5fd9f0], 6
jne 0x4e0776
mov eax, dword [0x5fdab0]
mov ecx, dword [eax*4 + 0x662ce0]
movsx edx, byte [ecx]
sub edx, 0x30
push edx
mov eax, dword [0x5fdab0]
push eax
call fcn.004c26f0
add esp, 8
jmp 0x4e0799
mov ecx, dword [0x5fdab0]
mov edx, dword [ecx*4 + 0x662ce0]
movsx eax, byte [edx]
sub eax, 0x30
push eax
mov ecx, dword [0x5fdab0]
push ecx
call fcn.004c26f0
add esp, 8
mov edx, dword [0x5fdab0]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004b8790
add esp, 0xc
cmp dword [0x5fd9d8], 2
jne 0x4e07ce
push 0x140
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004b8a90
add esp, 0xc
cmp dword [0x5fd9f0], 4
jne 0x4e07e1
mov dword [0x5fd918], 1
mov esp, ebp
pop ebp
ret