Function at 0x403cf0
Capabilities:
Contain obfuscated stackstrings
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4174b8
push eax
mov eax, 0x2698
mov dword fs:[0], esp
call fcn.00416880
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0x1d0]
mov dword [esp + 0x2c], esi
cmp eax, ebp
jne 0x403d37
push str.get_file_offset_failed
call fcn.00401180
add esp, 4
jmp 0x40507f
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x149]
mov byte [esp + 0x148], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x148]
push 0x100
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CFile::CFile
push ebp
lea ecx, [esp + 0x14c]
push 0x8000
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x26bc], ebp
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x403de2
lea ecx, [esp + 0x1c]
call fcn.00416594
lea edx, [esp + 0x148]
lea eax, [esp + 0x1c]
push edx
push str.open_file__s__failed
push eax
mov byte [esp + 0x26bc], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00401180
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26b0], 0
call sub.MFC42.DLL_CString::CString
jmp 0x405068
mov edx, dword [esi + 0x1d0]
push ebp
push edx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CFile::Seek
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x6a9]
mov byte [esp + 0x6a8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x5a9]
mov byte [esp + 0x5a8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x148]
push 0x5c
push eax
mov dword [esp + 0x58], ebp
call dword [sym.imp.MSVCRT.dll_strrchr]
mov ecx, eax
lea edx, [esp + 0x150]
sub ecx, edx
lea esi, [esp + 0x150]
mov eax, ecx
lea edi, [esp + 0x5b0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x3b0], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x7f
lea edi, [esp + 0x3b1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x5b0]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3a8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Files.zip
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x138]
call sub.MFC42.DLL_CFile::CFile
mov byte [esp + 0x26b0], 2
push ebp
lea eax, [esp + 0x3ac]
push 0x1001
push eax
lea ecx, [esp + 0x144]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x403f59
lea ecx, [esp + 0x18]
call fcn.00416594
lea ecx, [esp + 0x3a8]
lea edx, [esp + 0x18]
push ecx
push str.Create_file__s__using_mode_create__write_failed
push edx
mov byte [esp + 0x26bc], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
push eax
call fcn.00401180
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x26b0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
push 4
push ecx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CFile::Read
mov edx, dword [esp + 0x50]
cmp edx, ebp
jle 0x403fd9
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x6a8]
cmp edx, 0x2000
rep stosd dword es:[edi], eax
mov esi, 0x2000
ja 0x403f93
mov esi, edx
lea edx, [esp + 0x6a8]
push esi
push edx
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x6a8]
push esi
push eax
lea ecx, [esp + 0x140]
call sub.MFC42.DLL_CFile::Write
mov edx, dword [esp + 0x50]
sub edx, esi
cmp edx, ebp
mov dword [esp + 0x50], edx
jg 0x403f74
lea ecx, [esp + 0x138]
call sub.MFC42.DLL_CFile::Close
jmp 0x40401f
lea ecx, [esp + 0x18]
call fcn.00416594
lea ecx, [esp + 0x3a8]
lea edx, [esp + 0x18]
push ecx
push str.get_length_of_file__s__failed
push edx
mov byte [esp + 0x26bc], 4
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x24]
push eax
call fcn.00401180
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x26b0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x248]
call fcn.00408610
push ebp
lea ecx, [esp + 0x3ac]
push ebp
push ecx
lea ecx, [esp + 0x254]
mov byte [esp + 0x26bc], 5
call fcn.00408760
lea ecx, [esp + 0x248]
xor esi, esi
call fcn.004088d0
test eax, eax
jle 0x404084
push 0xffff
push ebp
push ebp
push ebp
push 1
push ebp
push esi
lea ecx, [esp + 0x264]
call fcn.00409830
lea ecx, [esp + 0x248]
inc esi
call fcn.004088d0
cmp esi, eax
jl 0x40405b
push ebp
lea ecx, [esp + 0x24c]
call fcn.00408d70
lea edx, [esp + 0x3a8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CFile::Close
push str.ModifyFile____
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x38]
push str.C:xBankTransxBankUpdate
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x38]
push str.xBankUpdate_ModifyFile.xml
lea ecx, [esp + 0x10c]
push eax
push ecx
mov byte [esp + 0x26bc], 6
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x26b4], 7
call fcn.00406030
lea ecx, [esp + 0x108]
mov byte [esp + 0x26b0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
call fcn.00406820
test eax, eax
jne 0x4041a2
push str.ModifyFile_____open_file
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_3
lea edx, [esp + 0x38]
mov byte [esp + 0x26b0], 0xa
push edx
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_operator
push str.xBankUpdate_ModifyFile.xml_failed
lea ecx, [esp + 0x24]
mov bl, 0xb
push eax
push ecx
mov byte [esp + 0x26bc], bl
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0xc
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x26b0], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x26b0], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x26b0], 9
lea ecx, [esp + 0x28]
jmp 0x405019
lea ecx, [esp + 0x14]
call fcn.00416594
lea ecx, [esp + 0x10]
mov byte [esp + 0x26b0], 0xd
call fcn.00416594
lea ecx, [esp + 0x30]
mov byte [esp + 0x26b0], 0xe
call fcn.00416594
push 0x421784
lea edx, [esp + 0x24]
mov bl, 0xf
push str.xBankUpdate_ModifyFile_FilesCount
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x26bc], bl
call fcn.00406130
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov edi, eax
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0xec], edi
call sub.MFC42.DLL_CString::CString
xor esi, esi
cmp edi, ebp
jle 0x404fe2
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push esi
lea eax, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_FileType
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0xf4]
push 0x421784
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00406130
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x26b4], 0x10
call fcn.004165ee
lea ecx, [esp + 0xf4]
mov byte [esp + 0x26b0], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
push 0x41f6dc
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4049f2
push esi
lea ecx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_PathName
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x40]
push 0x421784
push edx
push eax
call fcn.00406130
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x26b4], 0x11
call fcn.004165ee
lea ecx, [esp + 0xfc]
mov byte [esp + 0x26b0], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x68]
call fcn.00406a20
mov eax, dword [esp + 0x14]
push 0x421784
push eax
mov byte [esp + 0x26b8], 0x12
call edi
add esp, 8
test eax, eax
je 0x4049b7
lea ecx, [esp + 0x64]
call fcn.00407b70
test eax, eax
jne 0x4043bf
push str.open_file
lea ecx, [esp + 0x118]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10c]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x13
call sub.MFC42.DLL_operator
push str._failed__no_change_in_that_file
push eax
lea eax, [esp + 0x10c]
mov byte [esp + 0x26b8], 0x14
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x15
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x104]
mov byte [esp + 0x26b0], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10c]
mov byte [esp + 0x26b0], 0x13
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x26b0], 0x12
lea ecx, [esp + 0x114]
jmp 0x40499d
push esi
lea ecx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_SetParamValue_Path
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
push 0x421784
push edx
push eax
call fcn.00406130
mov ecx, dword [esp + 0x1c]
push 0x421784
push ecx
mov byte [esp + 0x26b8], 0x17
call edi
add esp, 8
test eax, eax
je 0x4045db
push esi
lea edx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_SetParamValue_Value
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x5c]
push 0x421784
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00406130
push ecx
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0x26b8], 0x18
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x26b8], 0x19
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x421784
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
mov byte [esp + 0x26c0], 0x1a
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x70]
mov byte [esp + 0x26bc], 0x18
call fcn.00406e20
test eax, eax
jne 0x4045ca
push str.xml_file
lea ecx, [esp + 0xac]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0xf8]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x1b
call sub.MFC42.DLL_operator
push str._SetParamVal_failed__path_:
push eax
lea eax, [esp + 0xa8]
mov byte [esp + 0x26b8], 0x1c
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x120]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x1d
call sub.MFC42.DLL_operator
push str.__Value_:
push eax
lea eax, [esp + 0xa0]
mov byte [esp + 0x26b8], 0x1e
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x11c]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x1f
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x20
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x11c]
mov byte [esp + 0x26b0], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x98]
mov byte [esp + 0x26b0], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x120]
mov byte [esp + 0x26b0], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
mov byte [esp + 0x26b0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf8]
mov byte [esp + 0x26b0], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa8]
mov byte [esp + 0x26b0], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
call fcn.00407c80
lea ecx, [esp + 0x5c]
mov byte [esp + 0x26b0], 0x17
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_DelParamValue_Path
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x34]
push 0x421784
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00406130
mov eax, dword [esp + 0x34]
push 0x421784
push eax
mov byte [esp + 0x26b8], 0x21
call edi
add esp, 8
test eax, eax
je 0x40473c
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x421784
call sub.MFC42.DLL_CString::CString_3
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x26bc], 0x22
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x26b8], 0x21
call fcn.00407640
test eax, eax
jne 0x40473c
push str.xml_file
lea ecx, [esp + 0xbc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x100]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x23
call sub.MFC42.DLL_operator
push str._DelParam_failed__path_:
push eax
lea eax, [esp + 0xb8]
mov byte [esp + 0x26b8], 0x24
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x34]
lea edx, [esp + 0x134]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x25
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x26
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x134]
mov byte [esp + 0x26b0], 0x25
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x26b0], 0x24
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x100]
mov byte [esp + 0x26b0], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb8]
mov byte [esp + 0x26b0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
call fcn.00407c80
push esi
lea eax, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_InsertParamValue_Path
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x3c]
push 0x421784
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00406130
mov eax, dword [esp + 0x3c]
push 0x421784
push eax
mov byte [esp + 0x26b8], 0x27
call edi
add esp, 8
test eax, eax
je 0x40495b
push esi
lea ecx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_InsertParamValue_Value
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x40]
push 0x421784
push edx
push eax
call fcn.00406130
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
mov byte [esp + 0x26b8], 0x28
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x26b8], 0x29
mov ecx, esp
mov dword [esp + 0x80], esp
push 0x421784
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
mov byte [esp + 0x26c0], 0x2a
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x70]
mov byte [esp + 0x26bc], 0x28
call fcn.00406e20
test eax, eax
jne 0x40494a
push str.xml_file
lea ecx, [esp + 0xd4]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x130]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x2b
call sub.MFC42.DLL_operator
push str._InserttParamVal_failed__path_:
push eax
lea eax, [esp + 0xd0]
mov byte [esp + 0x26b8], 0x2c
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x90]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x2d
call sub.MFC42.DLL_operator
push str.__Value_:
push eax
lea eax, [esp + 0xc8]
mov byte [esp + 0x26b8], 0x2e
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x54]
lea edx, [esp + 0x128]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x2f
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x30
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x128]
mov byte [esp + 0x26b0], 0x2f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc0]
mov byte [esp + 0x26b0], 0x2e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x90]
mov byte [esp + 0x26b0], 0x2d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc8]
mov byte [esp + 0x26b0], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x130]
mov byte [esp + 0x26b0], 0x2b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd0]
mov byte [esp + 0x26b0], 0x28
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
call fcn.00407c80
lea ecx, [esp + 0x54]
mov byte [esp + 0x26b0], 0x27
call sub.MFC42.DLL_CString::CString
push 1
lea ecx, [esp + 0x68]
call fcn.00408420
lea ecx, [esp + 0x64]
call fcn.00407c80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x26b0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x26b0], 0x17
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x26b0], 0x12
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x26b0], bl
call fcn.00406ac0
jmp 0x404fd2
lea eax, [esp + 0x10]
push str._is_empty__no_change_for_that_setting
lea ecx, [esp + 0x114]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x16
push eax
call fcn.00401180
add esp, 4
mov byte [esp + 0x26b0], 0x12
lea ecx, [esp + 0x110]
jmp 0x40499d
mov edx, dword [esp + 0x30]
push 0x41f4dc
push edx
call ebp
add esp, 8
test eax, eax
jne 0x404fd2
push esi
lea eax, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_PathName
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0xd8]
push 0x421784
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00406130
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x26b4], 0x31
call fcn.004165ee
lea ecx, [esp + 0xd8]
mov byte [esp + 0x26b0], bl
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_Replace_OriginalText
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x18]
push 0x421784
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00406130
mov eax, dword [esp + 0x18]
push 0x421784
push eax
mov byte [esp + 0x26b8], 0x32
call edi
add esp, 8
test eax, eax
je 0x404c5c
push esi
lea ecx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_Replace_NewText
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x58]
lea ecx, [esp + 0x40]
push 0x421784
push edx
push eax
call fcn.00406130
lea ecx, [esp + 0x58]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x26bc], 0x33
call fcn.00405130
test eax, eax
jne 0x404c4b
push str.modify_file
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0xf0]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x34
call sub.MFC42.DLL_operator
push str._failed_:_replace_OriginalText_
push eax
lea eax, [esp + 0x134]
mov byte [esp + 0x26b8], 0x35
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0xe8]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x36
call sub.MFC42.DLL_operator
push str.__to_NewText_
push eax
lea eax, [esp + 0x120]
mov byte [esp + 0x26b8], 0x37
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x58]
lea edx, [esp + 0xe0]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x38
call sub.MFC42.DLL_operator
push 0x41f434
push eax
lea eax, [esp + 0x12c]
mov byte [esp + 0x26b8], 0x39
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x3a
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x124]
mov byte [esp + 0x26b0], 0x39
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xe0]
mov byte [esp + 0x26b0], 0x38
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x118]
mov byte [esp + 0x26b0], 0x37
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xe8]
mov byte [esp + 0x26b0], 0x36
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x12c]
mov byte [esp + 0x26b0], 0x35
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xf0]
mov byte [esp + 0x26b0], 0x34
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x94]
mov byte [esp + 0x26b0], 0x33
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x26b0], 0x32
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_InsertLine_IdentityText
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x40]
push 0x421784
push edx
push eax
call fcn.00406130
mov ecx, dword [esp + 0x24]
push 0x421784
push ecx
mov byte [esp + 0x26b8], 0x3b
call edi
add esp, 8
test eax, eax
je 0x404e76
push esi
lea edx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_InsertLine_TextInserted
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x20]
push 0x421784
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00406130
push esi
lea edx, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_InsertLine_Position
push edx
mov byte [esp + 0x26bc], 0x3c
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x421784
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00406130
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov byte [esp + 0x26c0], 0x3d
call fcn.004053a0
test eax, eax
jne 0x404e54
push str.modify_file
lea ecx, [esp + 0xc8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0xbc]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x3e
call sub.MFC42.DLL_operator
push str._failed_:_insert_line
push eax
lea eax, [esp + 0xbc]
mov byte [esp + 0x26b8], 0x3f
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x28]
lea edx, [esp + 0xac]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x40
call sub.MFC42.DLL_operator
push 0x41f374
push eax
lea eax, [esp + 0xac]
mov byte [esp + 0x26b8], 0x41
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x24]
lea edx, [esp + 0x9c]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x42
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x43
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0x9c]
mov byte [esp + 0x26b0], 0x42
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa4]
mov byte [esp + 0x26b0], 0x41
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xac]
mov byte [esp + 0x26b0], 0x40
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
mov byte [esp + 0x26b0], 0x3f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xbc]
mov byte [esp + 0x26b0], 0x3e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc4]
mov byte [esp + 0x26b0], 0x3d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x26b0], 0x3c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x26b0], 0x3b
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
push str.xBankUpdate_ModifyFile_File_d_DeleteLine_IdentityText
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x60]
push 0x421784
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00406130
mov eax, dword [esp + 0x60]
push 0x421784
push eax
mov byte [esp + 0x26b8], 0x44
call edi
add esp, 8
test eax, eax
je 0x404fa0
lea ecx, [esp + 0x60]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004057a0
test eax, eax
jne 0x404fa0
push str.modify_file
lea ecx, [esp + 0xe8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0xdc]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x45
call sub.MFC42.DLL_operator
push str._failed_:_delete_line
push eax
lea eax, [esp + 0xdc]
mov byte [esp + 0x26b8], 0x46
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x24]
lea edx, [esp + 0xcc]
push ecx
push eax
push edx
mov byte [esp + 0x26bc], 0x47
call sub.MFC42.DLL_operator
mov eax, dword [eax]
mov byte [esp + 0x26b0], 0x48
push eax
call fcn.00401180
add esp, 4
lea ecx, [esp + 0xcc]
mov byte [esp + 0x26b0], 0x47
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd4]
mov byte [esp + 0x26b0], 0x46
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xdc]
mov byte [esp + 0x26b0], 0x45
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xe4]
mov byte [esp + 0x26b0], 0x44
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x26b0], 0x3b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x26b0], 0x32
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x26b0], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xec]
inc esi
cmp esi, eax
jl 0x404222
lea ecx, [esp + 0x40]
call fcn.00407c80
lea ecx, [esp + 0x30]
mov byte [esp + 0x26b0], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x26b0], 0xd
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x26b0], 9
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x26b0], 6
call fcn.004060c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x26b0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x248]
mov byte [esp + 0x26b0], 2
call fcn.004086d0
lea ecx, [esp + 0x138]
mov byte [esp + 0x26b0], 0
call fcn.0041668a
lea ecx, [esp + 0x80]
mov dword [esp + 0x26b0], 0xffffffff
call fcn.0041668a
mov ecx, dword [esp + 0x26a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x26a4
ret