Function at 0x419830
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a43e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa5c
mov eax, dword [0x4cbba0]
mov edx, dword [esp + 0xab4]
xor eax, esp
mov dword [esp + 0xa58], eax
mov eax, dword [esp + 0xa94]
push ebx
mov ebx, dword [esp + 0xa74]
push ebp
mov ebp, dword [esp + 0xa74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xad0]
push esi
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xab8], 1
mov esi, ecx
mov ecx, dword [esp + 0xab0]
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jne 0x4198ba
mov ecx, dword [esi + 0x160]
call fcn.004054c0
test eax, eax
jne 0x4198ca
cmp dword [0x4cc5e8], 3
mov ecx, esi
jge 0x4198d2
call fcn.00414c60
or eax, 0xffffffff
jmp 0x41a238
push ebx
call fcn.00418d90
lea edi, [esi + 0x550]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
mov eax, dword [esp + 0xa9c]
test eax, eax
je 0x4198fa
push ebx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x20]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0xa78], edi
call fcn.00407a20
mov edx, dword [eax]
push ebp
push edx
lea eax, [esp + 0x1c]
push 0x4ac6a0
push eax
mov byte [esp + 0xa84], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0xa74], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xaa8]
mov ebx, dword [esp + 0xa84]
push ecx
push ebx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, esi
call fcn.00408830
cmp eax, edi
jg 0x419cc8
mov dword [esp + 0x10], edi
jne 0x419a0c
mov edi, dword [esi + 0x3a4]
dec edi
js 0x419a0c
test edi, edi
jl 0x419af3
cmp edi, dword [esi + 0x3a4]
jge 0x419af3
mov eax, dword [esi + 0x3a0]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x419a09
mov ecx, dword [eax + 0x278]
test ecx, ecx
jne 0x419a09
mov ecx, dword [eax + 0x27c]
test ecx, ecx
jne 0x419a09
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x4199e3
add eax, 0x128
push eax
mov ecx, esi
call fcn.00418470
test eax, eax
jle 0x4199e3
inc dword [esp + 0x10]
mov ecx, dword [esp + 0xaa8]
push ecx
push ebx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, esi
call fcn.00408830
test eax, eax
jg 0x419a0c
dec edi
jns 0x419992
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0xa74], 2
jle 0x419af8
mov eax, dword [esp + 0xadc]
mov ecx, dword [esp + 0x30]
push eax
mov edx, dword [esp + 0xad8]
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0xad0]
push eax
mov eax, dword [esp + 0xad0]
push 2
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push ebx
push eax
push ebp
mov ecx, esi
call fcn.00419830
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
jmp 0x41a238
call fcn.004a11bc
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00408640
lea ecx, [esp + 0x10]
mov byte [esp + 0xa74], 3
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x419c33
push 0x4cc904
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00409750
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xa7c], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, esi
call fcn.0040c160
mov eax, dword [esp + 0xadc]
mov ecx, dword [esp + 0x30]
push eax
mov edx, dword [esp + 0xad8]
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0xad0]
push eax
mov eax, dword [esp + 0xad0]
push 2
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0xad4]
push ecx
mov ecx, dword [esp + 0xad4]
push edx
mov edx, dword [esp + 0xad4]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push ebx
push eax
push ebp
mov ecx, esi
call fcn.00419830
lea ecx, [esp + 0x24]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, esi
jmp 0x41a238
mov ecx, dword [esi + 0x51c]
add ecx, ebx
push ecx
lea edx, [esp + 0x1c]
push 0x4aee54
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xa74], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
mov ecx, 0x103
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x460], 0x40c
mov dword [esp + 0x5c], 9
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [esp + 0x60]
nop
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x419c90
push 3
push 1
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.0040cbb0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 5
jmp 0x41a238
cmp dword [esi + 0x518], edi
je 0x419cdf
cmp dword [esi + 0x514], edi
jle 0x419cdf
mov ecx, esi
call fcn.00418a20
mov ebx, dword [esp + 0x1c]
push ebx
mov ecx, esi
call fcn.0040c770
mov edi, dword [esp + 0xac0]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x419f10
mov ecx, dword [ebp + 0x3a0]
push edi
push ecx
push 0x4aee34
call fcn.0049aab0
mov eax, dword [ebp + 0x238]
add esp, 0xc
test eax, eax
mov dword [ebp + 0x3a0], edi
je 0x419d76
mov eax, dword [esp + 0xa9c]
test eax, eax
je 0x419d38
push ebx
mov ecx, esi
call fcn.004114d0
mov eax, dword [ebp + 0x274]
test eax, eax
je 0x419d65
cmp dword [esp + 0xabc], 2
jne 0x419d65
push ebp
mov ecx, esi
mov dword [ebp + 0x274], 0
call fcn.00417560
mov ecx, esi
call fcn.0040d6e0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x41a238
lea ebx, [ebp + 0x128]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419d81
sub eax, edx
mov dword [esp + 0x24], eax
je 0x419eab
lea ecx, [esp + 0x14]
mov edi, ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x419dc4
test cl, cl
je 0x419dc0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x419dc4
add eax, 2
add edi, 2
test cl, cl
jne 0x419da0
xor eax, eax
jmp 0x419dc9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x419eab
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419dd6
sub eax, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, ebx
nop
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x419e00
push ebp
mov ecx, esi
call fcn.00411ac0
push ebx
lea ecx, [esp + 0x14]
call dword [0x4ab700]
push str..jfrec
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xa80], 5
call fcn.004010a0
push str..inpart
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xa8c], 6
call fcn.004010a0
add esp, 0x18
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call edi
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call edi
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa74], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp dword [ebp + 0x24], 1
jne 0x419eca
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x419ec3
push 0
push ebp
call fcn.00404660
mov dword [ebp + 0x24], 4
mov ebp, dword [ebp + 0x24]
test ebp, ebp
jl 0x41a001
cmp ebp, 2
je 0x41a001
cmp ebp, 6
je 0x41a001
cmp ebp, 4
je 0x41a001
mov eax, dword [esp + 0xa9c]
test eax, eax
je 0x41a22c
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004114d0
jmp 0x41a22c
lea ecx, [esp + 0x44]
call fcn.004a117a
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0xa78], 7
mov edi, 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0xa78], 8
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
je 0x419fd7
mov ebx, dword [sym.imp.MSVCR71.dll__splitpath]
lea edx, [esp + 0x868]
push edx
lea eax, [esp + 0x76c]
push eax
lea ecx, [esp + 0x670]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebx
lea eax, [esp + 0x87c]
push eax
push edi
lea ecx, [esp + 0x784]
push ecx
lea edx, [esp + 0x688]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push str._s_s_s__d__s
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x30
push 0
lea ecx, [esp + 0x14]
inc edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x4c]
call sub.MFC71.DLL_CFileFind::FindFile
test eax, eax
jne 0x419f61
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x44]
mov byte [esp + 0xa74], 0
call sub.MFC71.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x468]
push ecx
lea edx, [esp + 0x96c]
push edx
lea eax, [esp + 0x570]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__splitpath]
add esp, 0x14
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ebx, dword [esp + 0xab0]
test ebx, ebx
mov byte [esp + 0xa74], 9
je 0x41a06f
mov edx, dword [esp + 0x3c]
mov eax, dword [0x4cbdc0]
push edx
push eax
lea ecx, [esp + 0x30]
push 0x4ae764
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
jmp 0x41a09c
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x468]
push edx
push eax
lea ecx, [esp + 0x570]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x38]
push str._s_s_s_s.jfenc
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x18
mov edx, dword [esp + 0xa90]
mov eax, dword [esp + 0xa8c]
xor ecx, ecx
test ebx, ebx
sete cl
push ecx
mov ecx, dword [esp + 0xa8c]
push edx
mov edx, dword [esp + 0xa8c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esi + 0x160]
push eax
call fcn.004047d0
mov edi, eax
xor ebp, ebp
cmp edi, 1
je 0x41a109
cmp edi, 3
je 0x41a109
test edi, edi
jne 0x41a0fd
mov ebp, 3
jmp 0x41a10e
cmp edi, 5
jne 0x41a10e
mov ebp, 2
jmp 0x41a10e
mov ebp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41a140
mov ecx, dword [eax + 0x274]
test ecx, ecx
je 0x41a140
cmp dword [esp + 0xabc], 2
jne 0x41a140
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
mov dword [eax + 0x274], 0
call fcn.00411ac0
mov eax, dword [esp + 0xaa0]
test eax, eax
je 0x41a20b
cmp edi, 3
je 0x41a15d
cmp edi, 5
jne 0x41a20b
test ebx, ebx
je 0x41a170
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov ecx, dword [esp + 0xabc]
xor eax, eax
cmp ecx, 1
jne 0x41a183
mov eax, 1
mov ecx, dword [esp + 0xadc]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xad8]
push edx
mov edx, dword [esp + 0xad8]
push ecx
mov ecx, dword [esp + 0xad8]
push edx
mov edx, dword [esp + 0xad8]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0xad8]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0xacc]
push eax
mov eax, dword [esp + 0xadc]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0xac8]
push ebx
push edx
mov edx, dword [esp + 0xabc]
push eax
mov eax, dword [esp + 0xabc]
push ecx
mov ecx, dword [esp + 0x58]
push ebp
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call fcn.004139a0
jmp 0x41a222
mov eax, dword [esp + 0xa9c]
test eax, eax
je 0x41a222
mov edx, dword [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004114d0
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, ebp
mov ecx, dword [esp + 0xa6c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa60]
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0xa68
ret 0x64