Function at 0x45b010
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1ea5
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], esi
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x45b06c
mov eax, dword [esi]
push ecx
push 4
mov ecx, esi
call dword [eax + 0x7c]
jmp 0x45b4d7
mov eax, dword [edi + 0x34]
cmp eax, 0x190
ja 0x45b286
je case.0x45b29b.404
cmp eax, 0xc8
jne case.0x45b29b.402
and dword [ebp - 0x294], 0xfffffe00
mov dword [ebp - 4], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.0043b6c0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406430
push 1
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x284], 5
push eax
lea ecx, [ebp - 0xb8]
call fcn.0047df10
test al, al
je 0x45b11c
push dword [0x523640]
lea ecx, [ebp - 0x29c]
call fcn.00440fb0
test al, al
jne 0x45b11c
mov bl, 1
jmp 0x45b11e
xor bl, bl
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.00407530
test bl, bl
je 0x45b1f9
lea ecx, [ebp - 0x278]
call fcn.00439cf0
cmp byte [ebp - 0x294], 7
mov byte [ebp - 4], 5
jne 0x45b1a7
push 0x4f9881
push str.token
lea ecx, [ebp - 0x29c]
call fcn.0047c850
test eax, eax
je 0x45b1a7
push 0x4f9881
push str.token
lea ecx, [ebp - 0x29c]
call fcn.0047c850
test eax, eax
jne 0x45b184
mov eax, dword [0x523644]
cmp byte [eax + 8], 4
jne 0x45b1a7
push str.token
lea ecx, [ebp - 0x29c]
call fcn.00441740
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00478470
jmp 0x45b1b9
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x250]
call fcn.00419680
lea ecx, [ebp - 0x2c]
call fcn.00407530
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x260], eax
call fcn.00455490
push 0x60
lea ecx, [ebp - 0x278]
push ecx
mov ecx, eax
call fcn.00444cd0
lea ecx, [ebp - 0x278]
call fcn.0043dd10
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], 0
mov eax, dword [esi]
call dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00407580
lea ecx, [ebp - 0xb8]
call fcn.00407c20
lea ecx, [ebp - 0x29c]
call fcn.00440470
jmp 0x45b4d7
sub eax, 0x191
cmp eax, 0x63
ja case.0x45b29b.402
movzx eax, byte [eax + 0x45b50c]
jmp dword [eax*4 + 0x45b4f8]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 9
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0010001
jmp 0x45b4c8
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp dword [esi + 0x3c], 3
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jne 0x45b302
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0xa
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0010007
jmp 0x45b4c8
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0xb
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0000001
jmp 0x45b4c8
mov bl, 1
mov dword [ebp - 0x1c], 0
xor eax, eax
mov byte [ebp - 0x279], bl
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
and dword [ebp - 0x294], 0xfffffe00
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
call fcn.0043b6c0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x44]
call fcn.00406430
push 1
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x284], 0x12
push eax
lea ecx, [ebp - 0xb8]
call fcn.0047df10
test al, al
je 0x45b3bc
push dword [0x523640]
lea ecx, [ebp - 0x29c]
call fcn.00440fb0
test al, al
jne 0x45b3bc
mov bh, bl
jmp 0x45b3be
xor bh, bh
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x10
call fcn.00407530
test bh, bh
je 0x45b41a
push 0x4fa332
push str.error_code
lea ecx, [ebp - 0x29c]
call fcn.0047c850
test eax, eax
lea eax, [ebp - 0x29c]
push str.m_server
push eax
lea eax, [ebp - 0x44]
sete bl
push eax
mov byte [ebp - 0x279], bl
call fcn.004527c0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00408330
lea ecx, [ebp - 0x44]
call fcn.00407580
lea ecx, [ebp - 0xb8]
call fcn.00407c20
lea ecx, [ebp - 0x29c]
call fcn.00440470
jmp 0x45b444
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
push eax
push ecx
mov eax, esp
mov ecx, esi
test bl, bl
jne 0x45b46e
cmp dword [esi + 0x3c], 3
jne 0x45b466
mov dword [eax], 0xc0010007
jmp 0x45b4ca
mov dword [eax], 0xc000000b
jmp 0x45b4ca
mov dword [eax], 0xc0010006
jmp 0x45b4ca
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x13
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0010002
jmp 0x45b4c8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x14
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0010006
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00407580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret 4