Function at 0x418134
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc44
xor ecx, ecx
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
call fcn.004039e4
mov eax, dword [ebp - 4]
call fcn.004039e4
xor eax, eax
push ebp
push 0x4184ab
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1d4]
call fcn.00407150
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1d4]
call fcn.0040364c
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 4]
call fcn.00407150
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 4]
call fcn.0040364c
mov eax, dword [ebp - 0x1d4]
call fcn.00406d88
test al, al
je 0x41846a
mov eax, dword [0x448bf4]
cmp dword [eax], 2
jne 0x418235
cmp dword [ebp - 4], 0
je 0x41821b
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_MoveFileExA
push 4
mov eax, dword [ebp - 4]
call fcn.004039f4
push eax
mov eax, dword [ebp - 0x1d4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_MoveFileExA
jmp 0x41846a
push 4
push 0
mov eax, dword [ebp - 0x1d4]
call fcn.004039f4
push eax
call sub.KERNEL32.DLL_MoveFileExA
jmp 0x41846a
lea eax, [ebp - 0x3bc]
call fcn.00419ab0
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3b8]
call fcn.00417968
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1dc]
mov ecx, 0x4184c0
call fcn.0040387c
lea ecx, [ebp - 0x1e0]
mov edx, 0x4184d4
mov eax, dword [ebp - 0x1dc]
call fcn.00406f74
mov eax, dword [ebp - 0x1e0]
call fcn.00417e14
mov byte [ebp - 0x1e5], 0
mov eax, dword [ebp - 0x1dc]
call fcn.00406d88
test al, al
je 0x4182b6
mov byte [ebp - 0x1e5], 1
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1dc]
call fcn.00406ed0
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404d52
lea eax, [ebp - 0x1d0]
call fcn.00404fda
call fcn.00402674
mov byte [ebp - 0x1e6], 0
cmp byte [ebp - 0x1e5], 0
je 0x41840c
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x3b4]
call fcn.00404d52
lea eax, [ebp - 0x3b4]
call fcn.00404fd3
call fcn.00402674
mov byte [ebp - 0x1d5], 0
jmp 0x4183f4
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x3b4]
call fcn.00403c18
lea eax, [ebp - 0x3b4]
call fcn.00404f70
call fcn.00402674
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1e4]
call fcn.004069d0
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1e4]
call fcn.0040364c
cmp dword [ebp - 0x1e4], 0
je 0x41837f
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403bf0
call fcn.004050b3
call fcn.00402674
mov edx, 0x4184e4
mov eax, dword [ebp - 0x1e4]
call fcn.004068dc
test eax, eax
jne 0x41839a
mov byte [ebp - 0x1e6], 1
cmp byte [ebp - 0x1e6], 0
je 0x4183d0
cmp dword [ebp - 0x1e4], 0
je 0x4183c0
lea eax, [ebp - 0x3b4]
call fcn.00404e30
call fcn.00402674
test al, al
je 0x4183d0
cmp byte [ebp - 0x1d5], 0
jne 0x4183d0
push ebp
call fcn.00417e58
pop ecx
cmp dword [ebp - 0x1e4], 0
jne 0x4183f4
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.00403bf0
call fcn.004050b3
call fcn.00402674
lea eax, [ebp - 0x3b4]
call fcn.00404e30
call fcn.00402674
test al, al
je 0x418318
cmp byte [ebp - 0x1e6], 0
jne 0x418436
mov edx, 0x4184e4
lea eax, [ebp - 0x1d0]
call fcn.00403bf0
call fcn.004050b3
call fcn.00402674
push ebp
call fcn.00417e58
pop ecx
cmp byte [ebp - 0x1e5], 0
je 0x41844f
lea eax, [ebp - 0x3b4]
call fcn.00404df4
call fcn.00402674
lea eax, [ebp - 0x1d0]
call fcn.00404df4
call fcn.00402674
mov eax, dword [ebp - 0x1e0]
call fcn.00417e14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4184b2
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.004035d8
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.004035d8
lea eax, [ebp - 0x1d4]
call fcn.004035b4
lea eax, [ebp - 4]
call fcn.004035b4
ret