Function at 0x1004c17c
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0x14]
push ebx
lea edx, [eax + 0x82b]
push esi
mov ecx, eax
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], edx
cmp eax, edx
ja case.0x1004c0dc.28676
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edi, edi
jmp 0x1004bf70
cmp ecx, 0x5090
ja 0x1004c0c4
je case.0x1004c04e.192
cmp ecx, 0x4ff7
ja 0x1004c003
je 0x1004bffa
mov eax, ecx
sub eax, 0x1d15
je 0x1004bfde
sub eax, 0x33
je 0x1004c187
sub eax, 0x327c
jne case.0x1004c0dc.28473
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esi + 0x70]
push eax
push ebx
lea edx, [ebp - 0xc]
push edx
push 0x5806
mov dword [ebp - 0xc], ecx
call fcn.1004b190
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x33
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp - 0x1c]
jbe 0x1004bf70
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push 0x7f35
lea ecx, [ebp - 8]
push edi
push ecx
mov dword [ebp - 8], eax
inc ebp
clc
call fcn.100680e0
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x1004bfc6
mov eax, dword [ebp - 0xc]
cmp eax, edi
jge 0x1004bfd7
jmp case.0x1004c0dc.28473
mov eax, ecx
sub eax, 0x502a
je 0x1004c022
sub eax, 0x33
jne case.0x1004c0dc.28473
inc esp
adc eax, 0xb82ed78e
invalid
loopne 0x1004bfeb
mov byte [edi + 0x23], ah
mov eax, dword [ebp - 0xc]
cmp eax, 0xffffffff
je 0x1004c196
cmp eax, 0xfffffffd
jne case.0x1004c0dc.28473
xor eax, eax
lea ebx, [ebx]
cmp eax, 0xc0
ja case.0x1004c04e.1
movzx edx, byte [eax + 0x1004c1cc]
jmp dword [edx*4 + 0x1004c1b8]
adc eax, 0x39dbe9ba
mov edx, dword [esi + 0x70]
mov dword [esi + 4], edi
cmp dword [edx + 0x14], edi
jge 0x1004c09e
cmp dword [esi + 0x1c], edi
jne 0x1004c07e
cmp dword [esi + 0x44], edi
jl 0x1004c1ac
jg 0x1004c09e
cmp dword [esi + 0x40], edi
jb 0x1004c1ac
cmp dword [esi + 0x44], edi
jg 0x1004c09e
jl 0x1004c08a
cmp dword [esi + 0x40], edi
jae 0x1004c09e
cmp dword [esi + 0x6c], edi
jl 0x1004c1ac
jg 0x1004c09e
cmp dword [esi + 0x68], edi
jb 0x1004c1ac
mov dword [esi + 4], 2
jmp case.0x1004c04e.1
mov dword [esi], edi
jmp case.0x1004c04e.1
mov dword [esi + 0xc], edi
add eax, 0x40
lea edx, [eax + 0x40a9]
cmp edx, 0x4169
jbe 0x1004c040
jmp case.0x1004c0dc.28473
lea eax, [ecx - 0x6f38]
cmp eax, 0xcc
ja case.0x1004c0dc.28473
movzx eax, byte [eax + 0x1004c2a8]
jmp dword [eax*4 + 0x1004c290]
cmp dword [ebp + 0x14], 0x18
jne case.0x1004c0dc.28473
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp + 0x14], 0x1c
jmp case.0x1004c0dc.28473
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], 0x10
mov dword [ebp - 0x10], ebx
cmp eax, edi
je case.0x1004c0dc.28473
mov eax, dword [eax]
cmp eax, edi
jle case.0x1004c0dc.28473
mov dword [ebp + 0x14], eax
jmp case.0x1004c0dc.28473
inc ebp
push edx
std
das
sub al, 0x8b
dec ebp
invalid
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp case.0x1004c0dc.28473
pushal
jmp 0x55902892
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret