Function at 0x4f63d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x935d91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78c
push ebx
push esi
push edi
push fcn.00911ee2
push fcn.00911f0c
push 0x64
lea eax, [esp + 0x1f4]
push 4
mov esi, ecx
push eax
call fcn.00912870
push fcn.00911ee2
push fcn.00911f0c
push 0x64
lea ecx, [esp + 0x64]
xor ebx, ebx
push 4
push ecx
mov dword [esp + 0x7b4], ebx
call fcn.00912870
push fcn.00911ee2
push fcn.00911f0c
push 0x64
lea edx, [esp + 0x384]
push 4
push edx
mov byte [esp + 0x7b4], 1
call fcn.00912870
push fcn.00911ee2
push fcn.00911f0c
push 0x64
lea eax, [esp + 0x514]
push 4
push eax
mov byte [esp + 0x7b4], 2
call fcn.00912870
lea ecx, [esp + 0xc]
mov byte [esp + 0x7a0], 3
call fcn.00911f0c
lea ecx, [esp + 0x30]
mov byte [esp + 0x7a0], 4
call fcn.00911f0c
lea ecx, [esp + 0x44]
mov byte [esp + 0x7a0], 5
call fcn.00911f0c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7a0], 6
call fcn.00911f0c
mov ecx, dword [0xa8e738]
lea edx, [esp + 0x30]
push ecx
push 0xa
push 0x25
push 0xa771b0
push edx
mov byte [esp + 0x7b4], 7
call fcn.00911f42
mov eax, dword [0xa8e73c]
lea ecx, [esp + 0x58]
push eax
push 0xa
push 0x25
push str._c_d.4f
push ecx
call fcn.00911f42
mov eax, dword [0xa8fd20]
add esp, 0x28
mov edi, 0xa76474
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4f6528
test cl, cl
je 0x4f6524
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4f6528
add eax, 2
add edi, 2
test cl, cl
jne 0x4f6504
xor eax, eax
jmp 0x4f652d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f655c
lea eax, [esp + 0x508]
lea ecx, [esp + 0x378]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x1f0]
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xa7a850
jmp 0x4f6585
lea ecx, [esp + 0x508]
lea edx, [esp + 0x378]
push ecx
lea eax, [esp + 0x5c]
push edx
lea ecx, [esp + 0x1f0]
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xa7a834
call fcn.00911edc
mov ecx, esi
call fcn.004f4de0
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x18]
lea eax, [esp + edx + 0x1e8]
mov eax, dword [esp + edx + 0x1e8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f73aa
mov ecx, edx
mov edx, dword [esp + ecx + 0x58]
lea eax, [esp + ecx + 0x58]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f73aa
mov eax, dword [0xa8e750]
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov ecx, dword [edi]
sub ecx, eax
push 0
mov dword [edi], ecx
mov edx, dword [esi + 0x598]
mov eax, dword [esi + 0x9cc]
push 1
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00460a00
mov al, byte [esi + 0x516]
test al, al
je 0x4f66b8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
lea eax, [esp + eax + 0x1e8]
push eax
call fcn.00911f3c
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x730]
mov ecx, dword [ecx - 8]
sub eax, ecx
push ecx
cdq
sub eax, edx
lea ecx, [esp + 0x10]
sar eax, 1
imul eax, dword [esi + 0x9c8]
cdq
sub eax, edx
lea edx, [esp + 0x4c]
sar eax, 1
push edx
mov dword [esp + 0x18], eax
call fcn.00912044
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x7a4], 8
call fcn.00911f3c
lea ecx, [esp + 0x48]
mov byte [esp + 0x7a0], 7
call fcn.00911ee2
mov ecx, dword [esi + 0x5a0]
test ecx, ecx
jle 0x4f66b8
mov eax, dword [esi + 0x9c8]
imul eax, dword [esi + 0x730]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x10]
lea ecx, [ecx + eax - 3]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax - 8]
mov dword [esp + 0x10], edx
mov edx, dword [ebx]
push dword [esp + 0x10]
push eax
mov eax, dword [edi]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x64]
mov al, byte [esi + 0x517]
test al, al
je 0x4f6760
mov ecx, dword [esi + 0x9a4]
xor eax, eax
mov edx, ecx
lea edi, [esp + 0x698]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x698]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x734]
sub ecx, 2
lea eax, [esp + eax + 0x58]
push ecx
mov eax, dword [eax]
push eax
push edx
nop
call fcn.00b15919
lea eax, [esp + 0x6a4]
lea ecx, [esp + 0x18]
push eax
push 0xa76fa0
push ecx
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov edx, dword [ebp + 0xc]
imul eax, dword [esi + 0x734]
mov ecx, dword [edx]
add esp, 0x18
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x5a4]
sar edx, 1
sub eax, edx
mov edx, dword [esp + 0xc]
sub eax, 3
mov edi, dword [edx - 8]
mov dword [esp + 0x10], edi
mov edi, dword [ebx]
push dword [esp + 0x10]
push edx
push ecx
push eax
mov ecx, ebx
call dword [edi + 0x64]
mov edi, dword [ebp + 0xc]
mov al, byte [esi + 0x518]
test al, al
je 0x4f67ac
mov eax, dword [esi + 0x9c8]
imul eax, dword [esi + 0x738]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esi + 0x5a8]
sar ecx, 1
sub eax, ecx
mov ecx, dword [esp + edx + 0x508]
mov dword [esp + 0x10], ecx
mov edx, dword [ebx]
mov ecx, dword [ecx - 8]
sub eax, 3
push ecx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [edi]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov al, byte [esi + 0x519]
test al, al
je 0x4f6bd4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
lea eax, [esp + edx + 0x378]
push eax
call fcn.00911f3c
mov al, byte [0xa8e784]
test al, al
je 0x4f6a14
lea ecx, [esp + 0x34]
call fcn.00911f0c
mov ecx, dword [esp + 0xc]
push 0xa76f28
mov byte [esp + 0x7a4], 9
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edx
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f68b5
push 0xa77194
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f68b5
push 0xa77190
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f68b5
push 0xa76f34
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f68b5
mov ecx, dword [esi + 0x73c]
mov edx, dword [esi + 0x9c8]
mov eax, ecx
sub eax, dword [esp + 0x10]
imul eax, edx
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
imul eax, dword [esi + 0x9c8]
sar edx, 1
mov ecx, edx
cdq
sub eax, edx
mov edx, dword [esi + 0x5ac]
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx + edx - 3]
mov edx, dword [eax - 8]
mov dword [esp + 0x10], edx
mov edx, dword [ebx]
push dword [esp + 0x10]
push eax
mov eax, dword [edi]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x64]
mov byte [esp + 0x7a0], 7
lea ecx, [esp + 0x34]
jmp 0x4f6bcf
lea eax, [esp + 0x50]
push 1
push eax
lea ecx, [esp + 0x14]
call fcn.0091218e
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x7a4], 0xa
call fcn.00911f3c
lea ecx, [esp + 0x50]
mov byte [esp + 0x7a0], 9
call fcn.00911ee2
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x54]
lea eax, [ecx - 1]
lea ecx, [esp + 0xc]
push eax
push edx
mov dword [esp + 0x28], eax
call fcn.00912044
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x7a4], 0xb
call fcn.00911f3c
lea ecx, [esp + 0x54]
mov byte [esp + 0x7a0], 9
call fcn.00911ee2
mov ecx, dword [esi + 0x73c]
mov edx, dword [esi + 0x9c8]
mov eax, ecx
sub eax, dword [esp + 0x10]
imul eax, edx
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
imul eax, dword [esi + 0x9c8]
sar edx, 1
mov ecx, edx
cdq
sub eax, edx
mov edx, dword [esi + 0x5ac]
sar eax, 1
sub ecx, eax
lea eax, [ecx + edx - 3]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx - 8]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx]
push dword [esp + 0x1c]
push ecx
mov ecx, dword [edi]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [ebx]
lea ecx, [esi + 0x2154]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [esi + 0x73c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x9c8]
sub eax, edx
imul eax, ecx
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x20]
sar edx, 1
imul eax, ecx
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esi + 0x73c]
imul eax, dword [esi + 0x9c8]
cdq
sub eax, edx
mov edx, dword [esi + 0x5ac]
sar eax, 1
sub ecx, eax
lea eax, [ecx + edx - 3]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx - 8]
mov dword [esp + 0x20], edx
mov edx, dword [ebx]
push dword [esp + 0x20]
push ecx
mov ecx, dword [edi]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [ebx]
lea ecx, [esi + 0x2144]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov byte [esp + 0x7a0], 7
lea ecx, [esp + 0x34]
jmp 0x4f6bcf
push 0xa76f28
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f6a9c
push 0xa77194
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f6a9c
push 0xa77190
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f6a9c
push 0xa76f34
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f6a9c
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0xc]
imul eax, dword [esi + 0x73c]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5ac]
push ecx
mov ecx, dword [edi]
sar edx, 1
sub eax, edx
mov edx, dword [ebx]
sub eax, 3
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
jmp 0x4f6bd4
lea ecx, [esp + 0x38]
call fcn.00911f0c
lea edx, [esp + 0x4c]
push 1
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x7a8], 0xc
call fcn.0091218e
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7a4], 0xd
call fcn.00911f3c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7a0], 0xc
call fcn.00911ee2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x40]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00912044
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x7a4], 0xe
call fcn.00911f3c
lea ecx, [esp + 0x40]
mov byte [esp + 0x7a0], 0xc
call fcn.00911ee2
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0xc]
imul eax, dword [esi + 0x73c]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5ac]
push ecx
mov ecx, dword [edi]
sar edx, 1
sub eax, edx
mov edx, dword [ebx]
sub eax, 3
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [ebx]
lea eax, [esi + 0x2154]
push eax
mov ecx, ebx
call dword [edx + 0x30]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx - 8]
mov ecx, dword [esi + 0x9c8]
mov eax, ecx
imul eax, edx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x73c]
imul eax, ecx
sar edx, 1
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub edx, eax
mov eax, dword [esi + 0x5ac]
lea eax, [edx + eax - 3]
mov edx, dword [ecx - 8]
mov dword [esp + 0x20], edx
mov edx, dword [ebx]
push dword [esp + 0x20]
push ecx
mov ecx, dword [edi]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [ebx]
lea ecx, [esi + 0x2144]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov byte [esp + 0x7a0], 7
lea ecx, [esp + 0x38]
call fcn.00911ee2
mov al, byte [esi + 0x51a]
test al, al
je 0x4f6c23
push 0xa907a4
lea ecx, [esp + 0x10]
call fcn.00911f06
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0xc]
imul eax, dword [esi + 0x740]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5b0]
push ecx
mov ecx, dword [edi]
sar edx, 1
sub eax, edx
mov edx, dword [ebx]
sub eax, 3
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov al, byte [esi + 0x51b]
test al, al
je 0x4f6c72
push 0xa907a4
lea ecx, [esp + 0x10]
call fcn.00911f06
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0xc]
imul eax, dword [esi + 0x744]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5b4]
push ecx
mov ecx, dword [edi]
sar edx, 1
sub eax, edx
mov edx, dword [ebx]
sub eax, 3
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], 0xa7a828
lea eax, [esp + edx + 0x58]
mov eax, dword [esp + edx + 0x58]
mov dword [esp + 0x20], eax
mov cl, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x17], cl
cmp cl, byte [edx]
jne 0x4f6cba
test cl, cl
je 0x4f6cb6
mov cl, byte [eax + 1]
mov byte [esp + 0x17], cl
cmp cl, byte [edx + 1]
jne 0x4f6cba
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x10], edx
jne 0x4f6c8a
xor eax, eax
jmp 0x4f6cbf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f6cf8
fld qword [esi + 0x2ea8]
fdiv qword [esi + 0x2e28]
fld qword [esi + 0x2ea0]
fdiv qword [esi + 0x2e28]
faddp st(1)
fadd qword [esi + 0x2e80]
fadd qword [esi + 0x2e78]
fadd qword [esi + 0x2e70]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 0xa7a820
mov cl, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [esp + 0x17], cl
cmp cl, byte [edx]
jne 0x4f6d34
test cl, cl
je 0x4f6d30
mov cl, byte [eax + 1]
mov byte [esp + 0x17], cl
cmp cl, byte [edx + 1]
jne 0x4f6d34
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x10], edx
jne 0x4f6d04
xor eax, eax
jmp 0x4f6d39
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f6d45
fld qword [esi + 0x2e80]
jmp 0x4f6ce3
mov eax, dword [esp + 0x18]
push 0xa7a818
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6d75
mov ecx, dword [esi + 0x2e70]
mov edx, dword [esi + 0x2e74]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f6f71
mov eax, dword [esp + 0x18]
push 0xa7a810
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6da5
mov ecx, dword [esi + 0x2e78]
mov edx, dword [esi + 0x2e7c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f6f71
mov eax, dword [esp + 0x18]
push 0xa7a808
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6dd5
mov ecx, dword [esi + 0x2e80]
mov edx, dword [esi + 0x2e84]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f6f71
mov eax, dword [esp + 0x18]
push 0xa7a7fc
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6e01
fld qword [esi + 0x2ea8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov ecx, dword [esp + 0x18]
push 0xa7a7f0
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6e2d
fld qword [esi + 0x2ea0]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov edx, dword [esp + 0x18]
push 0xa7a7e8
lea ecx, [esp + edx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6e59
fld qword [esi + 0x2ec8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov eax, dword [esp + 0x18]
push 0xa7a7e0
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6e85
fld qword [esi + 0x2ed8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov ecx, dword [esp + 0x18]
push 0xa7a87c
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6eb1
fld qword [esi + 0x2ef0]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov edx, dword [esp + 0x18]
push 0xa7a7d8
lea ecx, [esp + edx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6edd
fld qword [esi + 0x2ef8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov eax, dword [esp + 0x18]
push 0xa7a7d0
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6f06
fld qword [esi + 0x2ee0]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f6f71
mov ecx, dword [esp + 0x18]
push 0xa7a7c4
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f6f33
mov edx, dword [esi + 0x2e60]
mov eax, dword [esi + 0x2e64]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x4f6f71
mov ecx, dword [esp + 0x18]
push 0xa77188
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f6f1d
mov ecx, dword [esp + 0x18]
push 0xa7a86c
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f6f1d
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov al, byte [esi + 0x51c]
test al, al
je 0x4f7033
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4f7033
mov eax, dword [0xa8e738]
mov ecx, dword [esi + 0x748]
push eax
push ecx
push 0x25
lea edx, [esp + 0x3c]
push 0xa771b0
push edx
call fcn.00911f42
mov eax, dword [esp + 0x44]
mov ecx, dword [0xa8e738]
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004126e0
mov ecx, dword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0x14]
fstp qword [esp]
push ecx
push edx
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
add esp, 0x10
imul eax, dword [esi + 0x748]
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esi + 0x5b8]
sar ecx, 1
sub eax, ecx
mov ecx, dword [edx - 8]
mov edx, dword [ebx]
push ecx
mov ecx, dword [esp + 0x10]
sub eax, 3
push ecx
mov ecx, dword [edi]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov al, byte [esi + 0x51d]
test al, al
je 0x4f707d
lea ecx, [esp + 0xc]
call fcn.0091204a
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0xc]
imul eax, dword [esi + 0x74c]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5bc]
push ecx
mov ecx, dword [edi]
sar edx, 1
sub eax, edx
mov edx, dword [ebx]
sub eax, 3
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov edx, dword [0xa8e750]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
add edx, eax
mov eax, dword [edi]
push 0xa7a818
sub eax, edx
lea ecx, [esp + ecx + 0x5c]
mov dword [edi], eax
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f719a
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x8bc]
cmp eax, ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jge 0x4f73aa
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004150c0
mov ax, word [esi + 0x2bbe]
cmp ax, 0x11
jl 0x4f73aa
je 0x4f70fb
cmp ax, 0x25
je 0x4f70fb
cmp ax, 0x26
je 0x4f70fb
cmp ax, 0x27
jne 0x4f717e
fld qword [esi + 0x2c68]
fmul qword [esi + 0x2c28]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4f717e
mov eax, dword [0xa8e750]
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov ecx, dword [edi]
sub ecx, eax
push 0
mov dword [edi], ecx
mov edx, dword [esi + 0x598]
mov eax, dword [esi + 0x9cc]
push 1
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00460a00
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004f1240
mov edx, dword [0xa8e750]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi]
add edx, eax
mov eax, dword [esp + 0x1c]
sub ecx, edx
inc eax
mov dword [edi], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x8bc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f70c6
jmp 0x4f73aa
mov ecx, dword [esp + 0x18]
push 0xa7a810
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f72b1
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x8bc]
cmp eax, ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jge 0x4f73aa
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004150c0
mov ax, word [esi + 0x2bbe]
cmp ax, 0x11
jl 0x4f73aa
mov edx, dword [esi + 0x964]
movsx ecx, ax
cmp ecx, edx
je 0x4f7214
cmp ecx, dword [esi + 0x968]
je 0x4f7214
cmp ax, 0x17
je 0x4f7214
cmp ax, 0x18
jne 0x4f7295
fld qword [esi + 0x2c68]
fmul qword [esi + 0x2c28]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.008f5ce0
fcomp qword [0x9cb978]
fnstsw ax
test ah, 1
jne 0x4f7295
mov eax, dword [0xa8e750]
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov ecx, dword [edi]
sub ecx, eax
push 0
mov dword [edi], ecx
mov edx, dword [esi + 0x598]
mov eax, dword [esi + 0x9cc]
push 1
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00460a00
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004f1240
mov edx, dword [0xa8e750]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi]
add edx, eax
mov eax, dword [esp + 0x1c]
sub ecx, edx
inc eax
mov dword [edi], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x8bc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f71d2
jmp 0x4f73aa
mov ecx, dword [esp + 0x18]
push 0xa7a808
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f73aa
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x8bc]
cmp eax, ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jge 0x4f73aa
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004150c0
mov ax, word [esi + 0x2bbe]
cmp ax, 0x11
jl 0x4f73aa
cmp ax, 0x13
jne 0x4f7393
fld qword [esi + 0x2c68]
fmul qword [esi + 0x2c28]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4f7393
mov eax, dword [0xa8e750]
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov ecx, dword [edi]
sub ecx, eax
push 0
mov dword [edi], ecx
mov edx, dword [esi + 0x598]
mov eax, dword [esi + 0x9cc]
push 1
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.00460a00
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.004f1240
mov edx, dword [0xa8e750]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi]
add edx, eax
mov eax, dword [esp + 0x1c]
sub ecx, edx
inc eax
mov dword [edi], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x8bc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4f72e9
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x190
mov dword [esp + 0x18], eax
jl 0x4f659b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7a0], 6
call fcn.00911ee2
lea ecx, [esp + 0x44]
mov byte [esp + 0x7a0], 5
call fcn.00911ee2
lea ecx, [esp + 0x30]
mov byte [esp + 0x7a0], 4
call fcn.00911ee2
lea ecx, [esp + 0xc]
mov byte [esp + 0x7a0], 3
call fcn.00911ee2
push fcn.00911ee2
push 0x64
lea ecx, [esp + 0x510]
push 4
push ecx
mov byte [esp + 0x7b0], 2
call fcn.009128f2
push fcn.00911ee2
push 0x64
lea edx, [esp + 0x380]
push 4
push edx
mov byte [esp + 0x7b0], 1
call fcn.009128f2
push fcn.00911ee2
push 0x64
lea eax, [esp + 0x60]
push 4
push eax
mov byte [esp + 0x7b0], 0
call fcn.009128f2
push fcn.00911ee2
push 0x64
lea ecx, [esp + 0x1f0]
push 4
push ecx
mov dword [esp + 0x7b0], 0xffffffff
call fcn.009128f2
mov ecx, dword [esp + 0x798]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10