Function at 0x4271d2
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x6066e4
call fcn.00465b38
sub esp, 0x590
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc88], 0
jne 0x42752e
mov ebx, 0x69dd10
mov ecx, ebx
call fcn.004132c8
test eax, eax
jne 0x427210
cmp dword [esi + 0xd20], eax
jne 0x42752e
mov edi, 0x69dc58
lea ecx, [ebp - 0x10]
push edi
call fcn.005ece05
and dword [ebp - 4], 0
push edi
lea ecx, [ebp - 0x14]
call fcn.005ece05
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 1
call fcn.004011aa
push 0x66a230
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00484450
push str.OeaSandBoxConfig.ini
lea ecx, [ebp - 0x2c]
call fcn.004816b0
cmp dword [esi + 0xd20], 0
je 0x427290
lea eax, [ebp - 0x28]
mov ecx, 0x69de38
push eax
call fcn.0040cfd7
push dword [ebp - 0x2c]
mov eax, dword [eax]
lea ecx, [esi + 0xd2c]
mov byte [ebp - 4], 3
push eax
call fcn.0044f2a2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00480a70
lea ecx, [esi + 0xd2c]
call fcn.0044dcb8
test eax, eax
je 0x42784d
mov eax, dword [esi + 0xcac]
cmp eax, dword [0x66fed0]
je 0x4272e0
push 0xbd
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0x67
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 4
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
cmp eax, 7
je 0x42750a
push edi
lea ecx, [ebp - 0x24]
call fcn.005ece05
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.005ece05
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20]
push dword [esi + 0x5c]
push str._s__08x.oeax
push eax
call fcn.005e20b1
mov eax, dword [esi + 0x5c]
add esp, 0x10
xor edi, edi
push edi
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x2c]
lea ecx, [esi + 0xd2c]
push dword [ebp - 0x20]
call fcn.0044de8e
test eax, eax
je 0x427821
mov eax, dword [esi + 0x5c]
push 1
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x427381
push 0xbe
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push dword [ebp - 0x10]
push eax
call fcn.005e20b1
add esp, 0xc
mov ecx, esi
push edi
push edi
push dword [ebp - 0x24]
call fcn.005ea6ed
jmp 0x427821
cmp dword [esi + 0x64], edi
je 0x4274bb
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0041ae44
push dword [eax]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00480200
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.005ecd91
lea ecx, [ebp - 0x58]
call fcn.0042aaff
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.0042ac05
test eax, eax
jne 0x427408
cmp dword [0x6a3388], edi
je 0x4273eb
push str.CheckAndSaveModifyFile__1
push str.ipg4346
push 4
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x10
push 0xfffffffffffffffe
lea ecx, [ebp - 0x58]
push dword [ebp - 0x1c]
call fcn.0042ac6f
lea ecx, [ebp - 0x58]
call fcn.0042ac01
test eax, eax
je 0x427542
mov word [ebp - 0x260], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x260]
push 0x104
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1c]
push str..tmp.exe
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004811d0
push dword [eax]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.005ece05
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call fcn.00480a70
mov eax, dword [esi + 0x5c]
push 2
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004517c9
add esp, 0x10
test eax, eax
je 0x427565
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x427754
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.005ecd91
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.0042abc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00480a70
push dword [ebp + 8]
mov eax, dword [esi + 0x5c]
xor edi, edi
mov ecx, esi
push edi
push edi
push eax
call fcn.00422a0d
push 0xbb
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0x67
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push edi
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.005ecd91
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005ecd91
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00480a70
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005ecd91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
cmp dword [0x6a3388], edi
je 0x427599
push str.CheckAndSaveModifyFile____1
push str.ipg4346
push 4
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x10
jmp 0x427599
cmp dword [0x6a3388], edi
je 0x42758d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CheckAndSaveModifyFile_1__error_lu
push str.ipg4346
push 4
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x14
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.005ecd91
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.0042abc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00480a70
and word [ebp - 0x260], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x260]
push 0x104
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
call fcn.0041ae44
push str..tmp.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xd
push eax
call fcn.005ed036
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.005ecd91
push 0x10a
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0xc2
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 4
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
cmp eax, 6
jne 0x427815
push 0x671094
lea ecx, [ebp - 0x28]
call fcn.00480200
push str.exe_files__.exe_.exe
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00480200
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x11
call fcn.0041ae44
push dword [eax]
mov byte [ebp - 4], 0x12
call fcn.00452930
pop ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00480200
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x14
call fcn.005ecd91
push edi
lea ecx, [ebp - 0x59c]
push dword [ebp - 0x30]
push 6
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push edi
call fcn.005e245c
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x15
call fcn.005e25c3
cmp eax, 1
jne 0x4277d3
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x59c]
push eax
call fcn.005e26ab
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x16
call fcn.005eced8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call fcn.005ecd91
mov eax, dword [esi + 0x5c]
push 2
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004517c9
add esp, 0x10
test eax, eax
je 0x4277cd
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 0x19
call fcn.005ecd91
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x14
call fcn.005e809e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00480a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00480a70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00480a70
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.005ecd91
jmp 0x4274bb
cmp dword [0x6a3388], edi
je 0x42777c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CheckAndSaveModifyFile_2__error_lu
push str.ipg4346
push 4
push 0x6a2af4
call fcn.004cdcb0
add esp, 0x14
push 0xbe
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push dword [ebp - 0x10]
push eax
call fcn.005e20b1
add esp, 0xc
mov ecx, esi
push edi
push edi
push dword [ebp - 0x24]
call fcn.005ea6ed
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.005ecd91
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.0042abc8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00480a70
jmp 0x427821
mov byte [ebp - 4], 0x17
jmp 0x4277d7
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x4f0]
call fcn.005ecd91
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x14
call fcn.005e809e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.00480a70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00480a70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.00480a70
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.005ecd91
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.005ecd91
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.005ecd91
push 0xbc
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0xc2
jmp 0x427866
cmp dword [ebp + 8], 0
je 0x42750a
push 0x43c
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0x67
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 0
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
jmp 0x42750a