Function at 0x40b080
Capabilities:
Accept command line arguments
Copy file
Identify system language via api
Terminate process

Disassembly:
sub esp, 0xd8c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [esp + 0x10], 0
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x484004], 0x16
jne 0x40b0e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x484004], 0x9e
jne 0x40b15e
push 0
push 0
push 0
call edi
push 0
lea eax, [esp + 0x5a0]
push eax
call ebx
lea ecx, [esp + 0x19c]
push ecx
push 0
push 0
call ebp
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0
call esi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x10]
cmp eax, 0x3775ee
jg 0x40b179
inc eax
cmp eax, 0x332beaf6
mov dword [esp + 0x10], eax
jl 0x40b0b0
mov eax, dword [0x484004]
mov ecx, dword [0x467460]
push 0x430010
push eax
push ecx
call fcn.0040acb0
xor esi, esi
cmp dword [0x484004], 0x10
jne 0x40b1a6
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFix]
cmp esi, 0x1e673
jne 0x40b1b3
call fcn.0040af80
inc esi
cmp esi, 0x3e79e
jl 0x40b192
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
mov dword [esp + 0x10], 0xdd9a7
lea esp, [esp]
cmp dword [0x484004], 0xc01
jne 0x40b220
push 0
push 0
call esi
call edi
push 0
push 0
push 0
push 0
call ebx
push 0
lea eax, [esp + 0x5a0]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
call ebp
sub dword [esp + 0x10], 1
jne 0x40b1e0
call fcn.00409bf0
cmp dword [0x484004], 0x1144
pop edi
pop esi
pop ebp
pop ebx
jne 0x40b2e9
push 0x4014a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
lea edx, [esp + 8]
push edx
push 0
lea eax, [esp + 0x194]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
push 0x4014b8
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea edx, [esp + 0x590]
push edx
push 0x4014cc
call dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFix]
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
xor eax, eax
add esp, 0xd8c
ret