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

Disassembly:
sub esp, 0xb8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
mov ecx, esi
call fcn.00414e30
mov ebx, dword [eax*4 + 0xbcf2f0]
mov ecx, esi
call fcn.00414e30
push 4
push 0
mov ebp, eax
push 0
push ebp
push ebx
call fcn.00410520
add esp, 0x14
mov ecx, esi
mov dword [esp + 0x84], eax
call fcn.00414e30
mov edi, eax
mov ecx, esi
mov dword [esp + 0x5c], edi
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.00414e30
add eax, edi
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00414e30
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [esp + 0x3c], eax
add edi, ecx
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [esp + 0x44], eax
xor eax, eax
push ebp
push ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
call fcn.004104e0
push ebp
push ebx
mov dword [esp + 0xc8], eax
call fcn.00410500
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc8]
lea ecx, [eax*4 + 8]
mov dword [esp + 0xb0], ecx
add esp, 0x10
mov ecx, esi
call fcn.00414e30
mov ebx, dword [eax*4 + 0xbcf2f0]
mov ecx, esi
call fcn.00414e30
push 4
push 0
mov ebp, eax
push 0
push ebp
push ebx
call fcn.00410520
add esp, 0x14
mov ecx, esi
mov dword [esp + 0x9c], eax
call fcn.00414e30
mov dword [esp + 0x70], eax
mov ecx, esi
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x6c], eax
call fcn.00414e30
mov edx, dword [esp + 0x70]
add eax, edx
mov ecx, esi
mov dword [esp + 0x90], eax
call fcn.00414e30
add eax, dword [esp + 0x6c]
push ebp
push ebx
mov dword [esp + 0xa0], eax
call fcn.004104e0
lea eax, [eax*4 + 8]
add esp, 8
mov ecx, esi
mov dword [esp + 0x94], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.00414e30
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
mov ecx, esi
fstp qword [esp + 0x2c]
call fcn.00414e30
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
mov ecx, esi
fstp qword [esp + 0x54]
call fcn.00414e30
mov dword [esp + 0x10], eax
fld dword [esp + 0x10]
mov ecx, esi
fstp qword [esp + 0xa8]
call fcn.00414e30
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00414e30
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x78]
push 0
push edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
call fcn.00417850
add esp, 0xc
test eax, eax
je 0x419aa7
fld qword [esp + 0x2c]
fmul qword [0x47b578]
fst qword [esp + 0xc0]
fld st(0)
fsin
fmul qword [0x47b570]
call fcn.00407cf0
fcos
mov esi, eax
mov edi, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
fmul qword [0x47b570]
call fcn.00407cf0
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov ebp, edx
cdq
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push edi
mov dword [esp + 0x24], edx
cdq
push esi
push edx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.00445240
push ebp
mov ecx, eax
mov eax, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], edx
call fcn.00445240
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x3c]
sub ebx, ecx
push 1
sbb ebp, edx
cdq
push 0
push edx
push eax
call fcn.00445240
add ebx, eax
adc ebp, edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
fild qword [esp + 0x64]
fdiv qword [esp + 0x54]
call fcn.00407cf0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.00445240
mov ecx, dword [esp + 0x20]
push edi
push esi
mov ebp, edx
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ebx, eax
call fcn.00445240
add ebx, eax
mov eax, dword [esp + 0x14]
push 1
adc ebp, edx
cdq
push 0
push edx
push eax
call fcn.00445240
add ebx, eax
adc ebp, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
fild qword [esp + 0x34]
fdiv qword [esp + 0xa8]
call fcn.00407cf0
fild qword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
fdiv qword [esp + 0x54]
call fcn.00407cf0
fild qword [esp + 0x4c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
fdiv qword [esp + 0xa8]
call fcn.00407cf0
fld qword [esp + 0xc0]
fadd qword [0x47b568]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
fld st(0)
fcos
fmul qword [0x47b570]
fdiv qword [esp + 0x54]
call fcn.00407cf0
fsin
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
fmul qword [0x47b570]
fdiv qword [esp + 0xa8]
call fcn.00407cf0
mov dword [esp + 0x54], eax
test byte [esp + 0x10], 1
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], edx
cdq
je 0x41992c
mov ebp, eax
mov eax, dword [esp + 0x80]
mov edi, edx
cdq
cmp edi, edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jg 0x419aa7
jl 0x4197c7
cmp ebp, eax
jae 0x419aa7
mov eax, dword [esp + 0x74]
lea ecx, [eax*4]
cdq
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], edx
cdq
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jmp 0x4197f2
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
push edi
push ebp
call fcn.00445240
mov ecx, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x60]
add ebx, ecx
mov ecx, dword [esp + 0x58]
mov esi, edx
mov edx, dword [esp + 0x54]
push ecx
push edx
push edi
push ebp
adc esi, eax
call fcn.00445240
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
add eax, edi
mov edi, dword [esp + 0x84]
adc edx, ecx
mov ecx, ebp
imul ecx, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
add ecx, edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x28]
jg 0x4198f1
jl 0x419873
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x3c], eax
jae 0x4198ed
cmp esi, dword [esp + 0x70]
jl 0x4198aa
cmp esi, dword [esp + 0x90]
jge 0x4198aa
cmp edx, dword [esp + 0x6c]
jl 0x4198aa
cmp edx, dword [esp + 0x98]
jge 0x4198aa
mov ebp, dword [esp + 0x9c]
mov eax, edx
imul eax, dword [esp + 0x94]
add ebp, eax
mov eax, dword [ebp + esi*4]
mov dword [ecx], eax
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
add ecx, 4
add ebx, ebp
mov ebp, dword [esp + 0x34]
adc esi, eax
mov eax, dword [esp + 0x2c]
add ebp, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ebp
adc edx, dword [esp + 0x30]
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
adc edi, 0
cmp edi, eax
jl 0x419873
jg 0x4198ed
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x24]
jb 0x419873
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add ebp, 1
adc eax, 0
cmp eax, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jl 0x4197ee
jg 0x419aa7
cmp ebp, dword [esp + 0x1c]
jb 0x4197ee
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb8
ret
mov edi, eax
mov eax, dword [esp + 0x80]
mov ebp, edx
cdq
cmp ebp, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jg 0x419aa7
jl 0x41995a
cmp edi, eax
jae 0x419aa7
mov eax, dword [esp + 0x74]
lea ecx, [eax*4]
cdq
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], edx
cdq
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
push ebp
push edi
call fcn.00445240
mov ecx, dword [esp + 0x5c]
mov ebx, eax
mov eax, dword [esp + 0x60]
add ebx, ecx
mov ecx, dword [esp + 0x58]
mov esi, edx
mov edx, dword [esp + 0x54]
push ecx
push edx
push ebp
push edi
adc esi, eax
call fcn.00445240
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
add eax, ecx
adc edx, ebp
mov ebp, dword [esp + 0x28]
mov ecx, edi
imul ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x84]
add ecx, edi
mov edi, dword [esp + 0x48]
add ecx, eax
cmp edi, ebp
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
jg 0x419a79
jl 0x419a00
cmp eax, dword [esp + 0x24]
jae 0x419a79
cmp esi, dword [esp + 0x70]
jl 0x419a3d
cmp esi, dword [esp + 0x90]
jge 0x419a3d
cmp edx, dword [esp + 0x6c]
jl 0x419a3d
cmp edx, dword [esp + 0x98]
jge 0x419a3d
mov ebp, dword [esp + 0x9c]
mov eax, edx
imul eax, dword [esp + 0x94]
add ebp, eax
mov eax, dword [ebp + esi*4]
mov dword [ecx], eax
mov eax, dword [esp + 0x3c]
jmp 0x419a46
mov ebp, dword [esp + 0xa4]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x64]
add ecx, 4
add ebx, ebp
adc esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x2c]
add dword [esp + 0x34], ebp
adc edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
add eax, 1
adc edi, 0
cmp edi, ebp
mov dword [esp + 0x3c], eax
jl 0x419a00
jg 0x419a79
cmp eax, dword [esp + 0x24]
jb 0x419a00
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add edi, 1
adc ebp, 0
cmp ebp, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
jl 0x41997f
jg 0x419aa7
cmp edi, dword [esp + 0x1c]
jb 0x41997f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb8
ret