Function at 0x408300
Capabilities:
Connect pipe
Get common file path
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x80f004]
xor eax, esp
mov dword [esp + 0x30], eax
mov edx, dword [0x810c00]
mov ecx, dword [0x910f64]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov edi, 0xec58acac
or esi, 0xffffffff
nop
cmp eax, 0x8450db
jne 0x40833d
lea ecx, [edx + 0xa231]
cmp ecx, 0x141
jne 0x408351
mov dword [0x8121b8], edi
mov dword [0x8121bc], esi
inc eax
cmp eax, 0xb9fa618
jl 0x408330
mov edi, dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov dword [0x910f64], ecx
xor esi, esi
cmp esi, 0x562d05
jne 0x408379
mov eax, dword [0x810bf4]
mov dword [0x910f68], eax
cmp ecx, 0x3c
jne 0x408387
push ebx
call edi
mov ecx, dword [0x910f64]
inc esi
cmp esi, 0x5f6c74
jl 0x408367
cmp ecx, 0x7c
jne 0x408405
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push ebx
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp dword [0x910f64], 0x2d
jne 0x4083f6
push ebx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push ebx
call fcn.004012a1
mov ecx, dword [0x910f64]
add esp, 4
cmp ecx, 0x110a
jne 0x408493
push str.pekuyisavahaximekidaxixexexumama
mov dword [0x910bd0], ebx
mov dword [0x910bd4], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.duwebubanurot
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push ebx
call fcn.004010d3
add esp, 4
push ebx
call fcn.004010d3
add esp, 4
push ebx
push ebx
call fcn.00401093
push ebx
push ebx
call fcn.004012b7
push 0x80dd40
push 0x811cb8
call fcn.0040100f
push ebx
call fcn.0040128a
add esp, 0x1c
push ebx
call fcn.004015e7
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x910904], eax
cmp dword [0x910f64], ebx
jbe 0x40850c
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetPrivateObjectSecurity]
jmp 0x4084c0
mov eax, dword [0x910f68]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
cmp dword [0x910f64], 0x5ab
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx + esi]
mov eax, dword [0x910904]
mov byte [eax + esi], dl
jne 0x408501
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
call ebx
inc esi
cmp esi, dword [0x910f64]
jb 0x4084c0
xor ebx, ebx
push 0x80dd44
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.00407ff0
call fcn.00408290
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GetACP]
xor esi, esi
nop
cmp esi, 0xbd9cb
jne 0x40853d
call fcn.00407fe0
cmp dword [0x910f64], 0xc
jne 0x40854f
lea ecx, [esp + 0x10]
push ecx
call edi
call ebx
inc esi
cmp esi, 0x15a63d
jl 0x408530
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea edx, [esp + 0x14]
push edx
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x408589
cmp dword [esp + 0x1c], 0xf5bed7
jne 0x408592
inc esi
cmp esi, 0x1ece7a52
jl 0x408566
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor esi, esi
mov edi, 0x8e46a6f0
nop
cmp dword [0x910f64], 0xcc1
jne 0x4085ae
call ebx
cmp esi, 0x12e6c3
jne 0x4085bb
call fcn.00407fd0
inc esi
mov dword [0x910bd8], edi
cmp esi, 0x1519a5
jl 0x4085a0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret