Function at 0x496020
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5a7282
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
mov eax, dword [esp + 0x26c]
push ebx
push ebp
push esi
push edi
inc eax
mov edi, ecx
cmp eax, 0xa
mov dword [esp + 0x30], edi
mov dword [esp + 0x27c], eax
jle 0x49609d
lea eax, [esp + 0x10]
push 0xc9ba
push eax
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push 0x30
push 0
push eax
mov ecx, edi
mov dword [esp + 0x27c], 0
call fcn.005737b9
lea ecx, [esp + 0x10]
mov dword [esp + 0x270], 0xffffffff
call fcn.00575ae8
jmp 0x4967f6
mov ecx, dword [esp + 0x278]
push ecx
lea ecx, [esp + 0x18]
call fcn.00529140
mov ebp, 1
push 0
push str._ASSCRIPT_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x278], ebp
call fcn.00529ec0
cmp eax, 0xffffffff
je 0x49610e
add eax, 0xa
lea edx, [esp + 0x54]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00477d20
mov ecx, eax
mov byte [esp + 0x270], 2
call fcn.0052a050
push eax
mov ecx, edi
call fcn.004a7ba0
lea ecx, [esp + 0x54]
mov byte [esp + 0x270], 1
call fcn.00529210
jmp 0x4967e2
push 0
push str._ASAUTOCQ_
lea ecx, [esp + 0x1c]
call fcn.00529ec0
cmp eax, 0xffffffff
je 0x4961fe
lea esi, [eax + 0xa]
lea eax, [esp + 0x54]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00477d20
push 0
push str._AUTOCQ_
mov ecx, eax
mov byte [esp + 0x278], 3
call fcn.00529ec0
cmp eax, 0xffffffff
jne 0x496198
lea ecx, [esp + 0x70]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00477d20
push 0
push str._ASAUTOCQ_
mov ecx, eax
mov byte [esp + 0x278], 4
call fcn.00529ec0
cmp eax, 0xffffffff
lea ecx, [esp + 0x70]
sete bl
mov byte [esp + 0x270], 3
call fcn.00529210
test bl, bl
je 0x496198
mov bl, 1
jmp 0x49619a
xor bl, bl
lea ecx, [esp + 0x54]
mov byte [esp + 0x270], 1
call fcn.00529210
test bl, bl
je 0x4967e2
lea edx, [esp + 0x70]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00477d20
push eax
lea ecx, [edi + 0x8cf4]
mov byte [esp + 0x274], 5
call fcn.00529370
lea ecx, [esp + 0x70]
mov byte [esp + 0x270], 1
call fcn.00529210
mov ecx, edi
mov dword [edi + 0x84cc], ebp
call fcn.00473f60
call fcn.004e1350
jmp 0x4967e2
push 0
push 0x60dff8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0
call fcn.00529ec0
cmp eax, 0xffffffff
je 0x49621f
mov dword [esp + 0x10], ebp
push 0
push 0x3c
lea ecx, [esp + 0x1c]
call fcn.00529f70
mov esi, eax
cmp esi, 0xffffffff
je 0x4967c2
test esi, esi
je 0x4962b2
lea ecx, [esp + 0xa8]
call fcn.00529100
lea eax, [esp + 0x118]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278], 6
call fcn.00529c60
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x274], 7
call fcn.00529370
lea ecx, [esp + 0x118]
mov byte [esp + 0x270], 6
call fcn.00529210
lea ecx, [esp + 0xa8]
call fcn.0052a040
push eax
mov ecx, edi
call fcn.00495ce0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x270], 1
call fcn.00529210
inc esi
lea ecx, [esp + 0x1f8]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00477d20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 8
call fcn.00529370
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x270], 1
call fcn.00529210
lea ecx, [esp + 0x14]
call fcn.0052a030
test eax, eax
je 0x496325
push 0
lea ecx, [esp + 0x18]
call fcn.00529d90
push 0
lea ecx, [esp + 0x18]
call fcn.00529d90
cmp ax, 0x20
ja 0x496325
push 0x60e1c8
mov ecx, edi
call fcn.00495ce0
jmp 0x49621f
push 0
push 0x3e
lea ecx, [esp + 0x1c]
call fcn.00529f70
mov esi, eax
cmp esi, 0xffffffff
je 0x4967b6
push 0
push 0x3c
lea ecx, [esp + 0x1c]
or ebp, 0xffffffff
call fcn.00529f70
cmp eax, esi
jge 0x49670a
test eax, eax
jl 0x49636c
mov ebp, eax
inc eax
push eax
push 0x3c
lea ecx, [esp + 0x1c]
call fcn.00529f70
cmp eax, esi
jl 0x496355
test ebp, ebp
jl 0x49670a
lea ecx, [esp + 0x8c]
call fcn.00529100
mov edx, esi
lea eax, [ebp + 1]
sub edx, ebp
lea ecx, [esp + 0xc4]
dec edx
mov byte [esp + 0x270], 9
push edx
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00529c90
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x274], 0xa
call fcn.00529370
lea ecx, [esp + 0xc4]
mov byte [esp + 0x270], 9
call fcn.00529210
lea ecx, [esp + 0x54]
call fcn.00529100
lea ecx, [esp + 0x38]
mov byte [esp + 0x270], 0xb
call fcn.00529100
lea edx, [esp + 0x38]
push 0
lea eax, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x27c], 0xc
call fcn.0052a050
push eax
mov ecx, edi
call fcn.0049fd70
test eax, eax
jne 0x4964a8
lea ecx, [esp + 0x38]
lea edx, [esp + 0x8c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.005291a0
mov ecx, edi
call fcn.00496820
test eax, eax
jne 0x4964a8
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x150]
push eax
push 0x3c
push ecx
call fcn.00529be0
push 0x3e
lea edx, [esp + 0x1d0]
push eax
push edx
mov byte [esp + 0x288], 0xd
call fcn.00529b60
add esp, 0x18
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x274], 0xe
call fcn.00529370
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x270], 0xd
call fcn.00529210
lea ecx, [esp + 0x150]
mov byte [esp + 0x270], 0xc
call fcn.00529210
lea ebx, [esi + 1]
lea ecx, [esp + 0x14]
push ebx
push 0x3e
call fcn.00529f70
mov edi, eax
cmp edi, 0xffffffff
jne 0x496595
mov esi, dword [esp + 0x30]
push 0x60e1c8
mov ecx, esi
call fcn.00495ce0
lea eax, [esp + 0x230]
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00529c60
mov ecx, eax
mov byte [esp + 0x270], 0xf
call fcn.0052a040
push eax
mov ecx, esi
call fcn.00495ce0
lea ecx, [esp + 0x230]
mov byte [esp + 0x270], 0xc
call fcn.00529210
lea ecx, [esp + 0x38]
call fcn.0052a040
push eax
mov ecx, esi
call fcn.00495ce0
lea ecx, [esp + 0x188]
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00477d20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x10
call fcn.00529370
lea ecx, [esp + 0x188]
mov byte [esp + 0x270], 0xc
call fcn.00529210
lea ecx, [esp + 0x38]
mov byte [esp + 0x270], 0xb
call fcn.00529210
lea ecx, [esp + 0x54]
mov byte [esp + 0x270], 9
call fcn.00529210
lea ecx, [esp + 0x8c]
mov byte [esp + 0x270], 1
call fcn.00529210
mov edi, esi
jmp 0x49621f
lea edx, [esp + 0x1dc]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.00477d20
mov dword [esp + 0x34], eax
sub edi, esi
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x270], 0x11
lea eax, [edi - 1]
push eax
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.00529c90
mov esi, eax
lea edx, [esp + 0x16c]
push ebp
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278], 0x12
call fcn.00529c60
lea ecx, [esp + 0x38]
lea edx, [esp + 0x134]
push ecx
push eax
push edx
mov byte [esp + 0x27c], 0x13
call fcn.005299e0
push esi
push eax
lea eax, [esp + 0x110]
mov byte [esp + 0x284], 0x14
push eax
call fcn.005299e0
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0xf8]
push ecx
push eax
push edx
mov byte [esp + 0x294], 0x15
call fcn.005299e0
add esp, 0x24
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x16
call fcn.00529370
lea ecx, [esp + 0xe0]
mov byte [esp + 0x270], 0x15
call fcn.00529210
lea ecx, [esp + 0xfc]
mov byte [esp + 0x270], 0x14
call fcn.00529210
lea ecx, [esp + 0x134]
mov byte [esp + 0x270], 0x13
call fcn.00529210
lea ecx, [esp + 0x16c]
mov byte [esp + 0x270], 0x12
call fcn.00529210
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x270], 0x11
call fcn.00529210
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x270], 0xc
call fcn.00529210
lea ecx, [esp + 0x38]
call fcn.0052a030
add eax, edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x270], 0xb
lea esi, [eax + ebp - 1]
call fcn.00529210
lea ecx, [esp + 0x54]
mov byte [esp + 0x270], 9
call fcn.00529210
lea ecx, [esp + 0x8c]
mov byte [esp + 0x270], 1
call fcn.00529210
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x70]
call fcn.00529100
lea eax, [esp + 0x214]
push esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x278], 0x17
call fcn.00529c60
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x274], 0x18
call fcn.00529370
lea ecx, [esp + 0x214]
mov byte [esp + 0x270], 0x17
call fcn.00529210
mov ecx, dword [esp + 0x27c]
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, edi
call fcn.00499e70
inc esi
lea eax, [esp + 0x24c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00477d20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 0x19
call fcn.00529370
lea ecx, [esp + 0x24c]
mov byte [esp + 0x270], 0x17
call fcn.00529210
lea ecx, [esp + 0x70]
mov byte [esp + 0x270], 1
call fcn.00529210
jmp 0x49621f
push 0x60e1c8
mov ecx, edi
call fcn.00495ce0
lea ecx, [esp + 0x14]
call fcn.0052a040
push eax
mov ecx, edi
call fcn.00495ce0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4967e2
mov ecx, edi
call fcn.0046d760
lea ecx, [esp + 0x14]
mov dword [esp + 0x270], 0xffffffff
call fcn.00529210
mov ecx, dword [esp + 0x268]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x264
ret 8