Function at 0x10004a14
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov ebp, dword [esp + 0x5c]
mov al, byte [0x10006244]
lea ecx, [esp + 0x20]
mov byte [ecx + 4], al
mov eax, dword [0x10006240]
mov dword [ecx], eax
mov al, byte [0x10006249]
lea ecx, [esp + 0xc]
mov byte [ecx + 4], al
mov eax, dword [0x10006245]
mov dword [ecx], eax
movzx eax, word [0x1000624e]
lea ecx, [esp + 0x18]
mov word [ecx + 4], ax
mov eax, dword [0x1000624a]
mov dword [ecx], eax
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [esp], 0
mov dword [ebp + 0x10], eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], ebx
movzx ebx, bl
add ebx, dword [ebp]
mov dword [esp + 0x44], edx
movzx edi, dl
mov ebp, dword [ebp + 8]
add ebp, edi
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.10004d38
add esp, 8
test byte [esp + 0x41], 0x10
jne 0x10004d29
cmp byte [esp + 0x14], 5
jb 0x10004ac3
mov eax, ebx
sub eax, ebp
add eax, 0xfffffffb
mov dword [esp + 0xd], eax
mov edx, 5
mov al, 1
mov dword [esp + 4], eax
lea esi, [esp + 0xc]
jmp 0x10004c1b
movzx ecx, byte [esp + 0x2e]
cmp ecx, 0xe8
jne 0x10004aff
movzx eax, byte [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, ebx
sub edx, ebp
add edx, eax
lea eax, [ecx + edx]
add eax, 0xfffffffb
mov dword [esp + 0x21], eax
mov edx, 5
mov dword [esp + 4], 0
lea esi, [esp + 0x20]
jmp 0x10004c1b
mov dword [esp + 8], eax
mov edx, ecx
and edx, 0xfffffffd
cmp edx, 0xe9
jne 0x10004b22
movzx edx, byte [esp + 0x28]
add edx, ebx
cmp cl, 0xeb
je 0x10004b60
mov ecx, dword [esp + 0x38]
jmp 0x10004b65
mov edx, ecx
and edx, 0xfffffff0
cmp edx, 0x70
sete dl
mov esi, ecx
and esi, 0xfffffffc
cmp esi, 0xe0
sete al
or al, dl
jne 0x10004b4f
mov dl, byte [esp + 0x2f]
and dl, 0xf0
cmp dl, 0x80
jne 0x10004bfd
movzx edx, byte [esp + 0x28]
add edx, ebx
test al, al
jne 0x10004b95
mov esi, dword [esp + 0x38]
jmp 0x10004b9a
movsx ecx, byte [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx]
cmp edx, ecx
jb 0x10004b78
add ecx, 5
cmp edx, ecx
jb 0x10004bad
sub edx, ebp
add edx, 0xfffffffb
mov dword [esp + 0xd], edx
cmp ebx, dword [esp]
setae al
mov dword [esp + 4], eax
mov edx, 5
jmp 0x10004aba
movsx esi, byte [esp + 0x38]
add edx, esi
mov esi, dword [esp + 0x5c]
mov esi, dword [esi]
cmp edx, esi
jb 0x10004bc2
add esi, 5
cmp edx, esi
jae 0x10004bc2
mov ecx, dword [esp]
cmp ecx, edx
cmovb ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
jmp 0x10004c15
mov eax, ecx
and al, 0xfc
cmp al, 0xe0
je 0x10004d29
cmp cl, 0xf
movzx eax, byte [esp + 0x2f]
cmovne eax, ecx
and al, 0xf
or al, 0x80
mov byte [esp + 0x19], al
sub edx, ebp
add edx, 0xfffffffa
mov dword [esp + 0x1a], edx
mov edx, 6
mov dword [esp + 4], 0
lea esi, [esp + 0x18]
jmp 0x10004c1b
and ecx, 0xfffffffe
cmp ecx, 0xc2
sete cl
cmp ebx, dword [esp]
setae dl
and dl, cl
mov dword [esp + 4], edx
mov esi, ebx
mov edx, dword [esp + 8]
cmp ebx, dword [esp]
jae 0x10004c2d
movzx ecx, byte [esp + 0x28]
cmp edx, ecx
jne 0x10004d29
lea eax, [edx + edi]
cmp eax, 0x20
ja 0x10004d29
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 0x10]
cmp ecx, 8
jae 0x10004d29
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x14]
mov byte [ebp + ecx + 0x14], bl
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], esi
mov esi, edx
mov edx, dword [esp + 0x44]
mov byte [ebp + ecx + 0x1c], dl
inc dword [ebp + 0x10]
add edi, dword [ebp + 8]
mov ecx, esi
mov esi, dword [esp + 8]
rep movsb byte es:[edi], byte [esi]
add bl, byte [esp + 0x28]
mov edx, eax
cmp byte [esp + 4], 0
je 0x10004a6e
xor esi, esi
inc esi
cmp bl, 4
ja 0x10004d2b
movzx ecx, bl
mov eax, dword [ebp]
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x10004ca8
test dl, dl
je 0x10004ca8
cmp dl, 0xcc
jne 0x10004cc4
mov edi, 5
sub edi, ecx
cmp edi, 2
jb 0x10004d2b
mov edi, ecx
cmp byte [eax + edi + 1], dl
jne 0x10004cc4
inc edi
cmp edi, 4
jne 0x10004cb6
jmp 0x10004d2b
cmp bl, 1
ja 0x10004cef
cmp dl, 0x90
je 0x10004cd7
test dl, dl
je 0x10004cd7
cmp dl, 0xcc
jne 0x10004d29
mov edi, 2
sub edi, ecx
cmp edi, 2
jb 0x10004cef
cmp byte [eax + ecx + 1], dl
jne 0x10004d29
inc ecx
cmp ecx, 1
jne 0x10004ce3
add eax, 0xfffffffb
push eax
call fcn.100049e6
add esp, 4
test eax, eax
je 0x10004d29
mov eax, dword [ebp]
mov cl, byte [eax - 5]
cmp cl, 0x90
je 0x10004d13
test cl, cl
je 0x10004d13
cmp cl, 0xcc
jne 0x10004d29
mov edx, 0xfffffffc
cmp byte [eax + edx], cl
jne 0x10004d29
inc edx
jne 0x10004d18
mov dword [ebp + 0xc], 1
jmp 0x10004d2b
xor esi, esi
mov eax, esi
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret