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

Disassembly:
push 0xffffffffffffffff
push 0x452dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov byte [esp + 0x38], 0
mov word [esp + 0x3a], bp
cmp dword [edi + 4], ebp
je 0x401bb8
xor eax, eax
mov edx, dword [edi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [edx]
mov byte [esp + 0x38], al
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov word [esp + 0x3a], ax
lea eax, [esp + 0x38]
push 0x14
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov esi, dword [esp + 0x11c]
cmp esi, ebp
je 0x401bb8
mov eax, dword [esi + 0x218]
mov ebx, 0x17
inc eax
push 4
mov dword [esi + 0x218], eax
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
lea ecx, [esp + 0x88]
mov dword [esi + 0x228], ebx
call fcn.00439c60
push esi
lea ecx, [esp + 0x8c]
call fcn.00439cb0
test al, al
je 0x401bb8
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x8c]
call fcn.00439fd0
test al, al
je 0x401bb8
mov ecx, dword [edi + 4]
mov eax, dword [esi + 0x7c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [edi + 4]
lea eax, [esi + 0x88]
push 4
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esi + 0x74]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jbe 0x40158c
mov edx, dword [esi + 0x24]
mov ebx, dword [edx + eax*4]
cmp byte [ebx + 0xd8], 0
je 0x401583
inc dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x401573
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push 4
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
lea ecx, [esp + 0x60]
call fcn.00408f30
push 0x408330
push 3
lea ecx, [esp + 0x40]
push 0xc
push ecx
call fcn.00401280
mov eax, dword [esi + 0x74]
xor ecx, ecx
cmp eax, ebp
mov dword [esp + 0x18], ecx
jbe 0x401667
mov edx, dword [esi + 0x24]
mov eax, dword [edx + ecx*4]
mov dl, byte [eax + 0xd8]
test dl, dl
je 0x401657
add eax, 0xb0
lea ecx, [esp + 0x60]
push eax
call fcn.00409910
mov ecx, dword [edi + 4]
lea edx, [esp + 0x60]
push 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x6c]
push 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.0040f470
add esp, 8
lea edx, [esp + 0x50]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x38]
push edx
push eax
push ecx
lea ecx, [esp + 0xd8]
call fcn.00403800
mov ecx, dword [edi + 4]
lea eax, [esp + 0x38]
push 0x24
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push 4
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x74]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jb 0x4015c8
mov al, byte [esp + 0x13c]
test al, al
je 0x401951
mov eax, dword [esi + 0x38]
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push 4
push eax
call dword [edx + 0x24]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jbe 0x401964
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + ebp]
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x401bb8
mov ecx, dword [edi + 4]
add eax, 0x3c
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov byte [edi + 8], 1
mov eax, dword [esi + 0x34]
mov ecx, dword [edi + 4]
push 4
mov eax, dword [eax + ebp]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x24]
mov ecx, dword [esi + 0x34]
xor ebx, ebx
mov eax, dword [ecx + ebp]
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x40170c
mov edx, dword [eax + 0x14]
mov ecx, dword [edi + 4]
push 4
fld dword [edx + ebx*4]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
fstp dword [esp + 0x18]
push edx
call dword [eax + 0x24]
mov eax, dword [esi + 0x34]
inc ebx
mov eax, dword [eax + ebp]
cmp ebx, dword [eax + 8]
jb 0x4016e7
mov ecx, dword [esi + 0x34]
push 4
mov eax, dword [ecx + ebp]
mov ecx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push 4
push eax
mov edx, dword [ecx]
mov dword [esp + 0x1c], ebx
call dword [edx + 0x24]
mov ecx, dword [esi + 0x34]
xor ebx, ebx
mov eax, dword [ecx + ebp]
mov ecx, dword [eax + 8]
test ecx, ecx
jbe 0x401913
mov dword [esp + 0x18], ebx
mov byte [edi + 8], 1
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ebp]
cmp ebx, dword [eax + 8]
jae 0x40176f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
jmp 0x401771
xor eax, eax
mov eax, dword [eax]
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push 4
push eax
call dword [edx + 0x24]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + ebp]
cmp ebx, dword [eax + 8]
jae 0x40179c
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
jmp 0x40179e
xor eax, eax
mov ecx, dword [edi + 4]
add eax, 4
push 0x10
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + ebp]
cmp ebx, dword [eax + 8]
jae 0x4017c2
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
jmp 0x4017c4
xor eax, eax
mov ecx, dword [eax + 0x14]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 4]
push 4
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + ebp]
cmp ebx, dword [eax + 8]
jae 0x4017f0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
jmp 0x4017f2
xor eax, eax
mov dl, byte [eax + 0x18]
mov ecx, dword [edi + 4]
mov byte [esp + 0x13], dl
lea edx, [esp + 0x13]
mov eax, dword [ecx]
push 1
push edx
call dword [eax + 0x24]
mov eax, dword [esi + 0x34]
mov eax, dword [eax + ebp]
cmp ebx, dword [eax + 8]
jae 0x40181e
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
add ecx, edx
jmp 0x401820
xor ecx, ecx
mov edx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x134]
push edx
mov edx, dword [esp + 0x134]
push edx
push ecx
push eax
mov ecx, edi
call fcn.00401cf0
mov eax, dword [esi + 0x34]
mov eax, dword [eax + ebp]
cmp ebx, dword [eax + 8]
jae 0x40186f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
jmp 0x401871
xor eax, eax
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x40]
sub ecx, edx
lea eax, [esp + 0x13]
sar ecx, 2
mov byte [esp + 0x13], cl
mov ecx, dword [edi + 4]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x34]
add ecx, ebp
mov eax, dword [ecx]
cmp ebx, dword [eax + 8]
jae 0x4018ae
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x18]
add eax, edx
jmp 0x4018b0
xor eax, eax
mov edx, dword [eax + 0x44]
sub edx, dword [eax + 0x40]
sar edx, 2
mov eax, edx
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x4018f6
mov ecx, dword [ecx]
cmp ebx, dword [ecx + 8]
jae 0x4018d5
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
jmp 0x4018d7
xor eax, eax
mov ecx, dword [eax + 0x40]
push 1
mov dl, byte [ecx + edx*4]
mov ecx, dword [edi + 4]
mov byte [esp + 0x17], dl
lea edx, [esp + 0x17]
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
inc dword [esp + 0x14]
jmp 0x401897
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x18]
mov eax, ebp
inc ebx
add edx, 0x58
mov eax, dword [ecx + eax]
mov dword [esp + 0x18], edx
cmp ebx, dword [eax + 8]
jb 0x401755
mov eax, dword [esp + 0x138]
test eax, eax
je 0x401936
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ebp]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x401936
mov dword [esp + 0x138], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x38]
inc eax
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x40169b
xor ebp, ebp
jmp 0x401964
mov ecx, dword [edi + 4]
lea edx, [esp + 0x20]
push 4
push edx
mov eax, dword [ecx]
mov dword [esp + 0x28], ebp
call dword [eax + 0x24]
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x310]
push eax
call fcn.00438db0
test al, al
je 0x401bb8
mov ecx, dword [edi + 4]
push ecx
mov ecx, esi
call fcn.00439150
test al, al
je 0x401bb8
mov eax, dword [esi + 0x1f4]
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push 4
push eax
call dword [edx + 0x24]
mov ecx, dword [esi + 0x1f4]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x1c], eax
jbe 0x401afd
lea ebx, [esi + 0x178]
mov ebp, dword [ebx]
xor eax, eax
lea ecx, [esp + 0x13]
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.0040a310
push 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x118], 1
call fcn.0040a090
mov edx, dword [esp + 0x3c]
mov byte [edx], 0
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push eax
lea eax, [esp + 0x2b]
push eax
mov dword [esp + 0x11c], 3
call fcn.0040a310
push 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 4
call fcn.0040a090
mov ecx, dword [esp + 0x2c]
mov byte [ecx], 0
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x28]
lea eax, [esp + 0x38]
push edx
push eax
push ecx
mov byte [esp + 0x120], 5
call fcn.00410590
add esp, 0xc
test eax, eax
jne 0x401a86
mov edx, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCIRT.dll_class_ostream_withassign_cout]
mov ebp, dword [sym.imp.MSVCIRT.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push edx
push str.ERROR_in_getting_childmodel_filename_:
call ebp
mov ecx, eax
call ebp
push eax
call dword [sym.imp.MSVCIRT.dll_class_ostream____cdecl_endl_class_ostream__]
add esp, 4
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov byte [esp + 0x114], 6
test ecx, ecx
je 0x401ab3
push eax
push ecx
call fcn.0040d4d0
add esp, 8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x114], 7
test ecx, ecx
je 0x401ad6
push eax
push ecx
call fcn.0040d4d0
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1f4]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x114], 0xffffffff
mov dword [esp + 0x1c], eax
jb 0x4019c4
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x34], ebp
call fcn.0042fe40
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x5c]
push 4
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
mov eax, dword [esi + 0x130]
test eax, eax
jbe 0x401b7a
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x12c]
add ebx, edx
mov ecx, ebx
call fcn.0042d520
cmp eax, esi
jne 0x401b64
mov eax, dword [ebx]
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x34]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 4]
push edx
push eax
mov ecx, ebx
call fcn.00438e60
test al, al
je 0x401bb8
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x130]
inc ebp
add ecx, 0x20
cmp ebp, eax
mov dword [esp + 0x14], ecx
jb 0x401b2d
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc4]
mov eax, dword [edi + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x94]
call fcn.00439f90
mov ecx, dword [edi + 4]
push ecx
mov ecx, esi
call fcn.00439040
test al, al
je 0x401bb8
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.00438eb0
test al, al
setne al
jmp 0x401bba
xor al, al
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x108
ret 0x24