Function at 0x4cbbb0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc44
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4cbf58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e4764]
cmp dword [eax], 2
je 0x4cbef8
mov edx, dword [0x4e4164]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x4cbf70
call fcn.0040545c
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], 0
xor eax, eax
push ebp
push 0x4cbeb4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cbea3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004cb8fc
test al, al
je 0x4cbc8f
lea ecx, [ebp - 8]
mov eax, dword [0x4e4164]
mov eax, dword [eax]
mov edx, 0x4cbf88
call fcn.004cba14
mov eax, dword [ebp - 4]
call fcn.00405610
push eax
push 0
push 0
push 0
call sub.kernel32.dll_WritePrivateProfileStringA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1e8]
call fcn.00403434
mov eax, dword [0x4e45d4]
mov byte [eax], 0x20
lea eax, [ebp - 0x1e8]
call fcn.004031c4
call fcn.00402cec
mov byte [ebp - 9], 1
jmp 0x4cbc9a
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004051d8
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x3b4]
call fcn.00403434
mov eax, dword [0x4e45d4]
mov byte [eax], 0x11
lea eax, [ebp - 0x3b4]
call fcn.004031d0
call fcn.00402cec
mov byte [ebp - 0xa], 1
mov byte [ebp - 0x15], 0
xor ebx, ebx
cmp byte [ebp - 9], 0
je 0x4cbd78
jmp 0x4cbd60
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x1e8]
call fcn.00403970
lea eax, [ebp - 0x1e8]
call fcn.004039dc
call fcn.00402cec
mov bl, 1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004097fc
cmp dword [ebp - 0x14], 0
je 0x4cbd46
mov eax, 1
mov edx, dword [ebp - 0x14]
dec eax
test edx, edx
je 0x4cbd1c
cmp eax, dword [edx - 4]
jb 0x4cbd21
call fcn.0040422c
inc eax
cmp byte [edx + eax - 1], 0x5b
jne 0x4cbd46
mov edx, 0x4cbf98
mov eax, dword [ebp - 0x10]
call fcn.00409674
test eax, eax
jne 0x4cbd40
mov byte [ebp - 0x15], 1
jmp 0x4cbd46
cmp byte [ebp - 0x15], 0
jne 0x4cbd78
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x3b4]
call fcn.00405800
call fcn.00403d24
call fcn.00402cec
xor ebx, ebx
lea eax, [ebp - 0x1e8]
call fcn.0040377c
call fcn.00402cec
test al, al
je 0x4cbcd9
cmp byte [ebp - 0x15], 0
jne 0x4cbd98
mov edx, 0x4cbf98
lea eax, [ebp - 0x3b4]
call fcn.00405800
call fcn.00403d24
call fcn.00402cec
test esi, esi
je 0x4cbda8
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004cbb54
jmp 0x4cbdb5
lea eax, [ebp - 0x14]
mov edx, 0x4cbfac
call fcn.004051d8
push dword [ebp - 0x14]
push 0x4cbfb8
lea edx, [ebp - 0x3bc]
mov eax, edi
call fcn.004cbb54
push dword [ebp - 0x3bc]
lea eax, [ebp - 0x3b8]
mov edx, 3
call fcn.004054d0
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x3b4]
call fcn.00405800
call fcn.00403d24
call fcn.00402cec
cmp byte [ebp - 9], 0
je 0x4cbe69
test bl, bl
je 0x4cbe55
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x3b4]
call fcn.00405800
call fcn.00403d24
call fcn.00402cec
jmp 0x4cbe55
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x1e8]
call fcn.00403970
lea eax, [ebp - 0x1e8]
call fcn.004039dc
call fcn.00402cec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x3b4]
call fcn.00405800
call fcn.00403d24
call fcn.00402cec
lea eax, [ebp - 0x1e8]
call fcn.0040377c
call fcn.00402cec
test al, al
je 0x4cbe1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbeaa
cmp byte [ebp - 0xa], 0
je 0x4cbe8c
lea eax, [ebp - 0x3b4]
call fcn.004035d8
call fcn.00402cec
cmp byte [ebp - 9], 0
je 0x4cbea2
lea eax, [ebp - 0x1e8]
call fcn.004035d8
call fcn.00402cec
ret
test esi, esi
je 0x4cbf08
mov eax, esi
call fcn.00405610
mov dword [ebp - 0x1c], eax
jmp 0x4cbf0d
xor eax, eax
mov dword [ebp - 0x1c], eax
push 5
mov eax, dword [ebp - 0x1c]
push eax
mov eax, edi
call fcn.00405610
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbf5f
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405164
ret