Function at 0x48da98
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x48daa0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004044f8
xor eax, eax
push ebp
push 0x48dd4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
call fcn.00404308
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x48daf6
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404308
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404568
xor eax, eax
push ebp
push 0x48dd1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x492f7c]
mov eax, dword [eax + 0x35c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x48dc4b
inc ebx
xor esi, esi
lea ecx, [ebp - 0xc]
mov eax, dword [0x492f7c]
mov eax, dword [eax + 0x35c]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x492f80]
call fcn.00404354
mov eax, dword [ebp - 0x10]
call fcn.00408704
test al, al
je 0x48db5c
mov eax, dword [ebp - 0x10]
call fcn.00408950
push dword [0x492f80]
push dword [0x492f84]
push 0x48dd68
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004043c8
mov eax, dword [ebp - 0x14]
call fcn.00408704
test al, al
je 0x48dc43
mov eax, dword [ebp - 0x10]
call fcn.00404508
push eax
push dword [0x492f80]
push dword [0x492f84]
push 0x48dd68
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004043c8
mov eax, dword [ebp - 0x18]
call fcn.00404508
push eax
call sub.KERNEL32.DLL_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x48dc43
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.004089e8
push dword [ebp - 0x20]
push 0x48dd74
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.00408a70
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004043c8
mov eax, dword [ebp - 0x1c]
call fcn.00404508
push eax
push dword [0x492f80]
push dword [0x492f84]
push 0x48dd68
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004043c8
mov eax, dword [ebp - 0x28]
call fcn.00404508
push eax
call sub.KERNEL32.DLL_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x48dc43
mov byte [ebp - 5], 0
inc esi
dec ebx
jne 0x48db22
mov eax, dword [0x492f7c]
mov eax, dword [eax + 0x354]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x48dd11
inc ebx
xor esi, esi
lea ecx, [ebp - 0xc]
mov eax, dword [0x492f7c]
mov eax, dword [eax + 0x354]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [0x492f80]
push dword [0x492f84]
push 0x48dd68
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.004043c8
mov eax, dword [ebp - 0x2c]
call fcn.00408714
test al, al
je 0x48dd09
push dword [ebp - 4]
push 0x48dd68
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004043c8
mov eax, dword [ebp - 0x30]
call fcn.00404508
push eax
push dword [0x492f80]
push dword [0x492f84]
push 0x48dd68
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004043c8
mov eax, dword [ebp - 0x34]
call fcn.00404508
push eax
call sub.KERNEL32.DLL_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x48dd09
mov byte [ebp - 5], 0
inc esi
dec ebx
jne 0x48dc69
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48dd29
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dd53
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040406c
lea eax, [ebp - 4]
call fcn.00404048
ret