Function at 0x439ef0
Capabilities:
Delete file
Move file
Persist via appinit_dlls registry key
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0x104
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x4e20e0
push 0x4e20f0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043ed70
mov ecx, eax
call fcn.0043efbf
test eax, eax
jne 0x439f5d
cmp dword [ebp - 0x218], 1
jne 0x439f5d
cmp dword [ebp - 0x21c], 0
ja 0x439f69
cmp dword [ebp - 0x21c], 0x104
jbe 0x439fb7
lea eax, [ebp - 0x214]
push eax
call fcn.0043a8c0
add esp, 4
push 0x4e2128
lea ecx, [ebp - 0x214]
push ecx
call fcn.004165b0
add esp, 8
test eax, eax
jne 0x439f9c
cmp dword [ebp - 0x21c], 0x104
jbe 0x439fb7
push 0x4e2134
push 0x4e2144
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043ed70
mov ecx, eax
call fcn.0043f332
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x4e217c
push 0x4e218c
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043ed70
mov ecx, eax
call fcn.0043efbf
test eax, eax
jne 0x43a0fc
cmp dword [ebp - 4], 1
jne 0x43a0fc
lea edx, [ebp - 0x108]
push edx
call sub.ntdll.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x108]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov byte [ecx], 0x5c
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
push 0x4e21d0
push 0x104
mov eax, dword [ebp - 0x220]
push eax
call fcn.00409100
lea ecx, [ebp - 0x364]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [0x54b4e8]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xffffffff
je 0x43a0fc
mov eax, dword [ebp - 0x364]
and eax, 0x10
test eax, eax
jne 0x43a0d3
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 0x338]
push ecx
push 0x104
mov edx, dword [ebp - 0x220]
push edx
call fcn.00409100
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [0x54b4e0]
lea ecx, [ebp - 0x108]
push ecx
call dword [0x54b4b8]
push 4
push 0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x108]
push eax
call dword [0x54b4b8]
lea ecx, [ebp - 0x364]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [0x54b4b4]
test eax, eax
jne 0x43a067
mov eax, dword [ebp - 0x224]
push eax
call dword [0x54b4c8]
mov dword [ebp - 0x110], 0x104
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 4]
push eax
push 0x4e21d8
push 0x4e21e0
push SysReAllocStringLen
call fcn.0043ed70
mov ecx, eax
call fcn.0043efbf
test eax, eax
jne 0x43a24b
cmp dword [ebp - 4], 1
jne 0x43a24b
lea ecx, [ebp - 0x108]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
lea edx, [ebp + eax - 0x108]
mov dword [ebp - 0x368], edx
mov eax, dword [ebp - 0x368]
mov byte [eax], 0x5c
mov ecx, dword [ebp - 0x368]
add ecx, 1
mov dword [ebp - 0x368], ecx
push 0x4e2224
push 0x104
mov edx, dword [ebp - 0x368]
push edx
call fcn.00409100
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [0x54b4e8]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0xffffffff
je 0x43a24b
mov edx, dword [ebp - 0x4ac]
and edx, 0x10
test edx, edx
jne 0x43a222
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x480]
push eax
push 0x104
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.00409100
push 0x80
lea edx, [ebp - 0x108]
push edx
call dword [0x54b4e0]
lea eax, [ebp - 0x108]
push eax
call dword [0x54b4b8]
push 4
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edx, [ebp - 0x108]
push edx
call dword [0x54b4b8]
lea eax, [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x36c]
push ecx
call dword [0x54b4b4]
test eax, eax
jne 0x43a1b6
mov edx, dword [ebp - 0x36c]
push edx
call dword [0x54b4c8]
mov esp, ebp
pop ebp
ret