Function at 0x10004470
Capabilities:
Check for unexpected memory writes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x20], 0x2531
mov dword [ebp - 4], 0x24bf
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], 0x54c
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
sub ecx, 0x13ef
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
and edx, 0x80000001
jns 0x100044c5
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
je 0x100044d4
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x100044b5
mov dword [ebp - 0x14], 0xe9e
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x6f5
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
and eax, 0x80000003
jns 0x10004518
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x1000452a
mov ecx, dword [ebp - 8]
sub ecx, 0x1c79
mov dword [ebp - 8], ecx
jmp 0x10004536
mov edx, dword [ebp - 8]
add edx, 0x1c79
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xf0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], 0x1165
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0x80000001
jns 0x1000457b
dec ecx
or ecx, 0xfffffffe
inc ecx
test ecx, ecx
je 0x1000458b
mov edx, dword [ebp - 0x14]
sub edx, 0xf1e
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
add eax, 0x13f8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 0xd12
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 0x2663
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfd2
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x1c]
sub edx, 0x988
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
add eax, 0xb0f
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
jmp 0x10004606
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0x48
jge 0x10004617
mov edx, dword [ebp - 0x34]
sub edx, 1
mov dword [ebp - 0x34], edx
jmp 0x100045fd
mov eax, dword [ebp - 0xc]
sub eax, 0x21b4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1631
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0xeac
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x4ca
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
sub edx, 0xf3a
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 3
idiv ecx
test edx, edx
je 0x100046b7
mov edx, dword [ebp - 0xc]
sub edx, 0x32f
mov dword [ebp - 0xc], edx
jmp 0x100046c2
mov eax, dword [ebp - 0xc]
add eax, 0x32f
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
push 0x10062ed0
mov ecx, dword [0x10062ed0]
push ecx
mov edx, dword [0x10062ec8]
push edx
mov eax, dword [0x10062edc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x10062ecc]
xor edx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x48], 0xac624382
jne 0x100048d4
cmp dword [ebp - 0x44], 0
jne 0x100048d4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0
push 0
push 0x10069c70
push 0
push 0
push 0
push 0
push 0x10069c9c
call dword [sym.imp.KERNEL32.dll_GetDurationFormatEx]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLanguageGroupsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
push 0
push 0x10069ccc
push 0
call dword [sym.imp.KERNEL32.dll_GetFileMUIInfo]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10069d00
call dword [sym.imp.KERNEL32.dll_IsValidLocaleName]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push 0
push 0
push 0x10069d3c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
push 0
call dword [sym.imp.KERNEL32.dll_FlsGetValue]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PowerSetRequest]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PowerClearRequest]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatusEx]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
push 0
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryProtectedPolicy]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esp, ebp
pop ebp
ret