Function at 0x4aad70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ab4c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4c8176], 0
mov byte [0x4c81ab], 0
mov word [0x4c8202], 0
mov byte [ebp - 0xa], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4ab4b2
mov al, byte [0x4c8087]
mov byte [ebp - 0x13], al
mov al, byte [0x4c8088]
mov byte [ebp - 0x12], al
mov dl, 0x93
mov eax, dword [ebp - 0x10]
call fcn.004b8284
test eax, eax
je 0x4aade5
mov byte [eax], 0x22
jmp 0x4aadd2
mov dl, 0x94
mov eax, dword [ebp - 0x10]
call fcn.004b8284
test eax, eax
je 0x4aadf8
mov byte [eax], 0x22
jmp 0x4aade5
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab4b2
mov edx, dword [0x4bee5c]
mov eax, 0x4ceb90
call fcn.004b81b0
mov edx, dword [0x4bee5c]
add edx, 7
mov eax, 0x4ceb97
call fcn.004b81b0
mov edx, dword [0x4be8e0]
mov eax, dword [ebp - 0x10]
call fcn.004b82a4
test eax, eax
je 0x4aae70
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
mov eax, dword [0x4be8e0]
push eax
push 0x4cf288
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x4ab4b2
mov byte [0x4c812c], 0
jmp 0x4aaede
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
push 0x4ab4dc
push 0x4cf288
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x4ab4b2
mov edx, dword [0x4bee5c]
mov eax, dword [ebp - 0x10]
call fcn.004b82a4
test eax, eax
je 0x4aaeb4
mov byte [0x4c812c], 1
jmp 0x4aaede
mov byte [0x4c812c], 2
mov edx, dword [0x4be4f0]
mov eax, 0x4ceb90
call fcn.004b81b0
mov edx, dword [0x4be4f0]
add edx, 6
mov eax, 0x4ceb97
call fcn.004b81b0
mov eax, 0x4c7fd0
mov edx, 0xd7
call fcn.004066e4
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab4b2
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
mov edx, 0x4cf288
mov eax, 0x4c7fd0
call fcn.004b81b0
mov ebx, 2
mov esi, dword [0x4beb9c]
mov edi, 0x4c800d
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab4b2
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
push esi
push 0x4cf288
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x4ab4b2
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab4b2
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
mov edx, 0x4cf288
mov eax, edi
call fcn.004b81b0
add edi, 0x3d
add esi, 7
dec ebx
jne 0x4aaf2e
mov ebx, 2
mov esi, 0x4ceb90
mov edi, 0x4c8087
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab4b2
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
push esi
push 0x4cf288
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x4ab4b2
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab4b2
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab4b2
push 0x10
push 1
push 0
mov edx, edi
mov eax, 0x4cf288
or ecx, 0xffffffff
call fcn.004b1510
cmp eax, 0x10
jne 0x4ab4b2
add edi, 0x10
add esi, 7
dec ebx
jne 0x4aafa9
cmp byte [0x4c812c], 0
jne 0x4ab03e
mov eax, 0x4c8091
mov ax, word [eax]
mov word [0x4c8202], ax
cmp byte [0x4c812c], 1
jne 0x4ab058
mov eax, 0x4c8095
mov ax, word [eax]
not ax
mov word [0x4c8202], ax
cmp byte [0x4c812c], 2
jne 0x4ab06d
mov al, byte [0x4c8094]
and al, 0xf
mov byte [0x4c812c], al
cmp byte [0x4c812c], 2
jb 0x4ab08c
mov eax, 0x4c8095
mov ax, word [eax]
mov edx, 0x4c8087
xor ax, word [edx]
mov word [0x4c8202], ax
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab0f6
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab0f6
push 0x4ab4e4
push 0x4cf288
call sub.kernel32.dll_lstrcmpiA
test eax, eax
jne 0x4ab0f6
lea eax, [ebp - 0x10]
call fcn.004ac910
test al, al
je 0x4ab0f6
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004aca84
test al, al
je 0x4ab0f6
push 2
push 1
push 0
mov edx, 0x4c8193
mov eax, 0x4cf288
or ecx, 0xffffffff
call fcn.004b1510
dec eax
jl 0x4ab0f6
mov byte [ebp - 0x11], 1
xor esi, esi
xor ebx, ebx
mov eax, 0x4c7fd0
add eax, ebx
movzx eax, byte [eax]
add esi, eax
inc ebx
cmp ebx, 0xd7
jne 0x4ab0fa
movzx eax, word [0x4c8202]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004b849c
mov edx, eax
mov eax, 0x4ceb88
call fcn.004b81b0
mov eax, 0x4ceb88
call fcn.004b8144
xor edx, edx
mov dl, al
cmp byte [edx + 0x4ceb87], 0x30
jne 0x4ab152
mov byte [edx + 0x4ceb87], 0
mov cl, byte [edx + 0x4ceb87]
mov byte [edx + 0x4ceb88], cl
mov cl, byte [edx + 0x4ceb86]
mov byte [edx + 0x4ceb87], cl
mov byte [edx + 0x4ceb86], 0x2e
cmp word [0x4c8202], 0x43a
jb 0x4ab189
cmp byte [0x4c812c], 8
je 0x4ab2c6
mov byte [0x4c7fd0], 0
mov byte [0x4c8087], 0
mov byte [0x4c81ab], 0
cmp byte [ebp - 9], 0
jne 0x4ab1b7
mov ax, word [0x4c66dc]
cmp ax, word [0x4c8202]
je 0x4ab4b2
mov ax, word [0x4c8202]
mov word [0x4c66dc], ax
cmp byte [ebp - 9], 0
je 0x4ab1e8
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.004027e0
mov eax, dword [ebp - 0x1c]
mov edx, 0x4c8224
call fcn.00403320
mov byte [0x4c6710], al
cmp byte [0x4c812c], 8
je 0x4ab212
cmp word [0x4c8202], 0x43a
jb 0x4ab212
mov al, 0x2b
call fcn.004b0608
cmp byte [ebp - 9], 0
jne 0x4ab219
mov byte [0x4c816e], 1
jmp 0x4ab219
mov al, 0x3c
call fcn.004b0608
mov ax, 0x154
call fcn.004aa600
mov edx, eax
mov eax, 0x4cf288
call fcn.004b81b0
mov eax, dword [0x4c4524]
push eax
push 0x4cf288
call sub.kernel32.dll_lstrcatA
push 0x4ab4ec
push 0x4cf288
call sub.kernel32.dll_lstrcatA
push 0x4ceb88
push 0x4cf288
call sub.kernel32.dll_lstrcatA
push 0x4ab4f0
push 0x4cf288
call sub.kernel32.dll_lstrcatA
cmp byte [0x4c812c], 8
je 0x4ab2ac
cmp word [0x4c8202], 0x43a
jb 0x4ab2ac
push 0x4ab4f4
push 0x4cf288
call sub.kernel32.dll_lstrcatA
mov eax, 0x4cf288
call fcn.004ab7d8
mov ax, 0x7f
call fcn.004aa600
push eax
push 0x4cf288
call sub.kernel32.dll_lstrcatA
push 0x1030
mov eax, dword [ebp - 8]
push eax
push 0x4cf288
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x4ab4b2
cmp byte [ebp - 0x11], 0
je 0x4ab33d
mov eax, esi
cmp al, byte [0x4c8193]
je 0x4ab33d
mov ax, 0x2cb
call fcn.004aa600
mov edx, eax
mov eax, 0x4cf288
call fcn.004b81b0
push 0x4ab4fc
push 0x4cf288
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bea18]
push eax
push 0x4cf288
call sub.kernel32.dll_lstrcatA
mov eax, 0x4cf288
mov edx, 3
call fcn.004b12a8
mov eax, 0x4c7fd0
mov edx, 0xd7
call fcn.004066e4
mov word [0x4c8202], 0
mov byte [0x4c81ab], 0
jmp 0x4ab4b2
xor eax, eax
mov al, byte [0x4c8094]
shr eax, 4
mov byte [0x4c81ab], al
mov eax, 0x4c45ac
mov edx, dword [ebp - 4]
call fcn.004b81b0
cmp byte [ebp + 8], 0
jne 0x4ab48c
mov al, byte [ebp - 0x13]
cmp al, byte [0x4c8087]
jne 0x4ab37d
mov al, byte [ebp - 0x12]
cmp al, byte [0x4c8088]
je 0x4ab48c
mov edx, dword [0x4bee88]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.004b82a4
test eax, eax
jne 0x4ab3c5
mov edx, dword [0x4bee88]
mov edx, dword [edx]
mov eax, 0x4c45ac
call fcn.004b81b0
mov eax, 0x4c45ac
call fcn.004ab7d8
mov eax, 0x4c45ac
call fcn.004ab7d8
mov eax, dword [ebp - 4]
push eax
push 0x4c45ac
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x4bea18]
call fcn.004b1c50
mov edx, 0x4cf288
mov eax, 0x4cf4b4
call fcn.004b81b0
push 0x4ab500
push 0x4cf4b4
call sub.kernel32.dll_lstrcatA
mov eax, 0x4cf288
call fcn.004b1914
test al, al
je 0x4ab40a
push 0x4cf4b4
push 0x4cf288
call sub.kernel32.dll_MoveFileA
mov edx, 0x4cf288
mov eax, 0x4cf4b4
call fcn.004b81b0
push 0
push 0x4cf4b4
call sub.kernel32.dll__lcreat
mov ebx, eax
mov eax, 0x4c45ac
call fcn.004b8144
push eax
push 0x4c45ac
push ebx
call sub.kernel32.dll__hwrite
mov dword [0x4c8230], eax
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, 0x4c45ac
call fcn.004b8144
cmp eax, dword [0x4c8230]
jle 0x4ab46a
mov edx, 0x4cf4b4
mov ax, 3
call fcn.004acdac
jmp 0x4ab48c
mov ax, 0x31d
call fcn.004aa600
mov edx, 0x4cf4b4
call fcn.004ae1b0
mov eax, 0x4cf288
mov edx, 4
call fcn.004b12a8
cmp byte [0x4c8087], 0
je 0x4ab4a7
cmp byte [0x4c81ab], 2
jb 0x4ab4a7
cmp byte [0x4c81ab], 6
jbe 0x4ab4ab
xor eax, eax
jmp 0x4ab4ad
mov al, 1
mov byte [0x4c8176], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab4cf
lea eax, [ebp - 0x1c]
call fcn.0040489c
ret