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

Disassembly:
push 0xffffffffffffffff
push 0x4da523
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e4
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x2f8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x2f8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2f8], 2
call sub.MFC42.DLL_CString::CString
push 0
push str.ASCII_Data_Files__.ASC_.ASCASCII_Data_Files__.TXT_.TXTAll_Files__._.
push 6
push 0
push str..TXT
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x310], 3
call fcn.004ce0c6
mov bl, 4
lea ecx, [esp + 0xf4]
mov byte [esp + 0x2f8], bl
call sub.MFC42.DLL_CFileDialog::DoModal
cmp eax, 2
jne 0x4923b0
mov byte [esp + 0x2f8], 5
jmp 0x4924e0
lea eax, [esp + 0x10]
lea ecx, [esp + 0xf4]
push eax
call sub.MFC42.DLL_CFileDialog::GetPathName
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2fc], 6
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], bl
call fcn.004ce042
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xf8]
call sub.MFC42.DLL_CFileDialog::GetFileName
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x2fc], 7
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], bl
call fcn.004ce042
lea edx, [esp + 0x10]
lea ecx, [esp + 0xf4]
push edx
call sub.MFC42.DLL_CFileDialog::GetFileTitle
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2fc], 8
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], bl
call fcn.004ce042
lea eax, [esp + 0x10]
lea ecx, [esp + 0xf4]
push eax
call sub.MFC42.DLL_CFileDialog::GetFileExt
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2fc], 9
call fcn.004ce0b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f8], bl
call fcn.004ce042
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4fe6f0
push ecx
call esi
add esp, 8
test eax, eax
je 0x4924bb
mov edx, dword [esp + 0x18]
push 0x4fe6ec
push edx
call esi
add esp, 8
test eax, eax
je 0x4924bb
mov byte [esp + 0x2f8], 0xa
jmp 0x4924e0
mov eax, dword [esp + 0x38]
push 0x4fd484
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x49254e
mov byte [esp + 0x2f8], 0xb
lea ecx, [esp + 0x1a4]
call fcn.004ce042
lea ecx, [esp + 0xf4]
mov byte [esp + 0x2f8], 3
call fcn.004ce09c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2f8], 2
call fcn.004ce042
lea ecx, [esp + 0x58]
mov byte [esp + 0x2f8], 1
call fcn.004ce042
lea ecx, [esp + 0x54]
mov byte [esp + 0x2f8], 0
call fcn.004ce042
lea ecx, [esp + 0x38]
mov dword [esp + 0x2f8], 0xffffffff
call fcn.004ce042
xor al, al
jmp 0x492d82
push edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x70], 0xa
mov cl, byte [0x4ffb68]
xor eax, eax
mov byte [esp + 0xa4], cl
mov ecx, 0x14
lea edi, [esp + 0xa5]
mov byte [esp + 0x2fc], 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2fc], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x84]
mov byte [esp + 0x2fc], 0xe
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x20], 0x49742400
mov dword [esp + 0x24], 0x49742400
mov dword [esp + 0x28], 0x49742400
mov dword [esp + 0x2c], 0xc9742400
mov dword [esp + 0x30], 0xc9742400
mov dword [esp + 0x34], 0xc9742400
mov dword [esp + 0x4c], 0x49742400
mov dword [esp + 0x50], 0x49742400
mov dword [esp + 0x54], 0x49742400
lea edx, [esp + 0x4c]
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x304], 0x11
call fcn.004051b0
mov dword [esp + 0x4c], 0xc9742400
mov dword [esp + 0x50], 0xc9742400
mov dword [esp + 0x54], 0xc9742400
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x304], 0x12
call fcn.004051b0
mov eax, dword [ebp + 0x84]
mov byte [esp + 0x2fc], 0x10
test eax, eax
mov byte [esp + 0x1b], 1
je 0x49267c
mov ecx, dword [ebp + 0x88]
sub ecx, eax
test ecx, 0xfffffff0
jne 0x492681
mov byte [esp + 0x1b], 0
push ebx
lea edx, [esp + 0xa8]
push 0x50
push edx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x4927fe
push 0
push str.BWHX_Company_software.
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
cmp eax, 0xffffffff
jle 0x4927fe
push 0
push str.BWHX_Company_software.
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x4926d4
xor edi, edi
jmp 0x4926df
mov edi, dword [ebp + 0x88]
sub edi, eax
sar edi, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
add esp, 4
add esi, edi
cmp esi, 1
jb 0x49280c
mov ebx, esi
shl ebx, 4
mov dword [esp + 0x40], ebx
lea ecx, [ebx + 4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x74], eax
test eax, eax
mov byte [esp + 0x2fc], 0x13
je 0x492739
push fcn.004011f0
push fcn.00427d20
lea edi, [eax + 4]
push esi
push 0x10
push edi
mov dword [eax], esi
call fcn.004ce784
jmp 0x49273b
xor edi, edi
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x84]
cmp eax, ecx
mov byte [esp + 0x2fc], 0x10
jne 0x49278e
test ecx, ecx
je 0x492774
mov edx, dword [ecx - 4]
lea esi, [ecx - 4]
push fcn.004011f0
push edx
push 0x10
push ecx
call fcn.004ce690
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
add ebx, edi
mov dword [ebp + 0x84], edi
mov dword [ebp + 0x8c], ebx
mov ebx, dword [esp + 0x14]
mov dword [ebp + 0x88], edi
jmp 0x49280c
sub eax, ecx
mov ebx, edi
sar eax, 4
cmp esi, eax
mov ebp, ecx
jb 0x49279d
mov esi, eax
test esi, esi
jbe 0x4927c6
mov dword [esp + 0x74], esi
lea eax, [esp + 0x94]
push ebp
push eax
mov ecx, ebx
call fcn.00429700
mov eax, dword [esp + 0x74]
add ebx, 0x10
add ebp, 0x10
dec eax
mov dword [esp + 0x74], eax
jne 0x4927a5
mov ecx, dword [esp + 0x60]
lea ebx, [ecx + 0x84]
mov ecx, dword [ecx + 0x84]
test ecx, ecx
je 0x4927e1
push 3
call fcn.00427d40
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
shl esi, 4
add esi, edi
add edx, edi
mov dword [ebx], edi
mov dword [ebx + 4], esi
mov dword [ebx + 8], edx
mov ebx, dword [esp + 0x14]
jmp 0x49280c
push 0
push 0
push ebx
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
push ebx
lea eax, [esp + 0xa8]
push 0x50
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x492a5d
lea ecx, [esp + 0xa4]
mov byte [esp + 0xf4], 0
push ecx
lea ecx, [esp + 0x14]
call fcn.004ce04e
push 0x4fe670
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::FindOneOf
cmp eax, 0xffffffff
jg 0x492a41
xor esi, esi
push esi
push 0x20
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
cmp esi, edi
jne 0x49286f
inc esi
jmp 0x49285a
mov edx, edi
lea eax, [esp + 0x40]
sub edx, esi
lea ecx, [esp + 0x10]
push edx
push esi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x300], 0x14
call fcn.004ce0b4
lea ecx, [esp + 0x40]
mov byte [esp + 0x2fc], 0x10
call fcn.004ce042
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x68]
add esp, 4
push edi
push 0x20
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
cmp edi, esi
jne 0x4928cd
inc edi
jmp 0x4928b8
mov edx, esi
lea eax, [esp + 0x14]
sub edx, edi
lea ecx, [esp + 0x10]
push edx
push edi
push eax
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x300], 0x15
call fcn.004ce0b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2fc], 0x10
call fcn.004ce042
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x6c]
add esp, 4
push esi
push 0x20
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
cmp esi, eax
jne 0x492929
inc esi
jmp 0x492916
test eax, eax
jge 0x492939
push esi
push 0xa
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
sub eax, esi
lea edx, [esp + 0x60]
push eax
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x300], 0x16
call fcn.004ce0b4
lea ecx, [esp + 0x60]
mov byte [esp + 0x2fc], 0x10
call fcn.004ce042
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp dword [esp + 0x70]
fld dword [esp + 0x24]
fcomp dword [esp + 0x68]
add esp, 4
fnstsw ax
test ah, 1
jne 0x492997
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
fld dword [esp + 0x24]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 1
je 0x4929ac
fld dword [esp + 0x24]
jmp 0x4929b0
fld dword [esp + 0x68]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 1
je 0x4929c9
fld dword [esp + 0x28]
jmp 0x4929cd
fld dword [esp + 0x6c]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 0x41
jne 0x4929e6
fld dword [esp + 0x2c]
jmp 0x4929ea
fld dword [esp + 0x64]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x492a03
fld dword [esp + 0x30]
jmp 0x492a07
fld dword [esp + 0x68]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x492a20
fld dword [esp + 0x34]
jmp 0x492a24
fld dword [esp + 0x6c]
mov eax, dword [ebp + 0x88]
lea ecx, [ebp + 0x84]
fstp dword [esp + 0x34]
lea edx, [esp + 0x64]
push edx
push 1
push eax
call fcn.00472a80
push ebx
lea eax, [esp + 0xa8]
push 0x50
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x492828
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov al, byte [esp + 0x1f]
add esp, 4
test al, al
je 0x492bbe
lea esi, [ebp + 0x90]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea edi, [esi + 0xc]
lea ecx, [esp + 0x78]
push edi
mov bl, 0x18
push esi
push ecx
mov byte [esp + 0x308], bl
call fcn.004059c0
add esp, 0xc
lea edx, [esp + 0x88]
push eax
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x304], 0x19
call fcn.004051b0
push edi
lea eax, [esp + 0x8c]
push esi
push eax
mov byte [esp + 0x308], bl
call fcn.0041a670
add esp, 0xc
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x304], 0x1a
call fcn.004051b0
fld dword [esp + 0x20]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 1
jne 0x492b25
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
fld dword [esp + 0x24]
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 1
je 0x492b3a
fld dword [esp + 0x24]
jmp 0x492b3e
fld dword [esp + 0x44]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 1
je 0x492b57
fld dword [esp + 0x28]
jmp 0x492b5b
fld dword [esp + 0x48]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x492b74
fld dword [esp + 0x2c]
jmp 0x492b78
fld dword [esp + 0x4c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 0x41
jne 0x492b91
fld dword [esp + 0x30]
jmp 0x492b95
fld dword [esp + 0x50]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fcomp dword [esp + 0x54]
fnstsw ax
test ah, 0x41
jne 0x492bae
fld dword [esp + 0x34]
jmp 0x492bb2
fld dword [esp + 0x54]
fstp dword [esp + 0x34]
mov byte [esp + 0x2fc], 0x10
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004051f0
lea edx, [esp + 0x20]
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x304], 0x1b
call fcn.00405230
lea ecx, [esp + 0x40]
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x8c]
mov bl, 0x1c
push edx
push eax
mov byte [esp + 0x308], bl
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x40000000
call fcn.0041a080
add esp, 0xc
lea ecx, [esp + 0x94]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x304], 0x1d
call fcn.004051b0
lea edx, [esp + 0x40]
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0x308], bl
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x40000000
call fcn.0041a080
add esp, 0xc
lea edx, [esp + 0x88]
push eax
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x304], 0x1e
call fcn.004051b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2fc], bl
call fcn.00426bc0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x94]
lea esi, [ebp + 0x90]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x304], 0x10
call fcn.004051b0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x94]
push edx
push eax
lea ecx, [esi + 0xc]
call fcn.004051b0
mov ecx, ebp
call fcn.0047f980
mov ecx, dword [ebp + 0x38]
call fcn.00446e60
lea ecx, [esp + 0x84]
mov byte [esp + 0x2fc], 0xe
call fcn.004ce042
lea ecx, [esp + 0x38]
mov byte [esp + 0x2fc], 0xd
call fcn.004ce042
mov byte [esp + 0x2fc], 0xc
lea ecx, [esp + 0x10]
call fcn.004ce042
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x2fc], 0x1f
call fcn.004ce042
lea ecx, [esp + 0xf8]
mov byte [esp + 0x2fc], 3
call fcn.004ce09c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2fc], 2
call fcn.004ce042
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2fc], 1
call fcn.004ce042
lea ecx, [esp + 0x58]
mov byte [esp + 0x2fc], 0
call fcn.004ce042
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2fc], 0xffffffff
call fcn.004ce042
mov al, 1
pop edi
mov ecx, dword [esp + 0x2f0]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2f0
ret