Function at 0x48e02c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x48e034
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e5f5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040af08
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.0048ba64
fstp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
je 0x48e09c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
jle 0x48e5cd
fld qword [ebp - 0x20]
fcomp dword [0x48e604]
fnstsw ax
sahf
jbe 0x48e5cd
mov eax, dword [ebp - 8]
inc dword [eax + 0x1c]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x2c], edx
xor edx, edx
push ebp
push 0x48e5b4
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x44ab28]
call fcn.0044abcc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48e610
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48e61c
lea eax, [ebp - 0x30]
mov edx, 5
call fcn.00404aa0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0044abec
test al, al
jne 0x48e127
mov edx, 7
mov eax, 0x48e62c
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e5cd
push 0
lea eax, [ebp - 0x14]
call fcn.00404710
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov edx, 0x48e650
call fcn.00447718
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00405b0c
cmp eax, 2
jl 0x48e1a1
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00429840
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408b24
mov eax, dword [ebp - 0x34]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 8]
call fcn.00408b24
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00404b2c
jne 0x48e1a1
push 0xffffffffffffffff
mov eax, dword [0x4a4848]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x48e674
call fcn.0043367c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, 0x48e684
call fcn.00404b2c
jne 0x48e22c
push 0
lea ecx, [ebp - 0xd]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov edx, 0x48e69c
call fcn.004473bc
test al, al
je 0x48e1ec
cmp byte [ebp - 0xd], 1
je 0x48e1ec
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov edx, 0x48e69c
call fcn.00447f88
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov edx, 0x48e6dc
call fcn.00404764
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00405b0c
dec eax
test eax, eax
jl 0x48e22c
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
lea eax, [eax + ebx*8 + 4]
mov edx, 0x48e6f0
call fcn.00404764
inc ebx
dec dword [ebp - 0x2c]
jne 0x48e212
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00405b0c
dec eax
test eax, eax
jl 0x48e2f7
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ebx*8 + 4]
lea edx, [ebp - 0x40]
call fcn.0045b400
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x4a43a0]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x44]
call fcn.004297f0
test al, al
je 0x48e2ed
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x48]
mov edx, 1
call fcn.0040930c
test eax, eax
jne 0x48e2e8
push 0x48e710
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
push dword [eax + ebx*8]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404aa0
mov eax, dword [ebp - 0x4c]
mov edx, 7
call fcn.00426b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e5cd
call fcn.004297d8
inc ebx
dec dword [ebp - 0x2c]
jne 0x48e246
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00405b0c
dec eax
test eax, eax
jl 0x48e3b7
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ebx*8 + 4]
lea edx, [ebp - 0x50]
call fcn.0045b400
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x4a43a0]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x54]
call fcn.004297f0
test al, al
je 0x48e3ad
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x58]
call fcn.004096dc
test al, al
jne 0x48e3ad
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x5c]
mov edx, 0x48e72c
call fcn.00404a2c
mov eax, dword [ebp - 0x5c]
mov edx, 7
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e5cd
inc ebx
dec dword [ebp - 0x2c]
jne 0x48e311
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.00405b0c
dec eax
test eax, eax
jl 0x48e555
inc eax
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ebx*8 + 4]
lea edx, [ebp - 0x60]
call fcn.0045b400
mov ecx, dword [ebp - 0x60]
mov edx, dword [0x4a43a0]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x18]
call fcn.004049e0
mov edi, eax
dec edi
test edi, edi
jle 0x48e425
mov esi, 1
mov eax, dword [ebp - 0x18]
cmp byte [eax + esi - 1], 0x2f
jne 0x48e421
lea eax, [ebp - 0x18]
call fcn.00404c38
mov byte [eax + esi - 1], 0x5c
inc esi
dec edi
jne 0x48e40a
mov eax, dword [ebp - 0x18]
call fcn.00429818
test al, al
jne 0x48e46e
mov eax, dword [ebp - 0x18]
call fcn.0045f410
test al, al
jne 0x48e46e
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x18]
mov edx, 0x48e748
call fcn.00404a2c
mov eax, dword [ebp - 0x64]
mov edx, 7
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e5cd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x68]
call fcn.00404be0
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x48e610
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
push dword [eax + ebx*8]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00404aa0
mov eax, dword [ebp - 0x6c]
call fcn.00404be0
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
jne 0x48e52f
push 0x48e76c
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x74]
call fcn.00408f60
push dword [ebp - 0x74]
push 0x48e788
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
push dword [eax + ebx*8]
push 0x48e7a4
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
push dword [eax + ebx*8]
lea eax, [ebp - 0x70]
mov edx, 8
call fcn.00404aa0
mov eax, dword [ebp - 0x70]
mov edx, 7
call fcn.00426b0c
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e5cd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + ebx*8]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x18]
call fcn.00404a2c
mov eax, dword [ebp - 0x78]
call fcn.00428558
inc ebx
dec dword [ebp - 0x2c]
jne 0x48e3d1
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, 4
mov edx, 1
call fcn.00404c40
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x14]
call fcn.00408b24
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00491e74
mov eax, dword [ebp - 8]
mov byte [eax + 0x18], 7
mov eax, dword [ebp - 4]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 4]
call fcn.0048be08
mov eax, dword [ebp - 0xc]
call fcn.00403870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48e5cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e5fc
lea eax, [ebp - 0x7c]
mov edx, 0x14
call fcn.00404734
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404734
ret