Function at 0x1005fb40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
jne 0x1005fb60
push str.ActivateBreakpoints:_Error__tracked_region_argument_NULL._n
call fcn.1003cfe0
add esp, 4
xor eax, eax
jmp 0x10060090
cmp dword [0x1065fa04], 0
jne 0x1005fb74
push 0x1065fa00
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x1065fa04], 0
jne 0x1005fb91
push str.ActivateBreakpoints:_Failed_to_obtain_system_page_size._n
call fcn.1003e760
add esp, 4
xor eax, eax
jmp 0x10060090
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.ActivateBreakpoints:_TrackedRegion__AllocationBase:_0x_p__TrackedRegion__RegionSize:_0x_x__thread__d_n
call fcn.1003cfe0
add esp, 0x10
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x1005fbcf
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1005fbcf
cmp dword [ebp - 8], 0
jne 0x1005fbf4
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str.ActivateBreakpoints:_Error__one_of_the_following_is_NULL___TrackedRegion__AllocationBase:_0x_p__TrackedRegion__RegionSize:_0x_x__thread__d_n
call fcn.1003cfe0
add esp, 0x10
xor eax, eax
jmp 0x10060090
cmp dword [0x1065f22c], 0
je 0x1005fd3f
mov eax, dword [ebp + 8]
cmp eax, dword [0x1065f22c]
je 0x1005fd3f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [0x1065f22c]
mov ecx, dword [eax]
push ecx
push str.ActivateBreakpoints:_Switching_breakpoints_from_region_0x_p_to_0x_p._n
call fcn.1003cfe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.10039fd0
add esp, 4
mov edx, dword [0x1065f22c]
mov dword [edx + 0x98], eax
call fcn.1003b8d0
mov eax, dword [0x1065f22c]
cmp dword [eax + 0x50], 0
jne 0x1005fca0
mov ecx, dword [0x1065f22c]
mov edx, dword [ecx]
cmp edx, dword [0x1065f95c]
je 0x1005fca0
mov eax, dword [0x1065f22c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [0x1065f22c]
mov eax, dword [edx]
push eax
call fcn.100389d0
add esp, 8
test eax, eax
je 0x1005fca0
mov ecx, dword [0x1065f22c]
mov dword [ecx + 0x54], 1
mov edx, dword [0x1065f22c]
push edx
call fcn.1005cfa0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [0x1065f22c], eax
mov ecx, dword [0x1065f22c]
cmp dword [ecx + 0x90], 0
je 0x1005fd3f
mov edx, dword [0x1065f22c]
cmp dword [edx + 0x98], 0
je 0x1005fd3f
mov eax, dword [0x1065f22c]
mov ecx, dword [eax + 0x98]
push ecx
call fcn.1003c990
add esp, 4
test eax, eax
jne 0x1005fd0f
mov edx, dword [0x1065f22c]
mov eax, dword [edx]
push eax
push str.ActivateBreakpoints:_Failed_to_restore_region_breakpoints_for_region_at_0x_p._n
call fcn.1003cfe0
add esp, 8
mov ecx, dword [0x1065f22c]
mov dword [ecx + 0x90], 0
xor eax, eax
jmp 0x10060090
mov edx, dword [0x1065f22c]
mov eax, dword [edx]
push eax
push str.ActivateBreakpoints:_Restored_region_breakpoints_for_region_at_0x_p._n
call fcn.1003cfe0
add esp, 8
mov ecx, dword [0x1065f22c]
mov dword [ecx + 0x90], 1
mov eax, 1
jmp 0x10060090
mov edx, dword [ebp + 8]
cmp dword [edx + 0x50], 0
je 0x1005fd5f
push str.ActivateBreakpoints:_Current_tracked_region_has_already_been_dumped._n
call fcn.1003cfe0
add esp, 4
mov eax, 1
jmp 0x10060090
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x1005fd86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [edx]
je 0x1005fd86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ecx + 0x80], eax
jmp 0x1005fd94
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 0x80], eax
mov ecx, dword [0x1065f9f8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x1c], eax
call fcn.1003b8d0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
movzx eax, byte [edx]
test eax, eax
je 0x1005fed4
cmp dword [ebp + 0xc], 0
jne 0x1005fe4e
push 0x1005f310
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push 0
mov eax, dword [ebp + 8]
add eax, 0x84
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.1003cc20
add esp, 0x1c
test eax, eax
jne 0x1005fe25
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push str.ActivateBreakpoints:_SetNextAvailableBreakpoint_failed_to_set_exec_bp_on_tracked_region_protect_address_0x_p._n
call fcn.1003cfe0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], 0
xor eax, eax
jmp 0x10060090
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
movzx edx, byte [ecx]
push edx
push str.ActivateBreakpoints:_Set_execution_breakpoint_on_non_zero_byte_0x_x_at_protected_address:_0x_p_n
call fcn.1003cfe0
add esp, 0xc
jmp 0x1005fecf
push 0x1005f310
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x84
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.1003c360
add esp, 0x1c
test eax, eax
jne 0x1005feab
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
push 0x103e0728
call fcn.1003cfe0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 0
xor eax, eax
jmp 0x10060090
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
movzx eax, byte [edx]
push eax
push 0x103e06c8
call fcn.1003cfe0
add esp, 0xc
jmp 0x1005ffc3
cmp dword [ebp + 0xc], 0
jne 0x1005ff4f
push 0x1005f840
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push 2
mov eax, dword [ebp + 8]
add eax, 0x84
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.1003cc20
add esp, 0x1c
test eax, eax
jne 0x1005ff36
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push str.ActivateBreakpoints:_SetNextAvailableBreakpoint_failed_to_set_write_bp_on_tracked_region_protect_address_0x_p._n
call fcn.1003cfe0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], 0
xor eax, eax
jmp 0x10060090
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
push str.ActivateBreakpoints:_Set_write_breakpoint_on_empty_protect_address:_0x_p_n
call fcn.1003cfe0
add esp, 8
jmp 0x1005ffc3
push 0x1005f840
push 0
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
push 2
mov edx, dword [ebp + 8]
add edx, 0x84
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.1003c360
add esp, 0x1c
test eax, eax
jne 0x1005ffac
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
push 0x103e0560
call fcn.1003cfe0
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 0
xor eax, eax
jmp 0x10060090
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
push 0x103e04a8
call fcn.1003cfe0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], 0
jne 0x1006002b
push 0x1005f030
push 0
push 1
mov eax, dword [ebp - 4]
add eax, 0x3c
push eax
push 4
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.1003cc20
add esp, 0x1c
test eax, eax
jne 0x10060015
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
push eax
push str.ActivateBreakpoints:_SetNextAvailableBreakpoint_failed_to_set_write_bp_on_e_lfanew_address_0x_p._n
call fcn.1003cfe0
add esp, 8
xor eax, eax
jmp 0x10060090
mov ecx, dword [ebp - 4]
add ecx, 0x3c
push ecx
push str.ActivateBreakpoints:_Set_write_breakpoint_on_e_lfanew_address:_0x_p_n
call fcn.1003cfe0
add esp, 8
jmp 0x10060083
push 0x1005f030
push 0
push 1
mov edx, dword [ebp - 4]
add edx, 0x3c
push edx
push 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.1003c360
add esp, 0x1c
test eax, eax
jne 0x1006006f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
push 0x103e02e8
call fcn.1003cfe0
add esp, 8
xor eax, eax
jmp 0x10060090
mov edx, dword [ebp - 4]
add edx, 0x3c
push edx
push 0x103e02a0
call fcn.1003cfe0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [0x1065f22c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret