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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe80
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xe5c], eax
test ebx, ebx
je 0x10115d80
xor edx, edx
cmp dword [ebx], edx
je 0x10115d80
push esi
mov esi, dword [eax]
lea ecx, [ebp - 0xe34]
push edi
push 0x100
push ecx
mov ecx, dword [esi + 0x68]
xor edi, edi
push edx
inc edi
mov dword [ebp - 0xe74], edx
push eax
mov dword [ebp - 0xe4c], edi
call dword [0x10155aa8]
call dword [esi + 0x68]
mov esi, dword [ebp - 0xe5c]
lea eax, [ebp - 0xc34]
xor ecx, ecx
mov dword [ebp - 0xe78], ecx
mov dword [ebp - 0xe54], ecx
inc dword [esi + 0x10]
test byte [ebx + 0x30], 0x10
je 0x101150dd
push eax
push dword [ebx + 0xc]
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
jmp 0x101150e9
push dword [ebx + 0xc]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0xc34]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov eax, dword [ebx]
pop ecx
xor ecx, ecx
mov dword [ebp - 0xe58], ecx
cmp dword [eax + 0x24], ecx
jle 0x10115d55
mov dword [ebp - 0xe68], 0x5c
mov dword [ebp - 0xe80], 0x2e
mov ecx, esi
call fcn.100c21be
test al, al
je 0x10115c29
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov eax, dword [ebx]
push dword [ebp - 0xe58]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
xor edx, edx
mov dword [ebp - 0xe50], eax
cmp dword [eax + 0x44], edx
je 0x101151c1
test byte [ebx + 0x30], 8
jne 0x101151c1
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x101151c1
mov byte [ebp - 0xe45], 1
mov edi, edx
jle 0x101151c8
mov ecx, dword [ebp - 0xe50]
mov esi, edx
add ecx, 0x4c
mov dword [ebp - 0xe64], ecx
mov eax, dword [ebx + 0x18]
add eax, esi
push ecx
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
jne 0x101151a7
mov ecx, dword [ebp - 0xe64]
inc edi
add esi, 0x10
cmp edi, dword [ebx + 0x14]
jl 0x10115186
jmp 0x101151c8
mov esi, dword [ebp - 0xe64]
lea edi, [ebp - 0xe44]
xor eax, eax
mov byte [ebp - 0xe45], al
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x101151c8
mov byte [ebp - 0xe45], 1
mov eax, dword [ebp - 0xe50]
add eax, 0x4c
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
jne 0x1011522d
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
je 0x1011522d
xor eax, eax
mov edi, eax
cmp dword [ebx + 0x14], eax
jle 0x1011522d
mov esi, eax
mov ecx, dword [ebp - 0xe50]
mov eax, dword [ebx + 0x18]
add ecx, 0x4c
add eax, esi
push ecx
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
jne 0x1011521a
inc edi
add esi, 0x10
cmp edi, dword [ebx + 0x14]
jl 0x101151f6
jmp 0x1011522d
mov esi, dword [ebp - 0xe50]
lea edi, [ebp - 0xe44]
lea esi, [esi + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
je 0x1011524a
lea esi, [ebx + 0x1c]
lea edi, [ebp - 0xe44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xe45], 0
je 0x101157ed
mov eax, dword [ebx + 4]
push 0x35
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, eax
mov dword [ebp - 0xe70], ecx
test ecx, ecx
je 0x10115c1b
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x1011528b
mov dword [eax + 0x14], ecx
jmp 0x10115291
mov dword [ebp - 0xe78], ecx
mov esi, dword [ebp - 0xe50]
mov dword [ecx + 0x10], esi
test dword [ebx + 0x30], 0x2000
mov dword [ebp - 0xe54], ecx
je 0x10115346
lea eax, [ebp - 0x61c]
push eax
push 0x104
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
lea eax, [ebp - 0x824]
push eax
xor eax, eax
push eax
push str.e3duuuu.___
lea eax, [ebp - 0x61c]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
push 0x5c
pop eax
push eax
lea eax, [ebp - 0x824]
push eax
call sub.VCRUNTIME140.dll_wcsrchr
pop ecx
pop ecx
lea edx, [ebp - 0x824]
lea edi, [eax + 2]
mov eax, dword [ebx + 4]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0xe70]
mov dword [ecx], eax
test eax, eax
je 0x10115c1b
mov eax, dword [ebx + 4]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edi, dword [ebp - 0xe70]
mov dword [edi + 4], eax
test eax, eax
je 0x10115c1b
mov byte [edi + 0x18], 1
jmp 0x101157df
xor eax, eax
mov edi, eax
lea eax, [esi + 0x40]
mov dword [ebp - 0xe64], edi
mov dword [ebp - 0xe60], eax
push 0x104
lea ecx, [ebp - 0x824]
push ecx
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
xor ecx, ecx
cmp dword [esi + 0x44], ecx
je 0x10115399
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
add esp, 0xc
test al, al
jne 0x10115798
xor ecx, ecx
test dword [ebx + 0x30], 0x200
mov al, cl
mov byte [ebp - 0xe45], al
je 0x1011552b
cmp dword [esi + 0x44], ecx
je 0x1011552b
mov ax, word [ebp - 0x824]
lea edx, [ebp - 0x824]
test ax, ax
je 0x10115523
movzx esi, ax
add edx, 2
cmp si, word [ebp - 0xe68]
mov eax, edx
cmovne eax, ecx
mov ecx, eax
movzx eax, word [edx]
mov esi, eax
test ax, ax
jne 0x101153d0
test ecx, ecx
je 0x10115523
xor eax, eax
cmp word [ecx], ax
je 0x10115523
push ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
xor eax, eax
lea edx, [ebp - 0x20c]
pop ecx
mov ecx, eax
mov ax, word [ebp - 0x20c]
test ax, ax
je 0x10115523
movzx esi, ax
cmp si, word [ebp - 0xe80]
mov eax, edx
cmovne eax, ecx
add edx, 2
mov ecx, eax
movzx eax, word [edx]
mov esi, eax
test ax, ax
jne 0x1011542b
test ecx, ecx
je 0x10115523
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
test eax, eax
je 0x10115523
test dword [ebx + 0x30], 0x1000
je 0x101154ac
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
mov ecx, eax
push 8
pop eax
test edi, edi
je 0x1011549e
cmp edi, 0xa
jge 0x10115493
push 7
pop eax
jmp 0x1011549e
xor eax, eax
cmp edi, 0x64
setl al
add eax, 5
cmp ecx, eax
jle 0x101154ac
xor ecx, ecx
mov word [ebp + eax*2 - 0x20c], cx
lea eax, [ebp - 0x20c]
test edi, edi
je 0x101154d3
push edi
push eax
push str._s_d.
lea eax, [ebp - 0x61c]
push 0x104
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
add esp, 0x14
jmp 0x101154ed
push eax
push 0x1016b5f8
lea eax, [ebp - 0x61c]
push 0x104
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
add esp, 0x10
cmp dword [ebx + 0x38], 0
je 0x10115509
push dword [ebx + 0x38]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
pop ecx
pop ecx
mov al, 1
jmp 0x10115529
xor eax, eax
push eax
lea eax, [ebp - 0xe44]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test eax, eax
je 0x10115523
mov eax, dword [eax + 0x5c]
push dword [eax]
jmp 0x101154f6
mov al, byte [ebp - 0xe45]
xor ecx, ecx
test al, al
jne 0x1011560e
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0xe44]
push ecx
push eax
mov dword [ebp - 0xe7c], edi
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov esi, eax
test esi, esi
je 0x101155ed
xor eax, eax
cmp dword [esi + 0x58], eax
je 0x101155ed
cmp dword [ebx + 0x38], eax
jne 0x101155ed
push 0x2e
pop eax
push eax
push edi
call sub.VCRUNTIME140.dll_wcsrchr
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x101155ed
xor eax, eax
add ecx, 2
mov edi, eax
mov dword [ebp - 0xe6c], ecx
cmp dword [esi + 0x58], eax
jle 0x101155aa
mov eax, dword [esi + 0x5c]
push dword [eax + edi*4]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x101155e7
mov ecx, dword [ebp - 0xe6c]
inc edi
cmp edi, dword [esi + 0x58]
jl 0x1011558b
push dword [ebp - 0xe7c]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
push 0x2e
pop eax
push eax
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_wcsrchr
lea ecx, [eax + 2]
mov eax, dword [esi + 0x5c]
push dword [eax]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
add esp, 0x18
lea edi, [ebp - 0x414]
jmp 0x101155ed
mov edi, dword [ebp - 0xe7c]
push dword [ebp - 0xe74]
lea eax, [ebp - 0x61c]
push edi
push 0x104
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov edi, dword [ebp - 0xe64]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xc34]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
lea eax, [ebp - 0x20c]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov ecx, dword [ebp - 0xe70]
inc dword [ebp - 0xe74]
inc edi
movzx eax, al
mov dword [ebp - 0xe64], edi
mov dword [ecx + 8], eax
test eax, eax
je 0x1011566d
test byte [ebx + 0x30], 0x40
jne 0x1011566d
test dword [ebx + 0x30], 0x100
mov esi, dword [ebp - 0xe50]
lea eax, [esi + 0x40]
jne 0x10115359
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
xor ecx, ecx
mov edi, ecx
cmp edi, dword [ebp - 0xe58]
jge 0x101156da
mov eax, dword [ebx]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
test dword [ebx + 0x30], 0x800
jne 0x101156c0
mov eax, dword [eax + 0x2c]
lea ecx, [ebp - 0x20c]
push ecx
push dword [eax]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x101156c3
inc edi
jmp 0x10115684
mov esi, dword [ebp - 0xe50]
mov edi, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe60]
jmp 0x10115359
mov eax, dword [ebp - 0xe50]
cmp dword [eax + 0x44], 0
je 0x10115798
cmp dword [0x107d4574], 0
je 0x10115798
push dword [ebp - 0xe60]
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov dword [ebp - 0xe6c], eax
lea eax, [ebp - 0x20c]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov edi, eax
lea eax, [ebp - 0x61c]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov edx, dword [ebp - 0xe6c]
add esp, 0xc
mov esi, eax
mov dword [ebp - 0xe60], esi
test edx, edx
je 0x101159c2
test edi, edi
je 0x101159c2
test esi, esi
je 0x101159c2
mov eax, dword [0x107d4574]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [0x107d4574]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [0x107d4574]
push dword [ebp - 0xe60]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edi, dword [ebp - 0xe70]
lea edx, [ebp - 0x61c]
push edx
mov dword [edi], eax
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [edi + 4], eax
test eax, eax
je 0x10115c1b
mov eax, dword [ebp - 0xe50]
mov dword [eax + 0x2c], edi
jmp 0x10115990
mov eax, dword [ebp - 0xe50]
xor ecx, ecx
cmp dword [eax + 0x44], ecx
je 0x101159a3
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx + 4]
push 0x35
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov edi, eax
test edi, edi
je 0x10115c1b
mov ecx, dword [ebp - 0xe50]
xor edx, edx
mov eax, dword [ebp - 0xe54]
inc edx
mov dword [ecx + 0x2c], edi
or dword [edi + 0x31], edx
mov dword [edi + 0x10], ecx
test eax, eax
je 0x10115841
mov dword [eax + 0x14], edi
jmp 0x10115847
mov dword [ebp - 0xe78], edi
mov dword [edi + 8], edx
lea eax, [ecx + 0x40]
test dword [ebx + 0x30], 0x1000
mov dword [ebp - 0xe54], edi
push 0x104
je 0x10115889
lea ecx, [ebp - 0x310]
push ecx
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x310]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
jmp 0x10115896
lea ecx, [ebp - 0xa2c]
push ecx
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
xor eax, eax
lea edx, [ebp - 0xa2c]
mov ecx, eax
mov dword [ebp - 0xe60], eax
mov ax, word [ebp - 0xa2c]
test ax, ax
je 0x101158d6
movzx esi, ax
add edx, 2
cmp si, word [ebp - 0xe68]
mov eax, edx
cmovne eax, ecx
mov ecx, eax
movzx eax, word [edx]
mov esi, eax
test ax, ax
jne 0x101158b5
mov dword [ebp - 0xe60], ecx
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa2c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, dword [ebp - 0xe60]
mov dword [edi], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 0x14]
test ecx, ecx
jne 0x1011590a
lea ecx, [ebp - 0xa2c]
push ecx
push edx
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [edi + 4], eax
test eax, eax
je 0x10115c1b
test dword [ebx + 0x30], 0x800
jne 0x10115990
lea eax, [ebp - 0x310]
push eax
push dword [edi]
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x310]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [edi], eax
test eax, eax
je 0x10115c1b
lea eax, [ebp - 0x310]
push eax
push dword [edi + 4]
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x310]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [edi + 4], eax
test eax, eax
je 0x10115c1b
mov edi, dword [ebp - 0xe54]
lea esi, [ebp - 0xe44]
lea edi, [edi + 0x19]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xe58]
mov eax, dword [ebx]
inc ecx
mov dword [ebp - 0xe58], ecx
cmp ecx, dword [eax + 0x24]
jge 0x101159f6
mov esi, dword [ebp - 0xe5c]
jmp 0x1011511d
mov dword [ebp - 0xe4c], 0xfffffff4
test edx, edx
je 0x101159da
push 2
push edx
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
pop ecx
pop ecx
test edi, edi
je 0x101159e8
push 2
push edi
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
pop ecx
pop ecx
test esi, esi
je 0x101159f6
push 2
push esi
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
pop ecx
pop ecx
mov esi, dword [ebp - 0xe4c]
mov edi, dword [ebp - 0xe78]
test edi, edi
je 0x10115d4f
mov ecx, dword [ebp - 0xe5c]
call fcn.100c21be
test al, al
je 0x10115d4f
test esi, esi
jle 0x10115d4f
mov dword [ebx + 8], edi
mov ecx, dword [ebp - 0xe5c]
call fcn.100c21be
test al, al
je 0x10115d4f
test byte [ebx + 0x30], 0x20
jne 0x10115ccb
test byte [edi + 0x31], 1
jne 0x10115ccb
test byte [ebx + 0x30], 0x40
je 0x10115a60
xor eax, eax
cmp dword [edi + 8], eax
jne 0x10115ccb
test byte [ebx + 0x30], 0x80
mov eax, dword [edi + 0x10]
mov esi, dword [eax + 0x64]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0xe58], esi
mov dword [ebp - 0xe54], ecx
je 0x10115aaa
push 0x400
push esi
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov edx, dword [ebp - 0xe54]
mov esi, eax
push 0x400
push edx
mov dword [ebp - 0xe58], esi
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
add esp, 0x10
mov dword [ebp - 0xe54], eax
mov ecx, eax
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x10115ad0
cmp esi, edx
mov eax, edx
cmovle eax, esi
mov esi, eax
mov dword [ebp - 0xe58], esi
cmp ecx, edx
jle 0x10115ad0
mov dword [ebp - 0xe54], edx
mov dword [ebp - 0xe58], esi
mov eax, dword [ebp - 0xe5c]
xor ecx, ecx
push dword [edi]
push str.Saving:__s
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0x18]
call dword [0x10155aa8]
call dword [esi + 0x18]
mov ecx, dword [edi + 0x10]
add esp, 0x10
mov eax, dword [ebp - 0xe58]
mov edx, dword [ebp - 0xe54]
cmp eax, dword [ecx + 0x64]
jne 0x10115c66
cmp edx, dword [ecx + 0x68]
jne 0x10115c66
xor eax, eax
mov byte [ebp - 0xe45], 1
cmp dword [ecx + 0x3c], eax
je 0x10115ba7
lea eax, [ecx + 0x4c]
push eax
lea eax, [edi + 0x19]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
je 0x10115ba7
push 0x201
push dword [edi]
xor eax, eax
push eax
call sym.rt3d.dll_public:_static_class_e3_STREAM____stdcall_e3_STREAM::CreateW_struct_HINSTANCE_____unsigned_short_int_const___unsigned_int_
mov dword [ebp - 0xe68], eax
test eax, eax
je 0x10115ba7
mov eax, dword [edi + 0x10]
xor edx, edx
push edx
push edx
mov eax, dword [eax + 0x3c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov eax, dword [edi + 0x10]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push dword [ebp - 0xe68]
mov eax, dword [eax + 0x3c]
push eax
mov esi, dword [eax]
mov ecx, dword [esi + 0x78]
call dword [0x10155aa8]
call dword [esi + 0x78]
mov ecx, dword [ebp - 0xe68]
xor eax, eax
mov byte [ebp - 0xe45], al
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
lea eax, [edi + 0x19]
push 0x10197220
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
je 0x10115c2e
mov eax, dword [edi + 0x10]
add eax, 0x4c
push 0x10197220
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
test al, al
je 0x10115c2e
mov eax, dword [edi + 0x10]
xor ecx, ecx
cmp dword [eax + 0x44], ecx
je 0x10115c2e
push 0x104
lea ecx, [ebp - 0x824]
add eax, 0x40
push ecx
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
push dword [edi]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10115ccb
push dword [edi]
lea eax, [ebp - 0x824]
push eax
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
pop ecx
pop ecx
jmp 0x10115ccb
push 0xfffffffffffffff4
pop esi
mov dword [ebp - 0xe4c], esi
jmp 0x101159fc
or esi, 0xffffffff
jmp 0x10115c1e
cmp byte [ebp - 0xe45], 0
je 0x10115ccb
mov eax, dword [edi + 0x10]
movss xmm0, dword [ebx + 0x2c]
push ecx
movss dword [esp], xmm0
lea ecx, [edi + 0x19]
push dword [ebp - 0xe5c]
mov esi, dword [eax]
push ecx
push dword [edi]
mov ecx, dword [esi + 0x44]
push eax
call dword [0x10155aa8]
call dword [esi + 0x44]
jmp 0x10115ccb
mov esi, dword [ecx]
push 0
push 1
push edx
mov esi, dword [esi + 0xb4]
push eax
push ecx
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, eax
mov dword [ebp - 0xe6c], ecx
test ecx, ecx
je 0x10115d45
movss xmm0, dword [ebx + 0x2c]
lea eax, [ebx + 0x1c]
mov esi, dword [ecx]
push ecx
movss dword [esp], xmm0
push dword [ebp - 0xe5c]
push eax
push dword [edi]
push ecx
mov ecx, dword [esi + 0x44]
call dword [0x10155aa8]
call dword [esi + 0x44]
mov ecx, dword [ebp - 0xe6c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10155aa8]
call esi
test dword [ebx + 0x30], 0x800
jne 0x10115d38
test byte [edi + 0x31], 1
jne 0x10115d38
lea eax, [ebp - 0x310]
push eax
push dword [edi]
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x310]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [edi], eax
test eax, eax
je 0x10115d45
lea eax, [ebp - 0x310]
push eax
push dword [edi + 4]
call sym.rt3d.dll_struct_POINT3D___stdcall_GetRightAngle_struct_MATRIX3D___struct_POINT3D__bool_
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x310]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov dword [edi + 4], eax
test eax, eax
je 0x10115d45
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x10115a28
jmp 0x10115d4f
mov dword [ebp - 0xe4c], 0xfffffff4
mov edi, dword [ebp - 0xe4c]
mov eax, dword [ebp - 0xe5c]
lea ecx, [ebp - 0xe34]
push ecx
xor ecx, ecx
push ecx
mov esi, dword [eax]
dec dword [eax + 0x10]
push eax
mov ecx, dword [esi + 0x18]
call dword [0x10155aa8]
call dword [esi + 0x18]
add esp, 0xc
mov eax, edi
pop edi
pop esi
jmp 0x10115d82
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 0xc