Function at 0x409c8d
Capabilities:
Copy file

Disassembly:
mov eax, 0x431db4
call fcn.004203b8
sub esp, 0x30
push ebx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.0040af50
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], ebx
jne 0x409cba
call fcn.0040a740
mov dword [ebp + 8], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0xffffffff
jne 0x409cc9
call fcn.0040a631
mov edi, eax
push edi
call fcn.0040d800
test eax, eax
pop ecx
je 0x409f0c
push esi
lea ecx, [ebp - 0x2c]
call fcn.00409f5e
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.0040a631
push eax
call fcn.0040ec80
pop ecx
pop ecx
push str._1234
lea ecx, [ebp - 0x24]
call fcn.0040b840
push 0x5f
lea ecx, [ebp - 0x24]
call fcn.0040b940
mov esi, eax
cmp esi, ebx
jl 0x409d33
lea ecx, [ebp - 0x24]
call fcn.0040b220
add eax, esi
inc eax
push eax
call fcn.0040a82e
cmp eax, 4
pop ecx
jne 0x409d33
push esi
lea ecx, [ebp - 0x24]
call fcn.0040b900
lea ecx, [ebp - 0x10]
call fcn.0040af50
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00409ff7
mov byte [ebp - 4], 3
mov byte [ebp + 0xe], bl
mov byte [ebp + 0xf], bl
lea eax, [ebp + 0xe]
push eax
lea eax, [ebp - 0x34]
push dword [ebp + 8]
push dword [ebp - 0x24]
push str._s__lu_s
push eax
call fcn.0040c040
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040eda0
add esp, 0x1c
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040b680
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040af80
cmp byte [ebp + 0xe], bl
je 0x409da0
inc byte [ebp + 0xe]
jmp 0x409da4
mov byte [ebp + 0xe], 0x61
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
call fcn.0040d800
test eax, eax
pop ecx
je 0x409dbd
cmp byte [ebp + 0xe], 0x7a
jle 0x409d55
cmp byte [ebp + 0xe], 0x7a
jg 0x409ed8
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
push str.New_Trickler_file_will_be__s
call fcn.0041df5d
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
call fcn.0040ae25
pop ecx
test eax, eax
pop ecx
je 0x409ed1
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x409eca
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040b220
mov esi, 0x4439f8
push eax
mov ecx, esi
call fcn.004098b2
test eax, eax
je 0x409ee8
push str.New_Trickler_successfully_prepared.
call fcn.0041df5d
push ebx
push ebx
call fcn.0040a855
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
push 1
pop edi
push edi
call fcn.0040a855
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040b220
push eax
call fcn.0040a990
pop ecx
call fcn.00406b6b
push eax
call fcn.0040a631
push eax
call fcn.0040aa4c
pop ecx
pop ecx
mov ecx, esi
call fcn.00409890
lea eax, [ebp + 8]
push ebx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], ebx
call fcn.0040b220
push eax
call fcn.004116f0
add esp, 0xc
cmp eax, ebx
mov eax, 0x439564
jne 0x409ea7
mov eax, str.FAIL
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040b220
push eax
lea eax, [ebp - 0x14]
push str.LaunchExe__s_:__s__err_d_
push eax
call fcn.0040c040
add esp, 0x14
mov dword [ebp - 0x18], edi
jmp 0x409ee8
push str.copy_failed
jmp 0x409edd
push str.no_del_old_file
jmp 0x409edd
push str.no_unique_file
lea eax, [ebp - 0x14]
push eax
call fcn.00409f39
pop ecx
pop ecx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00409fa7
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040af80
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00409fa7
pop esi
mov ecx, dword [ebp + 0x10]
pop edi
cmp ecx, ebx
pop ebx
je 0x409f1e
lea eax, [ebp - 0x14]
push eax
call fcn.0040b680
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040af80
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], ecx
leave
ret