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

Disassembly:
push 0xffffffffffffffff
push 0x1019b5c7
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov eax, dword [ecx + 0x10]
cmp eax, ebp
jle 0x1004d762
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 8]
jmp 0x1004d764
xor edx, edx
cmp edx, eax
je 0x1004d788
push str.ets_FloatMat_ets_FloatMat::inverse__bool_successPtrA___const:_not_a_square_matrix
lea eax, [esp + 0x38]
call fcn.100595b0
add esp, 4
push 0x102051a0
lea eax, [esp + 0x38]
push eax
call fcn.1017d044
cmp eax, ebp
jle 0x1004d796
mov edx, dword [ecx + 0xc]
mov esi, dword [edx + 8]
cmp esi, ebp
jg 0x1004d7b6
push str.ets_FloatMat_ets_FloatMat::inverse__bool_successPtrA___const:_matrix_size_is_zero
lea eax, [esp + 0x38]
call fcn.100595b0
add esp, 4
push 0x102051a0
lea eax, [esp + 0x38]
push eax
call fcn.1017d044
xor edx, edx
cmp eax, ebp
setle dl
push ecx
lea eax, [esp + 0x90]
push eax
sub edx, 1
and edx, esi
mov edi, edx
call fcn.1004c6b0
lea esi, [esp + 0x44]
mov dword [esp + 0xb8], 1
call fcn.1004c630
mov eax, esi
mov byte [esp + 0xb8], 2
call fcn.1004d590
push 1
lea ecx, [esp + 0x6c]
call fcn.1005eca0
push ebp
push edi
lea esi, [esp + 0x78]
mov byte [esp + 0xc0], 3
call fcn.10005ca0
xor eax, eax
lea edx, [esp + 0x68]
call fcn.1005f330
cmp edi, ebp
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
jle 0x1004dcd0
mov eax, dword [esp + 0x98]
fldz
mov ebx, dword [esp + 0x40]
fstp dword [esp + 0x18]
or edx, 0xffffffff
or esi, edx
xor ebp, ebp
add eax, 4
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], eax
lea esp, [esp]
cmp dword [ebx + ebp*4], 1
je 0x1004d905
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ecx, eax
xor esi, esi
sub ecx, ebx
mov dword [esp + 0x20], ecx
jmp 0x1004d884
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx]
test eax, eax
jne 0x1004d8be
fld dword [ecx + ebx]
push ecx
fstp dword [esp]
call fcn.10009f50
fstp dword [esp + 0x30]
add esp, 4
fld dword [esp + 0x18]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1004d8ed
fstp dword [esp + 0x18]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], esi
jmp 0x1004d8ef
cmp eax, 1
jle 0x1004d8ef
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1004d8d1
mov byte [eax], 0
mov edi, dword [esp + 0xc0]
lea ecx, [esp + 0x44]
push ecx
push edi
call fcn.1004c6b0
lea edx, [esp + 0x68]
push edx
jmp 0x1004dcf5
fstp st(0)
add esi, 1
add ebx, 4
cmp esi, edi
jl 0x1004d880
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
add dword [esp + 0x1c], 0x24
add ebp, 1
cmp ebp, edi
jl 0x1004d860
test esi, esi
jl 0x1004dd5d
add dword [ebx + esi*4], 1
cmp edx, esi
je 0x1004da91
mov ecx, dword [esp + 0x98]
lea edx, [edx + edx*8]
lea esi, [esi + esi*8]
add edx, edx
add esi, esi
add edx, edx
mov eax, dword [ecx + edx + 4]
add esi, esi
mov ecx, dword [ecx + esi + 4]
xor ebp, ebp
cmp edi, 4
mov dword [esp + 0x1c], ebp
jl 0x1004d9bf
lea ebx, [edi - 4]
shr ebx, 2
add ebx, 1
lea ebp, [ebx*4]
mov dword [esp + 0x1c], ebp
fld dword [eax]
add eax, 0x10
fstp dword [esp + 0x18]
add ecx, 0x10
sub ebx, 1
fld dword [ecx - 0x10]
fstp dword [eax - 0x10]
fld dword [esp + 0x18]
fstp dword [ecx - 0x10]
fld dword [eax - 0xc]
fstp dword [esp + 0x18]
fld dword [ecx - 0xc]
fstp dword [eax - 0xc]
fld dword [esp + 0x18]
fstp dword [ecx - 0xc]
fld dword [eax - 8]
fstp dword [esp + 0x18]
fld dword [ecx - 8]
fstp dword [eax - 8]
fld dword [esp + 0x18]
fstp dword [ecx - 8]
fld dword [eax - 4]
fstp dword [esp + 0x18]
fld dword [ecx - 4]
fstp dword [eax - 4]
fld dword [esp + 0x18]
fstp dword [ecx - 4]
jne 0x1004d965
cmp ebp, edi
jge 0x1004d9ee
mov ebx, edi
sub ebx, dword [esp + 0x1c]
lea esp, [esp]
fld dword [eax]
add eax, 4
fstp dword [esp + 0x18]
add ecx, 4
sub ebx, 1
fld dword [ecx - 4]
fstp dword [eax - 4]
fld dword [esp + 0x18]
fstp dword [ecx - 4]
jne 0x1004d9d0
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + edx + 4]
mov ecx, dword [ecx + esi + 4]
xor esi, esi
cmp edi, 4
jl 0x1004da6b
lea edx, [edi - 4]
shr edx, 2
add edx, 1
lea esi, [edx*4]
fld dword [eax]
add eax, 0x10
fstp dword [esp + 0x18]
add ecx, 0x10
sub edx, 1
fld dword [ecx - 0x10]
fstp dword [eax - 0x10]
fld dword [esp + 0x18]
fstp dword [ecx - 0x10]
fld dword [eax - 0xc]
fstp dword [esp + 0x18]
fld dword [ecx - 0xc]
fstp dword [eax - 0xc]
fld dword [esp + 0x18]
fstp dword [ecx - 0xc]
fld dword [eax - 8]
fstp dword [esp + 0x18]
fld dword [ecx - 8]
fstp dword [eax - 8]
fld dword [esp + 0x18]
fstp dword [ecx - 8]
fld dword [eax - 4]
fstp dword [esp + 0x18]
fld dword [ecx - 4]
fstp dword [eax - 4]
fld dword [esp + 0x18]
fstp dword [ecx - 4]
jne 0x1004da11
cmp esi, edi
jge 0x1004da91
mov edx, edi
sub edx, esi
fld dword [eax]
add eax, 4
fstp dword [esp + 0x18]
add ecx, 4
sub edx, 1
fld dword [ecx - 4]
fstp dword [eax - 4]
fld dword [esp + 0x18]
fstp dword [ecx - 4]
jne 0x1004da73
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x98]
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
mov ebx, dword [edx + eax + 4]
mov edx, dword [esp + 0x24]
fld dword [ebx + edx*4]
mov ecx, dword [esp + 0x50]
fld1
mov ebp, dword [ecx + eax + 4]
fdivrp st(1)
xor esi, esi
cmp edi, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebp
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
jl 0x1004db48
mov edx, ebx
sub edx, ebp
mov dword [esp + 0x18], edx
lea edx, [edi - 4]
shr edx, 2
add edx, 1
lea esi, [edx*4]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
lea ecx, [ebx + 0xc]
lea eax, [ebp + 4]
fld dword [ecx - 0xc]
add eax, 0x10
fmul st(1)
add ecx, 0x10
sub edx, 1
fstp dword [ecx - 0x1c]
fld st(0)
fmul dword [eax - 0x14]
fstp dword [eax - 0x14]
fld dword [esi + eax - 0x10]
fmul st(1)
fstp dword [esi + eax - 0x10]
fld st(0)
fmul dword [eax - 0x10]
fstp dword [eax - 0x10]
fld dword [ecx - 0x14]
fmul st(1)
fstp dword [ecx - 0x14]
fld dword [eax - 0xc]
fmul st(1)
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fmul st(1)
fstp dword [ecx - 0x10]
fld dword [eax - 8]
fmul st(1)
fstp dword [eax - 8]
jne 0x1004daf7
mov esi, dword [esp + 0x1c]
cmp esi, edi
jge 0x1004db72
mov ecx, ebx
mov edx, edi
sub ecx, ebp
lea eax, [ebp + esi*4]
sub edx, esi
fld st(0)
add eax, 4
sub edx, 1
fmul dword [eax + ecx - 4]
fstp dword [eax + ecx - 4]
fld st(0)
fmul dword [eax - 4]
fstp dword [eax - 4]
jne 0x1004db58
xor eax, eax
fstp st(0)
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x24]
cmp eax, edx
je 0x1004dc9f
mov eax, dword [esp + 0x98]
mov eax, dword [ecx + eax + 4]
fld dword [eax + edx*4]
mov esi, dword [esp + 0x50]
mov ecx, dword [ecx + esi + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
xor edx, edx
cmp edi, 4
mov dword [esp + 0x1c], edx
jl 0x1004dc62
lea esi, [ebx + 0xc]
sub ebx, ebp
lea edx, [ebp + 4]
lea ebp, [edi - 4]
shr ebp, 2
mov dword [esp + 0x18], ebx
add ebp, 1
lea ebx, [ebp*4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x18]
fld dword [eax]
add eax, 0x10
fld dword [esi - 0xc]
add ecx, 0x10
fmul st(2)
add edx, 0x10
add esi, 0x10
sub ebp, 1
fsubp st(1)
fstp dword [eax - 0x10]
fld dword [ecx - 0x10]
fld dword [edx - 0x14]
fmul st(2)
fsubp st(1)
fstp dword [ecx - 0x10]
fld dword [eax - 0xc]
fld dword [edx + ebx - 0x10]
fmul st(2)
fsubp st(1)
fstp dword [eax - 0xc]
fld dword [ecx - 0xc]
fld st(1)
fmul dword [edx - 0x10]
fsubp st(1)
fstp dword [ecx - 0xc]
fld dword [eax - 8]
fld dword [esi - 0x14]
fmul st(2)
fsubp st(1)
fstp dword [eax - 8]
fld dword [ecx - 8]
fld dword [edx - 0xc]
fmul st(2)
fsubp st(1)
fstp dword [ecx - 8]
fld dword [eax - 4]
fld dword [esi - 0x10]
fmul st(2)
fsubp st(1)
fstp dword [eax - 4]
fld dword [ecx - 4]
fld dword [edx - 8]
fmul st(2)
fsubp st(1)
fstp dword [ecx - 4]
jne 0x1004dbdd
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
cmp edx, edi
jge 0x1004dc9d
mov esi, edi
sub ebx, ebp
sub esi, dword [esp + 0x1c]
lea edx, [ebp + edx*4]
fld dword [eax]
add eax, 4
fld dword [edx + ebx]
add ecx, 4
fmul st(2)
add edx, 4
sub esi, 1
fsubp st(1)
fstp dword [eax - 4]
fld dword [ecx - 4]
fld dword [edx - 4]
fmul st(2)
fsubp st(1)
fstp dword [ecx - 4]
jne 0x1004dc72
mov ebx, dword [esp + 0x28]
fstp st(0)
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, 1
add ecx, 0x24
cmp eax, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
jl 0x1004db80
mov eax, dword [esp + 0x3c]
add eax, 1
cmp eax, edi
mov dword [esp + 0x3c], eax
jl 0x1004d832
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1004dcde
mov byte [eax], 1
mov edi, dword [esp + 0xc0]
lea edx, [esp + 0x44]
push edx
push edi
call fcn.1004c6b0
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x34], 1
mov byte [esp + 0xbc], 2
call fcn.10001b50
mov esi, vtable.ert_RefCounter.0
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], esi
mov byte [esp + 0xb8], 1
call fcn.1004ad70
lea ecx, [esp + 0x8c]
mov dword [esp + 0x60], esi
mov byte [esp + 0xb8], 0
call fcn.1004ad70
mov eax, edi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 8
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1004dd6b
mov byte [eax], 0
mov edi, dword [esp + 0xc0]
lea eax, [esp + 0x44]
push eax
push edi
call fcn.1004c6b0
lea ecx, [esp + 0x68]
push ecx
jmp 0x1004dcf5