Function at 0x48bf30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f09d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53d100]
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.00478210
add esp, 0x18
call fcn.0048a3a0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
add esp, 4
test eax, eax
jne 0x48c010
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 0x48bfb8
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 0x48bfda
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 0x48bff9
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.004cf4ef
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.00478210
lea ecx, [ebp - 0x10]
add esp, 0x18
push ecx
call fcn.004778e0
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.0042541f
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.0042541f
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.0042541f
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 3
call fcn.0048b390
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.00478210
add esp, 0x18
call fcn.0048a3a0
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, 0xfffffff0
test esi, esi
je 0x48c1a3
push ecx
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047b7b0
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 0x48c129
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 0x48c14b
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 0x48c16d
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 0x48c18c
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.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0048b240
add esp, 0xc
test eax, eax
jne 0x48c290
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.00478210
add esp, 8
call fcn.0048a3a0
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 0x48c20f
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 0x48c231
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 0x48c253
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 0x48c272
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.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047b7b0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48c2ca
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
dec ebx
test ecx, ecx
jg 0x48c290
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.0047f740
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.00478210
add esp, 0x14
call fcn.0048a3a0
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 0x48c328
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 0x48c39c
push edx
push eax
push str._VirtRegSaveWorkKey:_MoveFile__s___s___failed__LE_d
push ecx
call fcn.00478210
add esp, 0x14
call fcn.0048a3a0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.0042541f
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0047b7b0
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 0x48c203
push esi
push edx
push eax
push str.VirtRegSaveWorkKey:_MoveFile__s___s__d__LE_d
push ecx
call fcn.00478210
add esp, 0x18
call fcn.0048a3a0
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.VirtRegSaveWorkKey:_MyRegSaveKeyEx_success
push ecx
call fcn.00478210
add esp, 8
call fcn.0048a3a0
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 0x48c3ef
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 0x48c411
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 0x48c433
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 0x48c452
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