Function at 0x494952
Capabilities:
Check http status code

Disassembly:
push 0x128
mov eax, 0x5361a2
call fcn.004e49d2
mov edi, ecx
mov dword [ebp - 0xd0], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xf4], ebx
call fcn.00496687
test al, al
jne 0x494a0c
push str.AccountLogout
lea ecx, [ebp - 0x40]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibpsicash.cpp
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.004147d9
inc ebx
lea ecx, [ebp - 0x28]
push str.user_has_insufficient_tokens
mov byte [ebp - 4], bl
call fcn.004147d9
push 0x45c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0xcc]
call fcn.00488424
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00492452
lea ecx, [ebp - 0xc8]
call fcn.0041fcfc
xor edi, edi
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00416ab1
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00416ab1
push edi
lea ecx, [ebp - 0x40]
push ebx
call fcn.00416ab1
jmp 0x494d5a
mov ecx, edi
call fcn.00496ae1
test al, al
jne 0x494aa7
push str.AccountLogout
lea ecx, [ebp - 0x58]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibpsicash.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.004147d9
push str.user_is_not_account
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004147d9
push 0x45f
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
lea ecx, [ebp - 0xcc]
call fcn.00488424
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00492452
lea ecx, [ebp - 0xc8]
call fcn.0041fcfc
push ebx
xor ebx, ebx
lea ecx, [ebp - 0x40]
inc ebx
push ebx
call fcn.00416ab1
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00416ab1
push 0
lea ecx, [ebp - 0x58]
jmp 0x494a01
xor ebx, ebx
lea eax, [ebp - 0xc8]
inc ebx
mov ecx, edi
push ebx
push eax
call fcn.004958a6
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
lea ecx, [ebp - 0xc8]
setne byte [ebp - 0xb9]
call fcn.00424804
lea ecx, [ebp - 0xf0]
call fcn.00488409
xor eax, eax
mov dword [ebp - 4], 8
xor ecx, ecx
lea edi, [ebp - 0x20]
mov byte [ebp - 0x28], cl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], ecx
push str._logout
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.004147d9
push 0x53ce0c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.004147d9
mov edi, dword [ebp - 0xd0]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xc
push eax
push ebx
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00496b30
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.00416ab1
push 0
push ebx
lea ecx, [ebp - 0x70]
call fcn.00416ab1
lea ecx, [ebp - 0xc8]
call fcn.0049b312
cmp byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x11
je 0x494b85
push 0
lea ecx, [ebp - 0x20]
call fcn.004314a9
cmp byte [ebp - 0xf8], 0
jne 0x494ba5
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0043ad37
jmp 0x494c6c
cmp dword [ebp - 0x134], 0xc8
je 0x494c6c
push str.AccountLogout
lea ecx, [ebp - 0xa0]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibpsicash.cpp
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x12
call fcn.004147d9
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x13
push eax
push str.__body:
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0xb8]
push str.logout_request_failed__code:
push eax
call fcn.0048c895
add esp, 0x14
push 0x472
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
push 0
lea ecx, [ebp - 0x50]
call fcn.00488424
push eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x15
call fcn.0043ad37
lea ecx, [ebp - 0x4c]
call fcn.0041fcfc
push 0
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00416ab1
push 0
push ebx
lea ecx, [ebp - 0x88]
call fcn.00416ab1
push 0
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.00416ab1
mov ecx, dword [edi + 0x58]
lea eax, [ebp - 0xe0]
push ebx
push eax
call fcn.004aed01
cmp byte [ebp - 0xe0], 0
mov byte [ebp - 4], 0x16
je 0x494d18
push str.AccountLogout
lea ecx, [ebp - 0x70]
call fcn.004147d9
push str.C:UsersAdamCodeCode_Psiphonpsicashpsicash_lib_androidpsicashlib_srcmaincpppsicashlibpsicash.cpp
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x17
call fcn.004147d9
push str.local_AccountLogout_failed
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x18
call fcn.004147d9
push 0x47a
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004885a2
push eax
mov ecx, esi
call fcn.00492452
xor edi, edi
lea ecx, [ebp - 0xa0]
push edi
push ebx
call fcn.00416ab1
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00416ab1
push edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00416ab1
jmp 0x494d23
mov al, byte [ebp - 0xb9]
mov byte [esi + 0x10], bl
mov byte [esi], al
lea ecx, [ebp - 0xdc]
call fcn.0041fcfc
cmp byte [ebp - 0xf8], 0
je 0x494d44
lea ecx, [ebp - 0x134]
call fcn.0043bbcd
jmp 0x494d4f
lea ecx, [ebp - 0x130]
call fcn.0041fcfc
lea ecx, [ebp - 0xec]
call fcn.0041fcfc
mov eax, esi
call fcn.004e497c
ret 4