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

Disassembly:
push 0xffffffffffffffff
push 0x453f41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
push 0x4c
mov byte [0x4644a4], 0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x84], esi
je 0x412bc9
mov ecx, eax
call fcn.004219d0
mov ebp, eax
jmp 0x412bcb
xor ebp, ebp
or edi, 0xffffffff
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], edi
mov dword [esp + 0x34], esi
call fcn.0041a9e0
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x84], 1
mov ecx, ebx
call fcn.004508b0
test al, al
jne 0x412c3f
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cerr]
push str._error_opening_file
call dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], edi
call fcn.00408340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x88], 2
call fcn.00409960
mov edi, str.loading_lta_file_r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x84], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.loading_lta_file_r_n
push ecx
push str.loading_lta_file_r_n
lea ecx, [esp + 0x30]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x84], 4
cmp eax, esi
je 0x412c9f
mov ecx, dword [esp + 0x28]
push ecx
call eax
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 5
call fcn.004112c0
push 0x40000
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 1
call fcn.00450040
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 6
call fcn.0044f360
lea edx, [esp + 0x44]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
mov byte [esp + 0x90], 7
call fcn.00450490
add esp, 0xc
test al, al
je 0x412d3c
push 0x318
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, esi
mov byte [esp + 0x84], 8
je 0x412d2e
mov ecx, dword [esp + 0x90]
push 0x465094
push ecx
mov ecx, eax
call fcn.0042eae0
mov ebx, eax
jmp 0x412d30
xor ebx, ebx
cmp ebx, esi
mov byte [esp + 0x84], 7
jne 0x412d87
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 6
call fcn.0044f380
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 1
call fcn.00450080
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.00408340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
lea edx, [esp + 0x34]
lea eax, [esp + 0x14]
push edx
push eax
push ebp
mov dword [ebx + 0x228], 0xd
call fcn.00425250
lea ecx, [esp + 0x20]
push str.on_load_cmds
push ecx
call fcn.0044f9a0
lea edx, [esp + 0x48]
mov edi, eax
push edx
push ebx
lea eax, [esp + 0x30]
push edi
push eax
push ebp
call fcn.00415c20
add esp, 0x28
cmp edi, esi
je 0x412ddd
mov ecx, dword [esp + 0x94]
push ecx
push ebx
push edi
call fcn.00413340
add esp, 0xc
mov eax, dword [ebx + 0x174]
push esi
push ebx
push eax
mov ecx, ebx
call fcn.00430610
mov ecx, ebx
call fcn.0042fe70
mov ecx, ebx
call fcn.0042fc90
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x412e9d
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 9
push ecx
lea ecx, [esp + 0x2c]
call fcn.00409960
mov edi, str.Setting_oriented_bounding_boxes._r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x8c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
add ecx, str.Setting_oriented_bounding_boxes._r_n
mov byte [esp + 0x88], 0xa
push ecx
push str.Setting_oriented_bounding_boxes._r_n
lea ecx, [esp + 0x34]
call fcn.00412ad0
mov eax, dword [0x4644f0]
mov byte [esp + 0x84], 0xb
cmp eax, esi
je 0x412e84
mov ecx, dword [esp + 0x28]
push ecx
call eax
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 0xc
call fcn.004112c0
mov byte [esp + 0x84], 7
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov dword [esp + 0x90], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x412fe5
xor edi, edi
jmp 0x412ecb
xor esi, esi
push 0x3f800000
push 0x3f800000
push 0x3f800000
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.0041a9c0
lea ecx, [esp + 0x6c]
call fcn.0041f590
push 0x3f800000
push esi
push esi
push esi
lea ecx, [esp + 0x7c]
call fcn.0041f5b0
mov esi, dword [ebp + 0x1c]
push 0
mov ecx, ebx
fld dword [edi + esi + 0x28]
fld dword [edi + esi + 0x24]
fld dword [edi + esi + 0x20]
fld dword [edi + esi + 0x1c]
fstp dword [esp + 0x70]
fstp dword [esp + 0x74]
fstp dword [esp + 0x78]
fstp dword [esp + 0x7c]
fld dword [edi + esi + 0x18]
fld dword [edi + esi + 0x14]
fld dword [edi + esi + 0x10]
fstp dword [esp + 0x58]
fstp dword [esp + 0x5c]
fstp dword [esp + 0x60]
fld dword [edi + esi + 0x34]
fld dword [edi + esi + 0x30]
fld dword [edi + esi + 0x2c]
fstp dword [esp + 0x64]
fstp dword [esp + 0x68]
fstp dword [esp + 0x6c]
mov eax, dword [edi + esi]
push eax
call fcn.0042f820
lea ecx, [esp + 0x54]
mov dword [esp + 0x8c], eax
push ecx
mov ecx, eax
call fcn.0042da60
mov al, byte [edi + esi + 0x38]
test al, al
je 0x412fa0
mov edx, dword [esp + 0x8c]
mov byte [edx + 0xd8], 1
jmp 0x412fae
mov eax, dword [esp + 0x8c]
mov byte [eax + 0xd8], 0
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
sub ecx, edx
mov eax, 0x88888889
imul ecx
mov esi, dword [esp + 0x90]
add edx, ecx
sar edx, 5
mov ecx, edx
inc esi
shr ecx, 0x1f
add edx, ecx
add edi, 0x3c
cmp esi, edx
mov dword [esp + 0x90], esi
jb 0x412ec9
xor esi, esi
cmp dword [esp + 0x34], esi
je 0x4130f8
lea ecx, [esp + 0x28]
call fcn.0041a9e0
mov edx, str._error_Reading_in_LTA_file
mov byte [esp + 0x84], 0xd
test edx, edx
je 0x41302c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x8c]
not ecx
dec ecx
push eax
add ecx, edx
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00412190
jmp 0x41303a
push str.error
lea ecx, [esp + 0x2c]
call fcn.0041aa50
mov eax, dword [0x4644f0]
cmp eax, esi
je 0x413063
mov ecx, dword [esp + 0x28]
push ecx
call eax
mov edx, dword [esp + 0x3c]
push edx
call dword [0x4644f0]
push 0x4610ac
call dword [0x4644f0]
add esp, 0xc
mov ecx, dword [0x4644ec]
cmp ecx, esi
jne 0x413073
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
push 0x4610a8
push edx
call edi
mov ecx, eax
call edi
mov ecx, eax
call edi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 7
call fcn.00408340
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 6
call fcn.0044f380
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 1
call fcn.00450080
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], 0xffffffff
call fcn.0040a280
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
mov al, byte [0x4644a4]
test al, al
je 0x413190
lea eax, [esp + 0x8c]
push esi
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 0xe
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.0040a310
mov edi, str.generating_normals._r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x84], 0xf
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.generating_normals._r_n
push ecx
push str.generating_normals._r_n
lea ecx, [esp + 0x30]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x84], 0x10
cmp eax, esi
je 0x41316e
mov ecx, dword [esp + 0x28]
push ecx
call eax
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 0x11
call fcn.004112c0
push ebx
mov byte [esp + 0x88], 7
call fcn.00436c90
add esp, 4
lea edx, [esp + 0x8c]
push esi
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 0x12
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0040a310
mov edi, str.____done______r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x84], 0x13
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.____done______r_n
push ecx
push str.____done______r_n
lea ecx, [esp + 0x24]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x84], 0x14
cmp eax, esi
je 0x4131f9
mov ecx, dword [esp + 0x1c]
push ecx
call eax
add esp, 4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
sub edx, eax
lea ecx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x8c], 0x15
call fcn.00412ab0
cmp ebp, esi
mov byte [esp + 0x84], 7
je 0x413232
mov ecx, ebp
call fcn.00421b70
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
call fcn.0044f440
lea ecx, [esp + 0x44]
call fcn.00450180
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 6
call fcn.0044f380
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 1
call fcn.00450080
lea ecx, [esp + 0x38]
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], 0x16
cmp eax, esi
je 0x413299
mov edx, dword [esp + 0x40]
sub edx, eax
push edx
push eax
call fcn.0040d4d0
add esp, 8
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret