Function at 0x4136f0
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 0x413709
call fcn.00412b20
push 0
push 0x18
push str.ray.kg
mov ecx, ebx
call fcn.0041a590
test al, al
je 0x413a57
push 0x78
mov ecx, ebx
call fcn.00412200
push eax
push 0xa
mov ecx, ebx
call fcn.004131b0
mov dword [ebx + 0xf2d8], 1
lea esi, [ebx + 0x279f4]
xor edi, edi
cmp byte [esi], 0
je 0x41375f
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x413746
jmp 0x41380c
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0045a200
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp edi, 0xffffffff
je 0x41380c
movups xmm0, xmmword [0x4a1180]
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.00426160
imul eax, edi, 0xcc
lea ecx, [ebx + 0x279f4]
mov dword [ebx + 0xf258], edi
add ecx, eax
je 0x41380c
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 [0x4a11cc]
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 0x41388d
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x413874
jmp 0x413948
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0045a200
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp edi, 0xffffffff
je 0x413945
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.00426160
mov eax, dword [ebp - 0xc]
lea ecx, [ebx + 0x279f4]
mov dword [eax - 4], edi
imul eax, edi, 0xcc
add ecx, eax
je 0x413945
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 0x413969
inc edi
add esi, 0xcc
cmp edi, 0x190
jl 0x413950
jmp 0x413a22
lea ecx, [esi + 0xb4]
mov byte [esi], 1
call fcn.0045a200
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 4], 1
cmp edi, 0xffffffff
je 0x413a1f
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.00426160
mov eax, dword [ebp - 0xc]
lea ecx, [ebx + 0x279f4]
mov dword [eax], edi
imul eax, edi, 0xcc
add ecx, eax
je 0x413a1f
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 0x413a25
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 0x413840
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret