Function at 0x4148b0
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Move file

Disassembly:
push 0xffffffffffffffff
push 0x41f4b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a0
push ebx
push ebp
push esi
push edi
push 0x428dd4
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
push 0x428dd4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4bc], ebx
call sub.MFC42.DLL_CString::CString_1
push 0x428dd4
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], 1
call sub.MFC42.DLL_CString::CString_1
push 0x428dd4
lea ecx, [esp + 0x30]
mov byte [esp + 0x4bc], 2
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x4c0]
or ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3ac]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x3ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x4b8], 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4287a0
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x4c], ebx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x26c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3b0]
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, ebp
mov dword [esp + 0x50], eax
je 0x4149ea
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFile::CFile
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push ebx
push 0x3002
lea ecx, [esp + 0x5c]
mov eax, dword [eax + 0xdc]
push eax
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x414a29
lea ecx, [esp + 0x54]
mov byte [esp + 0x4b8], 3
call fcn.0041d58e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4b8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b8], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x4b8], ebp
jmp 0x4154fb
mov edx, dword [0x4295d0]
mov ebx, dword [esp + 0x4c8]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x1c], edx
test byte [esp + 0x26c], 0x10
jne 0x414fd6
lea eax, [esp + 0x20]
lea edx, [esp + 0x298]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x6c]
push eax
call fcn.00414210
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x64]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
mov esi, 0x428790
lea eax, [esp + 0x298]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414ac7
test cl, cl
je 0x414ac3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414ac7
add eax, 2
add esi, 2
test cl, cl
jne 0x414aa3
xor eax, eax
jmp 0x414acc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414fd6
lea eax, [esp + 0x280]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CTime::CTime_1
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x4c4]
push ecx
mov dword [esp + 0x28], ecx
mov eax, esp
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], esp
mov dword [eax], edx
call fcn.004090a0
test eax, eax
je 0x414fd6
push 0x42878c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x414f39
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x28]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
lea eax, [esp + 0x99]
push str._d__02d__02d
push eax
call ebp
add esp, 0x14
lea ecx, [esp + 0x24]
push 0
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 4]
push 0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 8]
push esi
push edi
push eax
lea ecx, [esp + 0xa7]
push str._02d:_02d:_02d
push ecx
call ebp
mov eax, dword [0x429340]
add esp, 0x14
test eax, eax
je 0x414c22
mov eax, dword [0x429810]
test eax, eax
je 0x414c22
lea edx, [esp + 0x298]
lea eax, [esp + 0x1a5]
push edx
push ebx
push str._s__s
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1a5]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x74]
push eax
call fcn.00414210
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
jmp 0x414c4d
lea edi, [esp + 0x298]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1a5]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x4297f4], 1
jne 0x414cf0
mov eax, dword [0x429350]
test eax, eax
jne 0x414cf0
mov eax, dword [0x429484]
test eax, eax
je 0x414cc5
push 0
lea ecx, [esp + 0x4c8]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x4c8]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x4c8]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x14]
push edi
add eax, 0x76c
push esi
push eax
push 0x429384
lea ecx, [esp + 0xb5]
push str._s_d__d__d_
push ecx
call ebp
add esp, 0x18
jmp 0x414d1b
mov edi, 0x429384
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa5]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x414d43
mov edi, dword [esp + 0x4c0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa5]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4297f4]
mov eax, 1
cmp ecx, eax
je 0x414d43
cmp dword [0x429340], eax
jne 0x414dee
mov eax, dword [0x429810]
test eax, eax
je 0x414dee
lea ecx, [esp + 0x1a5]
lea edx, [esp + 0xa5]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_s
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x10
mov esi, 1
push ecx
call edi
test eax, eax
je 0x414dee
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push edx
push esi
push eax
lea ecx, [esp + 0x38]
push str._s__d_._s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x40]
add esp, 0x14
lea eax, [esp + 0xa5]
lea ecx, [esp + 0x10]
push edx
push eax
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
inc esi
push edx
call edi
test eax, eax
jne 0x414d7b
cmp esi, 1
jle 0x414dee
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1a5]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x429348]
test eax, eax
je 0x414eb4
mov edi, 0x428dd4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x235]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x74]
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, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x28c]
shr eax, 0xa
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
jge 0x414e5b
mov eax, 1
push eax
lea ecx, [esp + 0x229]
push 0x428748
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFile::GetLength
mov edx, dword [esp + 0x54]
push 2
push 0
lea ecx, [esp + 0x5c]
mov esi, eax
call dword [edx + 0x30]
mov eax, 0x81020409
push 0x1fc
imul esi
add edx, esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], ecx
push edx
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CFile::Write
lea eax, [esp + 0x1a5]
lea ecx, [esp + 0xa5]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x429590]
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
mov ecx, 0x429588
call fcn.00417080
lea edx, [esp + 0x298]
lea ecx, [esp + 0x48]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x4295b0]
lea ecx, [esp + 0x48]
push ecx
push 1
push eax
mov ecx, 0x4295a8
mov byte [esp + 0x4c4], 7
call fcn.00417080
lea ecx, [esp + 0x48]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
inc dword [0x4295d0]
jmp 0x414fd6
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x298]
lea eax, [esp + 0x28]
push edx
push 0x4270a0
push eax
mov byte [esp + 0x4c4], 8
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x2e
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x414fc5
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4bc], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b8], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x4295a0]
lea edx, [esp + 0x28]
push edx
push 1
push eax
mov ecx, 0x429598
call fcn.00417080
mov dword [esp + 0x4c], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x26c]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x414a40
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4295d0]
cmp eax, ecx
je 0x415240
mov ecx, dword [0x4297f4]
mov eax, 1
cmp ecx, eax
je 0x415037
cmp dword [0x429340], eax
jne 0x4150a5
mov eax, dword [0x429810]
test eax, eax
je 0x4150a5
mov ebx, dword [sym.imp.KERNEL32.DLL_MoveFileExA]
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
xor edi, edi
mov eax, dword [0x4295ac]
test eax, eax
je 0x4150b4
mov ecx, dword [0x4295b0]
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x4150b0
mov eax, dword [eax + edi*4]
mov ecx, dword [esp + 0x4c0]
push eax
push ecx
lea edx, [esp + 0x20]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
xor esi, esi
mov eax, dword [0x42958c]
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [eax + edi*4]
push eax
push ecx
call ebx
test eax, eax
jne 0x4150a2
push 0x12c
call ebp
inc esi
cmp esi, 0xa
jl 0x41507f
inc edi
jmp 0x415045
mov ecx, dword [0x4295b0]
mov eax, dword [0x4295ac]
test eax, eax
jne 0x4150b8
xor ecx, ecx
jmp 0x4150bd
sub ecx, eax
sar ecx, 2
push ecx
lea edx, [esp + 0x14]
push 0x428738
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
xor ebp, ebp
xor esi, esi
mov bl, 0xb
mov eax, dword [0x4295ac]
cmp eax, ebp
je 0x415164
mov ecx, dword [0x4295b0]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x415164
lea edx, [eax + esi*4]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push 0x42747c
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], bl
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
inc esi
jmp 0x4150d6
cmp dword [0x429364], ebp
je 0x4151cc
cmp dword [0x429810], ebp
je 0x4151cc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push 0x429354
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4bc], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0041d462
mov ecx, dword [esp + 0x4d0]
push ecx
call fcn.00411ce0
add esp, 8
mov edx, dword [0x4295d8]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push ebp
push ebp
push 0x46e
push edx
call esi
cmp dword [0x429360], ebp
je 0x415240
cmp dword [0x429810], ebp
je 0x415242
mov eax, dword [0x42932c]
cmp dword [eax - 8], ebp
je 0x415242
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x4c8]
push ecx
push edi
push 0x42872c
push 0x4295bc
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push edi
push 0x4270a0
push 0x4295b8
call sub.MFC42.DLL_CString::Format
mov edx, dword [0x4295d8]
add esp, 0xc
push ebp
push ebp
push 0x47c
push edx
call esi
jmp 0x415242
xor ebp, ebp
cmp dword [0x4297f4], 1
jne 0x41525c
mov eax, dword [esp + 0x4c0]
push eax
call dword [sym.imp.MSVCRT.dll__rmdir]
add esp, 4
cmp dword [esp + 0x4c], ebp
je 0x41537a
cmp dword [0x429368], ebp
je 0x41537a
cmp dword [0x429810], ebp
je 0x41537a
mov eax, dword [0x42959c]
cmp eax, ebp
jne 0x41528b
xor edi, edi
jmp 0x415296
mov edi, dword [0x4295a0]
sub edi, eax
sar edi, 2
push 0x428720
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
xor esi, esi
cmp edi, ebp
jle 0x415322
mov bl, 0xe
mov eax, dword [0x42959c]
lea edx, [esp + 0x10]
lea ecx, [eax + esi*4]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push 0x42747c
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], bl
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
inc esi
cmp esi, edi
jl 0x4152ac
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push 0x429358
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4bc], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4b8], 4
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041d462
mov eax, dword [esp + 0x4d0]
push eax
call fcn.00411ce0
add esp, 8
mov cl, byte [esp + 0x17]
mov byte [esp + 0x38], cl
mov eax, dword [0x4295ac]
mov ecx, dword [0x4295b0]
mov edx, dword [0x4295b4]
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [0x4295ac], ebp
mov dword [esp + 0x40], ecx
mov dword [0x4295b0], ebp
mov dword [esp + 0x44], edx
mov dword [0x4295b4], ebp
mov byte [esp + 0x4b8], 4
mov edi, ecx
mov esi, eax
je 0x4153d3
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x4153c1
mov eax, dword [esp + 0x3c]
push eax
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x1b]
add esp, 4
mov byte [esp + 0x38], al
mov eax, dword [0x42959c]
mov ecx, dword [0x4295a0]
mov edx, dword [0x4295a4]
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [0x42959c], ebp
mov dword [esp + 0x40], ecx
mov dword [0x4295a0], ebp
mov dword [esp + 0x44], edx
mov dword [0x4295a4], ebp
mov byte [esp + 0x4b8], 4
mov edi, ecx
mov esi, eax
je 0x415435
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x415423
mov eax, dword [esp + 0x3c]
push eax
call sub.MFC42.DLL_operatordelete
mov al, byte [esp + 0x1b]
add esp, 4
mov byte [esp + 0x38], al
mov eax, dword [0x42958c]
mov ecx, dword [0x429590]
mov edx, dword [0x429594]
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [0x42958c], ebp
mov dword [esp + 0x40], ecx
mov dword [0x429590], ebp
mov dword [esp + 0x44], edx
mov dword [0x429594], ebp
mov byte [esp + 0x4b8], 4
mov edi, ecx
mov esi, eax
je 0x415497
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x415485
mov eax, dword [esp + 0x3c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov byte [esp + 0x4b8], 3
call fcn.0041d58e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4b8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x4b8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x4b8], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x4b8], 0xffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4ac
ret