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

Disassembly:
mov eax, 0x1934
call fcn.0040ab20
mov eax, dword [0x5e2374]
mov ecx, dword [0x5e1e04]
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403806
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 0x403556
mov edi, dword [esp + 0x24]
xor esi, esi
cmp dword [0x5e2374], 0x959
jne 0x4035da
push esi
lea eax, [esp + 0x1144]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x4032f8
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea ecx, [esp + 0x544]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
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_GetModuleFileNameA]
mov eax, dword [0x43cf60]
mov edx, dword [edi]
mov ecx, dword [0x43cf64]
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.004034f0
mov edx, dword [0x43cf68]
mov eax, dword [0x43cf6c]
add dword [esp + 0x14], 0x23f
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], 0x20
jmp 0x403632
xor esi, esi
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov eax, dword [esp + 0x1c]
mov edx, dword [0x5e2374]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x44]
cmp edx, 0xfa9
jne 0x403666
mov dword [0x5e2370], 0xedeb2e40
jmp 0x403674
cmp edx, 0x3eb
jne 0x403674
mov dword [0x5e1e00], 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 [0x5e2374], 0x213
mov dword [0x5e236c], 0xf4ea3dee
mov dword [esp + 0x18], eax
jne 0x403767
push esi
lea eax, [esp + 0xd44]
push eax
push esi
push esi
push esi
push esi
call ebp
lea ecx, [esp + 0x140]
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_VerifyVersionInfoA]
push 0x4032ac
push esi
call ebx
push esi
push 0x4032c0
push 0x4032d8
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 + 0x540]
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.00407be0
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
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 + 0x1144]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x18]
sub edi, eax
cmp dword [0x5e2374], 0xc
jne 0x403784
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 [0x5e2374], 0xb03
jne 0x4037c6
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
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 0x403630
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 0x403550
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1934
ret