Function at 0x416b50
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x49e438
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x94], ebx
call fcn.00416190
mov dword [esp + 0x2c], ebx
call fcn.0040fdd0
test al, al
je 0x416c1b
push str.kernel32
mov byte [esp + 0x1b], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x416bfd
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x416bf0
lea ecx, [esp + 0x2c]
push ecx
call eax
test eax, eax
setne byte [esp + 0x17]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [esp + 0x17], bl
jne 0x416c1b
lea ebx, [esp + 0x1c]
mov dword [esp + 0x94], 0xffffffff
call fcn.004191a0
mov eax, 5
jmp 0x416f77
lea edx, [esp + 0x1c]
push edx
push ebp
mov ecx, edi
call fcn.00415f90
mov esi, eax
cmp esi, ebx
je 0x416c49
lea ebx, [esp + 0x1c]
mov dword [esp + 0x94], 0xffffffff
call fcn.004191a0
mov eax, esi
jmp 0x416f77
lea eax, [esp + 0x1c]
push eax
call fcn.00416ad0
test al, al
je 0x416d9d
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
je 0x416ece
add edi, 0xc
mov ebp, 7
mov eax, dword [edi]
xor ecx, ecx
mov word [esp + 0x4c], cx
mov ecx, eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x416c87
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x50]
call fcn.0040ca50
mov byte [esp + 0x94], 1
xor edx, edx
mov word [esp + 0x30], dx
push ebx
or eax, 0xffffffff
mov ecx, esi
lea edx, [esp + 0x34]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
call fcn.0040c720
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 2
call fcn.00474fa0
push eax
mov byte [esp + 0x98], 3
call fcn.00474630
mov esi, 8
add esp, 4
mov byte [esp + 0x94], 2
cmp dword [esp + 0x7c], esi
jb 0x416d0d
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
mov byte [esp + 0x94], 1
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
cmp dword [esp + 0x44], esi
jb 0x416d37
mov eax, dword [esp + 0x30]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov byte [esp + 0x94], bl
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
cmp dword [esp + 0x60], esi
jb 0x416d60
mov edx, dword [esp + 0x4c]
push edx
call fcn.0047fe1e
add esp, 4
mov eax, dword [edi]
mov ecx, dword [edi - 4]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push eax
push ecx
call esi
test eax, eax
jne 0x416d88
mov eax, dword [edi]
mov ecx, dword [edi - 4]
push 5
push eax
push ecx
call esi
mov eax, dword [esp + 0x18]
mov byte [eax + 0xc], 1
add edi, 0x10
lea ecx, [edi - 0xc]
cmp ecx, dword [esp + 0x20]
jne 0x416c71
jmp 0x416ece
mov edx, dword [esp + 0x20]
mov byte [ebp + 0xc], 1
cmp dword [esp + 0x1c], edx
je 0x416ece
mov edi, dword [esp + 0x1c]
add edi, 0xc
mov ebp, 7
jmp 0x416dc0
mov eax, dword [edi]
xor ecx, ecx
mov word [esp + 0x4c], cx
mov ecx, eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x416dd6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x50]
call fcn.0040ca50
mov byte [esp + 0x94], 4
xor edx, edx
mov word [esp + 0x30], dx
push ebx
or eax, 0xffffffff
mov ecx, esi
lea edx, [esp + 0x34]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
call fcn.0040c720
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 5
call fcn.00474fa0
push eax
mov byte [esp + 0x98], 6
call fcn.00474630
mov esi, 8
add esp, 4
mov byte [esp + 0x94], 5
cmp dword [esp + 0x7c], esi
jb 0x416e5c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047fe1e
add esp, 4
xor edx, edx
mov byte [esp + 0x94], 4
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
cmp dword [esp + 0x44], esi
jb 0x416e86
mov eax, dword [esp + 0x30]
push eax
call fcn.0047fe1e
add esp, 4
xor ecx, ecx
mov byte [esp + 0x94], bl
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], cx
cmp dword [esp + 0x60], esi
jb 0x416eaf
mov edx, dword [esp + 0x4c]
push edx
call fcn.0047fe1e
add esp, 4
mov eax, dword [edi]
mov ecx, dword [edi - 4]
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add edi, 0x10
lea eax, [edi - 0xc]
cmp eax, dword [esp + 0x20]
jne 0x416dc0
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x416f42
push str.IsWow64Process
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, ebx
je 0x416f03
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call edi
cmp dword [esp + 0x18], ebx
setne al
cmp al, bl
je 0x416f42
mov ebp, dword [esp + 0x2c]
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x416f42
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x416f3f
push ebp
call eax
push esi
call edi
mov dword [esp + 0x94], 0xffffffff
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x416f75
mov ebx, dword [esp + 0x20]
mov esi, edi
cmp edi, ebx
je 0x416f6c
nop
call fcn.00416a50
add esi, 0x10
cmp esi, ebx
jne 0x416f60
push edi
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0047fe29
add esp, 0x84
ret 4