Function at 0x10017cc0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x10], ebp
je 0x10017cd7
mov dword [eax], ebp
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
je 0x10017ce1
mov dword [ebx], ebp
mov edi, dword [esp + 0x2c]
cmp edi, ebp
je 0x10017ceb
mov dword [edi], ebp
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10017cf5
mov dword [eax], ebp
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x10017cff
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1003ef38], eax
je 0x10017d1c
pop edi
pop esi
pop ebp
mov eax, 0x10dd
pop ebx
add esp, 8
ret 0x20
mov eax, dword [0x1003ef3c]
cmp eax, ebp
jne 0x1001800c
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
jne 0x10017d40
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 8
ret 0x20
mov eax, dword [ecx]
cmp eax, ebp
jne 0x10017d60
pop edi
mov eax, 6
pop esi
pop ebp
mov dword [0x1003ef3c], eax
mov dword [0x1003ef40], ecx
pop ebx
add esp, 8
ret 0x20
push ebp
push eax
mov dword [esp + 0x34], ebp
call fcn.100175c0
mov esi, eax
push 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
push eax
call fcn.100175c0
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x10017d97
mov eax, dword [0x1003ef34]
test eax, eax
jne 0x10017f91
jmp 0x10017f69
test ebx, ebx
je 0x10017d9d
mov dword [ebx], esi
test edi, edi
je 0x10017da3
mov dword [edi], eax
push 0x18
call fcn.100199e2
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10017dc2
mov dword [esp + 0x10], 8
jmp 0x10017f69
push esi
call fcn.10018020
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10017dde
mov dword [esp + 0x10], 8
jmp 0x10017f69
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10017de8
mov dword [eax], ebp
mov ecx, dword [esp + 0x30]
mov edi, ebp
mov ebx, ecx
mov edx, ecx
shr ecx, 2
mov eax, esi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
lea edx, [ecx + 5]
cmp ecx, edx
mov dword [esp + 0x10], edx
jge 0x10017e96
lea ecx, [esp + 0x24]
lea edx, [ebx + ebp]
push ecx
push 0
push eax
push edx
mov edi, eax
mov dword [esp + 0x34], 0
call fcn.10018420
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x10017e96
mov esi, dword [esp + 0x28]
mov cl, byte [edi]
mov ebx, eax
sub ebx, esi
cmp cl, 0xe9
je 0x10017e9a
cmp cl, 0xe0
je 0x10017e9a
cmp cl, 0xc2
je 0x10017e9a
cmp cl, 0xc3
je 0x10017e9a
cmp cl, 0xcc
je 0x10017e9a
cmp cl, 0xff
jne 0x10017e62
cmp byte [edi + 1], 0x25
je 0x10017e9a
cmp cl, 0x26
je 0x10017e80
cmp cl, 0x2e
je 0x10017e80
cmp cl, 0x36
je 0x10017e80
cmp cl, 0xe3
je 0x10017e80
cmp cl, 0x64
je 0x10017e80
cmp cl, 0x65
jne 0x10017e8c
cmp byte [edi + 1], 0xff
jne 0x10017e8c
cmp byte [edi + 2], 0x25
je 0x10017e9a
cmp ebx, dword [esp + 0x10]
jl 0x10017e11
mov esi, dword [esp + 0x28]
cmp ebx, dword [esp + 0x10]
jge 0x10017eba
mov eax, dword [0x1003ef34]
mov dword [esp + 0x10], 9
test eax, eax
jne 0x10017f73
jmp 0x10017f69
cmp ebx, 0x12
jbe 0x10017ecc
mov dword [esp + 0x10], 6
jmp 0x10017f69
mov eax, dword [esp + 0x20]
lea ecx, [ebp + 0x17]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x20], eax
lea edx, [ebx + esi]
lea eax, [ebx + ebp]
mov dword [ebp + 0x18], edx
mov byte [ecx], bl
lea edi, [eax + 5]
mov byte [eax], 0xe9
inc eax
sub edx, edi
lea edi, [eax + 4]
mov dword [eax], edx
cmp edi, ecx
jae 0x10017f0f
sub ecx, edi
mov eax, 0xcccccccc
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x40
push ebx
push esi
call fcn.10006220
test eax, eax
je 0x10017f5f
push esi
call fcn.10018240
mov edi, eax
add esp, 4
test edi, edi
je 0x10017fc0
cmp word [edi + 0x1c], 0x6544
je 0x10017fc0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push ecx
push 0x40
push 0x40
push edi
call fcn.10006220
test eax, eax
jne 0x10017fa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [0x1003ef3c], edx
test ebp, ebp
je 0x10017f80
push ebp
call fcn.10017920
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10017f91
push eax
call fcn.10019200
add esp, 4
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [0x1003ef40], eax
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 8
ret 0x20
mov word [edi + 0x1c], 0x6544
mov word [edi + 0x1e], 0x6f74
mov word [edi + 0x20], 0x7275
mov word [edi + 0x22], 0x2173
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebp
mov dword [eax + 0xc], esi
mov edx, dword [esp + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [0x1003ef48]
mov dword [eax], ecx
mov dword [0x1003ef48], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10017ffc
mov edx, dword [esp + 0x30]
add esi, edx
mov dword [eax], esi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1001800a
sub ebx, dword [esp + 0x30]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x20