Function at 0x41a110
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov eax, 0x440226
call fcn.00432c38
mov eax, 0x46e8
call fcn.00433360
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00401046
mov esi, eax
mov eax, dword [0x451730]
xor ebx, ebx
mov dword [ebp - 0x18], esi
cmp eax, ebx
jne 0x41a144
mov eax, dword [0x4527b8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1ef4]
push 0x104
push eax
push 0xfffffffffffffffe
lea ecx, [esi + 0x4030]
push dword [0x442624]
push dword [ebp + 8]
call fcn.004075db
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jge 0x41a17d
cmp dword [esi + 0x2110], ebx
je 0x41a8e0
mov esi, 0xff
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0x11ef]
mov byte [ebp - 0x11f0], bl
mov byte [ebp - 0x9f0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x9ef]
mov byte [ebp - 0x22f4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x22f3]
mov byte [ebp - 0x5f0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x5ef]
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x11f0]
push eax
mov eax, dword [ebp - 0x18]
push 0x450eb0
push dword [0x442628]
lea ecx, [eax + 0x4030]
push dword [ebp + 8]
call fcn.00402606
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x2110]
cmp eax, ebx
jne 0x41a2fb
cmp dword [ebp - 0x14], ebx
jl 0x41a2f9
push 0x44c484
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41a24a
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5f0]
push eax
call fcn.0041a8f4
test eax, eax
jne 0x41a351
xor eax, eax
jmp 0x41a8e3
push 0x44c470
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41a26d
lea ecx, [ebp - 0x22f4]
push ecx
push ebx
push ebx
push dword [ebp - 0x14]
push ebx
call eax
test eax, eax
jge 0x41a285
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5f0]
push eax
call fcn.0041a8f4
test eax, eax
jne 0x41a2f0
jmp 0x41a243
lea eax, [ebp - 0x11f0]
push eax
lea eax, [ebp - 0x22f4]
push eax
lea eax, [ebp - 0x9f0]
push eax
call fcn.0042b708
lea eax, [ebp - 0xe0]
push eax
push dword [ebp + 0xc]
call fcn.0041a02a
pop ecx
test al, al
pop ecx
je 0x41a2ce
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x9f0]
push eax
call fcn.0042b708
lea eax, [ebp - 0x9f0]
push eax
call fcn.0042b820
push dword [ebp + 8]
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.0042b708
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41a351
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x41a31f
add ecx, 0x2114
lea eax, [ebp - 0x11f0]
push ecx
push eax
call edi
lea eax, [ebp - 0x11f0]
push eax
call fcn.0042b5f6
lea eax, [ebp - 0x11f0]
push eax
call fcn.0042b820
lea eax, [ebp - 0x11f0]
push eax
lea eax, [ebp - 0x9f0]
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x11f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.0042b708
lea eax, [ebp - 0x5f0]
push eax
push dword [ebp + 0xc]
call fcn.00434120
pop ecx
test eax, eax
pop ecx
je 0x41a8cf
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1def]
mov byte [ebp - 0x1df0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x2af3]
mov byte [ebp - 0x2af4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2af4]
push 0x400
push eax
push 0x663
call fcn.0042af98
add esp, 0xc
mov dword [ebp - 0x14], ebx
push 1
lea eax, [ebp - 0x5f0]
pop edi
push eax
call fcn.0042b8ad
test eax, eax
je 0x41a47a
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.0041a02a
pop ecx
test al, al
pop ecx
je 0x41a40e
lea eax, [ebp - 0xe0]
push eax
push dword [ebp + 0xc]
call fcn.0041a02a
pop ecx
test al, al
pop ecx
je 0x41a40e
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.00433500
pop ecx
test eax, eax
pop ecx
je 0x41a478
lea eax, [ebp - 0x5f0]
push eax
lea eax, [ebp - 0x2af4]
push eax
lea eax, [ebp - 0x1df0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.0042c193
add esp, 0x14
cmp dword [0x453ed0], ebx
jne 0x41a478
lea eax, [ebp - 0x64]
push 0x34
push eax
lea eax, [ebp - 0x1df0]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x41a478
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5f0]
push eax
call fcn.0041a8f4
test eax, eax
je 0x41a243
jmp 0x41a52b
xor edi, edi
lea eax, [ebp - 0x5f0]
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41a524
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x18
mov dword [ebp - 0x24], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x143]
mov byte [ebp - 0x144], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x18
xor eax, eax
pop ecx
lea edi, [ebp - 0x1a7]
mov byte [ebp - 0x1a8], bl
push 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1a8]
push eax
push 0x65b
call fcn.0042af98
add esp, 0xc
lea eax, [ebp - 0x5f0]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x144]
push 0x44b138
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x24]
lea eax, [ebp - 0x144]
push eax
call fcn.0042aea6
pop ecx
pop ecx
jmp 0x41a459
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], ebx
je 0x41a3b0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10bc], 1
jbe 0x41a63c
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x15ef]
mov byte [ebp - 0x15f0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x15f0]
push 0xa
push eax
push dword [0x453204]
call fcn.00434fd4
push dword [0x44c8c0]
lea eax, [ebp - 0x15f0]
push eax
call fcn.00432780
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x19ef]
mov byte [ebp - 0x19f0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x14
stosb byte es:[edi], al
lea eax, [ebp - 0x15f0]
push eax
lea eax, [ebp - 0x19f0]
push 0x453ac8
push eax
call fcn.0042b708
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0xdef]
mov byte [ebp - 0xdf0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.0042b4c7
lea eax, [ebp - 0x15f0]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0xdf0]
push eax
call fcn.0042b708
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0xdf0]
push ebx
push eax
lea eax, [ebp - 0x19f0]
push eax
call esi
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0xcbc]
lea eax, [ebp - 0x19f0]
push edi
push eax
call fcn.00434120
pop ecx
test eax, eax
pop ecx
jne 0x41a642
lea eax, [ebp - 0xdf0]
push eax
push edi
call fcn.00432770
pop ecx
pop ecx
jmp 0x41a642
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [ebp - 0x10]
mov ecx, edi
call fcn.00418eea
cmp dword [edi + 0x10], ebx
je 0x41a74c
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3af4]
push eax
call fcn.0042b06c
pop ecx
lea eax, [ebp - 0x19f0]
pop ecx
push eax
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.0042b4c7
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x19f0]
push eax
call fcn.0042b708
lea eax, [ebp - 0x19f0]
push 0x44babc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x19f0]
push ebx
push eax
lea eax, [ebp - 0x3af4]
push eax
call esi
lea eax, [ebp - 0x46f4]
push eax
lea eax, [ebp - 0x42f4]
push eax
push dword [ebp + 0xc]
call fcn.0042b4c7
push dword [0x44c8c4]
lea eax, [ebp - 0x42f4]
push eax
lea eax, [ebp - 0x15f0]
push eax
call fcn.0042b708
lea eax, [ebp - 0x15f0]
push eax
call fcn.0042b8ad
test eax, eax
je 0x41a74c
push dword [0x44c8c4]
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x36f4]
push eax
call fcn.0042b708
lea eax, [ebp - 0x36f4]
push ebx
push eax
lea eax, [ebp - 0x15f0]
push eax
call esi
push dword [0x44c8b0]
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x3ef4]
push eax
call fcn.0042b708
lea eax, [ebp - 0x3ef4]
push ebx
push eax
push 0x452be8
call esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
add eax, 0x8bc
mov edi, 0x44249c
mov dword [ebp - 0x1c], eax
mov esi, 0x442494
lea eax, [ebp + 0xb]
push ebx
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x6c], esi
call fcn.00401581
push dword [ebp - 0x10]
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ebx
push 0x44c3c4
push eax
call fcn.00410d20
add esp, 0xc
lea eax, [ebp - 0x1d]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push ebx
push eax
mov dword [ebp - 0x2c], esi
call fcn.00401581
lea eax, [ebp - 0x98]
push 0x400
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00409fc5
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 2
call fcn.004016f0
mov ecx, dword [ebp - 0x24]
push 0x400
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x8c]
call fcn.004016f0
push eax
push dword [ebp - 0x1c]
call fcn.0042c683
add esp, 0x10
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00409ff2
cmp dword [ebp - 0x40], ebx
je 0x41a8b5
lea eax, [ebp - 0x32f4]
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x26f4]
push eax
call fcn.004016f0
push eax
call fcn.0042b539
lea eax, [ebp - 0x32f4]
push eax
lea eax, [ebp - 0x2ef4]
push 0x453ac8
push eax
call fcn.0042b708
lea eax, [ebp - 0x32f4]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x26f4]
push eax
call fcn.0042b708
lea eax, [ebp - 0x26f4]
push eax
lea eax, [ebp - 0x2ef4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41a893
lea eax, [ebp - 0x26f4]
push ebx
push eax
lea eax, [ebp - 0x2ef4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x2ef4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401915
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00401915
inc dword [ebp - 0x10]
jmp 0x41a764
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401915
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00401915
lea eax, [ebp - 0x5f0]
push eax
push dword [ebp + 0xc]
call fcn.00432770
pop ecx
pop ecx
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8