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

Disassembly:
push 0xffffffffffffffff
push 0x454627
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x13]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x7c], 0
call fcn.00409960
mov edi, str.Creating_Model__r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Creating_Model__r_n
push ecx
push str.Creating_Model__r_n
lea ecx, [esp + 0x3c]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x78], 2
test eax, eax
je 0x415c93
mov ecx, dword [esp + 0x34]
push ecx
call eax
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0
call fcn.0040a280
mov ebx, dword [esp + 0x80]
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x40], 0x458234
mov ebp, dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
sub ebp, eax
sar ebp, 2
mov dword [esp + 0x14], ebp
call fcn.0041caa0
xor edi, edi
lea ecx, [esp + 0x40]
push edi
push edi
call fcn.0041e190
mov esi, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 3
mov eax, dword [esi + 0x158]
mov dword [esp + 0x8c], edi
push eax
push edx
push ebp
call fcn.0041f730
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], edi
call fcn.0041a9e0
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x7c], 5
call fcn.00409960
mov edi, str.Creating_Pieces__r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 6
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Creating_Pieces__r_n
push ecx
push str.Creating_Pieces__r_n
lea ecx, [esp + 0x3c]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x78], 7
test eax, eax
je 0x415d70
mov ecx, dword [esp + 0x34]
push ecx
call eax
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 5
call fcn.0040a280
test ebp, ebp
mov byte [esp + 0x78], 4
mov dword [esp + 0x8c], 0
jle 0x415e0e
push 0x58
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x78], 8
je 0x415db4
mov ecx, eax
call fcn.0042dbd0
mov edi, eax
jmp 0x415db6
xor edi, edi
test edi, edi
mov byte [esp + 0x78], 4
je 0x415e69
push esi
mov ecx, edi
call fcn.0042dcb0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov dword [edx + ecx*4], edi
mov eax, dword [ebx + 0x2c]
lea edx, [esp + 0x50]
mov eax, dword [eax + ecx*4]
push edx
push edi
push eax
push ebx
call fcn.004167c0
mov eax, dword [esp + 0x60]
add esp, 0x10
test eax, eax
jne 0x415f7d
mov eax, dword [esp + 0x8c]
inc eax
cmp eax, ebp
mov dword [esp + 0x8c], eax
jl 0x415d92
lea ecx, [esp + 0x64]
mov dword [esp + 0x60], 0
call fcn.0041a9e0
mov eax, dword [esi + 0x310]
mov edx, dword [ebx + 0x28]
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0xb
push ecx
push eax
push edx
call fcn.00416b20
mov eax, dword [esp + 0x6c]
add esp, 0xc
test eax, eax
je 0x41612d
lea ecx, [esp + 0x34]
call fcn.0041a9e0
mov eax, str.__NodeToModelNode_error
mov byte [esp + 0x78], 0xc
test eax, eax
je 0x41605b
push eax
jmp 0x416060
mov edx, dword [esp + 0x90]
mov edi, str._out_of_mem_...
or ecx, 0xffffffff
xor eax, eax
mov dword [edx], 1
lea esi, [edx + 4]
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x80]
not ecx
dec ecx
push edx
add ecx, str._out_of_mem_...
push ecx
push str._out_of_mem_...
mov ecx, esi
call fcn.00412190
lea ecx, [esp + 0x34]
call fcn.0041a9e0
mov eax, str.CRITICAL_ERROR
mov byte [esp + 0x78], 9
test eax, eax
je 0x415ebd
push eax
jmp 0x415ec2
push str.error
lea ecx, [esp + 0x38]
call fcn.0041aa50
mov eax, dword [0x4644f0]
test eax, eax
je 0x415ef2
mov ecx, dword [esp + 0x34]
push ecx
call eax
mov eax, dword [esi]
push eax
call dword [0x4644f0]
push 0x4610ac
call dword [0x4644f0]
add esp, 0xc
mov ecx, dword [0x4644ec]
mov esi, dword [esi]
test ecx, ecx
jne 0x415f04
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov edx, dword [esp + 0x34]
push esi
mov esi, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push 0x4610a8
push edx
call esi
mov ecx, eax
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 4
call fcn.00408340
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 3
call fcn.00408340
push 0
push 0x465094
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x4c], 0x458234
call fcn.00435bb0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
lea ecx, [esp + 0x34]
call fcn.0041a9e0
mov eax, str.error_converting_shape_to_piece
mov byte [esp + 0x78], 0xa
test eax, eax
je 0x415f97
push eax
jmp 0x415f9c
push str.error
lea ecx, [esp + 0x38]
call fcn.0041aa50
mov eax, dword [0x4644f0]
test eax, eax
je 0x415fce
mov ecx, dword [esp + 0x34]
push ecx
call eax
mov edx, dword [esp + 0x58]
push edx
call dword [0x4644f0]
push 0x4610ac
call dword [0x4644f0]
add esp, 0xc
mov ecx, dword [0x4644ec]
test ecx, ecx
jne 0x415fde
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
push 0x4610a8
push edx
call esi
mov ecx, eax
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 4
call fcn.00408340
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 3
call fcn.00408340
push 0
push 0x465094
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x4c], 0x458234
call fcn.00435bb0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
push str.error
lea ecx, [esp + 0x38]
call fcn.0041aa50
mov eax, dword [0x4644f0]
test eax, eax
je 0x416092
mov ecx, dword [esp + 0x34]
push ecx
call eax
mov edx, dword [esp + 0x68]
push edx
call dword [0x4644f0]
push 0x4610ac
call dword [0x4644f0]
add esp, 0xc
mov ecx, dword [0x4644ec]
test ecx, ecx
jne 0x4160a2
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
push 0x4610a8
push edx
call esi
mov ecx, eax
call esi
mov ecx, eax
call esi
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0xb
call fcn.00408340
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 4
call fcn.00408340
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 3
call fcn.00408340
push 0
push 0x465094
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x4c], 0x458234
call fcn.00435bb0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
push 1
mov ecx, esi
call fcn.0042f4b0
mov ebp, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x40]
push ebp
push eax
push esi
push ecx
call fcn.00418800
add esp, 0x10
lea edx, [esp + 0x90]
mov bl, 0xd
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], bl
call fcn.00409960
mov edi, str.Applying_Deformers_r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 0xe
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Applying_Deformers_r_n
push ecx
push str.Applying_Deformers_r_n
lea ecx, [esp + 0x3c]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x78], 0xf
test eax, eax
je 0x4161ac
mov ecx, dword [esp + 0x34]
push ecx
call eax
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
call fcn.0040a280
mov eax, dword [ebp]
mov ebx, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
test eax, eax
mov byte [esp + 0x78], 0xb
je 0x416275
lea ecx, [esp + 0x34]
call fcn.0041a9e0
mov edx, str.ApplyDeformers_Failed
mov byte [esp + 0x78], 0x10
test edx, edx
je 0x4161e9
push edx
jmp 0x4161ee
push str.error
lea ecx, [esp + 0x38]
call fcn.0041aa50
mov eax, dword [0x4644f0]
test eax, eax
je 0x41621f
mov ecx, dword [esp + 0x34]
push ecx
call eax
mov eax, dword [ebp + 4]
push eax
call dword [0x4644f0]
push 0x4610ac
call dword [0x4644f0]
add esp, 0xc
mov ecx, dword [0x4644ec]
mov eax, dword [ebp + 4]
lea edi, [ebp + 4]
test ecx, ecx
jne 0x416235
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov edx, dword [esp + 0x34]
push eax
push 0x4610a8
push edx
call ebx
mov ecx, eax
call ebx
mov ecx, eax
call ebx
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0xb
call fcn.00408340
push 0x463bfc
mov ecx, edi
mov dword [ebp], 0
call fcn.0041aa50
mov eax, dword [esp + 0x88]
test eax, eax
je 0x416298
lea ecx, [esp + 0x40]
push ebp
push ecx
push esi
push eax
call fcn.00419700
add esp, 0x10
test eax, eax
jne 0x416477
mov eax, dword [esi + 0x158]
lea edx, [esp + 0x90]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x9c], 0
call fcn.0041f730
test eax, eax
jne 0x4163dd
mov edi, str._out_of_mem_...
or ecx, 0xffffffff
mov dword [ebp], 1
mov edx, dword [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebp, 4
add ecx, str._out_of_mem_...
push edx
push ecx
push str._out_of_mem_...
mov ecx, ebp
call fcn.00412190
lea ecx, [esp + 0x34]
call fcn.0041a9e0
mov eax, str.CRITICAL_ERROR
mov byte [esp + 0x78], 0x11
test eax, eax
je 0x416313
push eax
jmp 0x416318
push str.error
lea ecx, [esp + 0x38]
call fcn.0041aa50
mov eax, dword [0x4644f0]
test eax, eax
je 0x416349
mov ecx, dword [esp + 0x34]
push ecx
call eax
mov eax, dword [ebp]
push eax
call dword [0x4644f0]
push 0x4610ac
call dword [0x4644f0]
add esp, 0xc
mov ecx, dword [0x4644ec]
mov ebp, dword [ebp]
test ecx, ecx
jne 0x41635c
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov edx, dword [esp + 0x34]
push ebp
push 0x4610a8
push edx
call ebx
mov ecx, eax
call ebx
mov ecx, eax
call ebx
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0xb
call fcn.00408340
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 4
call fcn.00408340
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 3
call fcn.00408340
push 0
push 0x465094
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x4c], 0x458234
call fcn.00435bb0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jle 0x416477
mov ecx, dword [esi + 0x158]
push 0
push 0x60
mov eax, dword [ecx]
call dword [eax + 4]
mov ebp, eax
test ebp, ebp
je 0x416420
mov dword [esp + 0x90], ebp
mov dword [esp + 0x88], ebp
push esi
mov ecx, ebp
mov byte [esp + 0x7c], 0x12
call fcn.0042e000
mov byte [esp + 0x78], 0xb
mov ecx, dword [esi + 0x34]
mov dword [ecx + edi*4], ebp
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0x34]
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + edi*4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0042e1c0
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0x34]
push 0
push 0
mov eax, dword [edx + edi*4]
mov ecx, dword [ecx + edi*4]
push eax
call fcn.0042e2d0
mov edx, dword [esp + 0x44]
mov ebp, dword [edx + edi*4]
test ebp, ebp
je 0x41646e
mov ecx, ebp
call fcn.0042dce0
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
inc edi
cmp edi, ebx
jl 0x4163eb
lea eax, [esp + 0x90]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x7c], 0x13
call fcn.00409960
lea ecx, [esp + 0x90]
mov byte [esp + 0x78], 0x16
push ecx
lea ecx, [esp + 0x2c]
call fcn.00409960
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x80], 0x18
call fcn.00424d70
add esp, 8
lea ecx, [esp + 0x88]
mov bl, 0x19
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], bl
call fcn.00409960
mov edi, str.Creating_AnimNodes__r_n
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x78], 0x1a
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Creating_AnimNodes__r_n
push ecx
push str.Creating_AnimNodes__r_n
lea ecx, [esp + 0x3c]
call fcn.00411590
mov eax, dword [0x4644f0]
mov byte [esp + 0x78], 0x1b
test eax, eax
je 0x416518
mov edx, dword [esp + 0x34]
push edx
call eax
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
call fcn.0040a280
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, eax
xor ebp, ebp
test ecx, 0xfffffff8
mov byte [esp + 0x78], 0x18
jle 0x416633
mov ecx, dword [esi + 0x158]
push 0
push 0x6c
lea ebx, [eax + ebp*8]
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
test edi, edi
je 0x416577
mov dword [esp + 0x8c], edi
mov dword [esp + 0x18], edi
push esi
mov ecx, edi
mov byte [esp + 0x7c], 0x1c
call fcn.0042d1c0
mov byte [esp + 0x78], 0x18
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x88], edi
je 0x4165a8
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.0041f3b0
mov eax, dword [esp + 0x28]
add esp, 8
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x4165bc
lea edx, [esp + 0x88]
push 1
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0041ee70
mov ecx, dword [esp + 0x88]
mov eax, dword [esi + 0x310]
lea edx, [esp + 0x28]
push ebp
mov ecx, dword [ecx + 0x64]
push edx
mov dword [ecx + 4], eax
call fcn.00424d50
add esp, 8
test eax, eax
je 0x416602
mov eax, dword [esp + 0x88]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
call fcn.00417990
add esp, 0x10
jmp 0x41661d
mov ecx, dword [esp + 0x88]
mov edx, dword [ebx]
mov eax, dword [esp + 0x80]
push ecx
push edx
push eax
call fcn.00416cc0
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, eax
inc ebp
sar ecx, 3
cmp ebp, ecx
jl 0x416542
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub edx, eax
xor edi, edi
test edx, 0xfffffffc
jle 0x416683
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
lea ebx, [esi + 0x1f8]
mov eax, dword [eax + edi*4]
push ebx
push eax
mov ecx, esi
call fcn.0042f970
test eax, eax
jne 0x416671
push eax
push str.in_ParseTreeToModel
push str.BIG_FAT_ERROR_ADDING_ANIM
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub ecx, eax
inc edi
sar ecx, 2
cmp edi, ecx
jl 0x416653
mov edi, 1
mov ecx, esi
push edi
call fcn.0042f4b0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub edx, eax
sar edx, 2
je 0x4166d6
mov edx, dword [eax]
test edx, edx
je 0x4166d6
mov eax, dword [edx + 4]
test eax, eax
je 0x4166d6
mov ecx, dword [esi + 0x74]
xor eax, eax
test ecx, ecx
jle 0x4166d6
mov ecx, dword [edx + 4]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
jl 0x4166ce
mov ebx, dword [esi + 0x34]
mov ecx, dword [ebx + ecx*4]
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x30], edi
mov ecx, dword [esi + 0x74]
inc eax
cmp eax, ecx
jl 0x4166b5
mov edi, dword [esp + 0x80]
lea ecx, [esi + 0x144]
lea edx, [edi + 0x38]
push edx
call fcn.0041d0a0
mov al, byte [edi + 0x48]
mov byte [esi + 0x154], al
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x150], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov byte [esp + 0x78], 0x1d
sar eax, 3
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.0041ce40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov byte [esp + 0x78], 0x1e
sar eax, 2
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040a320
lea edx, [esp + 0x64]
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x78], 0x1f
call fcn.004112c0
lea eax, [esp + 0x54]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
sub ecx, eax
mov byte [esp + 0x78], 0x20
push ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00412ab0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], 0xffffffff
test eax, eax
mov dword [esp + 0x40], 0x458234
je 0x4167a1
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x40]
push edx
push 0x465094
call fcn.00436600
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret