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

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x914
mov eax, dword [ebp + 0x74]
mov edx, dword [eax]
and dword [ebp + 0x58], 0
push ebx
push esi
lea esi, [ebp - 0x7c]
push esi
mov esi, dword [eax + 0xc]
mov ebx, ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
add esi, ecx
push esi
mov esi, dword [ebp + 0x6c]
add eax, edx
push eax
push ecx
push edx
lea ecx, [esi + 0xf4]
call fcn.70d510fc
test eax, eax
je 0x70e17af0
push edi
lea ecx, [ebp - 0x23c]
call fcn.70d4fc78
mov ecx, dword [ebp + 0x7c]
and dword [ebp + 0x34], 0
lea eax, [esi + 0x74]
add ecx, 0xfffffff4
mov edx, dword [ecx]
push eax
mov dword [ebp + 0x5c], eax
call dword [edx + 0x3c]
test eax, eax
mov dword [ebp + 0x4c], eax
je 0x70e17400
mov esi, dword [ebp + 0x74]
lea edi, [ebp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
xor edx, edx
inc ecx
cmp eax, ecx
mov dword [ebp + 0x54], edx
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x50], edx
je 0x70e16f9a
cmp eax, 2
je 0x70e16f95
cmp eax, 3
je 0x70e169e7
jle 0x70e16fa8
cmp eax, 5
jg 0x70e16fa8
mov ecx, dword [ebp + 0x7c]
mov esi, dword [ecx]
add ecx, 0xfffffff4
xor eax, eax
cmp esi, 4
sete al
xor edi, edi
cmp dword [ebx + 0x78], edi
jne 0x70e169aa
cmp dword [ebx + 0x40], edi
je 0x70e169aa
cmp dword [ebx + 0x14], edi
mov dword [ebp + 0x54], 1
je 0x70e169ad
mov dword [ebp + 0x54], edi
cmp esi, 3
jne 0x70e169b7
call fcn.70e15b2b
cmp eax, edi
je 0x70e16f2a
mov ecx, dword [ebp + 0x74]
mov edx, dword [ecx + 8]
mov eax, 0x100
cmp edx, eax
mov dword [ebp + 0x44], edx
jl 0x70e169d4
mov dword [ebp + 0x44], eax
mov ecx, dword [ecx + 0xc]
cmp ecx, eax
jl 0x70e16f8b
mov dword [ebp + 0x48], eax
jmp 0x70e16fa8
mov eax, dword [ebp + 0x7c]
add eax, 8
push eax
lea ecx, [ebp - 0x1c4]
call fcn.70d51315
push dword [ebp + 0x5c]
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.70d524e3
cmp dword [ebx + 0x14], 0
jne 0x70e16982
cmp dword [ebx + 0x78], 0
jne 0x70e16a29
cmp dword [ebx + 0x40], 0
je 0x70e16982
test byte [ebp - 0x1a0], 8
jne 0x70e16982
lea ecx, [ebp - 0x114]
call fcn.70d4fc78
lea ecx, [ebp - 0xec]
call fcn.70d4fc78
lea ecx, [ebp - 0x214]
call fcn.70d4fc78
lea ecx, [ebp - 0x13c]
call fcn.70d4fc78
lea ecx, [ebp - 0xc4]
call fcn.70d4fc78
fldz
mov eax, dword [ebp + 0x7c]
fstp dword [ebp + 8]
fldz
lea esi, [eax + 0x34]
fstp dword [ebp + 4]
lea edi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp]
movsd dword es:[edi], dword [esi]
fldz
fstp dword [ebp - 4]
fldz
movsd dword es:[edi], dword [esi]
fstp dword [ebp - 0x20]
fldz
add eax, 8
push eax
fstp dword [ebp - 0x24]
lea ecx, [ebp - 0x264]
movsd dword es:[edi], dword [esi]
call fcn.70d51315
push 2
lea eax, [ebp - 0x1c]
pop ecx
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax]
add eax, 8
dec ecx
jne 0x70e16ab0
mov esi, dword [ebp + 0x7c]
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc4]
push 2
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
pop ecx
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax]
add eax, 8
dec ecx
jne 0x70e16aec
mov ecx, dword [ebp + 0x5c]
push 2
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.70d30dfe
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.70d28a8c
test eax, eax
jne 0x70e16982
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.70d081a0
fadd dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
xor edi, edi
fstp dword [ebp - 0x24]
inc edi
fld dword [ebp + 0x28]
push edi
fsub dword [ebp + 0x20]
push ecx
fld dword [ebp + 0x2c]
push ecx
fsub dword [ebp + 0x24]
lea ecx, [ebp - 0x13c]
fld st(1)
fpatan
mov dword [ebp - 0x20], eax
fmul qword [0x70d28d40]
fstp dword [ebp + 0x30]
fstp st(0)
fld dword [ebp + 0x24]
fchs
fstp dword [esp + 4]
fld dword [ebp + 0x20]
fchs
fstp dword [esp]
call fcn.70d59be6
fld dword [ebp + 0x30]
push edi
push ecx
fchs
lea ecx, [ebp - 0x13c]
fstp dword [esp]
call fcn.70d2a785
fld dword [ebp + 0x24]
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x13c]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.70d59be6
fld dword [ebp + 0x24]
push edi
push ecx
fchs
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0xc4]
fld dword [ebp + 0x20]
fchs
fstp dword [esp]
call fcn.70d59be6
fld dword [ebp + 0x30]
push edi
push ecx
lea ecx, [ebp - 0xc4]
fstp dword [esp]
call fcn.70d2a785
fld dword [ebp + 0x24]
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0xc4]
fld dword [ebp + 0x20]
fstp dword [esp]
call fcn.70d59be6
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x114]
call fcn.70d50154
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.70d524e3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0xec]
call fcn.70d50154
lea ecx, [ebp - 0xec]
call fcn.70d5244c
test eax, eax
jne 0x70e16982
mov edi, dword [ebp + 0x78]
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.70d2e3d6
fldz
mov eax, dword [edi]
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 4]
fldz
fstp dword [esp]
push 0
push 0
push ecx
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0xec]
push eax
mov ecx, edi
call fcn.70d2e3d6
fld dword [ebp + 4]
xor edi, edi
push ecx
fstp dword [esp]
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x40], edi
call fcn.70d50e6e
fld dword [ebp]
push edi
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0xc4]
fld dword [ebp - 4]
mov dword [ebp + 0x44], eax
fstp dword [esp]
mov dword [ebp + 0x48], 1
call fcn.70d59be6
fld dword [ebp]
push edi
fchs
push ecx
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0x214]
fld dword [ebp - 4]
fchs
fstp dword [esp]
call fcn.70d59be6
push dword [esi + 0x54]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x20]
push eax
lea ecx, [esi - 0xc]
call fcn.70da85f8
test eax, eax
jne 0x70e16982
mov edi, dword [ebp + 0x7c]
push 0x26200a
lea eax, [ebp + 0x50]
push eax
lea eax, [edi - 0xc]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp + 0x6c]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.70dade58
mov ecx, dword [ebp + 0x7c]
add edi, 0x34
lea esi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x58], eax
lea eax, [ebp - 0x264]
push eax
add ecx, 8
movsd dword es:[edi], dword [esi]
call fcn.70d50154
cmp dword [ebp + 0x58], 0
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xb8], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xbc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc0], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc4], ecx
jne 0x70e17aec
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
call fcn.70e14fb2
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x7c], eax
je 0x70e16f18
mov ecx, dword [ebp + 0x50]
push edi
push edi
lea eax, [ebp - 0x6c]
push eax
push 0x26200a
push 1
push edi
call fcn.70d3cdce
mov esi, eax
cmp esi, edi
jne 0x70e16f0a
mov eax, dword [ebx]
push edi
lea ecx, [ebp + 0x70]
push ecx
lea ecx, [ebp + 0x38]
push ecx
push dword [ebp + 0x74]
mov ecx, ebx
push dword [ebp + 0x6c]
mov dword [ebp + 0x70], edi
push dword [ebp + 0x7c]
call dword [eax + 0x14]
cmp dword [ebx + 0x78], edi
je 0x70e16e1a
mov ecx, dword [ebp + 0x78]
cmp dword [ecx + 0x44], 4
jne 0x70e16e1a
call fcn.70e1581d
test eax, eax
je 0x70e16e1a
push dword [ebp + 0x78]
mov eax, dword [ebx]
push dword [ebp + 0x6c]
mov ecx, ebx
push dword [ebp + 0x7c]
call dword [eax + 0x68]
fld dword [ebp + 8]
push ecx
fstp dword [esp]
lea eax, [ebp - 0xc4]
push eax
push edi
push 0xf00021
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x7c]
mov ecx, ebx
call fcn.70e165d5
push dword [ebp + 0x7c]
mov esi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
jmp 0x70e16eed
fld dword [ebp + 8]
push ecx
fstp dword [esp]
lea eax, [ebp - 0xc4]
push eax
push 1
push 0x5a0049
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x7c]
mov ecx, ebx
call fcn.70e165d5
mov esi, eax
cmp esi, edi
jne 0x70e16eed
push edi
push 2
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x418]
push dword [ebp + 0x78]
call fcn.70d06d96
cmp dword [ebp - 0x418], 0x47764331
jne 0x70e16ee2
cmp dword [ebx + 0x78], edi
je 0x70e16e76
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x70e16e87
movzx eax, byte [ebx + 0x84]
push 1
push eax
mov ecx, ebx
call fcn.70e14ffe
mov edi, dword [sym.imp.GDI32.dll_SetROP2]
push 9
push dword [ebp + 0x7c]
mov esi, eax
call edi
push esi
push dword [ebp + 0x7c]
lea ecx, [ebp - 0x418]
mov dword [ebp + 0x74], eax
call fcn.70d083b9
push dword [ebp + 0x74]
mov esi, eax
push dword [ebp + 0x7c]
neg esi
sbb esi, esi
inc esi
call edi
test esi, esi
jne 0x70e16ee0
fld dword [ebp + 8]
push ecx
fstp dword [esp]
lea eax, [ebp - 0xc4]
push eax
push 1
push 0x5a0049
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x7c]
mov ecx, ebx
call fcn.70e165d5
mov esi, eax
xor edi, edi
lea ecx, [ebp - 0x418]
call fcn.70d07102
push dword [ebp + 0x70]
mov eax, dword [ebx]
push dword [ebp + 0x38]
mov ecx, ebx
push dword [ebp + 0x7c]
call dword [eax + 0x18]
mov ecx, dword [ebp + 0x50]
push edi
lea eax, [ebp - 0x6c]
push eax
call fcn.70d3e2d0
mov ecx, dword [ebp + 0x6c]
push edi
push dword [ebp + 0x7c]
call fcn.70d5a568
jmp 0x70e16f1b
mov esi, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, esi
jmp 0x70e17aef
mov esi, dword [ebp + 0x74]
mov ecx, dword [esi + 8]
lea eax, [ecx - 0x100]
cdq
push 5
pop edi
idiv edi
add eax, 0x100
cmp eax, ecx
mov edx, eax
jl 0x70e16f49
mov edx, ecx
mov edi, 0x400
cmp edx, edi
jge 0x70e16f60
cmp eax, ecx
jge 0x70e16f5b
mov dword [ebp + 0x44], eax
jmp 0x70e16f63
mov dword [ebp + 0x44], ecx
jmp 0x70e16f63
mov dword [ebp + 0x44], edi
mov ecx, dword [esi + 0xc]
lea eax, [ecx - 0x100]
cdq
push 5
pop esi
idiv esi
add eax, 0x100
cmp eax, ecx
mov edx, eax
jl 0x70e16f7f
mov edx, ecx
cmp edx, edi
jge 0x70e16f90
cmp eax, ecx
jl 0x70e169df
mov dword [ebp + 0x48], ecx
jmp 0x70e16fa8
mov dword [ebp + 0x48], edi
jmp 0x70e16fa8
mov dword [ebp + 0x48], ecx
jmp 0x70e16f9d
mov dword [ebp + 0x44], ecx
xor eax, eax
cmp dword [ebx + 0x14], edx
sete al
mov dword [ebp + 0x54], eax
cmp dword [ebx + 0x78], 0
jne 0x70e16fbe
cmp dword [ebx + 0x14], 1
je 0x70e16fbe
cmp dword [ebp + 0x54], 0
je 0x70e17400
push dword [ebp + 0x70]
push dword [ebp + 0x6c]
call fcn.70e14fb2
xor edi, edi
cmp eax, edi
mov dword [ebp + 0x60], eax
je 0x70e17400
mov eax, dword [ebp + 0x74]
fldz
fstp dword [ebp + 0x20]
lea ecx, [ebp - 0xc4]
fldz
mov dword [ebp + 0x3c], edi
fstp dword [ebp + 0x24]
mov dword [ebp + 0x40], edi
fild dword [ebp + 0x44]
fstp dword [ebp + 0x28]
fild dword [ebp + 0x48]
fstp dword [ebp + 0x2c]
fild dword [eax]
fstp dword [ebp - 0x1c]
fild dword [eax + 4]
fstp dword [ebp - 0x18]
fild dword [eax + 8]
fstp dword [ebp - 0x14]
fild dword [eax + 0xc]
fstp dword [ebp - 0x10]
call fcn.70d4fc78
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0xc4]
call fcn.70d50b30
lea eax, [ebp - 0xc4]
push eax
push dword [ebp + 0x5c]
lea eax, [ebp - 0xc4]
push eax
call fcn.70d524e3
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, eax
cmp esi, edi
mov dword [ebp + 0x34], esi
je 0x70e170b9
cmp dword [ebx + 0x78], edi
jne 0x70e17069
inc edi
cmp dword [ebx + 0x14], edi
jne 0x70e17069
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov dword [ebx + 0x78], edi
cmp dword [ebp + 0x4c], 4
je 0x70e17075
cmp dword [ebp + 0x4c], 5
jne 0x70e17083
and dword [esi + 8], 0
mov dword [esi + 0x14c], 0x3f866666
push 0x26200a
lea eax, [ebp + 0x50]
push eax
push esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp + 0x6c]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.70dade58
mov edi, eax
mov eax, dword [esi]
push 1
mov ecx, esi
mov dword [ebp + 0x58], edi
call dword [eax]
and dword [ebp + 0x34], 0
jmp 0x70e170bf
push 3
pop edi
mov dword [ebp + 0x58], edi
test edi, edi
jne 0x70e173df
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x70e173df
mov esi, dword [ebx + 0x14]
dec esi
neg esi
sbb esi, esi
xor eax, eax
push eax
push eax
lea edx, [ebp - 0x6c]
push edx
push 0x26200a
and esi, 0xfffffffc
push 1
add esi, 4
push eax
or esi, 2
call fcn.70d3cdce
test eax, eax
jne 0x70e173c3
mov eax, dword [ebx]
push edi
lea ecx, [ebp + 0x7c]
push ecx
lea ecx, [ebp + 0x70]
push ecx
push dword [ebp + 0x74]
mov ecx, ebx
push dword [ebp + 0x6c]
mov dword [ebp + 0x7c], edi
push dword [ebp + 0x60]
call dword [eax + 0x14]
cmp dword [ebp + 0x54], edi
je 0x70e1725a
cmp dword [ebp + 0x48], 1
je 0x70e17135
cmp dword [ebp + 0x44], 1
jne 0x70e1725a
cmp dword [ebx + 0x78], edi
je 0x70e17151
mov ecx, dword [ebp + 0x78]
cmp dword [ecx + 0x44], 4
jne 0x70e1714c
call fcn.70e1581d
test eax, eax
jne 0x70e17156
cmp dword [ebx + 0x78], edi
jne 0x70e17193
cmp dword [ebx + 0x40], edi
jne 0x70e17193
push dword [ebp + 0x78]
mov eax, dword [ebx]
push dword [ebp + 0x6c]
mov ecx, ebx
push dword [ebp + 0x60]
call dword [eax + 0x68]
push 0
push 0xf00021
push dword [ebp + 0x74]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x60]
mov ecx, ebx
call fcn.70e1545b
push dword [ebp + 0x60]
mov edi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
jmp 0x70e173a5
push 1
push 0x5a0049
push dword [ebp + 0x74]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x60]
mov ecx, ebx
call fcn.70e1545b
mov edi, eax
test edi, edi
jne 0x70e173a5
push eax
push esi
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x418]
push dword [ebp + 0x78]
call fcn.70d06d96
cmp dword [ebp - 0x418], 0x47764331
jne 0x70e1724a
cmp dword [ebx + 0x78], edi
je 0x70e171e7
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x70e171f8
movzx eax, byte [ebx + 0x84]
push 1
push eax
mov ecx, ebx
call fcn.70e14ffe
mov esi, dword [sym.imp.GDI32.dll_SetROP2]
push 9
push dword [ebp + 0x60]
mov edi, eax
call esi
push edi
push dword [ebp + 0x60]
lea ecx, [ebp - 0x418]
mov dword [ebp + 0x78], eax
call fcn.70d083b9
push dword [ebp + 0x78]
mov edi, eax
push dword [ebp + 0x60]
neg edi
sbb edi, edi
inc edi
call esi
test edi, edi
jne 0x70e1724a
push 1
push 0x5a0049
push dword [ebp + 0x74]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x60]
mov ecx, ebx
call fcn.70e1545b
mov edi, eax
lea ecx, [ebp - 0x418]
call fcn.70d07102
jmp 0x70e173a5
push dword [ebp + 0x78]
mov eax, dword [ebx]
push dword [ebp + 0x6c]
mov ecx, ebx
push dword [ebp + 0x60]
call dword [eax + 0x68]
push edi
lea ecx, [ebp - 0x19c]
call fcn.70d4fcbb
push dword [ebp - 0x68]
mov ecx, dword [ebp + 0x50]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x19c]
push eax
call fcn.70d3fc74
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x198], eax
imul eax, ecx
mov edx, dword [ebp - 0x64]
lea eax, [eax + eax*2]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebx + 0x14]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
or eax, 2
cmp dword [ebp + 0x54], edi
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x190], 0x26200a
mov dword [ebp - 0x17c], 3
je 0x70e172f3
movzx esi, byte [ebx + 0x3d]
movzx ecx, byte [ebx + 0x3c]
add esi, ecx
sar esi, 1
jmp 0x70e172f6
or esi, 0xffffffff
xor ecx, ecx
cmp dword [0x70e6c198], ecx
sete cl
push ecx
push esi
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x19c]
push eax
push dword [ebp + 0x60]
lea ecx, [ebp - 0x8b0]
call fcn.70e1cb9a
xor edi, edi
inc edi
cmp dword [ebp - 0x8b0], 0x47764331
jne 0x70e17385
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
add eax, edx
push 0xcc0020
mov dword [ebp - 0x84], eax
push 0
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 0x60]
add esi, ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x88], ecx
lea ecx, [ebp - 0x8b0]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], edx
call fcn.70e1d430
mov edi, eax
neg edi
sbb edi, edi
inc edi
push dword [ebp + 0x60]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
lea ecx, [ebp - 0x8b0]
call fcn.70e1d912
lea ecx, [ebp - 0x19c]
call fcn.70d66709
push dword [ebp + 0x7c]
mov eax, dword [ebx]
push dword [ebp + 0x70]
mov ecx, ebx
push dword [ebp + 0x60]
call dword [eax + 0x18]
mov ecx, dword [ebp + 0x50]
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.70d3e2d0
mov ecx, dword [ebp + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x6c]
push 0
push dword [ebp + 0x60]
call fcn.70d5a568
mov eax, edi
jmp 0x70e17aef
mov ecx, dword [ebp + 0x6c]
push 0
push dword [ebp + 0x60]
call fcn.70d5a568
mov dword [ebp - 0xc4], 0x70d660c4
mov dword [ebp - 0xc0], 0x4c494146
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp + 0x7c]
mov edi, dword [ebp + 0x70]
xor ecx, ecx
sub eax, ecx
mov dword [ebp + 0x30], ecx
je 0x70e17490
dec eax
je 0x70e1741d
push 6
pop eax
jmp 0x70e17aef
mov eax, dword [ebx + 0x74]
xor edx, edx
cmp eax, ecx
sete dl
cmp eax, ecx
mov dword [ebp + 0x54], edx
je 0x70e17470
cmp dword [ebx + 0x78], ecx
mov dword [ebp + 0x60], 2
jne 0x70e17441
mov dword [ebp + 0x60], 0x42
cmp dword [ebx + 0x108], 1
jne 0x70e17457
cmp dword [ebx + 0x10c], 1
je 0x70e174dc
push dword [ebp + 0x5c]
lea ecx, [ebp - 0x23c]
mov dword [ebp + 0x30], 1
call fcn.70d50154
xor ecx, ecx
jmp 0x70e174dc
cmp dword [ebx + 0x7c], ecx
je 0x70e1747e
mov dword [ebp + 0x60], 5
jmp 0x70e174dc
mov eax, dword [ebx + 0x78]
neg eax
sbb eax, eax
and eax, 0xffffffd0
add eax, 0x31
mov dword [ebp + 0x60], eax
jmp 0x70e174dc
cmp dword [ebx + 0x74], ecx
je 0x70e174aa
cmp dword [ebx + 0x78], ecx
mov dword [ebp + 0x60], 2
jne 0x70e174d5
mov dword [ebp + 0x60], 0x42
jmp 0x70e174c8
cmp dword [ebx + 0x7c], ecx
je 0x70e174b8
mov dword [ebp + 0x60], 5
jmp 0x70e174c8
mov eax, dword [ebx + 0x78]
neg eax
sbb eax, eax
and eax, 0xffffffbe
add eax, 0x43
mov dword [ebp + 0x60], eax
cmp dword [ebx + 0x78], ecx
jne 0x70e174d5
cmp dword [ebx + 0x7c], ecx
mov dword [ebp + 0x54], ecx
je 0x70e174dc
mov dword [ebp + 0x54], 1
mov eax, dword [edi + 0x5c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
cmp eax, 2
jne 0x70e17593
lea ecx, [esi - 0xc]
call fcn.70d33b1b
test eax, eax
je 0x70e17646
push dword [ebp + 0x5c]
lea ecx, [ebp - 0xec]
call fcn.70d51315
lea eax, [ebp - 0xec]
push eax
add esi, 8
push esi
lea eax, [ebp - 0xec]
push eax
call fcn.70d524e3
fld1
fstp dword [ebp - 4]
push 2
fldz
lea eax, [ebp - 4]
fstp dword [ebp]
push eax
fldz
lea ecx, [ebp - 0xec]
fstp dword [ebp + 4]
fld1
fstp dword [ebp + 8]
call fcn.70d12ce6
fld dword [ebp]
fmul dword [ebp]
push ecx
fld dword [ebp - 4]
fmul dword [ebp - 4]
faddp st(1)
fsqrt
fstp dword [esp]
call fcn.70d510bc
fld dword [ebp + 8]
fmul dword [ebp + 8]
push ecx
fld dword [ebp + 4]
mov dword [ebx + 0x18], eax
fmul dword [ebp + 4]
faddp st(1)
fsqrt
fstp dword [esp]
call fcn.70d510bc
mov dword [ebx + 0x1c], eax
jmp 0x70e17646
cmp eax, 1
jne 0x70e175b8
fld dword [edi + 0x14]
push ecx
fmul dword [0x70d05134]
fstp dword [esp]
call fcn.70d5013e
mov dword [ebx + 0x18], eax
fld dword [edi + 0x18]
fmul dword [0x70d05134]
jmp 0x70e17629
mov eax, dword [ebp + 0x4c]
cmp eax, ecx
je 0x70e17646
cmp eax, 1
je 0x70e17637
cmp eax, 2
je 0x70e17626
jle 0x70e17646
cmp eax, 5
jg 0x70e17646
mov edi, dword [ebp + 0x74]
fild dword [edi + 8]
push ecx
fmul dword [0x70d91a88]
fstp dword [esp]
call fcn.70d50e6e
mov dword [ebx + 0x18], eax
fild dword [edi + 0xc]
push ecx
fmul dword [0x70d91a88]
fstp dword [esp]
call fcn.70d50e6e
cmp dword [ebp + 0x4c], 3
mov dword [ebx + 0x1c], eax
je 0x70e17646
lea ecx, [esi - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
mov dword [ebp + 0x34], eax
je 0x70e17646
and dword [eax + 8], 0
mov dword [eax + 0x14c], 0x3f866666
jmp 0x70e17646
fld dword [edi + 0x18]
push ecx
fstp dword [esp]
call fcn.70d5013e
jmp 0x70e1758b
fld dword [edi + 0x14]
push ecx
fstp dword [esp]
call fcn.70d5013e
mov dword [ebx + 0x18], eax
xor eax, eax
inc eax
cmp dword [ebx + 0x18], eax
jge 0x70e17651
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x1c], eax
jge 0x70e17659
mov dword [ebx + 0x1c], eax
mov edi, dword [ebx + 0x18]
cmp edi, eax
jne 0x70e1767e
mov ecx, dword [ebx + 0x1c]
cmp ecx, eax
jne 0x70e1767e
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0x7c]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp + 0x1c], eax
jmp 0x70e176cc
mov eax, dword [ebp - 0x7c]
cdq
idiv edi
mov ecx, dword [ebx + 0x1c]
mov esi, edi
imul esi, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x38], edx
cdq
idiv ecx
mov edi, eax
mov eax, ecx
imul eax, edi
mov edi, dword [ebp + 0x38]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x74]
add eax, edi
mov edi, dword [ebp - 0x70]
mov dword [ebp + 0x18], eax
add edx, edi
mov edi, dword [ebx + 0x18]
mov dword [ebp + 0x1c], edx
cdq
idiv edi
mov eax, edi
sub eax, edx
add dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
cdq
idiv ecx
mov eax, ecx
sub eax, edx
add dword [ebp + 0x1c], eax
mov eax, esi
cdq
idiv edi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
cdq
idiv ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
cdq
idiv edi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
cdq
idiv ecx
cmp dword [ebp + 0x30], 0
mov dword [ebp - 0x48], eax
je 0x70e17777
fild dword [ebp + 0x10]
push ecx
fidiv dword [ebx + 0x108]
fstp dword [esp]
call fcn.70d50e6e
fild dword [ebp + 0x14]
push ecx
mov dword [ebp + 0x10], eax
fidiv dword [ebx + 0x10c]
fstp dword [esp]
call fcn.70d50e6e
fild dword [ebp + 0x18]
push ecx
mov dword [ebp + 0x14], eax
fidiv dword [ebx + 0x108]
fstp dword [esp]
call fcn.70d50e6e
fild dword [ebp + 0x1c]
push ecx
mov dword [ebp + 0x18], eax
fidiv dword [ebx + 0x10c]
fstp dword [esp]
call fcn.70d50e6e
fild dword [ebx + 0x10c]
push 1
push ecx
push ecx
fdivr dword [0x70d50150]
mov ecx, dword [ebp + 0x5c]
mov dword [ebp + 0x1c], eax
fstp dword [esp + 4]
fild dword [ebx + 0x108]
fdivr dword [0x70d50150]
fstp dword [esp]
call fcn.70d5dfdd
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x98]
push eax
call fcn.70d527f5
fild dword [ebx + 0x1c]
push 1
push ecx
fdivr dword [0x70d50150]
push ecx
mov ecx, dword [ebp + 0x5c]
fstp dword [esp + 4]
fild dword [ebx + 0x18]
fdivr dword [0x70d50150]
fstp dword [esp]
call fcn.70d5dfdd
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0xc]
push eax
call fcn.70d527f5
mov esi, dword [ebp + 0x6c]
xor edi, edi
push 2
mov dword [esi + 0xec], edi
lea eax, [ebp - 0x34]
pop ecx
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax]
add eax, 8
dec ecx
jne 0x70e177c8
fild dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x50]
fstp dword [ebp - 0x34]
fild dword [ebp - 0x50]
mov dword [ebp + 0x6c], ecx
mov ecx, dword [ebp - 0x48]
add ecx, eax
fstp dword [ebp - 0x30]
fild dword [ebp + 0x6c]
mov dword [ebp + 0x6c], ecx
lea ecx, [ebp - 0x1ec]
fstp dword [ebp - 0x2c]
fild dword [ebp + 0x6c]
fstp dword [ebp - 0x28]
call fcn.70d4fc78
lea eax, [ebp - 0x1ec]
push eax
mov ecx, esi
call fcn.70dc2a20
push 2
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.70d50194
fld dword [ebp - 0x2c]
fsub dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
fst dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
fld dword [ebp - 0x28]
fsub dword [ebp - 0x30]
fstp dword [ebp - 0x38]
fcom dword [0x70d4fb24]
fnstsw ax
test ah, 5
jp 0x70e17869
fld dword [ebp - 0x34]
fadd st(1)
fstp dword [ebp - 0x44]
fchs
fstp dword [ebp - 0x3c]
jmp 0x70e1786b
fstp st(0)
fld dword [ebp - 0x38]
fcomp dword [0x70d4fb24]
fnstsw ax
test ah, 5
jp 0x70e1788c
fld dword [ebp - 0x38]
fadd dword [ebp - 0x30]
fstp dword [ebp - 0x40]
fld dword [ebp - 0x38]
fchs
fstp dword [ebp - 0x38]
mov eax, dword [ebx]
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push esi
mov ecx, ebx
call dword [eax + 0x50]
push dword [ebp + 0x70]
push esi
call fcn.70e14fb2
cmp eax, edi
mov dword [ebp + 0x6c], eax
je 0x70e17a99
push dword [ebx + 0x1c]
lea eax, [ebx + 0xac]
push dword [ebx + 0x18]
lea ecx, [ebx + 0x9c]
push dword [ebp + 0x60]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.70e0d317
cmp eax, edi
mov dword [ebp + 0x58], eax
jne 0x70e17a8c
cmp dword [ebp + 0x54], edi
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x4c], edi
je 0x70e178fc
push edi
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x74]
mov ecx, ebx
push esi
push dword [ebp + 0x6c]
call fcn.70e16489
cmp dword [ebx + 0x8c], edi
mov dword [ebx + 0x88], edi
jle 0x70e17a6f
mov eax, dword [ebp + 0x60]
and eax, 0x1d
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], edi
je 0x70e17989
push 0
lea eax, [ebx + 0x9c]
lea edi, [esi + 0xf0]
push eax
mov ecx, edi
call fcn.70e15432
mov ecx, dword [ebp + 0x5c]
and dword [esi + 0xec], 0
lea eax, [ebp - 0xc]
push eax
call fcn.70d10d95
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 0x9c]
push eax
push 0
call fcn.70e0ddb2
cmp dword [ebp + 0x34], 0
je 0x70e17964
mov eax, dword [ebp + 0x34]
add eax, 0xc
jmp 0x70e17967
mov eax, dword [ebp + 0x7c]
push eax
lea eax, [ebp - 0x44]
push eax
push 1
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x70]
mov ecx, ebx
push esi
call fcn.70d5214e
mov ecx, edi
mov dword [ebp + 0x58], eax
call fcn.70e14f29
xor edi, edi
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x98]
push eax
mov dword [esi + 0xec], edi
call fcn.70d10d95
cmp dword [ebp + 0x58], edi
jne 0x70e17a6f
test byte [ebp + 0x60], 0x62
je 0x70e17a16
mov ecx, dword [ebp + 0x7c]
cmp dword [ecx], 1
jne 0x70e179c3
mov eax, dword [ebx + 0x18]
cmp eax, 1
je 0x70e179c3
mov dword [ecx + 0x114], eax
push 1
lea edi, [ebx + 0xac]
push edi
lea ecx, [esi + 0xf0]
call fcn.70e15391
mov ecx, dword [ebp + 0xc]
push edi
push 1
call fcn.70e0ddb2
mov edi, dword [ebp + 0x7c]
push edi
push dword [ebp + 0x78]
mov ecx, ebx
push dword [ebp + 0x74]
push dword [ebp + 0x70]
push esi
call fcn.70d2d90b
cmp dword [edi], 1
mov dword [ebp + 0x58], eax
jne 0x70e17a0f
xor eax, eax
inc eax
cmp dword [ebx + 0x18], eax
je 0x70e17a0f
mov ecx, edi
mov dword [ecx + 0x114], eax
xor edi, edi
cmp dword [ebp + 0x58], edi
jne 0x70e17a6f
push dword [ebp + 0x78]
mov edx, dword [ebx]
lea eax, [ebx + 0xac]
push eax
lea eax, [ebx + 0x9c]
push eax
push dword [ebp + 0x70]
mov ecx, ebx
push esi
push dword [ebp + 0x6c]
call dword [edx + 0x80]
cmp eax, edi
mov dword [ebp + 0x58], eax
jne 0x70e17a6f
mov eax, dword [ebx + 0x94]
add dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x90]
add dword [ebx + 0xb0], eax
inc dword [ebx + 0x88]
mov eax, dword [ebx + 0x88]
cmp eax, dword [ebx + 0x8c]
jl 0x70e17917
cmp dword [ebp + 0x54], edi
je 0x70e17a84
push dword [ebp + 0x4c]
mov ecx, ebx
push dword [ebp + 0x38]
push dword [ebp + 0x6c]
call fcn.70e14ed8
mov ecx, dword [ebp + 0xc]
call fcn.70e0d2b1
push edi
push dword [ebp + 0x6c]
mov ecx, esi
call fcn.70d5a568
jmp 0x70e17aae
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x98]
push eax
mov dword [esi + 0xec], edi
call fcn.70d10d95
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x54]
cmp dword [ebp + 0x30], edi
je 0x70e17ad0
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp - 0x23c]
push eax
mov dword [esi + 0xec], edi
call fcn.70d50154
mov ecx, dword [ebp + 0x34]
cmp ecx, edi
je 0x70e17add
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x58]
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14