Function at 0x4a9d20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x549ff1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
mov al, byte [esp + 7]
push ebp
push esi
push edi
mov ebp, ecx
sub esp, 0x10
xor ebx, ebx
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004aed00
mov edi, str.Date
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Date
mov ecx, esi
call fcn.004aee30
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.004a84e0
mov dl, byte [esp + 0x30]
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x144], ebx
mov byte [esp + 0x5c], dl
call fcn.004aed00
mov eax, dword [0x626ecc]
lea ecx, [esp + 0x30]
push eax
push ebx
push ecx
lea ecx, [esp + 0x64]
call fcn.004ae640
mov eax, dword [esp + 0x38]
mov byte [esp + 0x140], 1
cmp eax, ebx
jne 0x4a9ded
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x144], bl
call fcn.004aed00
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x144], 0xffffffff
call fcn.004aed00
jmp 0x4aaf80
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x6c], dl
call fcn.004aed00
mov edi, 0x661e74
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e74
lea ecx, [esp + 0x70]
call fcn.004aee30
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x144], 2
mov byte [esp + 0x7c], al
call fcn.004aed00
mov edi, 0x661e70
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e70
lea ecx, [esp + 0x80]
call fcn.004aee30
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x8c], cl
lea ecx, [esp + 0x8c]
mov byte [esp + 0x144], 3
call fcn.004aed00
mov edi, 0x661e6c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e6c
lea ecx, [esp + 0x90]
call fcn.004aee30
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x144], 4
mov byte [esp + 0x9c], dl
call fcn.004aed00
mov edi, 0x661e68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e68
lea ecx, [esp + 0xa0]
call fcn.004aee30
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 5
mov byte [esp + 0xac], al
call fcn.004aed00
mov edi, 0x661e64
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e64
lea ecx, [esp + 0xb0]
call fcn.004aee30
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xbc], cl
lea ecx, [esp + 0xbc]
mov byte [esp + 0x144], 6
call fcn.004aed00
mov edi, 0x661e60
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e60
lea ecx, [esp + 0xc0]
call fcn.004aee30
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x144], 7
mov byte [esp + 0xcc], dl
call fcn.004aed00
mov edi, 0x661e5c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e5c
lea ecx, [esp + 0xd0]
call fcn.004aee30
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 8
mov byte [esp + 0xdc], al
call fcn.004aed00
mov edi, 0x661e58
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e58
lea ecx, [esp + 0xe0]
call fcn.004aee30
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0xec], cl
lea ecx, [esp + 0xec]
mov byte [esp + 0x144], 9
call fcn.004aed00
mov edi, 0x661e54
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e54
lea ecx, [esp + 0xf0]
call fcn.004aee30
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0xfc]
mov byte [esp + 0x144], 0xa
mov byte [esp + 0xfc], dl
call fcn.004aed00
mov edi, 0x661e50
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e50
lea ecx, [esp + 0x100]
call fcn.004aee30
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x144], 0xb
mov byte [esp + 0x10c], al
call fcn.004aed00
mov edi, 0x661e4c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e4c
lea ecx, [esp + 0x110]
call fcn.004aee30
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x11c], cl
lea ecx, [esp + 0x11c]
mov byte [esp + 0x144], 0xc
call fcn.004aed00
mov edi, 0x661e48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e48
lea ecx, [esp + 0x120]
call fcn.004aee30
mov eax, dword [esp + 0x38]
mov byte [esp + 0x140], 0xd
cmp eax, 4
mov dword [esp + 0x18], ebx
mov ebp, 0xc
ja 0x4aa101
call fcn.0051ffca
lea ecx, [esp + 0x30]
call fcn.004aea90
mov edx, dword [esp + 0x34]
cmp byte [edx + 4], 0x20
je 0x4aa134
mov edi, 0x661e44
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x661e44
push 4
lea ecx, [esp + 0x3c]
call fcn.004ae840
push 4
lea eax, [esp + 0x12c]
push 0xc
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
push 4
lea ecx, [esp + 0x20]
push 0xc
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14c], 0xe
call fcn.004ae3e0
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4aa16f
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], esi
push 1
call fcn.004aed00
cmp esi, 0x3e8
jge 0x4aa21b
mov ebp, 0xb
push 4
lea edx, [esp + 0x20]
push ebp
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4aa1b7
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], esi
push 1
call fcn.004aed00
cmp esi, 0x3e8
jge 0x4aa21b
mov ebp, 0xc
push 2
lea eax, [esp + 0x20]
push ebp
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4aa1fb
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
push 1
call fcn.004aed00
add esi, 0x7d0
mov dword [esp + 0x40], esi
xor edi, edi
lea esi, [esp + 0x68]
lea eax, [ebp - 4]
push 3
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
test eax, eax
mov byte [esp + 0x140], 0xf
jne 0x4aa24c
mov eax, 0x626ec8
mov edx, dword [esi + 8]
push ecx
push eax
push edx
push 0
mov ecx, esi
call fcn.004aea20
test eax, eax
push 1
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x144], 0xe
call fcn.004aed00
test bl, bl
jne 0x4aa282
inc edi
add esi, 0x10
cmp edi, 0xc
jl 0x4aa221
jmp 0x4aa287
inc edi
mov dword [esp + 0x18], edi
push 2
lea eax, [esp + 0x20]
push 5
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa2a5
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x1c]
mov ebx, eax
push 1
call fcn.004aed00
lea ecx, [ebp + 5]
push 2
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa2db
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
push 1
call fcn.004aed00
lea eax, [ebp + 8]
push 2
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa313
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], esi
push 1
call fcn.004aed00
test esi, esi
jne 0x4aa369
lea edx, [ebp + 7]
push 2
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa351
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
push 1
call fcn.004aed00
lea ecx, [ebp + 0xb]
push 2
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa389
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
push 1
call fcn.004aed00
test esi, esi
jne 0x4aa3df
add ebp, 0xa
push 2
lea eax, [esp + 0x20]
push ebp
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa3c7
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
push 1
call fcn.004aed00
mov ecx, dword [esp + 0x40]
cmp cx, 0x270f
ja 0x4aa562
cmp word [esp + 0x18], 1
jb 0x4aa562
cmp word [esp + 0x18], 0xc
ja 0x4aa562
test cl, 3
jne 0x4aa555
and ecx, 0xffff
mov esi, 0x64
mov eax, ecx
cdq
idiv esi
test edx, edx
jne 0x4aa435
mov eax, ecx
mov ecx, 0x190
cdq
idiv ecx
test edx, edx
jne 0x4aa555
mov eax, 1
cmp bx, 0x1d
mov dword [esp + 0x1c], eax
jne 0x4aa44c
cmp word [esp + 0x18], 2
je 0x4aa44e
xor eax, eax
mov edx, dword [esp + 0x18]
and edx, 0xffff
mov edi, dword [edx*4 + 0x661d70]
lea ecx, [edx*4 + 0x661d74]
sub eax, edi
mov edx, dword [ecx]
add eax, edx
cmp bx, 1
jb 0x4aa562
and ebx, 0xffff
cmp ebx, eax
jg 0x4aa562
cmp word [esp + 0x44], 0x17
ja 0x4aa562
cmp word [esp + 0x2c], 0x3b
ja 0x4aa562
mov ebp, dword [esp + 0x14]
cmp bp, 0x3b
ja 0x4aa562
mov esi, dword [esp + 0x40]
mov eax, 0x51eb851f
and esi, 0xffff
imul esi
mov ecx, esi
shr ecx, 2
sar edx, 7
mov eax, ecx
mov ecx, edx
shr ecx, 0x1f
add edx, eax
add ecx, edx
lea edx, [esi + esi*8]
lea eax, [esi + edx*8]
lea eax, [eax + eax*4]
add ecx, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
add ecx, ebx
add ecx, edi
cmp word [esp + 0x18], 2
ja 0x4aa501
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4aa501
dec ecx
mov eax, dword [esp + 0x44]
and ebp, 0xffff
and eax, 0xffff
sub ecx, 0xa96c7
mov edx, eax
mov dword [esp + 0x14], ecx
shl edx, 4
sub edx, eax
mov eax, dword [esp + 0x2c]
and eax, 0xffff
lea eax, [eax + edx*4]
mov edx, eax
shl edx, 4
sub edx, eax
test ecx, ecx
lea eax, [ebp + edx*4]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x626ed8]
jge 0x4aa54c
fchs
fild dword [esp + 0x14]
jmp 0x4aac26
mov dword [esp + 0x1c], 0
jmp 0x4aa44c
mov ecx, dword [0x626ecc]
lea edx, [esp + 0x58]
push ecx
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae640
push 4
lea eax, [esp + 0x20]
push 0x14
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa597
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], eax
push 1
call fcn.004aed00
xor edi, edi
lea esi, [esp + 0x68]
push 3
lea ecx, [esp + 0x20]
push 4
push ecx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
test eax, eax
mov byte [esp + 0x140], 0x10
jne 0x4aa5de
mov eax, 0x626ec8
mov edx, dword [esi + 8]
push ecx
push eax
push edx
push 0
mov ecx, esi
call fcn.004aea20
test eax, eax
push 1
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0x144], 0xe
call fcn.004aed00
test bl, bl
jne 0x4aa614
inc edi
add esi, 0x10
cmp edi, 0xc
jl 0x4aa5b5
jmp 0x4aa619
inc edi
mov dword [esp + 0x18], edi
push 2
lea eax, [esp + 0x4c]
push 8
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa637
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
push 1
call fcn.004aed00
push 2
lea ecx, [esp + 0x4c]
push 0xb
push ecx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa66f
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
push 1
call fcn.004aed00
push 2
lea edx, [esp + 0x4c]
push 0xe
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa6a5
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], eax
push 1
call fcn.004aed00
push 2
lea eax, [esp + 0x4c]
push 0x11
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa6db
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov ebp, eax
push 1
call fcn.004aed00
mov ecx, dword [esp + 0x40]
cmp cx, 0x270f
ja 0x4aa872
mov edi, dword [esp + 0x18]
cmp di, 1
jb 0x4aa872
cmp di, 0xc
ja 0x4aa872
test cl, 3
jne 0x4aa865
mov esi, ecx
mov ebx, 0x64
and esi, 0xffff
mov eax, esi
cdq
idiv ebx
test edx, edx
jne 0x4aa749
mov eax, esi
mov esi, 0x190
cdq
idiv esi
test edx, edx
jne 0x4aa861
mov ebx, dword [esp + 0x1c]
mov edx, 1
cmp bx, 0x1d
mov dword [esp + 0x14], edx
jne 0x4aa762
cmp di, 2
je 0x4aa764
xor edx, edx
and edi, 0xffff
lea eax, [edi*4 + 0x661d74]
mov edi, dword [edi*4 + 0x661d70]
mov eax, dword [eax]
sub eax, edi
add eax, edx
cmp bx, 1
jb 0x4aa872
and ebx, 0xffff
cmp ebx, eax
jg 0x4aa872
cmp word [esp + 0x44], 0x17
ja 0x4aa872
cmp word [esp + 0x2c], 0x3b
ja 0x4aa872
cmp bp, 0x3b
ja 0x4aa872
mov esi, ecx
mov eax, 0x51eb851f
and esi, 0xffff
imul esi
mov ecx, esi
shr ecx, 2
sar edx, 7
mov eax, ecx
mov ecx, edx
add edx, eax
shr ecx, 0x1f
add ecx, edx
lea edx, [esi + esi*8]
lea eax, [esi + edx*8]
lea eax, [eax + eax*4]
add ecx, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
add ecx, ebx
add ecx, edi
cmp word [esp + 0x18], 2
ja 0x4aa80d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4aa80d
dec ecx
mov eax, dword [esp + 0x44]
and ebp, 0xffff
and eax, 0xffff
sub ecx, 0xa96c7
mov edx, eax
mov dword [esp + 0x14], ecx
shl edx, 4
sub edx, eax
mov eax, dword [esp + 0x2c]
and eax, 0xffff
lea eax, [eax + edx*4]
mov edx, eax
shl edx, 4
sub edx, eax
test ecx, ecx
lea eax, [ebp + edx*4]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x626ed8]
jge 0x4aa858
fchs
fild dword [esp + 0x14]
jmp 0x4aac26
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
jmp 0x4aa762
mov edi, 7
push 4
lea ecx, [esp + 0x4c]
push edi
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edi
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa898
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], esi
push 1
call fcn.004aed00
cmp esi, 0x3e8
jge 0x4aa8f8
mov edi, 6
push 4
lea edx, [esp + 0x4c]
push edi
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edi
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa8e0
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], eax
push 1
call fcn.004aed00
xor ebp, ebp
add edi, 0xfffffffc
lea esi, [esp + 0x68]
push 3
lea eax, [esp + 0x4c]
push edi
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
test eax, eax
mov byte [esp + 0x140], 0x11
jne 0x4aa929
mov eax, 0x626ec8
push ecx
mov ecx, dword [esi + 8]
push eax
push ecx
push 0
mov ecx, esi
call fcn.004aea20
test eax, eax
push 1
lea ecx, [esp + 0x4c]
sete bl
mov byte [esp + 0x144], 0xe
call fcn.004aed00
test bl, bl
jne 0x4aa95f
inc ebp
add esi, 0x10
cmp ebp, 0xc
jl 0x4aa901
jmp 0x4aa964
inc ebp
mov dword [esp + 0x18], ebp
push 2
lea edx, [esp + 0x4c]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa982
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov ebx, eax
push 1
call fcn.004aed00
mov edi, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x4c]
lea eax, [edi + 5]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa9bc
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
push 1
call fcn.004aed00
lea edx, [edi + 8]
push 2
lea eax, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aa9f4
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], esi
push 1
call fcn.004aed00
test esi, esi
jne 0x4aaa4a
lea ecx, [edi + 7]
push 2
lea edx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aaa32
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], eax
push 1
call fcn.004aed00
lea eax, [edi + 0xb]
push 2
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aaa6a
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov ebp, eax
push 1
call fcn.004aed00
test ebp, ebp
jne 0x4aaaba
add edi, 0xa
push 2
lea edx, [esp + 0x4c]
push edi
push edx
lea ecx, [esp + 0x3c]
call fcn.004ae3e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4aaaa4
mov eax, 0x626ec8
push eax
call fcn.005106c0
add esp, 4
lea ecx, [esp + 0x48]
mov ebp, eax
push 1
call fcn.004aed00
mov ecx, dword [esp + 0x40]
cmp cx, 0x270f
ja 0x4aad85
cmp word [esp + 0x18], 1
jb 0x4aad85
cmp word [esp + 0x18], 0xc
ja 0x4aad85
test cl, 3
jne 0x4aad78
mov esi, ecx
mov edi, 0x64
and esi, 0xffff
mov eax, esi
cdq
idiv edi
test edx, edx
jne 0x4aab12
mov eax, esi
mov esi, 0x190
cdq
idiv esi
test edx, edx
jne 0x4aad78
mov edx, 1
cmp bx, 0x1d
mov dword [esp + 0x1c], edx
jne 0x4aab29
cmp word [esp + 0x18], 2
je 0x4aab2b
xor edx, edx
mov eax, dword [esp + 0x18]
and eax, 0xffff
mov edi, dword [eax*4 + 0x661d70]
lea eax, [eax*4 + 0x661d74]
mov eax, dword [eax]
sub eax, edi
add eax, edx
cmp bx, 1
jb 0x4aad85
and ebx, 0xffff
cmp ebx, eax
jg 0x4aad85
cmp word [esp + 0x44], 0x17
ja 0x4aad85
cmp word [esp + 0x2c], 0x3b
ja 0x4aad85
cmp bp, 0x3b
ja 0x4aad85
mov esi, ecx
mov eax, 0x51eb851f
and esi, 0xffff
imul esi
mov ecx, esi
shr ecx, 2
sar edx, 7
mov eax, ecx
mov ecx, edx
shr ecx, 0x1f
add edx, eax
add ecx, edx
lea edx, [esi + esi*8]
lea eax, [esi + edx*8]
lea eax, [eax + eax*4]
add ecx, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
add ecx, ebx
add ecx, edi
cmp word [esp + 0x18], 2
ja 0x4aabd7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4aabd7
dec ecx
mov eax, dword [esp + 0x44]
and ebp, 0xffff
and eax, 0xffff
sub ecx, 0xa96c7
mov edx, eax
mov dword [esp + 0x14], ecx
shl edx, 4
sub edx, eax
mov eax, dword [esp + 0x2c]
and eax, 0xffff
lea eax, [eax + edx*4]
mov edx, eax
shl edx, 4
sub edx, eax
test ecx, ecx
lea eax, [ebp + edx*4]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [0x626ed8]
jge 0x4aac22
fchs
fild dword [esp + 0x14]
fadd st(1)
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x144], 0xd
fstp qword [esp + 0x20]
fstp st(0)
call fcn.004aed00
push 1
lea ecx, [esp + 0x11c]
mov byte [esp + 0x144], 0xc
call fcn.004aed00
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x144], 0xb
call fcn.004aed00
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x144], 0xa
call fcn.004aed00
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x144], 9
call fcn.004aed00
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 8
call fcn.004aed00
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x144], 7
call fcn.004aed00
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x144], 6
call fcn.004aed00
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 5
call fcn.004aed00
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x144], 4
call fcn.004aed00
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x144], 3
call fcn.004aed00
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x144], 2
call fcn.004aed00
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x144], 1
call fcn.004aed00
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x144], 0
call fcn.004aed00
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x144], 0xffffffff
call fcn.004aed00
fld qword [esp + 0x1c]
jmp 0x4aaf86
mov dword [esp + 0x1c], 0
jmp 0x4aab29
push 1
lea ecx, [esp + 0x12c]
mov byte [esp + 0x144], 0xd
call fcn.004aed00
push 1
lea ecx, [esp + 0x11c]
mov byte [esp + 0x144], 0xc
call fcn.004aed00
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x144], 0xb
call fcn.004aed00
push 1
lea ecx, [esp + 0xfc]
mov byte [esp + 0x144], 0xa
call fcn.004aed00
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x144], 9
call fcn.004aed00
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x144], 8
call fcn.004aed00
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x144], 7
call fcn.004aed00
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x144], 6
call fcn.004aed00
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 5
call fcn.004aed00
mov eax, dword [esp + 0x9c]
xor esi, esi
cmp eax, esi
je 0x4aae75
mov cl, byte [eax - 1]
test cl, cl
je 0x4aae6b
cmp cl, 0xff
je 0x4aae6b
dec cl
mov byte [eax - 1], cl
jmp 0x4aae75
dec eax
push eax
call fcn.00535101
add esp, 4
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x9c], esi
cmp ecx, esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], esi
je 0x4aaeb1
mov al, byte [ecx - 1]
test al, al
je 0x4aaea7
cmp al, 0xff
je 0x4aaea7
dec al
mov byte [ecx - 1], al
jmp 0x4aaeb1
dec ecx
push ecx
call fcn.00535101
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x8c], esi
cmp ecx, esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
je 0x4aaeea
mov al, byte [ecx - 1]
test al, al
je 0x4aaee0
cmp al, 0xff
je 0x4aaee0
dec al
mov byte [ecx - 1], al
jmp 0x4aaeea
dec ecx
push ecx
call fcn.00535101
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
cmp ecx, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
je 0x4aaf20
mov al, byte [ecx - 1]
test al, al
je 0x4aaf16
cmp al, 0xff
je 0x4aaf16
dec al
mov byte [ecx - 1], al
jmp 0x4aaf20
dec ecx
push ecx
call fcn.00535101
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], esi
cmp ecx, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
je 0x4aaf50
mov al, byte [ecx - 1]
test al, al
je 0x4aaf46
cmp al, 0xff
je 0x4aaf46
dec al
mov byte [ecx - 1], al
jmp 0x4aaf50
dec ecx
push ecx
call fcn.00535101
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x5c], esi
cmp ecx, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x4aaf80
mov al, byte [ecx - 1]
test al, al
je 0x4aaf76
cmp al, 0xff
je 0x4aaf76
dec al
mov byte [ecx - 1], al
jmp 0x4aaf80
dec ecx
push ecx
call fcn.00535101
add esp, 4
fld qword [0x626ed0]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret