Function at 0x414910
Capabilities:
Delete file

Disassembly:
sub esp, 0x390
mov dl, byte [0x42c1b8]
push ebx
push ebp
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], dl
mov byte [esp + 0x224], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x225]
mov byte [esp + 0x94], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x95]
mov byte [esp + 0xf8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0xf9]
mov ebx, dword [esp + 0x3b0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebp
mov dword [eax + 8], ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x28]
cmp eax, ebp
je 0x4149af
push eax
call fcn.0040c500
mov edx, dword [ebx]
add esp, 4
mov dword [edx + 0x28], ebp
mov edi, dword [esp + 0x3a8]
cmp edi, ebp
je 0x414a10
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x41e0b8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x414a3b
push 0x423bf0
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
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 edi, dword [esp + 0x3ac]
cmp edi, ebp
je 0x414a51
lea edx, [esp + 0x30]
jmp 0x414a64
push 0x41e5e4
call fcn.0041bfd0
add esp, 4
lea edx, [esp + 0x30]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x3a4]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll__chdir
add esp, 4
test eax, eax
je 0x414aaa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x390
ret
lea eax, [esp + 0x288]
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MSVCRT.dll__findfirst
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
jne 0x414ad7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x390
ret
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
mov byte [esp + 0xf8], 0
cmp eax, 1
jne 0x414afa
mov dword [esp + 0x14], 0
jmp 0x414b13
lea edx, [esp + 0x288]
push edx
push esi
call sub.MSVCRT.dll__findnext
add esp, 8
test eax, eax
jne 0x414d42
test byte [esp + 0x288], 0x10
jne 0x414adf
lea eax, [esp + 0x29c]
push eax
call fcn.00415380
add esp, 4
cmp eax, 1
jne 0x414d12
mov eax, dword [ebx]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x414b43
mov dword [esp + 0x10], eax
push 0x2c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
push ebp
mov dword [ecx + 0x28], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [edx + 0x28]
push ecx
mov dword [esp + 0x1c], eax
call fcn.00412770
mov edx, dword [esp + 0x1c]
push 1
add edx, 0x1c
push ebp
push edx
call fcn.0041b2e0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x23c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x23c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2b8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
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 + 0x240]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
add ecx, 0x20
push ecx
call fcn.0041b2e0
push 0
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00401bf0
add esp, 0x30
test eax, eax
je 0x414d12
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lea edx, [esp + 0x94]
push 0x41e0b8
mov edi, dword [eax + 0x14]
xor eax, eax
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]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x94]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x10]
and ecx, 3
lea edx, [esp + 0x94]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
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 edx, [esp + 0xf8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x29c]
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
lea eax, [esp + 0x94]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x29c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414cf3
test cl, cl
je 0x414cef
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414cf3
add eax, 2
add esi, 2
test cl, cl
jne 0x414ccf
xor eax, eax
jmp 0x414cf8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x414d12
mov eax, dword [ebx]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], 1
inc dword [eax + 8]
jmp 0x414adf
lea edi, [esp + 0x29c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf8]
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 0x414f31
call fcn.00416db0
push esi
call sub.MSVCRT.dll__findclose
mov eax, dword [ebx]
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov ebx, dword [eax + 0x28]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x28], eax
jle 0x414e07
lea ecx, [eax - 1]
mov dword [esp + 0x14], ecx
mov ebp, dword [ebx + 0x28]
mov edi, dword [ebx + 0x14]
test ebp, ebp
mov dword [esp + 0x2c], ebp
je 0x414deb
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x414deb
mov esi, dword [ebp + 0x14]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x414dc2
test cl, cl
je 0x414dbe
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x414dc2
add eax, 2
add esi, 2
test cl, cl
jne 0x414d9e
xor eax, eax
jmp 0x414dc7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x414dcf
test ebp, ebp
jne 0x414e16
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebp, dword [ebp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x414d99
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
inc ecx
dec esi
cmp ecx, eax
mov ebx, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
jl 0x414d7b
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x390
ret
mov eax, dword [ebp + 0x18]
push eax
call sub.MSVCRT.dll_atoi
mov ecx, dword [ebx + 0x18]
mov esi, eax
push ecx
call sub.MSVCRT.dll_atoi
add esp, 8
cmp esi, eax
lea edx, [esp + 0xf8]
jle 0x414e9c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x41e0b8
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]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xf8]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xf8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x18]
jmp 0x414efe
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x41e0b8
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]
call fcn.0041bfd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xf8]
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
lea edx, [esp + 0xf8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [esp + 0x3a4]
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
mov ebx, dword [esp + 0x3b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xf8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x414f52
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
call fcn.00416db0
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x28]
push edx
call fcn.0040c500
mov eax, dword [ebx]
add esp, 4
mov dword [eax + 0x28], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414f7f
push eax
call sub.MSVCRT.dll__findclose
add esp, 4
mov ecx, dword [esp + 0x3ac]
mov edx, dword [esp + 0x3a8]
push ebx
push ecx
push edx
push ebp
call fcn.00414910
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x390
ret