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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x935cb1
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 0x4f5538
test cl, cl
je 0x4f5534
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4f5538
add eax, 2
add edi, 2
test cl, cl
jne 0x4f5514
xor eax, eax
jmp 0x4f553d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4f556c
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 0x4f5595
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 0x4f62db
mov ecx, edx
mov edx, dword [esp + ecx + 0x58]
lea eax, [esp + ecx + 0x58]
mov eax, dword [edx - 8]
test eax, eax
je 0x4f62db
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 0x4f56c8
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 0x4f56c8
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 0x4f5770
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.00b15910
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 0x4f5b98
mov eax, dword [esp + 0x18]
lea ecx, [esp + eax + 0x378]
push ecx
lea ecx, [esp + 0x10]
call fcn.00911f3c
mov al, byte [0xa8e784]
test al, al
je 0x4f59d8
lea ecx, [esp + 0x34]
call fcn.00911f0c
mov edx, dword [esp + 0xc]
push 0xa76f28
lea ecx, [esp + 0x10]
mov byte [esp + 0x7a4], 9
mov eax, dword [edx - 8]
mov dword [esp + 0x14], eax
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5879
push 0xa77194
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5879
push 0xa77190
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5879
push 0xa76f34
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5879
mov ecx, dword [esi + 0x738]
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 + 0x5a8]
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 0x4f5b93
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 + 0x738]
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 + 0x5a8]
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 + 0x738]
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 + 0x738]
imul eax, dword [esi + 0x9c8]
cdq
sub eax, edx
mov edx, dword [esi + 0x5a8]
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 0x4f5b93
push 0xa76f28
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5a60
push 0xa77194
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5a60
push 0xa77190
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5a60
push 0xa76f34
lea ecx, [esp + 0x10]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5a60
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0xc]
imul eax, dword [esi + 0x738]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5a8]
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 0x4f5b98
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 + 0x738]
mov ecx, dword [ecx - 8]
cdq
sub eax, edx
push ecx
mov ecx, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esi + 0x5a8]
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 + 0x738]
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 + 0x5a8]
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 + 0x519]
test al, al
je 0x4f5be4
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0x18]
imul eax, dword [esi + 0x73c]
mov ecx, dword [esp + ecx + 0x508]
cdq
sub eax, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx - 8]
mov edx, eax
mov eax, dword [esi + 0x5ac]
push ecx
mov ecx, dword [esp + 0x24]
sar edx, 1
sub eax, edx
mov edx, dword [ebx]
push ecx
mov ecx, dword [edi]
sub eax, 3
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x64]
mov al, byte [esi + 0x51a]
test al, al
je 0x4f5c33
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 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 0x4f5c7b
test cl, cl
je 0x4f5c77
mov cl, byte [eax + 1]
mov byte [esp + 0x17], cl
cmp cl, byte [edx + 1]
jne 0x4f5c7b
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x10], edx
jne 0x4f5c4b
xor eax, eax
jmp 0x4f5c80
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f5cb9
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 0x4f5eec
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 0x4f5cf5
test cl, cl
je 0x4f5cf1
mov cl, byte [eax + 1]
mov byte [esp + 0x17], cl
cmp cl, byte [edx + 1]
jne 0x4f5cf5
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x10], edx
jne 0x4f5cc5
xor eax, eax
jmp 0x4f5cfa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f5d06
fld qword [esi + 0x2e80]
jmp 0x4f5ca4
mov eax, dword [esp + 0x18]
push 0xa7a818
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5d36
mov ecx, dword [esi + 0x2e70]
mov edx, dword [esi + 0x2e74]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f5eec
mov eax, dword [esp + 0x18]
push 0xa7a810
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5d66
mov ecx, dword [esi + 0x2e78]
mov edx, dword [esi + 0x2e7c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f5eec
mov eax, dword [esp + 0x18]
push 0xa7a808
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5d96
mov ecx, dword [esi + 0x2e80]
mov edx, dword [esi + 0x2e84]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f5eec
mov eax, dword [esp + 0x18]
push 0xa7a7fc
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5dc2
fld qword [esi + 0x2ea8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f5eec
mov ecx, dword [esp + 0x18]
push 0xa7a7f0
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5dee
fld qword [esi + 0x2ea0]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f5eec
mov edx, dword [esp + 0x18]
push 0xa7a7e8
lea ecx, [esp + edx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5e1a
fld qword [esi + 0x2ec8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f5eec
mov eax, dword [esp + 0x18]
push 0xa7a7e0
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5e46
fld qword [esi + 0x2ed8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f5eec
mov ecx, dword [esp + 0x18]
push 0xa7a7d8
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5e6f
fld qword [esi + 0x2ef8]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f5eec
mov edx, dword [esp + 0x18]
push 0xa7a7d0
lea ecx, [esp + edx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5e98
fld qword [esi + 0x2ee0]
fdiv qword [esi + 0x2e28]
fstp qword [esp + 0x24]
jmp 0x4f5eec
mov eax, dword [esp + 0x18]
push 0xa7a7c4
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f5ec5
mov ecx, dword [esi + 0x2e60]
mov edx, dword [esi + 0x2e64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4f5eec
mov eax, dword [esp + 0x18]
push 0xa77188
lea ecx, [esp + eax + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
jne 0x4f5eaf
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov al, byte [esi + 0x51b]
test al, al
je 0x4f5fae
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.008f5ce0
fld dword [esi + 0x9e4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4f5fae
mov edx, dword [0xa8e738]
mov eax, dword [esi + 0x744]
push edx
push eax
push 0x25
lea ecx, [esp + 0x3c]
push 0xa771b0
push ecx
call fcn.00911f42
mov edx, dword [esp + 0x44]
mov eax, dword [0xa8e738]
mov ecx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004126e0
mov eax, dword [esp + 0x20]
sub esp, 8
lea ecx, [esp + 0x14]
fstp qword [esp]
push eax
push ecx
call fcn.00911f42
mov eax, dword [esi + 0x9c8]
mov ecx, dword [esp + 0x1c]
imul eax, dword [esi + 0x744]
mov ecx, dword [ecx - 8]
add esp, 0x10
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 [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 0x4f60cb
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x8bc]
cmp eax, ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jge 0x4f62db
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004150c0
mov ax, word [esi + 0x2bbe]
cmp ax, 0x11
jl 0x4f62db
je 0x4f602c
cmp ax, 0x25
je 0x4f602c
cmp ax, 0x26
je 0x4f602c
cmp ax, 0x27
jne 0x4f60af
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 0x4f60af
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.004f0870
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 0x4f5ff7
jmp 0x4f62db
mov ecx, dword [esp + 0x18]
push 0xa7a810
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f61e2
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x8bc]
cmp eax, ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jge 0x4f62db
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004150c0
mov ax, word [esi + 0x2bbe]
cmp ax, 0x11
jl 0x4f62db
mov edx, dword [esi + 0x964]
movsx ecx, ax
cmp ecx, edx
je 0x4f6145
cmp ecx, dword [esi + 0x968]
je 0x4f6145
cmp ax, 0x17
je 0x4f6145
cmp ax, 0x18
jne 0x4f61c6
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 0x4f61c6
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.004f0870
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 0x4f6103
jmp 0x4f62db
mov ecx, dword [esp + 0x18]
push 0xa7a808
lea ecx, [esp + ecx + 0x5c]
call fcn.009121e8
cmp eax, 0xffffffff
je 0x4f62db
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x8bc]
cmp eax, ecx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jge 0x4f62db
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.004150c0
mov ax, word [esi + 0x2bbe]
cmp ax, 0x11
jl 0x4f62db
cmp ax, 0x13
jne 0x4f62c4
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 0x4f62c4
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.004f0870
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 0x4f621a
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x190
mov dword [esp + 0x18], eax
jl 0x4f55ab
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