Function at 0x459100
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfb75
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x51cbc0]
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 - 0x26c], 0
mov dword [ebp - 0x268], esi
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x45915c
mov eax, dword [esi]
push ecx
push 4
mov ecx, esi
call dword [eax + 0x7c]
jmp 0x4595c7
mov eax, dword [edi + 0x34]
cmp eax, 0x190
ja 0x459376
je case.0x45938b.404
cmp eax, 0xc8
jne case.0x45938b.402
and dword [ebp - 0x27c], 0xfffffe00
mov dword [ebp - 4], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 2
call fcn.00439710
lea eax, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405e90
push 1
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x26c], 5
push eax
lea ecx, [ebp - 0xb8]
call fcn.0047c0a0
test al, al
je 0x45920c
push dword [0x521434]
lea ecx, [ebp - 0x284]
call fcn.0043f000
test al, al
jne 0x45920c
mov bl, 1
jmp 0x45920e
xor bl, bl
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 3
call fcn.00406f90
test bl, bl
je 0x4592e9
lea ecx, [ebp - 0x260]
call fcn.00437d60
cmp byte [ebp - 0x27c], 7
mov byte [ebp - 4], 5
jne 0x459297
push 0x4f7671
push str.token
lea ecx, [ebp - 0x284]
call fcn.0047a9e0
test eax, eax
je 0x459297
push 0x4f7671
push str.token
lea ecx, [ebp - 0x284]
call fcn.0047a9e0
test eax, eax
jne 0x459274
mov eax, dword [0x521438]
cmp byte [eax + 8], 4
jne 0x459297
push str.token
lea ecx, [ebp - 0x284]
call fcn.0043f790
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.004765f0
jmp 0x4592a9
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00417720
lea ecx, [ebp - 0x2c]
call fcn.00406f90
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x248], eax
call fcn.00453590
push 0x60
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.00442e00
lea ecx, [ebp - 0x260]
call fcn.0043bd60
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.00406fe0
lea ecx, [ebp - 0xb8]
call fcn.004075b0
lea ecx, [ebp - 0x284]
call fcn.0043e4c0
jmp 0x4595c7
sub eax, 0x191
cmp eax, 0x63
ja case.0x45938b.402
movzx eax, byte [eax + 0x4595fc]
jmp dword [eax*4 + 0x4595e8]
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 0x4595b8
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp dword [esi + 0x3c], 3
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jne 0x4593f2
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0xa
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0010007
jmp 0x4595b8
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0xb
push eax
push ecx
mov eax, esp
mov dword [eax], 0xc0000001
jmp 0x4595b8
mov bl, 1
mov dword [ebp - 0x1c], 0
xor eax, eax
mov byte [ebp - 0x261], bl
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
and dword [ebp - 0x27c], 0xfffffe00
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
call fcn.00439710
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x44]
call fcn.00405e90
push 1
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x26c], 0x12
push eax
lea ecx, [ebp - 0xb8]
call fcn.0047c0a0
test al, al
je 0x4594ac
push dword [0x521434]
lea ecx, [ebp - 0x284]
call fcn.0043f000
test al, al
jne 0x4594ac
mov bh, bl
jmp 0x4594ae
xor bh, bh
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0x10
call fcn.00406f90
test bh, bh
je 0x45950a
push 0x4f811a
push str.error_code
lea ecx, [ebp - 0x284]
call fcn.0047a9e0
test eax, eax
lea eax, [ebp - 0x284]
push str.m_server
push eax
lea eax, [ebp - 0x44]
sete bl
push eax
mov byte [ebp - 0x261], bl
call fcn.004508c0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00407cc0
lea ecx, [ebp - 0x44]
call fcn.00406fe0
lea ecx, [ebp - 0xb8]
call fcn.004075b0
lea ecx, [ebp - 0x284]
call fcn.0043e4c0
jmp 0x459534
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
push eax
push ecx
mov eax, esp
mov ecx, esi
test bl, bl
jne 0x45955e
cmp dword [esi + 0x3c], 3
jne 0x459556
mov dword [eax], 0xc0010007
jmp 0x4595ba
mov dword [eax], 0xc000000b
jmp 0x4595ba
mov dword [eax], 0xc0010006
jmp 0x4595ba
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 0x4595b8
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.00406fe0
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.004d55dc
mov esp, ebp
pop ebp
ret 4