Function at 0x46d450
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0xd8]
sub esp, 0xd8
push 0xffffffffffffffff
push 0x4b2779
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e4050]
xor eax, ebp
mov dword [ebp + 0xd4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.0046d8a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040eec0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
lea ecx, [ecx - 0x10]
call fcn.004027f0
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
or edi, 0xffffffff
cmp byte [ebp - 0xd], 0
je 0x46d510
lea ecx, [ebp - 0x18]
call fcn.0046d9a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push eax
call fcn.00408f80
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d4f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x14]
call fcn.0040eec0
test al, al
jne 0x46d891
push dword [ebp - 0x18]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.0046e5d0
add esp, 4
mov byte [ebp - 4], 5
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword fs:[0x2c]
mov esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [ecx]
mov ecx, dword [0x4e69b8]
mov dword [ebp - 0x18], eax
cmp ecx, dword [eax + 4]
jle 0x46d59c
push 0x4e69b8
call fcn.0047df4a
add esp, 4
cmp dword [0x4e69b8], 0xffffffff
jne 0x46d59c
mov byte [ebp - 4], 6
push str.SetSearchPathMode
push esi
call ebx
mov dword [0x4e69bc], eax
mov byte [ebp - 4], 5
push 0x4e69b8
call fcn.0047df00
add esp, 4
mov eax, dword [0x4e69bc]
test eax, eax
je 0x46d5ac
push 0x8001
call eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4e69c0]
cmp eax, dword [ecx + 4]
jle 0x46d5f4
push 0x4e69c0
call fcn.0047df4a
add esp, 4
cmp dword [0x4e69c0], 0xffffffff
jne 0x46d5f4
mov byte [ebp - 4], 7
push str.SetDllDirectory
push esi
call ebx
mov dword [0x4e69c4], eax
mov byte [ebp - 4], 5
push 0x4e69c0
call fcn.0047df00
add esp, 4
mov eax, dword [0x4e69c4]
test eax, eax
je 0x46d604
push 0x4c4068
call eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4e69c8]
cmp eax, dword [ecx + 4]
jle 0x46d64c
push 0x4e69c8
call fcn.0047df4a
add esp, 4
cmp dword [0x4e69c8], 0xffffffff
jne 0x46d64c
mov byte [ebp - 4], 8
push str.SetDefaultDllDirectories
push esi
call ebx
mov dword [0x4e69cc], eax
mov byte [ebp - 4], 5
push 0x4e69c8
call fcn.0047df00
add esp, 4
mov eax, dword [0x4e69cc]
test eax, eax
je 0x46d65c
push 0x800
call eax
mov dword [ebp], str.psapi.dll
lea esi, [ebp]
mov dword [ebp + 4], str.WindowsCodecs.dll
mov dword [ebp + 8], str.bcrypt.dll
mov dword [ebp + 0xc], str.msi.dll
mov dword [ebp + 0x10], str.USP10.dll
mov dword [ebp + 0x14], str.msls31.dll
mov dword [ebp + 0x18], str.version.dll
mov dword [ebp + 0x1c], str.mpr.dll
mov dword [ebp + 0x20], str.uxtheme.dll
mov dword [ebp + 0x24], str.profapi.dll
mov dword [ebp + 0x28], str.gdiplus.dll
mov dword [ebp + 0x2c], str.userenv.dll
mov dword [ebp + 0x30], str.dwmapi.dll
mov dword [ebp + 0x34], str.davhlpr.dll
mov dword [ebp + 0x38], 0x4ca0d4
mov dword [ebp + 0x3c], str.oleaut32.dll
mov dword [ebp + 0x40], str.comctl32.dll
mov dword [ebp + 0x44], str.shell32.dll
mov dword [ebp + 0x48], str.advapi32.dll
mov dword [ebp + 0x4c], str.gdi32.dll
mov dword [ebp + 0x50], str.user32.dll
mov dword [ebp + 0x54], str.comdlg32.dll
mov dword [ebp + 0x58], str.msimg32.dll
mov dword [ebp + 0x5c], str.dbghelp.dll
mov dword [ebp + 0x60], str.version.dll
mov dword [ebp + 0x64], str.wininet.dll
mov dword [ebp + 0x68], str.urlmon.dll
mov dword [ebp + 0x6c], str.mpr.dll
mov dword [ebp + 0x70], str.uxtheme.dll
mov dword [ebp + 0x74], str.msi.dll
mov dword [ebp + 0x78], str.gdiplus.dll
mov dword [ebp + 0x7c], str.cabinet.dll
mov dword [ebp + 0x80], 0x4c43c0
mov dword [ebp + 0x84], 0x4ca714
mov dword [ebp + 0x88], str.rsaenh.dll
mov dword [ebp + 0x8c], str.apphelp.dll
mov dword [ebp + 0x90], str.msasn1.dll
mov dword [ebp + 0x94], str.crypt32.dll
mov dword [ebp + 0x98], str.wintrust.dll
mov dword [ebp + 0x9c], str.shlwapi.dll
mov dword [ebp + 0xa0], str.lpk.dll
mov dword [ebp + 0xa4], str.setupapi.dll
mov dword [ebp + 0xa8], str.usp10.dll
mov dword [ebp + 0xac], str.msihnd.dll
mov dword [ebp + 0xb0], str.shcore.dll
mov dword [ebp + 0xb4], str.cryptsp.dll
mov dword [ebp + 0xb8], str.secur32.dll
mov dword [ebp + 0xbc], str.samcli.dll
mov dword [ebp + 0xc0], str.ws2_32.dll
mov dword [ebp + 0xc4], str.netapi32.dll
mov dword [ebp + 0xc8], str.netutils.dll
mov dword [ebp + 0xcc], str.srvcli.dll
mov dword [ebp + 0xd0], str.wkscli.dll
mov ecx, dword [esi]
call fcn.00407d30
add esi, 4
lea eax, [ebp + 0xd4]
cmp esi, eax
jne 0x46d811
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.0046e420
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d84f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46d86e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd4]
xor ecx, ebp
call fcn.0047dde6
lea esp, [ebp + 0xd8]
pop ebp
ret
push 0xe1
call fcn.0048a985
int3