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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xf21c], 0
je 0x4136b9
call fcn.00412ad0
push 0
push 0x18
push str.ray.kg
mov ecx, ebx
call fcn.0041a4a0
test al, al
je 0x413a07
push 0x78
mov ecx, ebx
call fcn.004121b0
push eax
push 0xa
mov ecx, ebx
call fcn.00413160
mov dword [ebx + 0xf2d8], 1
lea esi, [ebx + 0x279f4]
xor edi, edi
cmp byte [esi], 0
je 0x41370f
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x4136f6
jmp 0x4137bc
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.00459860
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp edi, 0xffffffff
je 0x4137bc
movups xmm0, xmmword [0x4a0158]
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
push 0
push 0
push 0x18
push edi
push 1
movups xmmword [ebp - 0x30], xmm0
call fcn.00425bb0
imul eax, edi, 0xcc
lea ecx, [ebx + 0x279f4]
mov dword [ebx + 0xf258], edi
add ecx, eax
je 0x4137bc
mov dword [ecx + 8], 0x2c
mov dword [ecx + 0x3c], 0x40
mov dword [ecx + 0x40], 0x100
mov dword [ecx + 0xb0], 1
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0x500
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0x500
mov eax, dword [ebx + 0xf2dc]
mov dword [ecx + 0xc], eax
add eax, 0x78
mov dword [ecx + 0x10], eax
movups xmm0, xmmword [0x4a01ac]
xor esi, esi
mov dword [ebp - 8], 0x4a
xor edx, edx
mov dword [ebp - 0x18], esi
mov ecx, 0x14
mov dword [ebp - 0x14], edx
lea eax, [ebx + 0xf264]
mov dword [ebp - 0x10], 0xa8
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
add edx, 0xc
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, 0x66666667
imul esi
lea esi, [ebx + 0x279f4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, 0xc
add eax, edx
xor edi, edi
mov dword [ebp - 0x20], eax
cmp byte [esi], 0
je 0x41383d
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x413824
jmp 0x4138f8
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.00459860
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp edi, 0xffffffff
je 0x4138f5
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
mov eax, dword [ebp - 4]
push eax
push eax
push 0x18
push edi
push 1
call fcn.00425bb0
mov eax, dword [ebp - 0xc]
lea ecx, [ebx + 0x279f4]
mov dword [eax - 4], edi
imul eax, edi, 0xcc
add ecx, eax
je 0x4138f5
mov dword [ecx + 8], 0xf
mov eax, dword [ebx + 0xf2dc]
mov dword [ecx + 0xc], eax
add eax, 0x78
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe8
mov dword [ecx + 0x3c], 0x50
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
add eax, 0xffffffe8
mov dword [ecx + 0x4c], 0xf0
mov dword [ecx + 0x54], 0xf0
mov dword [ecx + 0x5c], 0xff
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 4]
lea esi, [ebx + 0x279f4]
xor edi, edi
cmp byte [esi], 0
je 0x413919
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x413900
jmp 0x4139d2
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.00459860
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp edi, 0xffffffff
je 0x4139cf
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
mov eax, dword [ebp - 4]
push eax
push eax
push 0x18
push edi
push 1
call fcn.00425bb0
mov eax, dword [ebp - 0xc]
lea ecx, [ebx + 0x279f4]
mov dword [eax], edi
imul eax, edi, 0xcc
add ecx, eax
je 0x4139cf
mov dword [ecx + 8], 0xf
mov eax, dword [ebx + 0xf2dc]
mov dword [ecx + 0xc], eax
add eax, 0x78
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x3c], 0x64
mov dword [ecx + 0x4c], 0xff
mov dword [ecx + 0x54], 0xf0
mov dword [ecx + 0x5c], 0xf0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 4]
jmp 0x4139d5
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add ecx, 0x14
mov esi, dword [ebp - 0x18]
add edx, 0x40
add dword [ebp - 0xc], 8
add esi, 0x30
add dword [ebp - 0x10], 0x90
add eax, 0x32
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], eax
cmp ecx, 0x78
jl 0x4137f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret