Function at 0x47e440
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1388
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x50ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push SysReAllocStringLen
push str.VirtRegSaveWorkKey:_MyRegSaveKeyEx_hRootKey_.8x__KeyName_s__TargetFile_s__ExportDllName_s_
push eax
call fcn.00468700
add esp, 0x18
call fcn.0047c480
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
add esp, 4
test eax, eax
jne 0x47e520
lea eax, [ecx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e4c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e4ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x47e509
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov esi, esp
mov dword [ebp - 0x14], esp
push str.VirtReg.dat
call fcn.004b1a4e
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str._x._x._x._s
push esi
call fcn.00468700
lea ecx, [ebp - 0x10]
add esp, 0x18
push ecx
call fcn.00467e00
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
add esp, 4
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
mov ebx, 5
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 3
call fcn.0047da00
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0xc
mov esi, eax
call edi
push ecx
mov ecx, dword [ebp + 8]
mov edx, esp
mov dword [ebp - 0x1c], esp
push eax
mov eax, dword [ebp - 0x10]
push esi
push eax
push ecx
push str.VirtRegSaveWorkKey:_MyRegSaveKeyEx__s___s__returned__d__LE_d
push edx
call fcn.00468700
add esp, 0x18
call fcn.0047c480
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, 0xfffffff0
test esi, esi
je 0x47e6b3
push ecx
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046bda0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e639
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e65b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e67d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x47e69c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x11
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 7
push SysReAllocStringLen
push ecx
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047d8b0
add esp, 0xc
test eax, eax
jne 0x47e7a0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.VirtRegSaveWorkKey:_timed_out_waiting_for_file_to_become_available
push ecx
call fcn.00468700
add esp, 8
call fcn.0047c480
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e71f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e741
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x47e782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046bda0
mov esi, eax
add esp, 4
test esi, esi
jne 0x47e7da
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
dec ebx
test ecx, ecx
jg 0x47e7a0
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.004700c0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 6
call edi
mov edx, dword [esi]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push str.VirtRegSaveWorkKey:_KillFile__s__s__LE_d
push ecx
call fcn.00468700
add esp, 0x14
call fcn.0047c480
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e838
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
call edi
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov eax, dword [ebp - 0x10]
test esi, esi
jne 0x47e8ac
push edx
push eax
push str._VirtRegSaveWorkKey:_MoveFile__s___s___failed__LE_d
push ecx
call fcn.00468700
add esp, 0x14
call fcn.0047c480
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046bda0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x47e713
push esi
push edx
push eax
push str.VirtRegSaveWorkKey:_MoveFile__s___s__d__LE_d
push ecx
call fcn.00468700
add esp, 0x18
call fcn.0047c480
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.VirtRegSaveWorkKey:_MyRegSaveKeyEx_success
push ecx
call fcn.00468700
add esp, 8
call fcn.0047c480
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47e8ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x47e962
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret