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

Disassembly:
mov eax, 0x4344be
call fcn.00427498
mov eax, 0x46e8
call fcn.00427bc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00401046
mov esi, eax
mov eax, dword [0x443d1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1ef4]
push 0x104
push eax
push 0xfffffffffffffffe
lea ecx, [esi + 0x4020]
push dword [0x4365fc]
mov dword [ebp - 0x18], esi
push dword [ebp + 8]
call fcn.00407585
xor ebx, ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jge 0x4168b1
cmp dword [esi + 0x2100], ebx
je 0x417014
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 0x442430
push dword [0x436600]
lea ecx, [eax + 0x4020]
push dword [ebp + 8]
call fcn.004025bc
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x2100]
cmp eax, ebx
jne 0x416a2f
cmp dword [ebp - 0x14], ebx
jl 0x416a2d
push 0x43e284
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41697e
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5f0]
push eax
call fcn.00417028
test eax, eax
jne 0x416a85
xor eax, eax
jmp 0x417017
push 0x43e270
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4169a1
lea ecx, [ebp - 0x22f4]
push ecx
push ebx
push ebx
push dword [ebp - 0x14]
push ebx
call eax
test eax, eax
jge 0x4169b9
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5f0]
push eax
call fcn.00417028
test eax, eax
jne 0x416a24
jmp 0x416977
lea eax, [ebp - 0x11f0]
push eax
lea eax, [ebp - 0x22f4]
push eax
lea eax, [ebp - 0x9f0]
push eax
call fcn.00420c44
lea eax, [ebp - 0xe0]
push eax
push dword [ebp + 0xc]
call fcn.00416767
pop ecx
test al, al
pop ecx
je 0x416a02
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x9f0]
push eax
call fcn.00420c44
lea eax, [ebp - 0x9f0]
push eax
call fcn.00420d5c
push dword [ebp + 8]
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.00420c44
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x416a85
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x416a53
add ecx, 0x2104
lea eax, [ebp - 0x11f0]
push ecx
push eax
call edi
lea eax, [ebp - 0x11f0]
push eax
call fcn.00420b32
lea eax, [ebp - 0x11f0]
push eax
call fcn.00420d5c
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.00420c44
lea eax, [ebp - 0x5f0]
push eax
push dword [ebp + 0xc]
call fcn.00428980
pop ecx
test eax, eax
pop ecx
je 0x417003
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.004204d4
add esp, 0xc
mov dword [ebp - 0x14], ebx
push 1
lea eax, [ebp - 0x5f0]
pop edi
push eax
call fcn.00420de9
test eax, eax
je 0x416bae
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.00416767
pop ecx
test al, al
pop ecx
je 0x416b42
lea eax, [ebp - 0xe0]
push eax
push dword [ebp + 0xc]
call fcn.00416767
pop ecx
test al, al
pop ecx
je 0x416b42
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.00427d60
pop ecx
test eax, eax
pop ecx
je 0x416bac
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.004216cf
add esp, 0x14
cmp dword [0x44542c], ebx
jne 0x416bac
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 0x416bac
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x5f0]
push eax
call fcn.00417028
test eax, eax
je 0x416977
jmp 0x416c5f
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 0x416c58
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.004204d4
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 0x43d138
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x24]
lea eax, [ebp - 0x144]
push eax
call fcn.004203e2
pop ecx
pop ecx
jmp 0x416b8d
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], ebx
je 0x416ae4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10ac], 1
jbe 0x416d70
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 [0x44476c]
call fcn.004295a4
push dword [0x43e670]
lea eax, [ebp - 0x15f0]
push eax
call fcn.00426fe0
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 0x445024
push eax
call fcn.00420c44
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.00420a03
lea eax, [ebp - 0x15f0]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0xdf0]
push eax
call fcn.00420c44
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 + 0xcac]
lea eax, [ebp - 0x19f0]
push edi
push eax
call fcn.00428980
pop ecx
test eax, eax
pop ecx
jne 0x416d76
lea eax, [ebp - 0xdf0]
push eax
push edi
call fcn.00426fd0
pop ecx
pop ecx
jmp 0x416d76
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [ebp - 0x10]
mov ecx, edi
call fcn.00415692
cmp dword [edi + 0x10], ebx
je 0x416e80
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3af4]
push eax
call fcn.004205a8
pop ecx
lea eax, [ebp - 0x19f0]
pop ecx
push eax
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call fcn.00420a03
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x19f0]
push eax
call fcn.00420c44
lea eax, [ebp - 0x19f0]
push 0x43d888
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.00420a03
push dword [0x43e674]
lea eax, [ebp - 0x42f4]
push eax
lea eax, [ebp - 0x15f0]
push eax
call fcn.00420c44
lea eax, [ebp - 0x15f0]
push eax
call fcn.00420de9
test eax, eax
je 0x416e80
push dword [0x43e674]
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x36f4]
push eax
call fcn.00420c44
lea eax, [ebp - 0x36f4]
push ebx
push eax
lea eax, [ebp - 0x15f0]
push eax
call esi
push dword [0x43e660]
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x3ef4]
push eax
call fcn.00420c44
lea eax, [ebp - 0x3ef4]
push ebx
push eax
push 0x444150
call esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
add eax, 0x8ac
mov edi, 0x43647c
mov dword [ebp - 0x1c], eax
mov esi, 0x436474
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 0x43e1c4
push eax
call fcn.0041865e
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.00409f43
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.00421b63
add esp, 0x10
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00409f70
cmp dword [ebp - 0x40], ebx
je 0x416fe9
lea eax, [ebp - 0x32f4]
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x26f4]
push eax
call fcn.004016f0
push eax
call fcn.00420a75
lea eax, [ebp - 0x32f4]
push eax
lea eax, [ebp - 0x2ef4]
push 0x445024
push eax
call fcn.00420c44
lea eax, [ebp - 0x32f4]
push eax
lea eax, [ebp - 0x9f0]
push eax
lea eax, [ebp - 0x26f4]
push eax
call fcn.00420c44
lea eax, [ebp - 0x26f4]
push eax
lea eax, [ebp - 0x2ef4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x416fc7
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.0040191f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040191f
inc dword [ebp - 0x10]
jmp 0x416e98
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0040191f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040191f
lea eax, [ebp - 0x5f0]
push eax
push dword [ebp + 0xc]
call fcn.00426fd0
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