Function at 0x456004
Capabilities:
Contain obfuscated stackstrings
Copy file
Delete file

Disassembly:
mov eax, 0x4b2e48
call fcn.00483228
sub esp, 0xe4
push ebx
push esi
mov ebx, ecx
push edi
push 1
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x80], ebx
call fcn.00467c7b
and dword [ebp - 4], 0
mov edi, 0x4e7e70
push edi
lea ecx, [ebp - 0x1c]
call fcn.0049d946
push edi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.0049d946
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x2c], esp
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Corel
call fcn.0049d946
push ecx
mov ecx, 0x4e83a0
mov eax, esp
mov dword [ebp - 0x3c], esp
push 0
push eax
mov byte [ebp - 4], 3
call fcn.00407bd2
push esi
mov byte [ebp - 4], 2
call fcn.00447f34
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
call fcn.004470fc
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0049d9c5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0049d8d8
mov eax, dword [ebp - 0x1c]
xor esi, esi
cmp dword [eax - 8], esi
jne 0x4560d1
push 0x30
push str.Error_while_opening_file
push str.Must_specify_an_output_filename
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x456a6c
push dword [0x4c1524]
lea ecx, [ebp - 0xf0]
push 0x1a
push eax
call fcn.004923bc
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xec]
cmp dword [eax + 0x4c], 0xffffffff
je 0x456a6c
cmp dword [ebx + 0xd50], esi
jne 0x456120
lea ecx, [ebp - 0xf0]
call fcn.0049240f
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x456a6c
push edi
lea ecx, [ebp - 0x20]
call fcn.0049d946
push 0x4dd424
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0049d946
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
lea eax, [ebx + 0x2d8]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0044ca2c
add esp, 0xc
mov edi, eax
lea eax, [ebx + 0x2d4]
push 0x4df0f8
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 7
call fcn.0049db21
push edi
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
call fcn.0049dabb
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xc
call fcn.0049d8d8
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0049d8d8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
mov edi, fcn.0044c921
lea ecx, [ebp - 0xf0]
push edi
push 0x4df274
push dword [ebp - 0x38]
push 0x4df278
call fcn.00467d3d
mov ecx, eax
call fcn.00467d3d
mov ecx, eax
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0xf0]
mov eax, dword [eax]
push eax
push str.CSWFile_
call fcn.00467d3d
mov ecx, eax
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
mov eax, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0xf0]
mov eax, dword [eax]
push eax
push str.BoxDest_
call fcn.00467d3d
mov ecx, eax
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
mov eax, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 0xf0]
mov eax, dword [eax]
push eax
push str.BoxSharedDest_
call fcn.00467d3d
mov ecx, eax
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
lea eax, [ebp + 0xc]
push eax
call fcn.00448085
pop ecx
mov eax, dword [eax]
push edi
push eax
push str.SetupPath_
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xd
call fcn.00467d3d
mov ecx, eax
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
mov ecx, dword [ebx + 0xd50]
mov eax, dword [0x4e43a4]
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], eax
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 0x13
test ecx, ecx
mov esi, 0x4dd674
jle 0x456600
mov eax, dword [ebx + 0xd4c]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [eax + ecx*4]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp + 0x10], ecx
call fcn.00415563
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.0049d9c5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x6c]
push eax
call fcn.0041aeef
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.0049d9c5
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
call fcn.00415548
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0049d9c5
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x10]
mov ecx, 0x4e8288
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044e2fe
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x17
call fcn.0049d9c5
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x10]
mov ecx, 0x4e8288
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0044e531
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x18
call fcn.0049d9c5
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
mov eax, dword [ebp + 0x10]
push dword [eax + 0x88]
lea eax, [ebp - 0x5c]
push eax
call fcn.0044c93a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x19
call fcn.0049d9c5
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
call fcn.0049d8d8
mov ecx, dword [ebp + 0x10]
call fcn.00461fb0
test eax, eax
jne 0x4563e4
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xa8], 0
jne 0x4563e4
cmp dword [eax + 0x3c], 0
jne 0x4563e4
push 0x4dd814
jmp 0x4563e9
push 0x4dd818
lea ecx, [ebp - 0x44]
call fcn.0049da15
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push 0x4df250
call fcn.0049d946
push ecx
mov ecx, 0x4e83a0
mov eax, esp
mov dword [ebp - 0x24], esp
push 0
push eax
mov byte [ebp - 4], 0x1a
call fcn.00407bd2
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1b
call fcn.0049d9c5
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push 1
push ecx
lea eax, [ebx + 0x2d4]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0x1c
call fcn.0049d64d
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.0049d9c5
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push 1
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
lea ecx, [ebp - 0x18]
push str..CSW
push ecx
push eax
call fcn.0049db21
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0x1e
call fcn.0049d64d
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1f
call fcn.0049d9c5
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0049db21
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0049dabb
push esi
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x21
push eax
call fcn.0049db21
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x22
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0049dabb
push esi
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x23
push eax
call fcn.0049db21
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x24
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0049dabb
push esi
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x25
push eax
call fcn.0049db21
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x26
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0049dabb
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x27
call fcn.0049d9c5
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x26
call fcn.0049d8d8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x25
call fcn.0049d8d8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x24
call fcn.0049d8d8
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x68]
call fcn.0049d8d8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x22
call fcn.0049d8d8
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x21
call fcn.0049d8d8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x20
call fcn.0049d8d8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push edi
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x20]
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
call fcn.00449df1
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x14]
jl 0x4562c1
mov eax, dword [ebx + 0xd64]
and dword [ebp + 0xc], 0
test eax, eax
mov dword [ebp + 0x14], eax
jle 0x456922
mov eax, dword [ebx + 0xd60]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax + ecx*4]
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00415563
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x28
call fcn.0049d9c5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0041aeef
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x29
call fcn.0049d9c5
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.00415548
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x2a
call fcn.0049d9c5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x10]
mov ecx, 0x4e8288
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0044e2fe
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x2b
call fcn.0049d9c5
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x10]
mov ecx, 0x4e8288
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0044e531
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x2c
call fcn.0049d9c5
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push dword [ebx + 0x88]
lea eax, [ebp - 0x68]
push eax
call fcn.0044c93a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2d
call fcn.0049d9c5
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x4df250
call fcn.0049d946
push ecx
mov ecx, 0x4e83a0
mov eax, esp
mov dword [ebp - 0x40], esp
push 0
push eax
mov byte [ebp - 4], 0x2e
call fcn.00407bd2
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2f
call fcn.0049d9c5
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
mov eax, dword [ebp - 0x80]
push 1
push ecx
add eax, 0x2d4
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0x30
call fcn.0049d64d
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x31
call fcn.0049d9c5
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
lea ecx, [ebp - 0x18]
push str..CSW
push ecx
push eax
call fcn.0049db21
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
mov byte [ebp - 4], 0x32
call fcn.0049d64d
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x13
push eax
call fcn.00447f34
add esp, 0x10
mov byte [ebp - 4], 0x33
push eax
lea ecx, [ebp - 0x14]
call fcn.0049d9c5
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
lea eax, [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0049db21
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x34
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0049dabb
push esi
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x35
push eax
call fcn.0049db21
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x36
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0049dabb
push esi
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x37
push eax
call fcn.0049db21
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x38
push ecx
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0049dabb
push esi
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x39
push eax
call fcn.0049db21
push 0x4dd814
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x3a
push eax
call fcn.0049db21
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x3b
call fcn.0049d9c5
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x3a
call fcn.0049d8d8
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x39
call fcn.0049d8d8
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x38
call fcn.0049d8d8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x37
call fcn.0049d8d8
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x36
call fcn.0049d8d8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x35
call fcn.0049d8d8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x34
call fcn.0049d8d8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x13
call fcn.0049d8d8
push edi
lea ecx, [ebp - 0xf0]
push dword [ebp - 0x20]
call fcn.00467d3d
mov ecx, eax
call fcn.00467dac
call fcn.00449df1
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x80]
jl 0x456615
lea ecx, [ebp - 0xf0]
call fcn.0049240f
mov esi, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
call fcn.0049d64d
call fcn.00446e8e
test eax, eax
pop ecx
jne 0x456958
mov esi, dword [esi]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x456a00
cmp dword [ebx + 0x18], 0
je 0x4569d6
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0049d64d
push ecx
mov byte [ebp - 4], 0x3c
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
call fcn.0049d64d
mov byte [ebp - 4], 0x13
call fcn.004496c2
pop ecx
pop ecx
push 0x4ddbb0
lea ecx, [ebp + 0xc]
call fcn.0049d946
push ecx
lea ecx, [ebp + 0xc]
mov eax, esp
mov dword [ebp + 0x10], esp
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
mov byte [ebp - 4], 0x3d
call fcn.0044ca2c
add esp, 8
mov byte [ebp - 4], 0x3e
mov ecx, esp
mov dword [ebp + 0x14], esp
push esi
call fcn.0049d64d
mov byte [ebp - 4], 0x3d
call fcn.004496c2
pop ecx
mov byte [ebp - 4], 0x13
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push esi
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
mov byte [ebp - 4], 0x3f
call fcn.0049d64d
mov byte [ebp - 4], 0x13
call fcn.0044840a
pop ecx
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.0049d8d8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call fcn.0049d8d8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.0049d8d8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.0049d8d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.0049d8d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0049d8d8
push 1
pop esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00467d08
lea ecx, [ebp - 0xdc]
call fcn.004916aa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10