Function at 0x1004c6db
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov bl, dl
xor ebp, ebp
and dword [esp + 0x2c], ebp
mov edx, ecx
and dword [esp + 0x1c], ebp
xor ecx, ecx
push edi
push 0x50
mov esi, dword [edx + 0x5d8]
xor edi, edi
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
pop eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
cmp bl, 0xcc
jne 0x1004c745
movzx eax, byte [esp + 0x3c]
sub eax, 0x15
je 0x1004c73a
sub eax, 0x95
je 0x1004c73a
sub eax, 1
je 0x1004c73a
dec eax
sub eax, 1
jne 0x1004c74a
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp bl, 0xc0
jne 0x1004c73a
mov eax, dword [edx + 0x29e4]
jmp 0x1004c75a
cmp dword [eax], 0xa
je 0x1004c760
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1004c752
jmp 0x1004c73a
mov eax, dword [eax + 4]
xor ebx, ebx
inc ebx
mov dword [esp + 0x34], eax
test eax, eax
je 0x1004c939
test ecx, ecx
je 0x1004c77e
test edi, edi
jne 0x1004c935
movzx eax, word [eax]
cmp eax, 0x1e
ja 0x1004c922
mov edx, dword [edx]
mov ecx, eax
mov eax, ebx
shl eax, cl
test dword [edx + 0xa0], eax
jne 0x1004c91a
sub ecx, 0x10
je 0x1004c7ef
sub ecx, 3
je 0x1004c7e6
dec ecx
sub ecx, 1
je 0x1004c7dd
dec ecx
sub ecx, 1
je 0x1004c7d4
sub ecx, 1
je 0x1004c7cb
sub ecx, 1
jne 0x1004c91a
mov ebp, 0xd3
push 0x42
jmp 0x1004c7f6
mov ebp, 0xd2
push 0x30
jmp 0x1004c7f6
mov ebp, 0x20e
push 0x20
jmp 0x1004c7f6
mov ebp, 0xd1
push 0x1c
jmp 0x1004c7f6
mov ebp, 0x208
push 0x18
jmp 0x1004c7f6
mov ebp, 0xb8
push 0x14
cmp dword [esp + 0x2c], 0
pop eax
movzx edx, ax
jne 0x1004c81f
mov ecx, dword [esp + 0x18]
cmp word [ecx + 0x5ec], ax
ja 0x1004c81f
movzx ecx, ax
cmp dword [esp + 0x24], ecx
jbe 0x1004c81f
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x1c], 0
jne 0x1004c844
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
cmp word [ecx + 0x5ec], ax
mov ecx, dword [esp + 0x1c]
cmove ecx, ebp
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x30], 0
mov ecx, edx
je 0x1004c853
cmp dword [esp + 0x2c], ecx
jbe 0x1004c86a
mov edx, dword [esp + 0x18]
cmp word [edx + 0x5ec], ax
ja 0x1004c86e
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ecx
jmp 0x1004c86e
mov edx, dword [esp + 0x18]
mov cl, byte [esp + 0x13]
movzx eax, byte [esp + 0x3c]
cmp cl, 0xc0
jne 0x1004c8f5
cmp eax, 0x24
ja 0x1004c8ad
je 0x1004c8cd
cmp eax, 0x11
ja 0x1004c899
je 0x1004c8f1
sub eax, 7
je 0x1004c8cd
sub eax, 1
je 0x1004c8cd
sub eax, 1
jmp 0x1004c8cb
sub eax, 0x12
je 0x1004c8f1
sub eax, 1
je 0x1004c8f1
sub eax, 1
je 0x1004c8f1
sub eax, 0xf
jmp 0x1004c90e
cmp eax, 0x2f
ja 0x1004c8c3
je 0x1004c8f1
sub eax, 0x27
je 0x1004c8f1
sub eax, 1
je 0x1004c8f1
sub eax, 3
jmp 0x1004c8cb
sub eax, 0x30
je 0x1004c8f1
sub eax, 0x7e
jne 0x1004c90b
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [edx + 0x5f0], ebp
sete al
or ecx, eax
xor eax, eax
mov dword [esp + 0x14], ecx
cmp esi, ebp
mov dword [esp + 0x20], ebx
sete al
or edi, eax
jmp 0x1004c922
mov ecx, ebx
jmp 0x1004c8de
cmp cl, 0xcc
jne 0x1004c91e
sub eax, 0x13
je 0x1004c8f1
sub eax, 1
je 0x1004c8cd
sub eax, 0x94
je 0x1004c8f1
sub eax, 1
je 0x1004c8cd
mov ecx, ebx
mov edi, ebx
mov dword [esp + 0x14], ecx
jmp 0x1004c922
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1004c772
mov ebp, dword [esp + 0x28]
test esi, esi
jne 0x1004c997
movzx eax, word [edx + 0x5ec]
cmp dword [esp + 0x24], eax
jne 0x1004c954
mov edi, ebx
mov dword [edx + 0x5d8], ebp
mov esi, ebp
test esi, esi
jne 0x1004c997
mov eax, dword [esp + 0x1c]
mov edi, ebx
mov esi, eax
mov dword [edx + 0x5d8], eax
test esi, esi
jne 0x1004c997
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x24], eax
jne 0x1004c97c
mov dword [edx + 0x5d8], ebp
mov esi, ebp
test esi, esi
jne 0x1004c997
mov eax, dword [esp + 0x30]
mov esi, eax
mov dword [edx + 0x5d8], eax
test esi, esi
jne 0x1004c997
cmp dword [esp + 0x20], eax
cmovne edi, eax
test ecx, ecx
je 0x1004c99f
test edi, edi
jne 0x1004c9a1
xor ebx, ebx
mov eax, ebx
jmp 0x1004c73d