Function at 0x47fad0
Capabilities:
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1938
call fcn.00471dd0
mov dword [ebp - 0x1910], 0
cmp dword [0x7b5ee8], 0x225
jne 0x47fafd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp dword [0x7b5ee8], 0x177
jne 0x47fbc1
push 0x7b57f0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xe12
jne 0x47fbc1
push 0
push 0
call dword [sym.imp.USER32.dll_GetAncestor]
mov eax, dword [0x457bdc]
mov dword [ebp - 0x4b0], eax
push 0x3fc
push 0
lea ecx, [ebp - 0x4ac]
push ecx
call fcn.0046b410
add esp, 0xc
lea edx, [ebp - 0xb0]
mov dword [ebp - 0xac], edx
push 1
push 3
lea ecx, [ebp - 0xa8]
call fcn.0045b070
push 0x457d3c
lea ecx, [ebp - 0x98]
call fcn.0045a790
push 0x457de0
lea ecx, [ebp - 0x98]
call fcn.0045a790
lea ecx, [ebp - 0x48]
call fcn.0045b130
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1938], eax
mov ecx, dword [ebp - 0x1938]
mov dword [ecx], 0x45815c
mov edx, dword [ebp - 0x1938]
mov dword [edx], 0x458154
mov eax, dword [ebp - 0x1938]
push eax
call fcn.00460c00
add esp, 4
mov dword [ebp - 0x4b4], 0
jmp 0x47fbdc
mov ecx, dword [ebp - 0x4b4]
add ecx, 1
mov dword [ebp - 0x4b4], ecx
cmp dword [ebp - 0x4b4], 0xe56f91
jge 0x47fc3f
cmp dword [ebp - 0x4b4], 0x492
jne 0x47fc02
mov edx, dword [0x488a20]
mov dword [0x7b5ee8], edx
jmp 0x47fc3f
cmp dword [0x7b5ee8], 0xf
jne 0x47fc3d
push 0
lea eax, [ebp - 0xcb8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea ecx, [ebp - 0x10b8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0x457de8
push 0x457e2c
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x47fbcd
mov dword [ebp - 0x10bc], 0
jmp 0x47fc5a
mov edx, dword [ebp - 0x10bc]
add edx, 1
mov dword [ebp - 0x10bc], edx
cmp dword [ebp - 0x10bc], 0xbfe70d
jge 0x47fcbc
cmp dword [ebp - 0x10bc], 0x57f
jge 0x47fc7a
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x7b5ee8], 0x6b
jne 0x47fcb0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
lea eax, [ebp - 0x10ec]
push eax
lea ecx, [ebp - 0x18f0]
push ecx
push 0
push 0x457e54
push 0x457e7c
push 0x457e9c
call dword [sym.imp.KERNEL32.dll_SearchPathW]
mov dword [0x7ad93c], 0
jmp 0x47fc4b
mov dword [ebp - 0x18f4], 0
jmp 0x47fcd7
mov edx, dword [ebp - 0x18f4]
add edx, 1
mov dword [ebp - 0x18f4], edx
cmp dword [ebp - 0x18f4], 0x47e7cf
jge 0x47fd00
cmp dword [ebp - 0x18f4], 0x3fa
jne 0x47fcfe
mov eax, dword [0x7b5ee8]
add eax, 0x12336
mov dword [0x7b5ee8], eax
jmp 0x47fcc8
call fcn.0047f260
mov dword [ebp - 0x18f8], 0
jmp 0x47fd20
mov ecx, dword [ebp - 0x18f8]
add ecx, 1
mov dword [ebp - 0x18f8], ecx
cmp dword [ebp - 0x18f8], 0x28f02
jge 0x47fd45
cmp dword [0x7b5ee8], 0x105
jne 0x47fd43
push 0x457ed8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x47fd11
mov dword [ebp - 0x18fc], 0
jmp 0x47fd60
mov edx, dword [ebp - 0x18fc]
add edx, 1
mov dword [ebp - 0x18fc], edx
cmp dword [ebp - 0x18fc], 0xe5fbc
jge 0x47fd98
cmp dword [0x7b5ee8], 0x9e2
jne 0x47fd80
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp dword [ebp - 0x18fc], 0x3b22
jne 0x47fd96
mov eax, dword [0x488a14]
mov dword [0x7b5eec], eax
jmp 0x47fd51
mov dword [ebp - 0x1900], 0
jmp 0x47fdb3
mov ecx, dword [ebp - 0x1900]
add ecx, 1
mov dword [ebp - 0x1900], ecx
mov edx, dword [ebp - 0x1900]
cmp edx, dword [0x7b5ee8]
jae 0x47fde5
mov eax, dword [ebp - 0x1900]
push eax
call fcn.0047f3a0
cmp dword [0x7b5ee8], 0x22
jne 0x47fde3
lea ecx, [ebp - 0x1904]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x47fda4
mov dword [ebp - 0x1908], 0
jmp 0x47fe00
mov edx, dword [ebp - 0x1908]
add edx, 1
mov dword [ebp - 0x1908], edx
cmp dword [ebp - 0x1908], 0xe96350
jge 0x47fe0e
jmp 0x47fdf1
mov dword [ebp - 0x190c], 0
jmp 0x47fe29
mov eax, dword [ebp - 0x190c]
add eax, 1
mov dword [ebp - 0x190c], eax
cmp dword [ebp - 0x190c], 0x3dc4a3
jge 0x47fe45
cmp dword [ebp - 0x190c], 0x26
jne 0x47fe43
call fcn.0047f280
jmp 0x47fe1a
call fcn.0047f8d0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10