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

Disassembly:
push 0xffffffffffffffff
push 0x4d5190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x75c
push ebx
mov ebx, ecx
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
push 0
push str._.W_.WAll_Files__._.
push 6
push 0
push 0x4fddfc
push 1
lea ecx, [esp + 0x180]
mov dword [esp + 0x784], 0
call fcn.004ce0c6
lea ecx, [esp + 0x168]
mov byte [esp + 0x76c], 1
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 1
jne 0x44cadf
lea eax, [esp + 0x24]
lea ecx, [esp + 0x168]
push eax
call sub.MFC42.DLL_CFileDialog::GetPathName
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x770], 2
call fcn.004ce0b4
lea ecx, [esp + 0x24]
mov byte [esp + 0x76c], 1
call fcn.004ce042
mov ecx, dword [esp + 0x20]
push 0x4fd484
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x44c0f8
mov byte [esp + 0x76c], 4
jmp 0x44cae7
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x60]
lea ecx, [ebx + 0x5c]
push esi
push edi
push eax
push edx
call fcn.0044f490
mov eax, dword [ebx + 0xfc]
mov edx, dword [ebx + 0xf8]
lea ecx, [ebx + 0xf4]
push eax
push edx
call fcn.0044f110
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x44c149
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x44c149
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44c140
mov edx, dword [ecx]
push 1
call dword [edx]
mov esi, dword [esi]
mov eax, dword [ebx + 0x1c]
cmp esi, eax
jne 0x44c133
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.0044f1f0
mov dl, byte [0x4ffb68]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x56d]
mov byte [esp + 0x56c], dl
mov byte [esp + 0x36c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x36d]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov esi, dword [sym.imp.MSVCRT.dll_fscanf]
lea ecx, [esp + 0x5c]
push ecx
push 0x4fd344
push ebp
mov byte [esp + 0x780], 5
call esi
mov eax, dword [esp + 0x68]
xor edi, edi
add esp, 0xc
cmp eax, edi
mov dword [ebx + 0xc], eax
mov dword [esp + 0x2c], edi
jle 0x44ca80
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CString::CString
mov dl, byte [esp + 0x1f]
mov dword [esp + 0xac], edi
mov byte [esp + 0xa8], dl
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
lea eax, [esp + 0x70]
mov byte [esp + 0x774], 6
push eax
push 0x4fd440
push ebp
call esi
add esp, 0xc
lea ecx, [esp + 0x56c]
push ecx
push 0x4fd1ac
push ebp
call esi
add esp, 0xc
lea edx, [esp + 0x6c]
push edx
push 0x4fddf8
push ebp
call esi
mov eax, dword [esp + 0x7c]
add esp, 0xc
lea ecx, [esp + 0x56c]
mov dword [esp + 0x90], eax
push ecx
lea ecx, [esp + 0x98]
call fcn.004ce04e
fld dword [esp + 0x6c]
lea edx, [esp + 0x36c]
lea ecx, [esp + 0x68]
fstp qword [esp + 0xa0]
push edx
mov dword [esp + 0x9c], edi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0xfc]
lea ecx, [ebx + 0xf4]
lea edx, [esp + 0x68]
mov byte [esp + 0x774], 7
push edx
push 1
push eax
call fcn.0044fba0
lea ecx, [esp + 0x68]
mov byte [esp + 0x774], 6
call fcn.004ce042
lea eax, [esp + 0x54]
push eax
push 0x4fd440
push ebp
call esi
mov eax, dword [esp + 0x60]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x4c], edi
jle 0x44c9de
mov cl, byte [esp + 0x1f]
mov dword [esp + 0xd0], edi
mov byte [esp + 0xcc], cl
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
jmp 0x44c301
xor edi, edi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov dl, byte [esp + 0x1f]
mov dword [esp + 0x40], edi
mov byte [esp + 0x3c], dl
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
lea eax, [esp + 0x64]
mov byte [esp + 0x774], 8
push eax
push 0x4fd440
push ebp
call esi
add esp, 0xc
lea ecx, [esp + 0x36c]
push ecx
push 0x4fd1ac
push ebp
call esi
add esp, 0xc
lea edx, [esp + 0x50]
push edx
push 0x4fd440
push ebp
call esi
add esp, 0xc
lea eax, [esp + 0x60]
push eax
push 0x4fd440
push ebp
call esi
mov ecx, dword [esp + 0x70]
add esp, 0xc
lea edx, [esp + 0x36c]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004ce04e
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov byte [esp + 0x774], 9
cmp eax, 3
ja case.default.0x44c39f
jmp dword [eax*4 + 0x44cb34]
push 0x20
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x774], 0xa
je 0x44c3c9
mov ecx, eax
call fcn.004b1cb0
mov edi, eax
lea ecx, [esp + 0x36c]
mov byte [esp + 0x774], 9
push ecx
lea ecx, [edi + 8]
call fcn.004ce04e
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea edx, [esp + 0x10]
lea eax, [esp + 0x164]
lea ecx, [edi + 0x14]
push edx
push eax
call fcn.004051b0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x7c]
mov dword [esp + 0x7c], edi
push edx
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0044f190
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
call fcn.0044f570
jmp 0x44c949
push 0x30
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x774], 0xb
je 0x44c46a
mov ecx, eax
call fcn.004ae5b0
mov edi, eax
lea eax, [esp + 0x36c]
lea ecx, [edi + 8]
push eax
mov byte [esp + 0x778], 9
call fcn.004ce04e
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea ecx, [esp + 0x10]
lea edx, [esp + 0x110]
push ecx
push edx
lea ecx, [edi + 0x14]
call fcn.004051b0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0044f570
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea edx, [esp + 0x10]
lea eax, [esp + 0x128]
lea ecx, [edi + 0x20]
push edx
push eax
call fcn.004051b0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], edi
push edx
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.0044f190
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
call fcn.0044f570
jmp 0x44c949
push 0x50
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x774], 0xc
je 0x44c555
mov ecx, eax
call fcn.004af380
mov edi, eax
lea eax, [esp + 0x36c]
lea ecx, [edi + 8]
push eax
mov byte [esp + 0x778], 9
call fcn.004ce04e
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea edx, [esp + 0x10]
lea eax, [esp + 0x140]
lea ecx, [edi + 0x14]
push edx
push eax
mov dword [esp + 0x28], ecx
call fcn.004051b0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
call fcn.0044f570
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea eax, [esp + 0x10]
lea edx, [esp + 0x104]
lea ecx, [edi + 0x20]
push eax
push edx
mov dword [esp + 0x7c], ecx
call fcn.004051b0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0044f570
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea edx, [esp + 0x10]
lea eax, [esp + 0x14c]
lea ecx, [edi + 0x2c]
push edx
push eax
mov dword [esp + 0x80], ecx
call fcn.004051b0
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
call fcn.0044f570
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
push str._f__f__f_n
push ebp
call esi
add esp, 0x14
lea eax, [esp + 0x10]
lea edx, [esp + 0x11c]
lea ecx, [edi + 0x38]
push eax
push edx
mov dword [esp + 0x90], ecx
call fcn.004051b0
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0044f570
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str._f__f__f_n
push ebp
call esi
fld dword [esp + 0x24]
fstp dword [esp + 0xcc]
fld dword [esp + 0x28]
fstp dword [esp + 0xd0]
add esp, 0x14
lea edx, [esp + 0xb8]
lea eax, [esp + 0xe4]
lea ecx, [edi + 0x44]
push edx
push eax
mov byte [esp + 0x77c], 0xd
mov dword [esp + 0x2c], ecx
call fcn.0044cb50
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x780], 9
call fcn.0044f570
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esp + 0x80]
mov dword [esp + 0x80], edi
push edx
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.0044f190
cmp dword [esp + 0x50], 1
jne 0x44c949
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xb6c]
test ecx, ecx
je 0x44c750
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebx]
mov dword [eax + 0xb6c], 0
push 0x50
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x84], eax
test eax, eax
mov byte [esp + 0x774], 0xe
je 0x44c776
mov ecx, eax
call fcn.004af380
jmp 0x44c778
xor eax, eax
mov ecx, dword [ebx]
push 0x4fde20
mov byte [esp + 0x778], 9
mov dword [ecx + 0xb6c], eax
mov edx, dword [ebx]
mov ecx, dword [edx + 0xb6c]
add ecx, 8
call fcn.004ce04e
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
lea ecx, [esp + 0xec]
push eax
push ecx
mov ecx, dword [edx + 0xb6c]
add ecx, 0x14
call fcn.004051b0
mov eax, dword [esp + 0x74]
mov edx, dword [ebx]
lea ecx, [esp + 0x134]
push eax
push ecx
mov ecx, dword [edx + 0xb6c]
add ecx, 0x20
call fcn.004051b0
mov eax, dword [esp + 0x78]
mov edx, dword [ebx]
lea ecx, [esp + 0x158]
push eax
push ecx
mov ecx, dword [edx + 0xb6c]
add ecx, 0x2c
call fcn.004051b0
mov eax, dword [esp + 0x88]
mov edx, dword [ebx]
lea ecx, [esp + 0xf8]
push eax
push ecx
mov ecx, dword [edx + 0xb6c]
add ecx, 0x38
call fcn.004051b0
mov eax, dword [esp + 0x24]
mov edx, dword [ebx]
lea ecx, [esp + 0xdc]
push eax
push ecx
mov ecx, dword [edx + 0xb6c]
add ecx, 0x44
call fcn.0044cb50
jmp 0x44c949
push 0x80
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x84], eax
cmp eax, edi
mov byte [esp + 0x774], 0xf
je 0x44c863
mov ecx, eax
call fcn.004a8900
mov dword [esp + 0x20], eax
jmp 0x44c867
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x36c]
push eax
add ecx, 8
mov byte [esp + 0x778], 9
call fcn.004ce04e
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
push str._f__f__f_n
push ebp
call esi
mov edx, dword [esp + 0x74]
add esp, 0x14
dec edx
test edx, edx
jle 0x44c8f6
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str._f__f__f_n
push ebp
call esi
mov eax, dword [esp + 0x34]
add esp, 0x14
lea edx, [esp + 0x10]
lea ecx, [eax + 0x60]
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.0044f570
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x48]
call fcn.0044f570
mov edx, dword [esp + 0x60]
inc edi
dec edx
cmp edi, edx
jl 0x44c8a6
mov eax, dword [esp + 0x20]
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x58], eax
push 0xc
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, edi
test edi, edi
jne 0x44c91a
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x44c926
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x58]
push edx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.00450c60
mov eax, dword [ebx + 0x20]
add esp, 8
inc eax
mov dword [ebx + 0x20], eax
xor edi, edi
mov ecx, dword [esp + 0xb0]
lea eax, [esp + 0x30]
push eax
push 1
push ecx
lea ecx, [esp + 0xb4]
call fcn.0044f830
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
cmp edi, eax
mov byte [esp + 0x774], 0x10
mov dword [esp + 0x24], eax
je 0x44c99f
push 0
mov ecx, edi
call fcn.00451a30
mov eax, dword [esp + 0x24]
add edi, 0xc
cmp edi, eax
jne 0x44c987
mov edi, dword [esp + 0x40]
push edi
call sub.MFC42.DLL_operatordelete
xor eax, eax
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x774], 6
call fcn.004ce042
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, ecx
mov dword [esp + 0x4c], eax
jl 0x44c2ff
xor edi, edi
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x5c]
lea edx, [esp + 0x90]
push edx
push 1
push eax
call fcn.0044fe20
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
cmp eax, ecx
mov byte [esp + 0x774], 0x11
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
je 0x44ca39
mov ecx, dword [esp + 0x20]
call fcn.0044bc80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add eax, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], eax
jne 0x44ca16
mov eax, dword [esp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov byte [esp + 0x774], 5
call fcn.004ce042
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x44c1e2
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x220]
mov byte [esp + 0x774], 0x12
call fcn.004ce042
lea ecx, [esp + 0x170]
mov byte [esp + 0x774], 0
call fcn.004ce09c
lea ecx, [esp + 0x28]
mov dword [esp + 0x774], 0xffffffff
call fcn.004ce042
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x75c]
mov dword fs:[0], ecx
add esp, 0x768
ret
mov byte [esp + 0x76c], 3
lea ecx, [esp + 0x218]
call fcn.004ce042
lea ecx, [esp + 0x168]
mov byte [esp + 0x76c], 0
call fcn.004ce09c
lea ecx, [esp + 0x20]
mov dword [esp + 0x76c], 0xffffffff
call fcn.004ce042
mov ecx, dword [esp + 0x764]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x768
ret