Function at 0x41a2f8
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x41a300
push ecx
push ebx
push esi
push edi
mov eax, 0x4196a0
call fcn.00406b74
xor eax, eax
push ebp
push 0x41aac9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov byte [0x420e74], 0
lea edx, [ebp - 0x2c]
mov eax, 1
call fcn.0040329c
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], esi
mov edx, dword [ebp - 0x30]
call fcn.00405184
lea eax, [ebp - 0x18]
mov edx, 0x41aae4
call fcn.00405184
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41a374
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a374
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x14]
call fcn.00404b70
mov esi, eax
test esi, esi
je 0x41a37f
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41a39c
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a39c
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.00404b70
mov edi, eax
test edi, edi
je 0x41a3a7
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 0x18]
call fcn.004051bc
push eax
push esi
mov eax, dword [ebp - 0x14]
call fcn.004051bc
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW
sub eax, 2
test eax, eax
sete al
test al, al
je 0x41a3de
mov bl, 1
mov byte [0x420e74], 1
jmp 0x41a3fc
push 4
push 0x41aaf4
push 0x41ab10
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_MessageBoxW
cmp eax, 6
jne 0x41a3fc
mov bl, 1
test bl, bl
je 0x41aa9e
mov dl, 1
mov eax, dword [0x418e08]
call fcn.00418f74
mov dword [0x420e78], eax
xor edx, edx
push ebp
push 0x41aa97
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x420e78]
mov dword [eax + 0x18], 0xf013f
mov edx, 0x80000002
mov eax, dword [0x420e78]
call fcn.00419014
mov cl, 1
mov edx, 0x41ab4c
mov eax, dword [0x420e78]
call fcn.00419078
test al, al
je 0x41aa7f
xor eax, eax
push ebp
push 0x41a4a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x34]
mov edx, 0x41abcc
mov eax, dword [0x420e78]
call fcn.004192c4
mov edx, dword [ebp - 0x34]
mov eax, 0x420e7c
call fcn.00405130
lea edx, [ebp - 0x38]
mov eax, dword [0x420e7c]
call fcn.0041958c
mov edx, dword [ebp - 0x38]
mov eax, 0x420e7c
call fcn.00405130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a4be
cmp dword [0x420e7c], 0
je 0x41a51c
mov eax, dword [0x420e7c]
call fcn.004091ec
test al, al
je 0x41a51c
cmp byte [0x420e74], 0
jne 0x41a50c
push 4
push 0x41aaf4
push 0x41abd8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_MessageBoxW
cmp eax, 6
jne 0x41a51c
mov eax, dword [0x420e7c]
call fcn.004051bc
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x41a51c
mov eax, dword [0x420e7c]
call fcn.004051bc
push eax
call sub.kernel32.dll_DeleteFileW
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.0040329c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004093e4
mov edx, dword [ebp - 0x3c]
mov eax, 0x420e84
call fcn.00405130
mov eax, dword [0x420e84]
test eax, eax
je 0x41a562
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a562
mov eax, 0x420e84
mov edx, dword [0x420e84]
call fcn.00404b70
mov ebx, eax
test ebx, ebx
je 0x41a56d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x44]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [0x420e84]
call fcn.004057c8
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 0x30]
call fcn.00405184
lea eax, [ebp - 0x20]
mov edx, 0x41ac28
call fcn.00405184
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a5bd
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a5bd
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
call fcn.00404b70
mov ebx, eax
test ebx, ebx
je 0x41a5c8
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41a5e5
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a5e5
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00404b70
mov esi, eax
test esi, esi
je 0x41a5f0
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp - 0x20]
call fcn.004051bc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
call fcn.004051bc
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW
sub eax, 2
test eax, eax
sete al
test al, al
jne 0x41a62b
mov eax, 0x420e84
mov edx, 0x41ac28
call fcn.00405430
lea eax, [ebp - 0x48]
call fcn.00419578
mov edx, dword [ebp - 0x48]
mov eax, 0x420e88
call fcn.00405130
mov eax, dword [0x420e88]
test eax, eax
je 0x41a664
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a664
mov eax, 0x420e88
mov edx, dword [0x420e88]
call fcn.00404b70
mov ebx, eax
test ebx, ebx
je 0x41a66f
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [0x420e88]
call fcn.004057c8
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 0x30]
call fcn.00405184
lea eax, [ebp - 0x28]
mov edx, 0x41ac28
call fcn.00405184
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41a6bf
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a6bf
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
call fcn.00404b70
mov ebx, eax
test ebx, ebx
je 0x41a6ca
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41a6e7
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x41a6e7
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.00404b70
mov esi, eax
test esi, esi
je 0x41a6f2
sub esi, 4
mov esi, dword [esi]
push esi
mov eax, dword [ebp - 0x28]
call fcn.004051bc
push eax
push ebx
mov eax, dword [ebp - 0x24]
call fcn.004051bc
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW
sub eax, 2
test eax, eax
sete al
test al, al
jne 0x41a72d
mov eax, 0x420e88
mov edx, 0x41ac28
call fcn.00405430
lea edx, [ebp - 0x54]
xor eax, eax
call fcn.0040329c
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov edx, 0x41ac38
call fcn.00409310
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x417bbc]
call fcn.00417c80
mov dword [0x420e80], eax
xor eax, eax
push ebp
push 0x41aa6e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x41abcc
mov edx, 0x41ac50
mov eax, dword [0x420e80]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00408a08
mov edx, dword [ebp - 0x58]
mov eax, 0x420e8c
call fcn.00405130
cmp dword [0x420e8c], 0
je 0x41a849
lea eax, [ebp - 0x60]
mov ecx, dword [0x420e8c]
mov edx, dword [0x420e84]
call fcn.004054f0
mov eax, dword [ebp - 0x60]
call fcn.004091ec
test al, al
je 0x41a858
push 0
lea eax, [ebp - 0x64]
mov ecx, dword [0x420e8c]
mov edx, dword [0x420e88]
call fcn.004054f0
mov eax, dword [ebp - 0x64]
call fcn.004051bc
push eax
lea eax, [ebp - 0x68]
mov ecx, dword [0x420e8c]
mov edx, dword [0x420e84]
call fcn.004054f0
mov eax, dword [ebp - 0x68]
call fcn.004051bc
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x41a838
lea eax, [ebp - 0x6c]
mov ecx, dword [0x420e8c]
mov edx, dword [0x420e88]
call fcn.004054f0
mov ecx, dword [ebp - 0x6c]
mov edx, 0x41abcc
mov eax, dword [0x420e78]
call fcn.00419238
jmp 0x41a858
mov edx, 0x41abcc
mov eax, dword [0x420e78]
call fcn.004191a0
jmp 0x41a858
mov edx, 0x41abcc
mov eax, dword [0x420e78]
call fcn.004191a0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x41ac70
mov edx, 0x41ac50
mov eax, dword [0x420e80]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00408a08
mov edx, dword [ebp - 0x70]
mov eax, 0x420e90
call fcn.00405130
cmp dword [0x420e90], 0
je 0x41a8a9
mov ecx, dword [0x420e90]
mov edx, 0x41ac70
mov eax, dword [0x420e78]
call fcn.00419238
jmp 0x41a8b8
mov edx, 0x41ac70
mov eax, dword [0x420e78]
call fcn.004191a0
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x41ac98
mov edx, 0x41ac50
mov eax, dword [0x420e80]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00408a08
mov edx, dword [ebp - 0x78]
mov eax, 0x420e94
call fcn.00405130
cmp dword [0x420e94], 0
je 0x41a909
mov ecx, dword [0x420e94]
mov edx, 0x41ac98
mov eax, dword [0x420e78]
call fcn.00419238
jmp 0x41a918
mov edx, 0x41ac98
mov eax, dword [0x420e78]
call fcn.004191a0
push 0
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x41acb0
mov edx, 0x41ac50
mov eax, dword [0x420e80]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00408a08
mov edx, dword [ebp - 0x80]
mov eax, 0x420e98
call fcn.00405130
cmp dword [0x420e98], 0
je 0x41a96f
mov ecx, dword [0x420e98]
mov edx, 0x41acb0
mov eax, dword [0x420e78]
call fcn.00419238
jmp 0x41a97e
mov edx, 0x41acb0
mov eax, dword [0x420e78]
call fcn.004191a0
push 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x41acd8
mov edx, 0x41ac50
mov eax, dword [0x420e80]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00408a08
mov edx, dword [ebp - 0x88]
mov eax, 0x420e9c
call fcn.00405130
cmp dword [0x420e9c], 0
je 0x41a9db
mov ecx, dword [0x420e9c]
mov edx, 0x41acd8
mov eax, dword [0x420e78]
call fcn.00419238
jmp 0x41a9ea
mov edx, 0x41acd8
mov eax, dword [0x420e78]
call fcn.004191a0
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, 0x41ad00
mov edx, 0x41ac50
mov eax, dword [0x420e80]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.00408a08
mov edx, dword [ebp - 0x90]
mov eax, 0x420ea0
call fcn.00405130
cmp dword [0x420e90], 0
je 0x41aa47
mov ecx, dword [0x420ea0]
mov edx, 0x41ad00
mov eax, dword [0x420e78]
call fcn.00419238
jmp 0x41aa56
mov edx, 0x41ad00
mov eax, dword [0x420e78]
call fcn.004191a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aa75
mov eax, dword [0x420e80]
call fcn.00403a84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aa9e
mov eax, dword [0x420e78]
call fcn.00403a84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aad0
lea eax, [ebp - 0x94]
mov edx, 0x19
call fcn.00405128
lea eax, [ebp - 0x2c]
mov edx, 7
call fcn.00405128
ret