Function at 0x1000d060
Capabilities:
Check for software breakpoints
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013aaa8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1019ca20]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x1019ca20]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov byte [edi + 0x156], 0
test edx, edx
jne 0x1000d0ae
xor al, al
jmp 0x1000d39f
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [edx], ax
jne 0x1000d0ce
xor ecx, ecx
jmp 0x1000d0e2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d0d3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.1000fdc0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0
call fcn.1000ffa0
lea esi, [edi + 0x34]
push eax
mov ecx, esi
call fcn.100086e0
cmp dword [esp + 0x44], 0x10
jb 0x1000d120
push dword [esp + 0x30]
call fcn.10119469
add esp, 4
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x28], 8
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x1000d150
push dword [esp + 0x14]
call fcn.10119469
add esp, 4
push 0x1e
push 0x1018c1c8
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.100018c0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], 1
call fcn.100016f0
push 0
push 0x1018bd40
lea ecx, [esp + 0x50]
call fcn.100015c0
cmp dword [esi + 0x14], 0x10
jb 0x1000d1a5
mov edx, dword [esi]
jmp 0x1000d1a7
mov edx, esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
cmp byte [edx], 0
jne 0x1000d1c5
xor ecx, ecx
jmp 0x1000d1d9
mov ecx, edx
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d1d0
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.1000f0b0
mov byte [esp + 0x70], 2
mov ecx, dword [0x101a1d24]
lea edx, [esp + 0x14]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
mov byte [esp + 0x70], 1
cmp dword [esp + 0x28], 0x10
mov ebx, eax
jb 0x1000d21f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000d21f
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
cmp ebx, 0xffffffff
jne 0x1000d2c5
mov ecx, dword [0x101a1d24]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, 0xc8
jne 0x1000d2a0
cmp dword [esi + 0x14], 0x10
jb 0x1000d257
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x34]
call fcn.1000eeb0
mov byte [esp + 0x70], 3
mov ecx, dword [0x101a1d24]
lea edx, [esp + 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
mov byte [esp + 0x70], 1
cmp dword [esp + 0x44], 0x10
mov ebx, eax
jb 0x1000d2c5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1000d2c5
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
jmp 0x1000d2cb
sub esp, 0x18
mov ecx, esp
push str.Challenger_Attach_To_Game_Accept_Error
call fcn.10001530
push 3
push 2
mov ecx, edi
call fcn.1000e8a0
mov byte [edi + 0x60], 1
xor bl, bl
jmp 0x1000d38a
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc8
je 0x1000d2fd
cmp ebx, 0xcc
je 0x1000d2fd
push 0
push 0
push edi
push 0x1000d3c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x1000d38a
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x70], 4
mov ecx, dword [0x101a1d24]
lea edx, [esp + 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
cmp eax, 0xc8
je 0x1000d35d
cmp eax, 0xcc
je 0x1000d35d
push 0
push 0
push edi
push 0x1000d3c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000d36d
mov ecx, dword [0x101a1d24]
push 0x1000a5d0
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp dword [esp + 0x44], 0x10
jb 0x1000d388
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1000d388
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov bl, 1
cmp dword [esp + 0x5c], 0x10
jb 0x1000d39d
push dword [esp + 0x48]
call fcn.10119469
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.10118be7
mov esp, ebp
pop ebp
ret 4