Function at 0x414a20
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x498edb
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x3a4]
test eax, eax
push esi
push edi
jle 0x414b9c
lea esi, [eax - 1]
test esi, esi
mov dword [esp + 0x14], esi
jl 0x414b9c
lea eax, [ebp + 0x39c]
mov dword [esp + 0x18], eax
jmp 0x414a70
mov eax, dword [esp + 0x18]
lea ebx, [ebx]
test esi, esi
jl 0x414ca4
cmp esi, dword [eax + 8]
jge 0x414ca4
mov eax, dword [eax + 4]
mov edi, dword [eax + esi*4]
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.0040aa40
push str..jfrec
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x30], 0
call fcn.00401050
add esp, 0xc
test edi, edi
mov byte [esp + 0x24], 1
je 0x414b75
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edi, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414af4
test cl, cl
je 0x414af0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414af4
add eax, 2
add esi, 2
test cl, cl
jne 0x414ad0
xor eax, eax
jmp 0x414af9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414bb2
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
nop
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414b34
test cl, cl
je 0x414b30
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414b34
add eax, 2
add esi, 2
test cl, cl
jne 0x414b10
xor eax, eax
jmp 0x414b39
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414bb2
mov esi, dword [esp + 0x2c]
lea eax, [edi + 0x28]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414b68
test cl, cl
je 0x414b64
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414b68
add eax, 2
add esi, 2
test cl, cl
jne 0x414b44
xor eax, eax
jmp 0x414b6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x414bb2
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
dec esi
mov dword [esp + 0x14], esi
jns 0x414a66
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov ecx, dword [ebp + 0x160]
test ecx, ecx
je 0x414bc2
push edi
call fcn.00404670
mov eax, dword [edi + 0x238]
test eax, eax
je 0x414bd6
push 1
push edi
mov ecx, ebp
call fcn.00412120
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [edi + 0x128]
push eax
call esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
push str..inpart
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00401050
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call dword [0x49f214]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
mov dword [edi + 0x240], 1
cmp dword [ebp + 0x394], edi
jne 0x414c5e
mov dword [ebp + 0x394], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 1
push eax
call sub.MFC71.DLL_CPtrArray::RemoveAt
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
call fcn.0049641a
int3