Function at 0xaa1663
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0xc6f318
call fcn.00be12c8
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0x28], ebx
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
je 0xaa16a7
lea ecx, [esi + 0x297c]
call fcn.0042d5a8
test eax, eax
jne 0xaa313d
mov eax, dword [esi + 0x46c]
and eax, 0xfffffffe
cmp eax, 0x12
je 0xaa313d
call fcn.00adc3e4
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [eax + 0xe1c]
add eax, 0xe14
push eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jne 0xaa313d
mov eax, dword [esi + 0x2a18]
cmp eax, ebx
je 0xaa16e4
mov ecx, edi
sub ecx, eax
js 0xaa313d
mov ecx, edi
sub ecx, eax
cmp ecx, 0x12c
jle 0xaa16f6
mov dword [esi + 0x2a18], ebx
mov ecx, dword [esi + 0x2a1c]
cmp ecx, ebx
lea eax, [esi + 0x2a1c]
je 0xaa170e
sub edi, ecx
js 0xaa313d
cmp dword [esi + 0x379c], ebx
mov dword [eax], ebx
je 0xaa1724
cmp dword [esi + 0x37a8], ebx
jne 0xaa313d
mov edi, dword [ebp + 0x18]
cmp edi, ebx
je 0xaa1746
mov ecx, edi
call fcn.00728dd5
test eax, eax
jne 0xaa313d
cmp dword [edi + 0x300], ebx
jne 0xaa313d
mov ecx, dword [0xd7c46c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x80], ebx
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 4], ebx
call fcn.00bb312e
mov eax, dword [0xd808a8]
mov edi, dword [esi + 0x172c]
lea ecx, [esi + 4]
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x70], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
push dword [eax + 4]
mov ecx, dword [ebp - 0x70]
push dword [eax]
lea eax, [ebp - 0x80]
push eax
push edi
call fcn.004365d8
test eax, eax
jne 0xaa3131
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x9c]
push eax
mov ecx, edi
call fcn.0042abbb
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
call fcn.0042d822
add edi, 0x38c0
lea esi, [ebp - 0xb4]
mov dword [ebp - 0x64], 6
mov ecx, edi
call fcn.004197f1
mov dword [esi], eax
add esi, 4
dec dword [ebp - 0x64]
jne 0xaa17ca
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x58], ebx
call dword [eax + 0x44]
cmp eax, 0x70
je 0xaa1851
cmp eax, 0x7a
je 0xaa1848
cmp eax, 0x84
je 0xaa183f
cmp eax, 0x840
je 0xaa1836
cmp eax, 0xc8c
je 0xaa182d
cmp eax, 0xced
jle 0xaa1828
cmp eax, 0xcf0
jg 0xaa1828
mov dword [ebp - 0x40], 0x1f914ce
jmp 0xaa1858
mov dword [ebp - 0x40], ebx
jmp 0xaa1858
mov dword [ebp - 0x40], 0x1ea20ad
jmp 0xaa1858
mov dword [ebp - 0x40], 0x14247eb
jmp 0xaa1858
mov dword [ebp - 0x40], 0x14282a
jmp 0xaa1858
mov dword [ebp - 0x40], 0x12a18a
jmp 0xaa1858
mov dword [ebp - 0x40], 0x111aea
mov edi, dword [ebp + 0x18]
cmp edi, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x8c], ebx
je 0xaa2889
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x10]
cmp esi, dword [eax]
jle 0xaa18b9
mov dword [ebp - 0x84], 1
mov ecx, dword [edi + 0x164]
push dword [ebp + 0x1c]
mov dword [ebp - 0x3c], ecx
call fcn.005755ec
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0xaa19aa
cmp dword [eax + 0x1c], ebx
je 0xaa19aa
mov eax, dword [eax + 0x24]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov dword [ebp + 0xc], ebx
call fcn.0042abbb
mov eax, dword [eax + 4]
lea edx, [ebp - 0x54]
push edx
push dword [ebp - 0xb4]
lea edx, [esi + 0x2128]
push edx
lea ecx, [esi + 0x20b0]
push ecx
push eax
lea eax, [edi + 0x178]
push eax
lea ecx, [esi + 0x38a0]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edx
call fcn.0086b2d8
cmp dword [ebp - 0x2c], ebx
mov dword [ebp + 8], eax
mov byte [ebp - 4], bl
je 0xaa1941
push ebx
lea ecx, [ebp - 0x30]
call fcn.0042daaf
cmp dword [ebp + 8], ebx
jne 0xaa194d
mov dword [ebp + 0xc], 1
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.0042abbb
mov ecx, dword [ebp - 0x38]
push dword [ecx + 0x24]
mov eax, dword [eax + 4]
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.0082f3d2
add esp, 0xc
mov ecx, eax
push 0x64
pop eax
sub eax, ecx
imul eax, dword [ebp + 8]
push 0x64
cdq
pop ecx
idiv ecx
cmp dword [ebp - 0x2c], ebx
mov byte [ebp - 4], bl
mov dword [ebp + 8], eax
je 0xaa1996
push ebx
lea ecx, [ebp - 0x30]
call fcn.0042daaf
cmp dword [ebp + 0xc], ebx
jne 0xaa1a16
cmp dword [ebp + 8], 1
jg 0xaa1a16
mov dword [ebp + 8], 1
jmp 0xaa1a16
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x14]
add eax, 0xc
push eax
call fcn.0072c99b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042abbb
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
push esi
lea esi, [ebp - 0x54]
push esi
push dword [ebp - 0xb4]
lea esi, [edx + 0x2128]
push dword [ebp - 0x38]
lea ecx, [edx + 0x20b0]
push esi
push ecx
push eax
lea eax, [edi + 0x178]
push eax
lea ecx, [edx + 0x38a0]
mov byte [ebp - 4], 3
call fcn.0086aea3
cmp dword [ebp - 0x2c], ebx
mov dword [ebp + 8], eax
mov byte [ebp - 4], bl
je 0xaa1a16
push ebx
lea ecx, [ebp - 0x30]
call fcn.0042daaf
xor eax, eax
cmp dword [ebp + 8], ebx
setle al
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0xaa1a73
cmp dword [eax + 0x70], ebx
je 0xaa1a58
cmp dword [ebp - 0x34], ebx
jne 0xaa1a58
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x65]
lea eax, [esi + 0x61]
push eax
call fcn.004878ba
pop ecx
pop ecx
movsx eax, ax
push 1
dec eax
pop ecx
cmp eax, ecx
jle 0xaa1a53
mov dword [ebp + 8], eax
jmp 0xaa1a5e
mov dword [ebp + 8], ecx
jmp 0xaa1a5e
mov esi, dword [ebp - 0x5c]
push 1
pop ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x98], ebx
je 0xaa1a76
cmp dword [ebp - 0x34], ebx
jne 0xaa1a76
mov dword [ebp + 8], ecx
jmp 0xaa1a76
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x3d]
lea eax, [esi + 0x39]
push eax
mov dword [ebp - 0x20], eax
call fcn.004878ba
cmp ax, 0x19c
pop ecx
pop ecx
je 0xaa1aa4
push dword [esi + 0x3d]
push dword [ebp - 0x20]
call fcn.004878ba
cmp ax, 0x1a6
pop ecx
pop ecx
jne 0xaa1b5b
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x3d]
add eax, 0x39
push eax
call fcn.004878ba
pop ecx
pop ecx
xor ecx, ecx
cmp ax, 0x19c
setne cl
lea eax, [ebp - 0x30]
push eax
dec ecx
and ecx, 0xfffe7960
add ecx, fcn.00406462
mov esi, ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042abbb
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [0xd7c424]
push esi
push eax
mov byte [ebp - 4], 4
call fcn.0082a0da
cmp dword [ebp - 0x2c], ebx
mov esi, eax
mov byte [ebp - 4], bl
je 0xaa1b07
push ebx
lea ecx, [ebp - 0x30]
call fcn.0042daaf
cmp esi, ebx
je 0xaa1b5b
mov ecx, dword [ebp - 0x94]
push esi
call fcn.00829584
push dword [eax + 0x108]
add eax, 0x100
push eax
call fcn.00419768
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0xb0]
push 0x64
xor edx, edx
pop esi
div esi
cmp edx, ecx
jae 0xaa1b5b
call fcn.0043d78a
mov ecx, dword [eax + 0x158]
push 1
shr ecx, 1
pop eax
and ecx, eax
mov dword [ebp + 0xc], ecx
jne 0xaa1b5b
or dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 0x23
jne 0xaa1bac
mov eax, dword [ebp - 0x14]
push dword [eax + 0x30e8]
add eax, 0x2128
add eax, 0xfb8
push eax
call fcn.00419768
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xa4]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp edx, dword [ebp + 0xc]
jae 0xaa1bac
push 1
pop eax
mov dword [ebp + 8], ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xac]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp edx, dword [edi + 0x2e8]
jae 0xaa1bcb
mov dword [ebp + 8], ebx
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x14]
push dword [eax + 0x3208]
add eax, 0x2128
add eax, 0x10d8
push eax
call fcn.00419768
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xa0]
push 0x64
xor edx, edx
pop ecx
div ecx
cmp edx, dword [ebp + 0xc]
jae 0xaa1c05
mov dword [ebp + 8], ebx
mov dword [ebp - 0x34], 1
mov ecx, esi
call fcn.00aa31c2
test eax, eax
jne 0xaa1c1b
mov ecx, esi
call fcn.00aa31e1
test eax, eax
je 0xaa1c25
mov dword [ebp + 8], ebx
mov dword [ebp - 0x34], 1
call fcn.0043d78a
test eax, eax
je 0xaa1ca6
call fcn.0043d78a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, 0x13
jne 0xaa1ca6
mov eax, dword [esi + 0x3700]
cmp eax, ebx
jne 0xaa1c7f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [eax + 0x8f0]
add eax, 0x8e8
push eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jne 0xaa1c9c
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x14]
add eax, 0xc
push eax
call fcn.0072c99b
pop ecx
pop ecx
cmp eax, 0x8de96a
jmp 0xaa1c9a
cmp eax, 1
jne 0xaa1ca6
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x14]
add eax, 0xc
push eax
call fcn.0072c99b
pop ecx
pop ecx
cmp eax, 0x8de969
jne 0xaa1ca6
mov dword [ebp + 8], ebx
mov dword [ebp - 0x34], 1
cmp dword [ebp + 8], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
jle 0xaa26b0
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x3d]
lea eax, [esi + 0x39]
push eax
mov dword [ebp - 0x10], 0x10e
mov dword [ebp - 0x20], eax
call fcn.004878ba
cmp ax, 0x70
pop ecx
pop ecx
je 0xaa1ced
push dword [esi + 0x3d]
push dword [ebp - 0x20]
call fcn.004878ba
cmp ax, 0x7a
pop ecx
pop ecx
jne 0xaa1df7
mov ecx, dword [ebp - 0x5c]
push 0xfffffffffffffff6
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.0042c47a
cmp dword [ebp - 0x2c], ebx
mov esi, dword [eax + 4]
je 0xaa1d0e
push ebx
lea ecx, [ebp - 0x30]
call fcn.0042d8bb
cmp esi, ebx
je 0xaa1df7
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x3d]
add eax, 0x39
push eax
call fcn.004878ba
pop ecx
pop ecx
xor ecx, ecx
cmp ax, 0x70
setne cl
lea eax, [ebp - 0x30]
push eax
dec ecx
and ecx, 0xfffe795f
add ecx, 0x129da6
mov esi, ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042abbb
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [0xd7c424]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.0082a0da
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], bl
je 0xaa1d7d
push ebx
lea ecx, [ebp - 0x30]
call fcn.0042daaf
cmp dword [ebp - 0x88], ebx
je 0xaa1df7
push dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
call fcn.00829584
push dword [eax + 0x108]
add eax, 0x100
push eax
call fcn.00419768
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0xa8]
xor edx, edx
mov esi, 0x3e8
div esi
cmp edx, ecx
jae 0xaa1df7
call fcn.0043d78a
mov eax, dword [eax + 0x158]
shr eax, 1
and eax, 1
mov dword [ebp - 0x64], eax
jne 0xaa1df7
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x88]
call fcn.0045e1b6
neg eax
sbb eax, eax
inc eax
and eax, 1
mov dword [ebp - 0x6c], eax
xor eax, eax
cmp dword [ebp - 0x38], ebx
sete al
mov dword [ebp - 0x7c], eax
cmp dword [ebp + 0x24], ebx
jle 0xaa1fd8
mov eax, dword [edi + 0x164]
push dword [eax + 0x84]
add eax, 0x7c
push eax
call fcn.00419768
pop ecx
pop ecx
cdq
push 0xa
pop ecx
idiv ecx
push 0x64
pop esi
mov ecx, eax
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 0x24]
cdq
idiv esi
cmp eax, ecx
mov dword [ebp - 0x28], eax
jl 0xaa1e36
mov dword [ebp - 0x28], ecx
mov ecx, edi
call fcn.0044cfb5
test eax, eax
je 0xaa1e4c
mov eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0xaa1eef
mov eax, dword [edi + 0x164]
push dword [eax + 0x1b8]
add eax, 0x1b0
push eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa1ecc
mov eax, dword [edi + 0x164]
push dword [eax + 0x1b8]
add eax, 0x1b0
push eax
call fcn.00419768
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x164]
push dword [eax + 0x1b8]
add eax, 0x1b0
push eax
call fcn.00419768
add esp, 0x10
cmp eax, dword [ebp - 0x28]
jg 0xaa1ecc
mov eax, dword [edi + 0x164]
push dword [eax + 0x1b8]
add eax, 0x1b0
push eax
call fcn.00419768
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x164]
push dword [eax + 0x190]
add eax, 0x188
push eax
call fcn.0044e6ca
cmp eax, ebx
pop ecx
pop ecx
je 0xaa1eef
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x28], ebx
jle 0xaa1fcb
mov eax, dword [ebp - 0x14]
push dword [eax + 0x21f0]
lea edi, [eax + 0x2128]
lea eax, [edi + 0xc0]
push eax
call fcn.00419768
push dword [edi + 0xd4]
add edi, 0xcc
push edi
mov esi, eax
call fcn.00419768
add eax, esi
add esp, 0x10
cmp eax, ebx
jg 0xaa1f32
xor eax, eax
mov ecx, 0x3e7
cmp eax, ecx
mov dword [ebp - 0x64], eax
jl 0xaa1f41
mov dword [ebp - 0x64], ecx
mov edi, dword [ebp - 0x3c]
push dword [edi + 0x78]
lea eax, [edi + 0x70]
push eax
call fcn.00419768
mov esi, eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x35]
add eax, 0x33
push eax
call fcn.00487874
movzx eax, al
sub esi, eax
add esp, 0x10
cmp esi, ebx
mov dword [ebp - 0x20], esi
jg 0xaa1f73
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x64]
push dword [edi + 0xfc]
add edi, 0xf4
push edi
fmul qword [0xc85308]
fild dword [ebp - 0x20]
fmul qword [0xc8ac18]
fadd qword [0xc8c610]
fdivp st(1)
fstp qword [ebp - 0x30]
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa1fac
mov ecx, eax
jmp 0xaa1fae
xor ecx, ecx
mov eax, 0x3e7
cmp ecx, eax
mov dword [ebp - 0x64], ecx
jl 0xaa1fbd
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jbe 0xaa1fcb
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], 0xc8
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x7c], ebx
jne 0xaa1fe6
cmp dword [ebp - 0x74], ebx
jle 0xaa20bf
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x88]
push 1
lea eax, [ebp - 0xac]
push eax
call fcn.0045bf31
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.0071bb93
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.0071fb33
mov ecx, dword [esi + 0x164]
push 0x10cccf
mov dword [ebp - 0x64], eax
call fcn.0073d599
test eax, eax
jne 0xaa205c
mov eax, esi
mov ecx, dword [eax + 0x164]
push 0x12536f
call fcn.0073d599
test eax, eax
jne 0xaa205c
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
jne 0xaa2066
or esi, 0xffffffff
mov eax, dword [ebp - 0x6c]
push ebx
push ebx
push ebx
neg eax
push ebx
sbb eax, eax
and eax, 2
push eax
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xd80c88
call fcn.0042a948
push dword [ebp - 0x2c]
mov byte [ebp - 4], bl
push dword [ebp - 0x30]
push ebx
push ebx
push esi
mov esi, dword [ebp - 0x18]
lea ecx, [esi + 0x88]
call fcn.0045c586
push eax
push dword [ebp - 0x64]
call fcn.00adc3e4
add eax, 0x64
push eax
push ebx
mov ecx, esi
call fcn.00885c47
mov ecx, dword [ebp + 0x18]
push eax
call fcn.007223ec
cmp dword [ebp - 0x6c], ebx
jne 0xaa26a5
mov ecx, 0xd83800
call fcn.004197f1
push 0x64
xor edx, edx
pop ecx
div ecx
mov edi, edx
call fcn.0043d78a
mov eax, dword [eax + 0x158]
shr eax, 1
and eax, 1
mov dword [ebp - 0x20], eax
je 0xaa2153
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0xaa2338
cmp dword [eax + 0x9c], ebx
jne 0xaa2115
cmp dword [eax + 0xa8], ebx
je 0xaa2338
call fcn.00adc3e4
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 0x1728]
mov dword [ecx + 0x41d4], eax
push 1
mov eax, esi
neg eax
pop edx
mov dword [ecx + 0x41d8], edx
sbb eax, eax
lea ecx, [esi - 0xc]
and eax, ecx
cmp dword [eax + 0x1a0], ebx
jne 0xaa22c8
mov eax, 0x384
jmp 0xaa22ea
mov esi, dword [ebp - 0x14]
push dword [esi + 0x273c]
lea eax, [esi + 0x2734]
push eax
call fcn.00419768
pop ecx
pop ecx
push 0x64
pop ecx
cmp eax, ecx
jge 0xaa2173
mov ecx, eax
cmp ecx, ebx
jg 0xaa2179
xor ecx, ecx
xor eax, eax
cmp edi, ecx
setl al
cmp eax, ebx
mov dword [ebp - 0x58], eax
jne 0xaa2214
mov ecx, dword [esi + 0x32f4]
mov eax, dword [ecx]
call dword [eax + 4]
test al, al
je 0xaa2214
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x44]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [0xd7c424]
mov dword [ebp - 0x20], ebx
mov esi, eax
dec esi
neg esi
sbb esi, esi
lea eax, [ebp - 0x20]
and esi, 0xff67908d
push eax
add esi, 0xe66864
push esi
push dword [ebp - 0x5c]
mov dword [ebp - 0x40], esi
call fcn.0082a0da
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0xaa2217
push eax
call fcn.00829584
push dword [eax + 0x108]
add eax, 0x100
push eax
call fcn.00419768
cmp eax, 0x64
pop ecx
pop ecx
jl 0xaa21fe
push 0x64
pop eax
cmp eax, ebx
jle 0xaa2206
mov ecx, eax
jmp 0xaa2208
xor ecx, ecx
xor eax, eax
cmp edi, ecx
setl al
mov dword [ebp - 0x58], eax
jmp 0xaa2217
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 0x21
jne 0xaa2275
cmp dword [ebp - 0x58], ebx
jne 0xaa227e
mov ecx, 0xd83800
call fcn.004197f1
push 0x64
pop ecx
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 0x319c]
add eax, 0x3194
push eax
mov edi, edx
call fcn.00419768
cmp eax, 0x64
pop ecx
pop ecx
jl 0xaa2262
push 0x64
pop eax
cmp eax, ebx
jg 0xaa2268
xor eax, eax
xor ecx, ecx
cmp edi, eax
mov edi, dword [ebp - 0x18]
setl cl
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], ebx
je 0xaa20f6
mov ecx, dword [0xd7c424]
push ebx
push ebx
push ebx
push ebx
push 0x3e8
push esi
call fcn.00824297
push eax
mov ecx, edi
call fcn.00a6e6a7
cmp esi, 0x4df8f1
je 0xaa22af
cmp esi, 0xe66864
jne 0xaa238a
push esi
mov ecx, edi
call fcn.00aac10e
push eax
push 0x2b
push esi
call fcn.00ade949
add esp, 0xc
jmp 0xaa238a
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x9c], ebx
je 0xaa22da
mov eax, 0x76c
jmp 0xaa22ea
cmp dword [eax + 0xa8], ebx
mov eax, 0x578
jne 0xaa22ea
mov eax, dword [ebp - 0x10]
cmp dword [ebp + 0x20], 0x7fffffff
jne 0xaa22f8
mov dword [ebp + 0xc], ebx
jmp 0xaa2305
cmp dword [ebp - 0x84], edx
jne 0xaa2302
neg eax
mov dword [ebp + 0xc], eax
lea eax, [esi - 0xc]
neg esi
sbb esi, esi
and esi, eax
push 0x17
mov ecx, esi
call fcn.005814f3
fldz
push ecx
push ecx
fstp qword [esp]
push ecx
fild dword [ebp + 0xc]
push ecx
mov ecx, esi
fstp qword [esp]
call fcn.00885216
mov edi, dword [ebp - 0x18]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
jmp 0xaa238a
cmp dword [edi + 0x3694], ebx
jne 0xaa238a
mov eax, dword [edi + 0x3748]
cmp eax, 0x217994a
je 0xaa238a
cmp eax, 0x217e76d
je 0xaa238a
mov ecx, 0x7fffffff
cmp dword [ebp + 0x20], ecx
jne 0xaa2366
mov edx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ebx
jmp 0xaa237a
cmp dword [ebp + 0x20], ebx
mov edx, dword [ebp - 0x10]
jge 0xaa2377
mov eax, edx
neg eax
mov dword [ebp + 0xc], eax
jmp 0xaa237a
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x20]
sub eax, ecx
neg edx
neg eax
sbb eax, eax
and eax, edx
mov dword [ebp + 0x10], eax
mov esi, 0x404139
cmp dword [edi + 0x3738], esi
jne 0xaa240d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.0042abbb
mov eax, dword [eax + 4]
mov ecx, dword [0xd7c424]
push 0xd87728
push esi
push eax
mov byte [ebp - 4], 7
call fcn.0082a0da
cmp dword [ebp - 0x20], ebx
mov esi, eax
mov byte [ebp - 4], bl
je 0xaa23cf
push ebx
lea ecx, [ebp - 0x24]
call fcn.0042daaf
cmp esi, ebx
je 0xaa240d
mov ecx, dword [0xd87728]
cmp ecx, ebx
je 0xaa240d
push esi
call fcn.00829584
push dword [eax + 0x15c]
add eax, 0x154
push eax
call fcn.00419768
imul eax, dword [ebp + 8]
pop ecx
pop ecx
push 0x64
pop ecx
cdq
idiv ecx
push 1
pop ecx
cmp eax, ecx
mov dword [ebp + 8], eax
jg 0xaa240d
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x38], ebx
je 0xaa26b0
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x1c], ebx
je 0xaa26b0
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2790]
add eax, 0x2128
lea esi, [eax + 0x660]
push esi
mov dword [ebp - 0x10], eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
je 0xaa26b0
test byte [0xd876dc], 1
jne 0xaa246e
mov ecx, dword [0xd7c424]
or byte [0xd876dc], 1
push 0x205d2a
call fcn.00824297
mov dword [0xd876d8], eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x668]
push esi
call fcn.00419768
pop ecx
pop ecx
mov ecx, dword [0xd876d8]
push eax
call fcn.00829584
push dword [eax + 0x108]
add eax, 0x100
push eax
call fcn.00419768
pop ecx
pop ecx
mov ecx, 0xd83800
mov edi, eax
call fcn.004197f1
push 0x64
xor edx, edx
pop ecx
div ecx
cmp edx, edi
jae 0xaa26b0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x668]
push esi
call fcn.00419768
pop ecx
pop ecx
mov ecx, dword [0xd876d8]
push eax
call fcn.00829584
push dword [eax + 0x15c]
add eax, 0x154
push eax
call fcn.00419768
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x164]
push dword [eax + 0x84]
add eax, 0x7c
push eax
call fcn.00419768
add esp, 0x10
cdq
push 0x14
pop ecx
idiv ecx
push 0x64
pop edi
mov ecx, eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp + 8]
cdq
idiv edi
cmp eax, ecx
mov dword [ebp - 0x10], eax
jl 0xaa2524
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x164]
push 0x205d2a
call fcn.0073d599
test eax, eax
jne 0xaa2563
mov ecx, dword [esi + 0x164]
push 0x21e3ca
call fcn.0073d599
test eax, eax
jne 0xaa2563
mov ecx, dword [esi + 0x164]
push 0x236a6a
call fcn.0073d599
test eax, eax
jne 0xaa2563
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
jle 0xaa2636
mov eax, dword [ebp - 0x14]
push dword [eax + 0x20f4]
lea esi, [eax + 0x20b0]
lea eax, [esi + 0x3c]
push eax
call fcn.00419768
push dword [esi + 0x50]
mov edi, eax
lea eax, [esi + 0x48]
push eax
call fcn.00419768
cdq
push 0xa
pop ecx
idiv ecx
push 0xa
mov ecx, eax
mov eax, edi
cdq
pop edi
idiv edi
add ecx, eax
lea eax, [ecx + ecx*4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x78]
add eax, 0x70
push eax
call fcn.00419768
push dword [esi + 0x14]
add esi, 0xc
push esi
mov edi, eax
call fcn.00419768
sub edi, eax
add esp, 0x20
cmp edi, ebx
mov dword [ebp - 0x20], edi
jg 0xaa25d6
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x74]
mov eax, dword [ebp - 0x3c]
push dword [eax + 0xfc]
add eax, 0xf4
fmul qword [0xc85308]
push eax
fild dword [ebp - 0x20]
fmul qword [0xc8ac18]
fadd qword [0xc8c610]
fdivp st(1)
fmul qword [0xc83de0]
fstp qword [ebp - 0x78]
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa2617
mov ecx, eax
jmp 0xaa2619
xor ecx, ecx
mov eax, 0x3e7
cmp ecx, eax
mov dword [ebp - 0x20], ecx
jl 0xaa2628
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fcomp qword [ebp - 0x78]
fnstsw ax
sahf
jbe 0xaa2636
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x18]
lea ecx, [eax + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
call dword [eax + 0x10]
mov edi, dword [eax]
mov esi, dword [eax + 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0xd80c88
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
call fcn.0042a948
push esi
mov esi, dword [ebp - 0x18]
push edi
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [esi + 0x88]
mov byte [ebp - 4], bl
call fcn.0045c586
push eax
push dword [ebp - 0x64]
call fcn.00adc3e4
add eax, 0x64
push eax
push ebx
mov ecx, esi
call fcn.00885c47
mov ecx, dword [ebp + 0x18]
push eax
call fcn.007223ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
jmp 0xaa26b0
or dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], ebx
jne 0xaa26c0
push 1
pop eax
cmp dword [ebp + 8], eax
jg 0xaa26c0
mov dword [ebp + 8], eax
cmp dword [ebp - 0x54], ebx
je 0xaa26e7
mov ecx, dword [0xd7c424]
push ebx
push ebx
push ebx
push ebx
push 0x3e8
push 0x40413d
call fcn.00824297
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00a6e6a7
cmp dword [ebp - 0x38], ebx
je 0xaa2889
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x88]
push 1
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x10], ecx
call fcn.0045bf31
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0xa4]
sub esi, eax
mov edi, 0xd83800
mov dword [ebp - 0x20], eax
mov ecx, edi
je 0xaa2735
call fcn.004197f1
xor edx, edx
div esi
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
jmp 0xaa273d
call fcn.004197f1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa0]
sub esi, eax
mov dword [ebp - 0x1c], eax
mov ecx, edi
je 0xaa2762
call fcn.004197f1
xor edx, edx
div esi
mov edi, edx
add edi, dword [ebp - 0x1c]
jmp 0xaa2769
call fcn.004197f1
mov edi, eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x7c]
cmp eax, ebx
lea esi, [ecx + 0x7c]
je 0xaa2783
mov eax, dword [eax]
cmp eax, ebx
je 0xaa2783
mov eax, dword [eax - 4]
shr eax, 1
jmp 0xaa2785
xor eax, eax
cmp eax, ebx
je 0xaa285e
cmp dword [ecx + 0x88], ebx
je 0xaa27cd
push 0xc00614a4
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.00438069
push ebx
push ebx
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x34], esp
push eax
mov byte [ebp - 4], 9
call fcn.004d29c2
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0045c586
neg eax
sbb eax, eax
inc eax
jmp 0xaa2849
cmp dword [ecx + 0xa0], ebx
push 0xc00614a4
push ecx
mov ecx, esp
je 0xaa2821
mov dword [ebp - 0x70], esp
push ebx
call fcn.00438069
push ebx
push ebx
push ecx
mov ecx, dword [ebp - 0x18]
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.004d29c2
push dword [ebp - 0x84]
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040b649
push eax
call fcn.00438119
mov ecx, eax
call fcn.0043f559
mov dword [ebp - 0x70], 1
jmp 0xaa285e
mov dword [ebp - 0x1c], esp
push ebx
call fcn.00438069
push edi
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
call fcn.0043804c
xor eax, eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], bl
setg al
push eax
mov ecx, esi
call fcn.0040b649
push eax
call fcn.00438119
mov ecx, eax
call fcn.0043f559
mov eax, dword [ebp - 0x3c]
push dword [eax + 0x14]
add eax, 0xc
push eax
call fcn.0072c99b
push edi
push dword [ebp - 0x20]
mov esi, eax
call fcn.00ade5b6
push eax
mov eax, dword [ebp + 0x1c]
add eax, 0xb
push eax
push esi
call fcn.00adf07c
add esp, 0x1c
cmp dword [ebp + 0xc], ebx
jne 0xaa2893
cmp dword [ebp + 0x10], ebx
je 0xaa28c5
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x1728]
lea eax, [esi - 0xc]
neg esi
sbb esi, esi
and esi, eax
push 0x1b
mov ecx, esi
call fcn.005814f3
fild dword [ebp + 0x10]
push ecx
push ecx
fstp qword [esp]
push ecx
fild dword [ebp + 0xc]
push ecx
mov ecx, esi
fstp qword [esp]
call fcn.00885216
cmp dword [ebp + 8], ebx
jg 0xaa28e5
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x297c]
push 0xfffffa24
call fcn.0042d65d
mov edi, dword [ebp - 0x18]
jmp 0xaa2ac1
mov ecx, dword [ebp - 0x14]
push 5
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x10], 0x5dc
call fcn.00a96e2c
cmp dword [ebp - 0x20], ebx
mov esi, dword [eax + 4]
je 0xaa290e
push ebx
lea ecx, [ebp - 0x24]
call fcn.0042d8bb
mov dword [ebp - 0x20], ebx
cmp esi, ebx
je 0xaa2a18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test eax, eax
je 0xaa2a18
mov edi, dword [0xd7c420]
lea ecx, [esi + 0xc]
call fcn.0042d5a8
push eax
mov ecx, edi
call fcn.00670865
cmp eax, ebx
je 0xaa2a18
push dword [eax + 0x68]
add eax, 0x60
push eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00419768
dec eax
push 0xa
cdq
pop ecx
idiv ecx
push dword [esi + 0x115]
mov edi, eax
lea eax, [esi + 0x111]
push eax
call fcn.004878ba
add esp, 0x10
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
movsx eax, ax
push edi
push eax
call fcn.00aae239
push dword [esi + 0x11d]
lea eax, [esi + 0x119]
push eax
call fcn.004878ba
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
movsx eax, ax
push edi
push eax
call fcn.00aae239
push dword [esi + 0x125]
add esi, 0x121
push esi
call fcn.004878ba
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
movsx eax, ax
push edi
push eax
call fcn.00aae239
mov eax, dword [ebp + 0x10]
add eax, 0x5dc
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], eax
jle 0xaa2a18
mov ecx, 0xd83800
call fcn.004197f1
push 0x65
xor edx, edx
pop ecx
div ecx
cmp edx, dword [ebp + 0xc]
ja 0xaa2a18
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x10]
lea ecx, [edi + 0x297c]
call fcn.0042d65d
cmp dword [edi + 0x29f0], ebx
jne 0xaa2a41
push dword [ebp - 0x10]
lea ecx, [edi + 0x88]
push 1
call fcn.0045c448
mov dword [edi + 0x468], 0x1388
mov eax, dword [edi + 0x3738]
cmp eax, 0x404139
je 0xaa2a63
push eax
call fcn.0053ae08
test eax, eax
pop ecx
je 0xaa2ac1
push dword [edi + 0x3738]
call fcn.0053ae08
test eax, eax
pop ecx
je 0xaa2ac1
push dword [edi + 0x3738]
call fcn.00aa314e
test eax, eax
pop ecx
jne 0xaa2ac1
lea esi, [edi + 0x88]
mov ecx, esi
call fcn.0045c270
cmp eax, 0xffffffff
jle 0xaa2aa8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
mov eax, dword [esi]
push ebx
push 0x64
push 6
mov ecx, esi
call dword [eax + 0x14]
push ebx
lea ecx, [edi + 0x41c0]
mov dword [edi + 0x41b8], ebx
call fcn.0042d57d
mov ecx, edi
call fcn.00aa6015
push dword [ebp + 8]
mov ecx, edi
call fcn.00aa7379
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2cec]
lea esi, [eax + 0x2cec]
add eax, 0x2ce4
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa2b1d
push dword [esi]
mov eax, dword [ebp - 0x14]
add eax, 0x2ce4
push eax
call fcn.00419768
mov edx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, 0x3e8
mov esi, ecx
sub esi, edx
imul eax, esi
cdq
idiv ecx
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x14]
push dword [esi + 0x22e0]
lea eax, [esi + 0x22d8]
push eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
je 0xaa2ba6
push dword [esi + 0x2808]
lea eax, [esi + 0x2800]
push eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
push dword [esi + 0x22e0]
push dword [ebp + 0x10]
je 0xaa2b72
call fcn.00419768
imul eax, dword [ebp + 8]
pop ecx
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
jmp 0xaa2ba3
call fcn.00419768
mov esi, eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x75]
add eax, 0x71
push eax
call fcn.004878ba
add esp, 0x10
push 0x64
mov ecx, eax
mov eax, esi
imul eax, dword [ebp + 8]
cdq
pop esi
idiv esi
movsx ecx, cx
mov dword [ebp + 0xc], ecx
cmp ecx, eax
jl 0xaa2ba6
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x2e30]
lea esi, [eax + 0x2e30]
add eax, 0x2e28
push eax
mov dword [ebp - 0x3c], ebx
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa2bef
push dword [esi]
mov eax, dword [ebp - 0x14]
add eax, 0x2e28
push eax
call fcn.00419768
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0xc]
push 0x64
imul eax, ecx
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x14]
push dword [esi + 0x2994]
lea eax, [esi + 0x298c]
push eax
mov dword [ebp + 0x10], ebx
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa2c71
push dword [esi + 0x29a0]
lea eax, [esi + 0x2998]
push eax
call fcn.00419768
pop ecx
pop ecx
mov ecx, dword [0xd7c424]
push eax
call fcn.00824297
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0xaa2c71
push dword [esi + 0x2994]
lea eax, [esi + 0x298c]
push eax
call fcn.00419768
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
call fcn.00829584
push dword [eax + 0x15c]
add eax, 0x154
push eax
call fcn.00419768
imul eax, dword [ebp + 8]
pop ecx
pop ecx
push 0x64
cdq
pop ecx
idiv ecx
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x8c]
call fcn.00aabb17
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0xaa2e68
call fcn.0043d78a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, 0x13
je 0xaa2e65
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
push 0x64
cdq
pop ecx
idiv ecx
cmp eax, 0x23
jne 0xaa2d58
push dword [esi + 0x3130]
lea eax, [esi + 0x3128]
push eax
call fcn.00419768
cmp eax, ebx
pop ecx
pop ecx
jle 0xaa2d58
push dword [esi + 0x2118]
lea eax, [esi + 0x2110]
push eax
call fcn.00419768
push dword [esi + 0x3130]
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x3128]
push eax
call fcn.00419768
imul eax, dword [ebp - 0x44]
add esp, 0x10
push 0x64
cdq
pop ecx
idiv ecx
cmp dword [ebp + 8], eax
jle 0xaa2d58
push dword [esi + 0x3154]
add esi, 0x314c
push esi
call fcn.00419768
imul eax, dword [ebp + 8]
pop ecx
pop ecx
push 0xffffffffffffff9c
pop ecx
cdq
idiv ecx
push 0x217c059
mov ecx, edi
add dword [ebp + 8], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00a71ad4
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
mov byte [ebp - 4], 0xf
je 0xaa2d4d
call fcn.00886c90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0072c3c7
cmp dword [ebp + 8], ebx
jle 0xaa2d68
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00aaddc8
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push ebx
add eax, dword [ebp - 0x1c]
mov ecx, edi
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x28]
push eax
call fcn.00a64b27
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x60]
push eax
call fcn.00a96e2c
cmp dword [ebp - 0x5c], ebx
mov esi, dword [eax + 4]
je 0xaa2da5
push ebx
lea ecx, [ebp - 0x60]
call fcn.0042d8bb
mov dword [ebp - 0x5c], ebx
cmp esi, ebx
je 0xaa2ec9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test eax, eax
je 0xaa2ec9
mov eax, dword [0xd7c420]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x44], eax
call fcn.0042d5a8
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00670865
cmp eax, ebx
je 0xaa2ec9
push dword [eax + 0x68]
add eax, 0x60
push eax
call fcn.00419768
dec eax
push 0xa
cdq
pop ecx
idiv ecx
push dword [esi + 0x115]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x111]
push eax
call fcn.004878ba
add esp, 0x10
push dword [ebp - 0x20]
movsx eax, ax
push eax
mov ecx, edi
call fcn.00aadc56
push dword [esi + 0x11d]
lea eax, [esi + 0x119]
push eax
call fcn.004878ba
pop ecx
pop ecx
push dword [ebp - 0x20]
movsx eax, ax
push eax
mov ecx, edi
call fcn.00aadc56
push dword [esi + 0x125]
add esi, 0x121
push esi
call fcn.004878ba
pop ecx
pop ecx
push dword [ebp - 0x20]
movsx eax, ax
push eax
mov ecx, edi
call fcn.00aadc56
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
jmp 0xaa2ecf
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x44], ebx
je 0xaa2e89
mov ecx, dword [ebp + 0x10]
sub ecx, eax
add ecx, dword [ebp - 0x1c]
push ebx
add ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.00a64b27
jmp 0xaa2ecc
cmp eax, 0xffffffff
jne 0xaa2ecf
cmp dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x90]
jne 0xaa2e9f
mov eax, dword [ebp - 0x94]
push ebx
push ebx
push ebx
push ebx
push 0x3e8
push eax
mov ecx, edi
call fcn.00a6e6a7
cmp dword [ebp - 0x6c], ebx
jne 0xaa2ecc
push 0x5dc
push 2
lea ecx, [edi + 0x88]
call fcn.0045c448
jmp 0xaa2ecc
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x2c], ebx
je 0xaa309b
push 0x30
lea ecx, [ebp - 0x50]
call fcn.0079117f
mov byte [ebp - 4], 0x10
call fcn.00adc3e4
push eax
lea ecx, [ebp - 0x50]
call fcn.00406d17
cmp dword [ebp + 0x18], ebx
jne 0xaa2f32
cmp dword [ebp + 0x28], ebx
lea ecx, [ebp - 0x50]
sete al
add eax, 0xfd
push eax
call fcn.00406cba
push ebx
lea ecx, [ebp - 0x50]
call fcn.00406cba
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.00406d17
push dword [ebp + 0x14]
lea ecx, [ebp - 0x50]
call fcn.0042ceff
push ebx
jmp 0xaa3076
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x50]
call fcn.00406cba
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x50]
call fcn.00406cba
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
call fcn.00406d17
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x164]
push dword [eax + 0x14]
add eax, 0xc
push eax
call fcn.0072c99b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00406d17
mov eax, dword [ebp + 0x18]
push dword [eax + 0x160]
lea ecx, [ebp - 0x50]
call fcn.00406d17
cmp dword [ebp - 0x70], ebx
je 0xaa2f94
mov eax, dword [ebp - 0x84]
jmp 0xaa2f9c
xor eax, eax
cmp dword [ebp + 0x20], ebx
setl al
push eax
lea ecx, [ebp - 0x50]
call fcn.00406cba
push dword [ebp - 0x74]
lea ecx, [ebp - 0x50]
call fcn.00406cba
cmp dword [ebp - 0x7c], ebx
setne al
inc eax
cmp dword [ebp - 0x6c], ebx
sete cl
dec ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00406cba
cmp dword [ebp - 0x7c], ebx
jne 0xaa2fd7
cmp dword [ebp - 0x74], ebx
je 0xaa305d
cmp dword [ebp + 0x24], ebx
setne al
cmp dword [ebp - 0x74], ebx
sete cl
dec ecx
and ecx, eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00406cba
mov eax, dword [ebp + 0x18]
push dword [eax + 0x160]
lea ecx, [ebp - 0x50]
call fcn.00406d17
push dword [ebp - 0x64]
lea ecx, [ebp - 0x50]
call fcn.00406cba
push dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
call fcn.0042ceff
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
call fcn.0042ceff
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x9c]
lea esi, [edi + 4]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ax, word [eax]
lea ecx, [ebp - 0x50]
push eax
call fcn.0042ceff
mov eax, dword [esi]
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov ax, word [eax + 4]
lea ecx, [ebp - 0x50]
push eax
call fcn.0042ceff
mov esi, dword [ebp - 0x14]
xor eax, eax
cmp dword [ebp - 0x40], 0x1f914ce
sete al
cmp eax, ebx
sete al
dec eax
and eax, 2
or al, byte [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406cba
mov ecx, dword [0xd7c468]
lea eax, [ebp - 0x50]
push eax
call fcn.004b1207
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0042db5c
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x28], ebx
mov byte [ebp + 0x18], bl
je 0xaa30a9
mov byte [ebp + 0x18], 1
jmp 0xaa30bd
cmp dword [ebp - 0x54], ebx
je 0xaa30b4
mov byte [ebp + 0x18], 2
jmp 0xaa30bd
cmp dword [ebp + 0xc], ebx
je 0xaa30bd
mov byte [ebp + 0x18], 4
cmp eax, ebx
jge 0xaa30d1
xor eax, eax
cmp dword [ebp - 0x88], ebx
mov dword [ebp + 8], eax
je 0xaa30d1
mov dword [ebp - 0x28], ebx
sub eax, dword [ebp + 0x10]
push dword [ebp + 0x18]
sub eax, dword [ebp - 0x3c]
push ebx
sub eax, dword [ebp + 0xc]
mov ecx, edi
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x28]
push eax
call fcn.00aa59ff
test byte [ebp + 0x18], 4
je 0xaa310c
push ebx
push ebx
push ebx
mov ecx, edi
mov dword [edi + 0x3734], 1
call fcn.00aa5ca7
cmp dword [ebp + 8], ebx
jle 0xaa3131
push dword [edi + 0x37f0]
add edi, 0x37e8
push edi
call fcn.0044e6ca
cmp eax, ebx
pop ecx
pop ecx
je 0xaa3131
push ebx
mov ecx, esi
call fcn.00b7b7b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004bcf11
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x28