Function at 0x419138
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x455eea
call fcn.004324bc
sub esp, 0xabc
push ebx
push esi
push edi
push 1
mov dword [ebp - 0x60], ecx
pop esi
push esi
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x40], esi
call fcn.004237d5
xor ebx, ebx
push esi
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], ebx
call fcn.004237d5
push 0xa
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 1
call fcn.00445afa
push fcn.00445767
push fcn.00445734
push 0x77
lea eax, [ebp - 0xac8]
push 0x14
push eax
mov byte [ebp - 4], 2
call fcn.004336ce
push 0x4747d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004482f5
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
cmp dword [ecx - 8], ebx
jne 0x4191d4
push 0x30
push str.Error_while_opening_file
push str.Must_specify_an_output_filename
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41923e
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.00447ffc
push esi
call fcn.0040b60c
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push eax
call fcn.0040b47f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00448374
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00448287
push dword [0x45f4ac]
lea ecx, [ebp - 0x160]
push 0x1a
push dword [ebp - 0x30]
call fcn.004404c0
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x15c]
cmp dword [eax + 0x4c], 0xffffffff
jne 0x419245
xor esi, esi
jmp 0x419980
mov eax, dword [ebp + 8]
push dword [0x45f4ac]
lea ecx, [ebp - 0xfc]
mov eax, dword [eax]
push 0x21
push eax
call fcn.004404c0
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xf8]
cmp dword [eax + 0x4c], 0xffffffff
je 0x41923e
lea ecx, [ebp - 0x17c]
call fcn.00445b39
lea esi, [ebp - 0xac8]
mov dword [ebp + 8], 7
push 0x11
pop edi
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004457c7
add esi, 0x14
dec edi
jne 0x41928f
dec dword [ebp + 8]
jne 0x41928c
mov eax, dword [0x470b50]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x78], eax
push 0xa
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.00445afa
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xe
call fcn.00445b39
lea ecx, [ebp - 0x10]
call fcn.00448212
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xf4], 1
jne 0x4196f9
mov edi, 0x46f300
cmp dword [ebp - 0x40], ebx
je 0x4196f9
lea ecx, [ebp - 0xfc]
call fcn.00440721
lea eax, [ebp - 0x14]
push 0xa
push eax
lea ecx, [ebp - 0xfc]
call fcn.00423920
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
je 0x4196dd
cmp byte [eax], 0x3b
je 0x4196dd
call fcn.0040db88
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x5b
jne 0x419472
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00447ffc
lea eax, [ebp - 0x74]
push eax
call fcn.0040cc70
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.00448374
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.00448287
lea eax, [ebp - 0x10]
push eax
call fcn.00421430
pop ecx
mov esi, 0x46f0f8
push esi
lea ecx, [ebp + 8]
call fcn.004482f5
lea eax, [ebp + 8]
push 1
push eax
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0x10
call fcn.00447ffc
lea eax, [ebp - 0x70]
push eax
call fcn.0040fbdb
add esp, 0x10
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.00448374
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x10
call fcn.00448287
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call fcn.00448287
push dword [ebp - 0x10]
push dword [ebp - 0x38]
call fcn.0043352b
pop ecx
test eax, eax
pop ecx
je 0x419402
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00448374
push esi
lea ecx, [ebp - 0x18]
call fcn.004482f5
lea eax, [ebp - 0x18]
push 2
push eax
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0x12
call fcn.00447ffc
lea eax, [ebp - 0x64]
push eax
call fcn.0040fbdb
add esp, 0x10
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.00448374
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.00448287
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00448287
mov eax, dword [ebp - 0x44]
cmp dword [eax - 8], ebx
je 0x4196dd
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x10]
push eax
call fcn.00448374
jmp 0x4196dd
push edi
lea ecx, [ebp - 0x24]
call fcn.004482f5
lea eax, [ebp - 0x24]
push 1
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 0x14
call fcn.00447ffc
lea eax, [ebp - 0x5c]
push eax
call fcn.0040fbdb
add esp, 0x10
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
call fcn.00448374
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x14
call fcn.00448287
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00448287
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
jne 0x419535
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
je 0x4196f6
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
push eax
call fcn.00448374
push str.ExecuteAlwaysExe
push dword [ebp - 0x10]
call fcn.0043352b
pop ecx
test eax, eax
pop ecx
je 0x419535
push str.ExecuteAlwaysDll
push dword [ebp - 0x10]
call fcn.0043352b
pop ecx
test eax, eax
pop ecx
je 0x419535
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0044846a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x16
call fcn.00448374
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.00448287
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Identification
call fcn.004482f5
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
mov byte [ebp - 4], 0x17
call fcn.00447ffc
mov byte [ebp - 4], 0xe
call fcn.0040f192
add esp, 0xc
cmp eax, ebx
je 0x4196dd
push edi
lea ecx, [ebp - 0x20]
call fcn.004482f5
lea eax, [ebp - 0x20]
push 1
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
mov byte [ebp - 4], 0x18
call fcn.00447ffc
lea eax, [ebp - 0x48]
push eax
call fcn.0040fbdb
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call fcn.00448374
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x18
call fcn.00448287
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.00448287
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x54]
push dword [ebp + 0x10]
push eax
call fcn.0044846a
mov ecx, dword [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00414a29
lea ecx, [ebp - 0x54]
mov esi, eax
mov byte [ebp - 4], 0xe
call fcn.00448287
cmp esi, ebx
je 0x4196dd
mov ecx, esi
call fcn.00413b3d
test eax, eax
jne 0x419616
cmp dword [esi + 0x3c], ebx
jne 0x419616
push 1
push esi
mov ecx, esi
call fcn.00414139
test eax, eax
je 0x4196dd
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
call fcn.00448374
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.00448287
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x4747d0
call fcn.004482f5
push ecx
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp + 0x10]
call fcn.00447ffc
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
mov byte [ebp - 4], 0x1d
call fcn.00447ffc
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xe
push eax
call fcn.0040fa0a
add esp, 0x14
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
call fcn.00448374
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xe
call fcn.00448287
push ebx
lea ecx, [ebp - 0x98]
push dword [ebp - 0x28]
call fcn.00445c36
test eax, eax
jne 0x4196dd
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x98]
push eax
call fcn.00445c02
mov eax, dword [esi + 0x88]
push ebx
imul eax, eax, 0x154
push 2
mov ecx, esi
lea eax, [ebp + eax - 0xac8]
push eax
call fcn.00413e22
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xf4], 1
je 0x419305
jmp 0x4196f9
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0xfc]
call fcn.00440513
mov esi, fcn.0040f11e
lea ecx, [ebp - 0x160]
push esi
push str._Identification_
call fcn.00423897
mov ecx, eax
call fcn.00423906
mov eax, dword [0x470b50]
mov dword [ebp - 0x7c], eax
mov edi, dword [ebp - 0x94]
mov byte [ebp - 4], 0x1f
cmp edi, ebx
je 0x419754
mov eax, edi
mov edi, dword [edi]
push esi
lea ecx, [ebp - 0x160]
mov eax, dword [eax + 8]
push eax
call fcn.00423897
mov ecx, eax
call fcn.00423906
jmp 0x419733
push 0x4747d0
lea ecx, [ebp - 0x58]
call fcn.004482f5
lea eax, [ebp - 0xac8]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], eax
jmp 0x419775
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
test ebx, ebx
jle 0x4198ac
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
call fcn.004212f9
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x21
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_d
push eax
call fcn.00445186
add esp, 0x18
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x20
call fcn.00448287
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push 0x46f4b0
push eax
call fcn.00448544
push 0x46f4b4
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
push eax
call fcn.004484d0
mov eax, dword [eax]
push esi
push eax
push esi
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x23
call fcn.00423906
mov ecx, eax
call fcn.00423897
mov ecx, eax
call fcn.00423906
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
call fcn.00448287
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.00448287
xor edi, edi
test ebx, ebx
jle 0x4198ac
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0x4747d0
call fcn.004482f5
push ecx
mov byte [ebp - 4], 0x24
mov ecx, esp
mov dword [ebp - 0x50], esp
push dword [ebp + 0x10]
call fcn.00447ffc
mov ecx, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x25
call fcn.00414b6a
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00447ffc
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x20
push eax
call fcn.0040fa0a
add esp, 0x14
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x26
call fcn.00448374
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x20
call fcn.00448287
push esi
lea ecx, [ebp - 0x160]
push dword [ebp - 0x58]
call fcn.00423897
mov ecx, eax
call fcn.00423906
inc edi
cmp edi, ebx
jl 0x419827
inc dword [ebp - 0x20]
add dword [ebp + 8], 0x154
cmp dword [ebp - 0x20], 7
jl 0x41977e
inc dword [ebp - 0x24]
add dword [ebp - 0x18], 0x14
cmp dword [ebp - 0x24], 0x11
jl 0x419773
lea ecx, [ebp - 0x160]
call fcn.00440513
mov eax, dword [ebp + 0xc]
push 0
mov eax, dword [eax]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
call fcn.00448287
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00448287
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.00445b6e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.00448287
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00448287
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.00448287
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00448287
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00448287
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00448287
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00448287
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00448287
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00448287
push fcn.00445767
push 0x77
lea eax, [ebp - 0xac8]
push 0x14
push eax
mov byte [ebp - 4], 2
call fcn.004335da
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 1
call fcn.00445b6e
and byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00423862
lea ecx, [ebp - 0xe8]
call fcn.0043f7ae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.00423862
lea ecx, [ebp - 0x14c]
call fcn.0043f7ae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc