Function at 0x46a8bc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x622455
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6b9a04]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6b9a04]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [edi + 0x9c]
mov dword [esp + 0x40], edi
call fcn.005a8253
lea eax, [edi + 0xf0]
xor esi, esi
mov dword [esp + 0x14], eax
call fcn.00414a4b
test eax, eax
jle 0x46a96a
lea eax, [esp + 0x60]
push eax
push esi
push 0x102b
push dword [edi + 0x110]
mov dword [esp + 0x80], 2
mov dword [esp + 0x7c], ebx
call dword [0x63482c]
mov ecx, dword [esp + 0x14]
push 0x641040
push 1
push esi
call fcn.005a2a01
mov eax, dword [esp + 0x14]
inc esi
call fcn.00414a4b
cmp esi, eax
jl 0x46a925
push dword [edi + 0x110]
call dword [0x634790]
xor esi, esi
push ebx
inc esi
push esi
call fcn.00404a7a
pop ecx
pop ecx
cmp eax, ebx
je 0x46a98e
lea ecx, [esp + 0x20]
mov dword [eax], ecx
jmp 0x46a990
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa8], esi
mov dword [esp + 0x1c], ebx
xor esi, esi
call fcn.00414a4b
test eax, eax
jle 0x46aaf5
lea ecx, [esp + 0x68]
call fcn.0040560d
lea ecx, [esp + 0x8c]
call fcn.004073b1
mov ecx, dword [esp + 0x14]
push ebx
push esi
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xb4], 2
call fcn.005a3745
mov byte [esp + 0xa8], 3
push dword [eax]
lea ecx, [esp + 0x6c]
call fcn.0040556d
mov byte [esp + 0xa8], 2
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x14]
or dword [esp + 0x84], 0xffffffff
push esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
call fcn.005ac695
mov dword [esp + 0x64], eax
cmp eax, ebx
je 0x46aa45
inc dword [esp + 0x1c]
mov dword [esp + 0x60], edi
cmp dword [esp + 0x2c], ebx
jne 0x46aa55
mov dword [esp + 0x18], ebx
jmp 0x46aa67
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 0x38
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x38
cdq
pop ecx
idiv ecx
cmp eax, dword [esp + 0x18]
jae 0x46aa91
lea eax, [esp + 0x60]
push eax
push 1
push dword [esp + 0x38]
call fcn.0046b7ce
mov dword [esp + 0x30], eax
jmp 0x46aac0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], eax
jbe 0x46aaa4
call fcn.005c4332
push dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x30]
call fcn.0046b71f
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x8c]
add ecx, 0xfffffff0
call fcn.00405172
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.004055c2
mov eax, dword [esp + 0x14]
inc esi
call fcn.00414a4b
cmp esi, eax
jl 0x46a9be
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059a1b8
mov edi, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
pop ecx
push 0x38
cdq
pop ecx
idiv ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], ebx
test eax, eax
jle 0x46ab74
push dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00455e8a
cmp dword [eax + 4], ebx
je 0x46ab5c
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x28]
call fcn.00455e8a
push eax
push 0x46a736
call fcn.005a4419
mov eax, dword [eax + 0x2c]
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x38
cdq
pop ecx
idiv ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], eax
jl 0x46ab2a
push 0xffffffffffffffff
push 1
push dword [esp + 0x40]
push dword [esp + 0x28]
call dword [0x634434]
push dword [esp + 0x38]
call fcn.0059a1ad
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
pop ecx
push 0x38
cdq
pop ecx
idiv ecx
xor edi, edi
mov dword [esp + 0x1c], edi
test eax, eax
jle 0x46af9d
push edi
lea esi, [esp + 0x24]
call fcn.00455e8a
mov eax, dword [eax + 0x30]
push edi
mov dword [esp + 0x3c], eax
call fcn.00455e8a
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x34]
cmp ecx, ebx
je 0x46ad8a
cmp ecx, 4
jl 0x46ad45
cmp ecx, 6
jle 0x46ad00
cmp ecx, 7
je 0x46acbb
cmp ecx, 8
je 0x46abfe
cmp ecx, 0x3e8
jne 0x46ad45
xor esi, esi
inc esi
cmp eax, esi
jne 0x46ac45
push ebx
push ebx
lea eax, [esp + 0x58]
push 0x2742
push eax
call fcn.00401181
push eax
call fcn.0052bb08
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 4
mov eax, dword [eax]
push eax
push esi
push esi
push edi
call fcn.005a312e
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x50]
jmp 0x46ac8c
cmp eax, 2
jne 0x46af72
push ebx
push ebx
lea eax, [esp + 0x48]
push 0x2743
push eax
call fcn.00401181
push eax
call fcn.0052bb08
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 5
mov eax, dword [eax]
push eax
push esi
push esi
push edi
call fcn.005a312e
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.00405172
push dword [esp + 0x14]
call fcn.004c7587
pop ecx
cmp eax, 0xffffffff
jne 0x46af72
mov eax, edi
mov edi, dword [esp + 0x14]
call fcn.004c78cf
mov edi, dword [esp + 0x1c]
jmp 0x46af72
push ebx
push ebx
lea eax, [esp + 0x50]
push 0x2741
push eax
call fcn.00401181
push eax
call fcn.0052bb08
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 7
mov eax, dword [eax]
push eax
push 1
push 1
push edi
call fcn.005a312e
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x48]
jmp 0x46af53
push ebx
push ebx
lea eax, [esp + 0x54]
push 0x2740
push eax
call fcn.00401181
push eax
call fcn.0052bb08
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 6
mov eax, dword [eax]
push eax
push 1
push 1
push edi
call fcn.005a312e
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x4c]
jmp 0x46af53
push ebx
push ebx
lea eax, [esp + 0x5c]
push 0x273f
push eax
call fcn.00401181
push eax
call fcn.0052bb08
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 8
mov eax, dword [eax]
push eax
push 1
push 1
push edi
call fcn.005a312e
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x54]
jmp 0x46af53
push edi
lea esi, [esp + 0x24]
call fcn.00455e8a
push ebx
push ebx
cmp dword [eax + 4], ebx
je 0x46af5d
lea eax, [esp + 0x20]
push 0xe
push eax
call fcn.00401181
push eax
call fcn.0052bb08
push edi
mov byte [esp + 0xac], 9
call fcn.00455e8a
cmp dword [eax + 0x24], ebx
jne 0x46add2
push str.__No_SSL_
lea ecx, [esp + 0x1c]
call fcn.0040bdd3
push edi
lea esi, [esp + 0x24]
call fcn.00455e8a
cmp dword [eax + 0x24], 1
jne 0x46ae34
push edi
call fcn.00455e8a
push dword [eax + 0x28]
mov ecx, 0x400
push str.__SSL:__d_
lea edx, [esp + 0x68]
call fcn.0054aa9f
pop ecx
pop ecx
mov byte [esp + 0xa8], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x46ae13
mov eax, dword [eax + 4]
jmp 0x46ae16
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bdd3
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 9
call fcn.004055c2
push edi
lea esi, [esp + 0x24]
call fcn.00455e8a
cmp dword [eax + 0x24], 2
jne 0x46ae96
push edi
call fcn.00455e8a
push dword [eax + 0x28]
mov ecx, 0x400
push str.__TLS:__d_
lea edx, [esp + 0x68]
call fcn.0054aa9f
pop ecx
pop ecx
mov byte [esp + 0xa8], 0xb
cmp dword [eax + 0x18], 0x10
jb 0x46ae75
mov eax, dword [eax + 4]
jmp 0x46ae78
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bdd3
push ebx
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 9
call fcn.004055c2
push edi
lea esi, [esp + 0x24]
call fcn.00455e8a
add eax, 0x2c
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x46af13
push edi
call fcn.00455e8a
add eax, 0x2c
push eax
lea eax, [esp + 0x5c]
push str.__Login:
push eax
call fcn.004079af
add esp, 0xc
push 0x64b620
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xb4], 0xc
call fcn.0040b7c6
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0xd
call fcn.00428d94
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.00405172
mov byte [esp + 0xa8], 9
mov ecx, dword [esp + 0x58]
add ecx, 0xfffffff0
call fcn.00405172
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x28]
push 1
push 1
push edi
call fcn.005a312e
push dword [esp + 0x14]
call fcn.004c7587
pop ecx
cmp eax, 0xffffffff
jne 0x46af47
mov eax, edi
mov edi, dword [esp + 0x14]
call fcn.004c78cf
mov edi, dword [esp + 0x1c]
mov byte [esp + 0xa8], 1
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00405172
jmp 0x46af72
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push 0x641040
push 1
push 1
push edi
call fcn.005a312e
mov eax, dword [esp + 0x3c]
push dword [eax + 0x110]
call dword [0x634790]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x38
cdq
pop ecx
idiv ecx
inc edi
mov dword [esp + 0x1c], edi
cmp edi, eax
jl 0x46abac
push dword [esp + 0x3c]
call fcn.0046b518
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x46afca
mov edi, dword [esp + 0x30]
jmp 0x46afbc
call fcn.0046b004
add esi, 0x38
cmp esi, edi
jne 0x46afb4
push dword [esp + 0x2c]
call fcn.0059a1ad
pop ecx
push dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0059a1ad
pop ecx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005c30b2
mov esp, ebp
pop ebp
ret