Function at 0x42c830
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7ba934]
sub esp, 0x98c
push ebx
push ebp
push esi
shr eax, 3
push edi
mov edi, dword [0x7ba89c]
test eax, eax
je 0x42ca8c
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jmp 0x42c864
mov edi, dword [esp + 0x20]
cmp dword [0x7ba934], 0x1c
jne 0x42c87e
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x432700]
mov eax, dword [0x432704]
mov esi, dword [edi]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x432708]
mov dword [esp + 0x30], edx
mov edx, dword [0x43270c]
mov ebx, 0xc6ef3720
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0x20
mov eax, esi
shl eax, 4
add eax, dword [esp + 0x34]
mov edi, esi
shr edi, 5
cmp dword [0x7ba934], 0x1b
mov dword [esp + 0x14], eax
lea ebp, [ebx + esi]
jne 0x42c938
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x19c]
push ecx
push 0
push 0x4040e0
push 0x4040ac
push 0x404150
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0x40419c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 0
push 0
push 0x4041ac
call dword [sym.imp.KERNEL32.dll_OpenFile]
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x14]
add edi, dword [esp + 0x38]
xor eax, ebp
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [0x7ba8a0], ebp
mov eax, dword [esp + 0x1c]
add dword [0x7ba8a0], eax
mov eax, dword [0x7ba8a0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x2c]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x30]
cmp dword [0x7ba934], 0x1be
mov dword [esp + 0x14], ecx
lea edi, [ebx + eax]
jne 0x42c9f2
push ebp
lea edx, [esp + 0x19c]
push edx
push ebp
push 0x4041c0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [esp + 0x54]
push eax
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x3c]
xor ecx, edi
mov dword [0x7ba8a8], 0xff6b3619
mov dword [0x7ba8ac], 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x14], eax
sub esi, dword [esp + 0x14]
add ebx, 0x61c88647
dec dword [esp + 0x24]
jne 0x42c8bb
cmp dword [0x7ba934], 0x8d4
jne 0x42ca45
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 4], edx
cmp dword [0x7ba934], 0x17
jne 0x42ca7b
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea eax, [esp + 0x58]
push eax
push 0x404220
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], edi
jne 0x42c860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98c
ret