Function at 0x463fb0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4eb212
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.004ba030
mov esi, dword [esp + 0xf8]
xor eax, eax
sub esp, 0x14
mov dword [esp + 0x104], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
lea ebx, [esi + 1]
lea edi, [ebp + 0x40]
mov eax, esp
mov dword [esp + 0x24], esp
push ebx
push eax
mov ecx, edi
call fcn.00416560
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x70]
call fcn.004ba0a0
lea ecx, [esp + 0x30]
call fcn.004ba050
cmp dword [esp + 0x64], 0xa
jne 0x46405c
sub esp, 0x14
lea edx, [esi + 2]
mov eax, esp
mov dword [esp + 0x24], esp
push edx
push eax
mov ecx, edi
call fcn.00416560
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x70]
call fcn.004ba0a0
lea ecx, [esp + 0x30]
call fcn.004ba050
mov dword [esp + 0x28], 1
cmp dword [esp + 0x64], 4
jne 0x4640a7
lea edx, [esp + 0x30]
push 0
push edx
mov ecx, edi
call fcn.00416560
test eax, eax
mov byte [esp + 0xf0], 1
je 0x464082
add eax, 4
jmp 0x464084
xor eax, eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 3
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.004ba080
lea ecx, [esp + 0x30]
mov byte [esp + 0xf0], 0
call fcn.004ba050
lea ecx, [esp + 0x80]
call fcn.004ba030
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf0], 2
call fcn.004ba030
lea ecx, [esp + 0x44]
mov byte [esp + 0xf0], 3
call fcn.004ba030
mov eax, dword [esp + 0x64]
mov byte [esp + 0xf0], 4
cmp eax, 3
jne 0x4641f5
lea eax, [esi - 1]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.00416560
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xf0], 5
cmp eax, 0xa
jne 0x46413f
sub esp, 0x14
lea edx, [esi - 2]
mov eax, esp
mov dword [esp + 0x24], esp
push edx
push eax
mov ecx, edi
call fcn.00416560
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x48]
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
lea eax, [esp + 0x30]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x48]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x50]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x98]
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
sub esp, 0x14
mov ecx, edi
mov edx, esp
mov dword [esp + 0x24], esp
push esi
push edx
call fcn.00416560
lea eax, [esp + 0x28]
lea ecx, [esp + 0x80]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x24], esp
push ebx
push ecx
mov ecx, edi
call fcn.00416560
lea edx, [esp + 0x28]
lea ecx, [esp + 0x58]
push edx
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
mov byte [esp + 0xf0], 4
lea ecx, [esp + 0x30]
jmp 0x46430d
cmp eax, 5
jne 0x464312
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46428e
sub esp, 0x14
mov ecx, edi
mov eax, esp
mov dword [esp + 0x24], esp
push esi
push eax
call fcn.00416560
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x98]
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
sub esp, 0x14
lea edx, [esi + 2]
mov eax, esp
mov dword [esp + 0x24], esp
push edx
push eax
mov ecx, edi
call fcn.00416560
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x84]
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
sub esp, 0x14
lea edx, [esi + 3]
mov eax, esp
mov dword [esp + 0x24], esp
push edx
push eax
mov ecx, edi
call fcn.00416560
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x5c]
call fcn.004ba0a0
lea ecx, [esp + 0x14]
jmp 0x46430d
sub esp, 0x14
mov ecx, edi
mov edx, esp
mov dword [esp + 0x24], esp
push esi
push edx
call fcn.00416560
lea eax, [esp + 0x28]
lea ecx, [esp + 0x94]
push eax
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x24], esp
push ebx
push ecx
mov ecx, edi
call fcn.00416560
lea edx, [esp + 0x28]
lea ecx, [esp + 0x80]
push edx
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
sub esp, 0x14
lea eax, [esi + 2]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
push ecx
mov ecx, edi
call fcn.00416560
lea edx, [esp + 0x28]
lea ecx, [esp + 0x58]
push edx
call fcn.004ba0a0
lea ecx, [esp + 0x14]
call fcn.004ba050
lea ecx, [esp + 0xbc]
call fcn.004d9b70
lea eax, [esp + 0x80]
lea ecx, [esp + 0x84]
neg eax
sbb eax, eax
mov byte [esp + 0xf0], 6
and eax, ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0xc0], 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
mov dword [esp + 0xc4], edx
and eax, ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x50]
cmp eax, 4
mov dword [esp + 0xcc], edx
jne 0x4643c3
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, edi
call fcn.00416560
test eax, eax
mov byte [esp + 0xf0], 7
je 0x46439e
add eax, 4
jmp 0x4643a0
xor eax, eax
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 3
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.004ba080
lea ecx, [esp + 0x14]
mov byte [esp + 0xf0], 6
call fcn.004ba050
lea eax, [esp + 0x44]
lea ecx, [esp + 0x48]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0xa8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
call fcn.004ba030
lea ecx, [esp + 0x94]
mov byte [esp + 0xf0], 8
call fcn.004ba030
lea ecx, [esp + 0x94]
lea edx, [esp + 0xa8]
push ecx
push edx
sub esp, 0x2c
lea eax, [esp + 0xf0]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x128], 9
call fcn.00464630
mov ecx, ebp
call fcn.00471d00
test eax, eax
je 0x464582
mov eax, dword [esp + 0x2c]
test eax, eax
mov ax, word [ebp + 0xc]
movsx ecx, ax
je 0x4644c3
cmp ecx, esi
jle 0x464459
add eax, 2
jmp 0x46445c
jne 0x464460
inc eax
mov word [ebp + 0xc], ax
mov ax, word [ebp + 0xe]
movsx ecx, ax
cmp ecx, esi
jle 0x464470
add eax, 2
jmp 0x464473
jne 0x464477
inc eax
mov word [ebp + 0xe], ax
mov edx, dword [ebp + 0x44]
lea ecx, [esi + esi*4]
push 1
lea eax, [esp + 0x98]
sub esp, 0x14
mov dword [edx + ecx*4 + 0xc], 3
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00448ec0
push ebx
mov ecx, edi
call fcn.004499c0
push 1
lea edx, [esp + 0xac]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00448ec0
push esi
jmp 0x46457b
cmp ecx, esi
jle 0x4644ce
add eax, 2
mov word [ebp + 0xc], ax
mov ax, word [ebp + 0xe]
movsx edx, ax
cmp edx, esi
jle 0x4644e0
add eax, 2
mov word [ebp + 0xe], ax
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x44]
test eax, eax
lea eax, [esi + esi*4]
je 0x464537
push 1
mov dword [ecx + eax*4 + 0x34], 3
sub esp, 0x14
lea edx, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00448ec0
lea eax, [esi + 3]
mov ecx, edi
push eax
call fcn.004499c0
push 1
lea edx, [esp + 0xac]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00448ec0
add esi, 2
push esi
jmp 0x46457b
push 1
mov dword [ecx + eax*4 + 0x20], 3
sub esp, 0x14
lea edx, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00448ec0
add esi, 2
mov ecx, edi
push esi
call fcn.004499c0
push 1
lea eax, [esp + 0xac]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00448ec0
push ebx
mov ecx, edi
call fcn.004499c0
lea ecx, [esp + 0x94]
mov byte [esp + 0xf0], 8
call fcn.004ba050
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf0], 6
call fcn.004ba050
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf0], 4
call fcn.004d9ba0
lea ecx, [esp + 0x44]
mov byte [esp + 0xf0], 3
call fcn.004ba050
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf0], 2
call fcn.004ba050
lea ecx, [esp + 0x80]
mov byte [esp + 0xf0], 0
call fcn.004ba050
lea ecx, [esp + 0x58]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 4