Function at 0x100109f0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e245
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1005801c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
push 0
push 4
call dword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10010a45
mov ecx, dword [ebx + 0x34]
push str.CreateToolhelp32Snapshot_failed_while_setting_breakpoint.
push 3
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10010e09
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 0x50], eax
xorps xmm0, xmm0
xor eax, eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
mov edi, dword [sym.imp.kernel32.dll_Thread32Next]
push eax
push esi
mov dword [ebp - 0x40], 0x1c
call edi
test eax, eax
je 0x10010af3
nop
cmp dword [ebp - 0x40], 0x10
jb 0x10010ad6
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x34], eax
jne 0x10010ad6
push dword [ebp - 0x38]
push 0
push 0x81a
call dword [sym.imp.kernel32.dll_OpenThread]
mov dword [ebp - 0x4c], eax
cmp ebx, dword [ebp - 0x58]
je 0x10010ac0
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x1c], ebx
jmp 0x10010ad6
lea eax, [ebp - 0x4c]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.10006c30
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x1c
push eax
push esi
call edi
test eax, eax
jne 0x10010a90
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], edi
jmp 0x10010af5
xor edi, edi
mov eax, dword [sym.imp.kernel32.dll_CloseHandle]
push esi
mov dword [ebp - 0x68], eax
call eax
mov eax, dword [ebp - 0x44]
xor esi, esi
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 0x48]
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
jne 0x10010bbf
mov cl, byte [eax + 0x1e]
cmp cl, 1
je 0x10010b28
cmp cl, 2
je 0x10010b28
xor dl, dl
jmp 0x10010b2a
mov dl, 1
test dl, dl
lea ecx, [esi + 1]
cmove ecx, esi
mov esi, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x10010b5a
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x10010b56
cmp eax, dword [ecx + 8]
jne 0x10010b56
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x10010b46
mov eax, ecx
jmp 0x10010b70
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x10010b70
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x10010b64
cmp byte [eax + 0xd], 0
je 0x10010b17
mov dword [ebp - 0x14], esi
cmp esi, 4
jle 0x10010bbf
mov eax, dword [ebp - 0x44]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
mov esi, dword [eax + 0x34]
push 0x48
push str.Attempted_to_set_more_than_4_data_breakpoints._The_rest_will_be_ignored.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov byte [ebp - 4], 1
push 3
push esi
mov byte [ebp - 4], 0
call fcn.10001840
add esp, 0x20
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, edi
mov dword [ebp - 0x50], eax
mov eax, dword [sym.imp.kernel32.dll_GetThreadId]
mov dword [ebp - 0x4c], eax
cmp esi, ebx
je 0x10010bfa
mov edi, dword [sym.imp.kernel32.dll_SuspendThread]
nop dword [eax]
push dword [esi]
call eax
cmp eax, dword [ebp - 0x50]
je 0x10010bed
push dword [esi]
call edi
mov eax, dword [ebp - 0x4c]
add esi, 4
cmp esi, ebx
jne 0x10010be0
mov edi, dword [ebp - 0x48]
mov esi, edi
cmp esi, ebx
je 0x10010c16
mov edi, dword [ebp - 0x44]
push dword [esi]
mov ecx, edi
call fcn.10010650
add esi, 4
cmp esi, ebx
jne 0x10010c03
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 0x48]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x10010d90
mov eax, dword [sym.imp.kernel32.dll_FlushInstructionCache]
mov ecx, dword [sym.imp.kernel32.dll_VirtualProtect]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [sym.imp.kernel32.dll_GetCurrentProcess]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], eax
mov al, byte [esi + 0x1e]
cmp al, 1
je 0x10010d41
cmp al, 2
je 0x10010d41
cmp ebx, 4
jge 0x10010c66
test al, al
jne 0x10010c66
inc ebx
jmp 0x10010d41
cmp al, 3
jne 0x10010cec
lea eax, [ebp - 0x14]
push eax
push 4
push 1
push dword [esi + 0x14]
call ecx
test eax, eax
jne 0x10010cc0
mov eax, dword [ebp - 0x44]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov edi, dword [eax + 0x34]
push 0x38
push str.VirtualProtect_failed_while_setting_software_breakpoint.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov byte [ebp - 4], 2
push 3
push edi
mov byte [ebp - 4], 0
call fcn.10001840
add esp, 0x20
mov ecx, dword [esi + 0x14]
mov al, byte [ecx]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x24]
push eax
mov byte [ecx], 0xf4
push dword [ebp - 0x14]
push 1
push dword [esi + 0x14]
call dword [ebp - 0x5c]
push 1
push dword [esi + 0x14]
call dword [ebp - 0x64]
push eax
call dword [ebp - 0x60]
mov byte [esi + 0x1d], 3
jmp 0x10010d41
cmp al, 4
jne 0x10010cfc
lea ecx, [esi + 0x14]
mov dl, 1
call fcn.10010940
jmp 0x10010d41
movsx eax, byte [esi + 0x1d]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x1e
push str.Invalid_breakpoint_trigger__d.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.100029b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
push 3
push dword [eax + 0x34]
mov byte [ebp - 4], 0
call fcn.10001840
add esp, 0x24
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10010d67
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10010d63
cmp esi, dword [eax + 8]
jne 0x10010d63
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10010d53
mov esi, eax
jmp 0x10010d7d
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10010d7d
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10010d71
cmp byte [esi + 0xd], 0
mov ecx, dword [ebp - 0x5c]
je 0x10010c44
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x48]
mov esi, edi
cmp esi, ebx
je 0x10010dbd
mov edi, dword [sym.imp.kernel32.dll_ResumeThread]
nop dword [eax]
push dword [esi]
call dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x10010dae
push dword [esi]
call edi
push dword [esi]
call dword [ebp - 0x68]
add esi, 4
cmp esi, ebx
jne 0x10010da0
mov edi, dword [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10010e09
mov ecx, dword [ebp - 0x58]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10010dea
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e25
push ecx
push edi
call fcn.1001fd76
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fb3b
mov esp, ebp
pop ebp
ret
call fcn.100265c8
int3