Function at 0x4d5720
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9529
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x178]
mov edi, dword [ebp + 0xc]
push eax
call fcn.00494450
mov ecx, eax
call fcn.00494120
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x17c]
mov ecx, SysReAllocString
add edx, 0x7c
mov dword [ebp - 4], 0
sub ecx, dword [edx + 0x10]
cmp ecx, 6
jb 0x4d5cd1
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4d579d
mov eax, dword [edx]
push dword [edx + 0x10]
lea ecx, [ebp - 0x58]
push eax
push 6
push 0x5e5ae0
push edx
push dword [ebp - 0x180]
call fcn.00441df0
push 0xa
push str.___LOCALE
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00437440
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x180]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x40]
call fcn.00441c60
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xb8]
call fcn.004890e0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4d5853
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5849
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5cd6
push edx
push ecx
call fcn.004ece5f
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4d589d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5893
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5cd6
push edx
push ecx
call fcn.004ece5f
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4d58d5
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d58cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5cd6
push edx
push ecx
call fcn.004ece5f
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 8
call fcn.00419a70
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x4d599f
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4d5cdb
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4d591b
mov eax, dword [edi]
push ecx
push eax
push 1
push 0x5deb2c
push edi
push dword [ebp - 0x180]
lea ecx, [ebp - 0x28]
call fcn.00441df0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x118]
call fcn.004890e0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xb8]
call fcn.00489b60
lea ecx, [ebp - 0x118]
call fcn.00419a70
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4d599f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5995
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5ce0
push edx
push ecx
call fcn.004ece5f
add esp, 8
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4d59f1
cmp dword [ebp - 0xa4], 0x10
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x180], esi
cmovae edx, dword [ebp - 0xb8]
cmp dword [esi + 0x14], 0x10
jb 0x4d59d7
mov eax, dword [esi]
mov dword [ebp - 0x180], eax
mov eax, dword [ecx]
push edx
push dword [ebp - 0x180]
push str.INFO:_NSISPackageLauncher::InstallPackage_for__s_args____s_n
push ecx
call dword [eax]
mov eax, dword [ebp - 0x17c]
add esp, 0x10
cmp byte [ebp + 0x10], 0
mov ecx, dword [eax + 0xdc]
mov dword [ebp - 0x184], 0
je 0x4d5b8d
test ecx, ecx
je 0x4d5a1c
mov eax, dword [ecx]
push str.INFO:_NSISPackageLauncher::InstallPackage_executing_using_legacy_Vista_7_n
push ecx
call dword [eax]
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x4d5ce5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4d5a39
mov eax, dword [esi]
push 4
push 0x5e5b74
push ecx
push eax
push esi
push dword [ebp - 0x180]
lea ecx, [ebp - 0x28]
call fcn.00441df0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x118]
call fcn.004890e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x4d5a9c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5cea
push edx
push ecx
call fcn.004ece5f
add esp, 8
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00489710
push eax
mov ecx, esi
call fcn.00489710
push eax
call fcn.00501097
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
add esp, 8
mov dword [ebp - 0x1a8], 0
lea ecx, [ebp - 0x118]
movlpd qword [ebp - 0x1a0], xmm0
movlpd qword [ebp - 0x198], xmm0
movlpd qword [ebp - 0x190], xmm0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x1c0], 0x3c
mov dword [ebp - 0x1bc], 0x40
call fcn.00489710
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1a4], 0
call fcn.00489710
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x1b4], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4d5b6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x184], 0xffffffff
push 0xffffffffffffffff
push dword [ebp - 0x188]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 8
call fcn.00419a70
jmp 0x4d5bbb
test ecx, ecx
je 0x4d5ba4
mov eax, dword [ecx]
push str.INFO:_NSISPackageLauncher::InstallPackage_executing_using_process_redirect_n
push ecx
call dword [eax]
mov eax, dword [ebp - 0x17c]
add esp, 8
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x184]
push edx
push esi
lea edx, [ebp - 0xb8]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, dword [ebp - 0x184]
cmp eax, 4
ja case.0x4d5bca.3
jmp dword [eax*4 + 0x4d5cf0]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4d5c00
cmp dword [edi + 0x14], 0x10
jb 0x4d5be9
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x4d5bf1
mov esi, dword [esi]
mov eax, dword [ecx]
push edi
push esi
push str.INFO:_NSISPackageLauncher::InstallPackage_for__s_args____s_SUCCEEDED_n
push ecx
call dword [eax]
add esp, 0x10
xor esi, esi
jmp 0x4d5ca7
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4d5c36
cmp dword [edi + 0x14], 0x10
jb 0x4d5c1f
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x4d5c27
mov esi, dword [esi]
mov eax, dword [ecx]
push edi
push esi
push str.INFO:_NSISPackageLauncher::InstallPackage_for__s_args____s_FAILED_Abort__n
push ecx
call dword [eax]
add esp, 0x10
mov esi, 0xc
jmp 0x4d5ca7
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4d5c6c
cmp dword [edi + 0x14], 0x10
jb 0x4d5c55
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x4d5c5d
mov esi, dword [esi]
mov eax, dword [ecx]
push edi
push esi
push str.INFO:_NSISPackageLauncher::InstallPackage_for__s_args____s_SUCCEEDED_Reboot__n
push ecx
call dword [eax]
add esp, 0x10
mov esi, 0xd
jmp 0x4d5ca7
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4d5ca2
cmp dword [edi + 0x14], 0x10
jb 0x4d5c8b
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x4d5c93
mov esi, dword [esi]
mov eax, dword [ecx]
push edi
push esi
push str.INFO:_NSISPackageLauncher::InstallPackage_for__s_args____s_FAILED_InstallFAilure__n
push ecx
call dword [eax]
add esp, 0x10
mov esi, 9
lea ecx, [ebp - 0xb8]
call fcn.00419a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041b050
call fcn.004f242f
call fcn.0041b050
call fcn.004f242f
call fcn.0041b050
call fcn.004f242f
nop
rcr dword [ebx + 0x4d], 1
add byte [edi], al
pop esp
dec ebp
add byte [edi], al
pop esp
dec ebp
add byte [ebx + 0x5c], dh
dec ebp
add byte [0xcc004d5c], bh
int3