Function at 0x4315f0
Capabilities:
Connect pipe
Get common file path
Get file attributes
Get geographical location
Manipulate console buffer
Move file
Query environment variable
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x18f4
call fcn.00407b30
mov eax, dword [0x438004]
xor eax, esp
mov dword [esp + 0x18f0], eax
mov edx, dword [0x43b9fc]
mov ecx, dword [0x2b3a88c]
push ebx
push esi
push edi
xor eax, eax
mov edi, 0xec58ae8c
or esi, 0xffffffff
cmp eax, 0x4f9
jne 0x431634
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x431648
mov dword [0x43c900], edi
mov dword [0x43c904], esi
inc eax
cmp eax, 0x117e446
jl 0x431627
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov dword [0x2b3a88c], ecx
xor esi, esi
mov edi, edi
cmp esi, 0x56051f
jne 0x431672
mov eax, dword [0x438ef8]
mov dword [0x2b3a9bc], eax
cmp ecx, 0x3c
jne 0x431681
push 0
call edi
mov ecx, dword [0x2b3a88c]
inc esi
cmp esi, 0x4cab834c
jl 0x431660
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
push 0
push 0
call edi
push 0
call ebx
cmp esi, 0x24c0f
jg 0x4316b3
inc esi
cmp esi, 0xeb6d3
jl 0x431698
xor ebx, ebx
cmp dword [0x2b3a88c], 0x2a
jne 0x4317e7
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x104]
push edx
push ebx
push ebx
push ebx
mov dword [0x2b3a880], ebx
mov dword [0x2b3a884], ebx
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push ebx
xor eax, eax
lea edx, [esp + 0x8fc]
push edx
push str.cidegu
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
lea eax, [esp + 0x28]
push eax
push ebx
xor ecx, ecx
push ebx
mov word [esp + 0x34], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
xor ecx, ecx
xor edx, edx
mov word [esp + 0x10], cx
mov word [esp + 0x12], dx
mov eax, dword [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
lea ecx, [esp + 0x1100]
push ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push ebx
push ebx
call sub.KERNEL32.dll_Process32First
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push ebx
push ebx
call fcn.004010ad
push 0x43644c
push str.0__f
push 0x43c878
call fcn.00401093
add esp, 0x14
push ebx
call fcn.004098e4
add esp, 4
push ebx
call fcn.00404b5e
add esp, 4
push ebx
push ebx
call fcn.004010ad
push ebx
call fcn.00401235
add esp, 0xc
cmp dword [0x2b3a88c], 0x7c
jne 0x4318db
push ebx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
lea eax, [esp + 0x10fc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleFontSize]
push 0x2e
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x38], ebx
call fcn.00405960
add esp, 0xc
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push ebx
lea eax, [esp + 0xfc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
cmp dword [0x2b3a88c], 0x2d
jne 0x4318b4
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp dword [0x2b3a88c], 0x54
jne 0x4318c9
push ebx
push str.finopicexijabupezudenufesod
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push ebx
call fcn.004010ed
add esp, 4
push ebx
call fcn.00401103
add esp, 4
mov ecx, dword [0x2b3a88c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x2b3a88c]
mov esi, eax
xor ecx, ecx
mov dword [0x2b3a6d4], esi
cmp edx, ebx
jbe 0x431931
mov edi, dword [0x2b3a9bc]
jmp 0x431910
mov al, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], al
cmp edx, 0x8d
jne 0x43192c
mov dword [0x2b3a6d8], 0x17bc
inc ecx
cmp ecx, edx
jb 0x431910
call fcn.00431390
call fcn.00431250
call fcn.00431590
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
mov edi, edi
cmp dword [0x2b3a88c], 0x41
jne 0x431961
push 0
call edi
push 0
call ebx
cmp esi, 0xd606b
jne 0x43196e
call fcn.00431240
cmp dword [0x2b3a88c], 0xc
jne 0x431988
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
inc esi
cmp esi, 0x24e87d
jl 0x431950
mov esi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov ebx, 0x1dfb15
mov edi, 0x8e4e4f7c
jmp 0x4319b0
cmp dword [0x2b3a88c], 0x7c4
mov dword [0x2b3a6dc], edi
jne 0x4319df
xor eax, eax
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
mov edx, dword [esp + 0x14]
push edx
push eax
push eax
push eax
call esi
sub ebx, 1
jne 0x4319b0
mov ecx, dword [esp + 0x34]
xor eax, eax
lea ebx, [ebx]
cmp eax, 0x408e
jle 0x4319ff
cmp ecx, 0xf5bed7
jne 0x431a07
inc eax
cmp eax, 0x687ed2
jl 0x4319f0
mov ecx, dword [esp + 0x18fc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret