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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x37c
mov eax, dword [0x100d6110]
push ebx
push esi
mov dword [esp + 0x380], eax
lea eax, [esp + 0x144]
push edi
push eax
mov dword [esp + 0x18], 0
call fcn.100c4ef0
add esp, 4
test eax, eax
jne 0x10029957
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push ecx
push ebx
call fcn.100a7180
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x48]
mov edi, 1
cmp eax, edi
jne 0x10028af1
lea edx, [esp + 0x34]
push edx
push 0
push ebx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10028b03
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0x44]
mov esi, 2
cmp eax, esi
jne 0x10028af1
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.10022740
add esp, 0xc
test eax, eax
jne 0x10028b03
cmp dword [esp + 0x4c], esi
jne 0x10028af1
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x68]
push edx
push 0
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10028b03
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x6c]
push ecx
push edi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10028b03
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0xb4]
push eax
push ecx
call fcn.1003b7c0
add esp, 8
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0xcc]
push edx
push eax
call fcn.1003b7c0
add esp, 8
test eax, eax
jne 0x10028b03
cmp dword [esp + 0xb4], edi
jne 0x10028af1
cmp dword [esp + 0xcc], edi
jne 0x10028af1
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x74]
push edx
push eax
call fcn.1003b7f0
add esp, 0xc
test eax, eax
jne 0x10028b03
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x50]
push ecx
push edx
call fcn.1003b2e0
add esp, 8
test eax, eax
jne 0x10028b03
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0xd4]
push ecx
push edx
call fcn.1003b7f0
add esp, 0xc
test eax, eax
jne 0x10028b03
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xb0]
push eax
push ecx
call fcn.1003b2e0
add esp, 8
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x10028945
cmp eax, 3
jne 0x10028af1
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0xb0]
jne 0x10028af1
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.1009cf10
add esp, 0xc
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x10028af1
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x2d8]
push ecx
call fcn.10076f80
add esp, 0xc
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x1e0]
push edx
push eax
call fcn.10017160
add esp, 8
test eax, eax
jne 0x10028b03
lea ecx, [esp + 0x270]
push ecx
lea edx, [esp + 0x1e4]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.1009c920
add esp, 0xc
test eax, eax
jne 0x10028b03
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x2d4]
push edx
lea eax, [esp + 0x278]
push eax
call fcn.1009cf90
add esp, 0xc
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x10028af1
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x74]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x2a8]
push ecx
call fcn.100cf910
add esp, 0xc
test eax, eax
jne 0x10028b03
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2a0]
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.1004f110
add esp, 0xc
test eax, eax
jne 0x10028b03
mov edx, dword [ebp + 0x18]
fld qword [0x100d12a8]
mov ecx, dword [ebp + 0x14]
push edx
push ecx
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x160]
fld qword [0x100d12a8]
mov dword [esp + 0x2c], eax
fstp qword [esp]
push eax
push eax
push edx
push edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x60]
push eax
mov ecx, edx
push ecx
push edi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10028b03
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
call fcn.100a7310
add esp, 8
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x384]
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.100a7180
add esp, 8
test eax, eax
je 0x10028b18
mov eax, edi
mov ecx, dword [esp + 0x384]
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x10029929
mov ebx, dword [ebp + 0x18]
lea esp, [esp]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x44]
dec eax
je 0x100297d3
dec eax
jne 0x1002993e
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x58]
push eax
push ecx
call fcn.10022740
add esp, 0xc
test eax, eax
jne 0x10029957
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x1002991c
mov eax, dword [esp + 0x64]
lea esp, [esp]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x5c]
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.1003b2e0
add esp, 8
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.10045b40
add esp, 0xc
test eax, eax
jne 0x10029957
lea eax, [esp + 0x110]
push eax
call fcn.100cf7f0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xcc]
push ecx
xor esi, esi
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call fcn.1003b7c0
add esp, 0xc
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xc8]
dec eax
cmp eax, 4
ja case.default.0x10028c4c
jmp dword [eax*4 + 0x100299a0]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x74]
push ecx
push edx
call fcn.1003b7f0
add esp, 0xc
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x1c]
fld qword [0x100d12a8]
push ecx
push esi
lea edx, [esp + 0x118]
push edx
sub esp, 8
fstp qword [esp]
push 1
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x320]
push 0x100d1250
push edx
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x300]
push eax
push ecx
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
mov edx, dword [ebp + 0x14]
push ebx
push edx
jmp 0x10028ec9
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.1003b850
add esp, 0x14
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x1c]
fld qword [0x100d12a8]
push eax
push esi
lea ecx, [esp + 0x118]
push ecx
sub esp, 8
fstp qword [esp]
push 1
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x320]
push 0x100d1250
push ecx
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x300]
push edx
push eax
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
mov esi, dword [ebp + 0x14]
fld qword [0x100d12a8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
push esi
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push ecx
push edx
push eax
push 1
lea ecx, [esp + 0x60]
push ecx
mov edx, eax
push edx
push 1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
push edx
push eax
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x1c]
fld qword [0x100d12a8]
push edx
push eax
lea eax, [esp + 0x118]
push eax
sub esp, 8
fstp qword [esp]
push 1
lea ecx, [esp + 0x1c8]
push ecx
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x320]
push 0x100d1250
push eax
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x300]
push ecx
push edx
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
push ebx
push esi
fld qword [0x100d12a8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push eax
push ecx
push edx
push 1
lea eax, [esp + 0x60]
push eax
mov ecx, edx
push ecx
push 1
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
jmp 0x100297b9
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.1003b900
add esp, 0x14
test eax, eax
jne 0x10029957
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.100a8dd0
add esp, 8
test eax, eax
jne 0x10029957
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x214]
push edx
call fcn.100a8b50
add esp, 8
test eax, eax
jne 0x10029957
mov esi, dword [ebp + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
lea ecx, [ecx]
fild dword [esp + 0x28]
fmul qword [0x100d12c8]
fmul qword [0x100d1e78]
fld qword [esp + 0x100]
fcomp qword [esp + 0x108]
fnstsw ax
test ah, 0x41
jne 0x10028fde
fld qword [esp + 0x100]
jmp 0x10028fe5
fld qword [esp + 0x108]
fstp qword [esp + 0x58]
sub esp, 0x18
fld qword [0x100d12a8]
lea eax, [esp + 0x140]
fstp qword [esp + 0x10]
fld st(0)
fsin
fmul qword [esp + 0x70]
fstp qword [esp + 8]
fcos
fmul qword [esp + 0x70]
fstp qword [esp]
push eax
call fcn.1009c800
add esp, 0x1c
test eax, eax
jne 0x10029957
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x218]
push eax
call fcn.100a90d0
add esp, 0xc
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x1c]
fld qword [0x100d12a8]
push edx
push eax
lea eax, [esp + 0x118]
push eax
sub esp, 8
fstp qword [esp]
push 1
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x320]
push 0x100d1250
push eax
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x300]
push ecx
push edx
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
fld qword [0x100d12a8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebx
push esi
sub esp, 0x10
fstp qword [esp + 8]
lea edx, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push eax
push ecx
push edx
push 1
lea eax, [esp + 0x60]
push eax
mov ecx, edx
push ecx
push 1
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x1c]
push ecx
push edx
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
add edi, 0x3c
cmp edi, 0x168
mov dword [esp + 0x28], edi
jl 0x10028fb0
jmp 0x100297b9
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xa8]
push eax
push ecx
call fcn.1003b970
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xa0]
push edx
push eax
call fcn.10039480
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xa0]
xor edi, edi
cmp eax, esi
jle 0x100297b9
mov esi, dword [ebp + 0x14]
lea ecx, [ecx]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x78]
push eax
push edi
push ecx
call fcn.10039490
add esp, 0x14
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xac]
test eax, eax
je 0x100292e4
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x1c]
fld qword [0x100d12a8]
push eax
push 0
lea ecx, [esp + 0x118]
push ecx
sub esp, 8
fstp qword [esp]
push 1
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x320]
push 0x100d1250
push ecx
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x300]
push edx
push eax
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
fld qword [0x100d12a8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
push esi
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push ecx
push edx
push eax
push 1
lea ecx, [esp + 0x60]
push ecx
mov edx, eax
push edx
push 1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
push edx
push eax
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xa0]
inc edi
cmp edi, eax
jl 0x100291b0
jmp 0x100297b9
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x74]
push edx
push eax
call fcn.1003b980
add esp, 0xc
test eax, eax
jne 0x10029957
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28c]
push edx
lea eax, [esp + 0x2c0]
push eax
push ecx
call fcn.10070ff0
add esp, 0x10
test eax, eax
jne 0x10029957
lea edx, [esp + 0x288]
push edx
lea eax, [esp + 0x2bc]
push eax
lea ecx, [esp + 0x1e8]
push ecx
call fcn.10076f80
add esp, 0xc
test eax, eax
jne 0x10029957
lea edx, [esp + 0x1e0]
push edx
lea eax, [esp + 0x1cc]
push eax
call fcn.100cfb40
add esp, 8
test eax, eax
jne 0x10029957
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x1e4]
push edx
mov eax, ecx
push eax
call fcn.1009c920
add esp, 0xc
test eax, eax
jne 0x10029957
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x1e4]
push edx
mov eax, ecx
push eax
call fcn.1009c920
add esp, 0xc
test eax, eax
jne 0x10029957
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x214]
push edx
call fcn.100a8dd0
add esp, 8
test eax, eax
jne 0x10029957
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x214]
push ecx
call fcn.100a8b50
add esp, 8
test eax, eax
jne 0x10029957
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x28], esi
jmp 0x10029420
fild dword [esp + 0x28]
sub esp, 0x18
lea edx, [esp + 0x140]
fmul qword [0x100d12c8]
fmul qword [0x100d1e78]
fld qword [0x100d12a8]
fstp qword [esp + 0x10]
fld st(0)
fsin
fmul qword [esp + 0x70]
fstp qword [esp + 8]
fcos
fmul qword [esp + 0x70]
fstp qword [esp]
push edx
call fcn.1009c800
add esp, 0x1c
test eax, eax
jne 0x10029957
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x218]
push edx
call fcn.100a90d0
add esp, 0xc
test eax, eax
jne 0x10029957
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x90]
push edx
call fcn.100cf910
add esp, 0xc
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x1c]
fld qword [0x100d12a8]
push ecx
push eax
lea edx, [esp + 0x118]
push edx
sub esp, 8
fstp qword [esp]
push 1
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x320]
push 0x100d1250
push edx
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x300]
push eax
push ecx
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
fld qword [0x100d12a8]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebx
push edi
sub esp, 0x10
fstp qword [esp + 8]
lea ecx, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push edx
push eax
push ecx
push 1
lea edx, [esp + 0x60]
push edx
mov eax, ecx
push eax
push 1
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
add esi, 0x78
cmp esi, 0x168
mov dword [esp + 0x28], esi
jl 0x10029420
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.100a8dd0
add esp, 8
test eax, eax
jne 0x10029957
lea ecx, [esp + 0x1c8]
push ecx
lea edx, [esp + 0x214]
push edx
call fcn.100a8b50
add esp, 8
test eax, eax
jne 0x10029957
xor edi, edi
mov dword [esp + 0x28], edi
lea esp, [esp]
fild dword [esp + 0x28]
sub esp, 0x18
lea eax, [esp + 0x140]
fmul qword [0x100d12c8]
fmul qword [0x100d1e78]
fld qword [0x100d12a8]
fstp qword [esp + 0x10]
fld st(0)
fsin
fmul qword [esp + 0x70]
fstp qword [esp + 8]
fcos
fmul qword [esp + 0x70]
fstp qword [esp]
push eax
call fcn.1009c800
add esp, 0x1c
test eax, eax
jne 0x10029957
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x218]
push eax
call fcn.100a90d0
add esp, 0xc
test eax, eax
jne 0x10029957
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x90]
push eax
call fcn.100cf910
add esp, 0xc
test eax, eax
jne 0x10029957
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.1004ee70
add esp, 0x10
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x1c]
fld qword [0x100d12a8]
push edx
push eax
lea eax, [esp + 0x118]
push eax
sub esp, 8
fstp qword [esp]
push 1
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x320]
push 0x100d1250
push eax
call fcn.100820b0
add esp, 0x28
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x300]
push ecx
push edx
call fcn.100846f0
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [ebp + 0x14]
fld qword [0x100d12a8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
push eax
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push ecx
push edx
push eax
push 1
lea ecx, [esp + 0x60]
push ecx
mov edx, eax
push edx
push 1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
push edx
push eax
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
add edi, 0x78
cmp edi, 0x168
mov dword [esp + 0x28], edi
jl 0x10029610
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jl 0x10028bb0
jmp 0x1002991c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0xc8]
push edx
push eax
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xa4]
xor esi, esi
test eax, eax
jle 0x1002991c
lea esp, [esp]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x1c]
push ecx
push esi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.1004e5f0
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0xbc]
push edx
lea ecx, [eax + edi*4]
push ecx
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xbc]
cmp eax, 3
je 0x10029884
cmp eax, 1
je 0x10029884
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x100298a8
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
call fcn.10045380
add esp, 0x10
test eax, eax
jne 0x10029957
mov eax, dword [ebp + 0x14]
fld qword [0x100d12a8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebx
push eax
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x160]
fld qword [0x100d12a8]
fstp qword [esp]
push ecx
push edx
push eax
push 1
lea ecx, [esp + 0x60]
push ecx
mov edx, eax
push edx
push 1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.10058ea0
add esp, 0x3c
test eax, eax
jne 0x10029957
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
push edx
push eax
call fcn.100a7310
add esp, 8
test eax, eax
jne 0x10029957
mov eax, dword [esp + 0xa4]
inc esi
cmp esi, eax
jl 0x10029810
mov eax, dword [esp + 0x48]
inc edi
cmp edi, eax
jl 0x10028b30
xor eax, eax
mov ecx, dword [esp + 0x384]
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100d1250
push 0x7df
push 0x100d1e48
push 5
call fcn.1003eaf0
add esp, 0x10
mov eax, 1
mov ecx, dword [esp + 0x384]
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100d1250
push 0x7d9
push 0x100d1e48
push 5
call fcn.1003eaf0
mov ecx, dword [esp + 0x394]
add esp, 0x10
mov eax, 1
call fcn.100d08b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret