Function at 0x418d90
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a430b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push eax
mov ebp, ecx
call fcn.0040c770
xor ebx, ebx
cmp eax, ebx
je 0x418dec
cmp dword [eax + 0x278], ebx
jne 0x418dd1
cmp dword [eax + 0x238], ebx
jne 0x418dd1
cmp dword [eax + 0x24], ebx
jne 0x418dec
push eax
mov ecx, ebp
call fcn.0040d660
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push esi
push edi
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, ebp
mov dword [esp + 0x30], ebx
call fcn.00415b80
mov ecx, dword [ebp + 0x3a4]
sub ecx, eax
dec ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
js 0x418fe4
mov edi, edi
cmp ecx, ebx
jl 0x419003
cmp ecx, dword [ebp + 0x3a4]
jge 0x419003
mov edx, dword [ebp + 0x3a0]
mov esi, dword [edx + ecx*4]
cmp esi, ebx
je 0x418fd5
cmp dword [esi + 0x278], ebx
jne 0x418fd5
mov edi, dword [esp + 0x38]
mov eax, esi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x418e7b
cmp cl, bl
je 0x418e77
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x418e7b
add eax, 2
add edi, 2
cmp cl, bl
jne 0x418e57
xor eax, eax
jmp 0x418e80
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x418faf
dec dword [esp + 0x18]
mov eax, dword [esi + 0x238]
js 0x418eba
cmp eax, ebx
jne 0x418fd5
mov ecx, dword [ebp + 0x160]
cmp ecx, ebx
je 0x418eae
push 1
push esi
call fcn.00404660
mov dword [esi + 0x24], 1
jmp 0x418fd5
cmp eax, ebx
je 0x418ec8
push 1
push esi
mov ecx, ebp
call fcn.00417290
cmp dword [esi + 0x24], 6
jne 0x418f65
push esi
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0040c800
push str..jfrec
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x3c], 1
call fcn.004010a0
push str..inpart
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x48], 2
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 + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
jmp 0x418f75
mov ecx, dword [ebp + 0x160]
cmp ecx, ebx
je 0x418f75
push esi
call fcn.00404cf0
cmp dword [ebp + 0x394], esi
jne 0x418f83
mov dword [ebp + 0x394], ebx
push 1
push esi
mov ecx, ebp
call fcn.00411750
mov edi, dword [esp + 0x14]
push 1
push edi
lea ecx, [ebp + 0x39c]
call sub.MFC71.DLL_CPtrArray::RemoveAt
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
dec edi
mov dword [esp + 0x14], edi
jmp 0x418fd5
cmp dword [esi + 0x24], 6
je 0x418fd5
cmp dword [esi + 0x238], ebx
jne 0x418fd5
mov ecx, dword [ebp + 0x160]
cmp ecx, ebx
je 0x418fce
push ebx
push esi
call fcn.00404660
mov dword [esi + 0x24], 4
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jns 0x418e20
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
call fcn.004a11bc
int3