Function at 0x410790
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x14
mov edx, ecx
mov byte [esp + 7], 0x10
xor ch, ch
xor eax, eax
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
push edi
mov dword [edx + 0x20], eax
mov edi, 0x4312d8
mov byte [esp + 0xd], ch
mov byte [esp + 0x11], ch
mov byte [edx + 0x24], al
mov edi, edi
mov cl, byte [ebx]
inc ebx
movzx eax, cl
add eax, 0xffffffda
mov byte [esp + 0x10], cl
cmp eax, 0xcd
ja case.0x4107eb.39
movzx eax, byte [eax + 0x410da0]
jmp dword [eax*4 + 0x410d84]
mov byte [edx + 1], cl
mov al, 4
jmp 0x41081a
mov byte [edx + 1], cl
mov al, 2
jmp 0x41081a
mov byte [edx + 2], cl
mov al, 0x20
jmp 0x41081a
mov byte [edx + 3], cl
mov al, 0x40
jmp 0x41081a
mov byte [edx + 4], cl
mov al, 8
jmp 0x41081a
mov byte [edx + 5], cl
mov al, 0x10
mov ah, byte [esp + 0xf]
or ch, al
dec ah
mov byte [esp + 0xf], ah
test ah, ah
jne 0x4107d0
push esi
movzx esi, ch
shl esi, 0x17
mov byte [esp + 0x10], ch
mov dword [edx + 0x21], esi
test ch, ch
jne 0x410842
mov ch, 1
mov byte [esp + 0x10], ch
mov al, cl
and al, 0xf0
push ebp
cmp al, 0x40
jne 0x41089d
mov al, cl
or esi, 0x40000000
shr al, 3
and al, 1
mov dword [edx + 0x21], esi
mov byte [edx + 7], al
je 0x41086d
mov al, byte [ebx]
and al, 0xf8
cmp al, 0xb8
jne 0x41086d
mov byte [esp + 0x19], 1
mov al, cl
shr al, 2
and al, 1
mov byte [edx + 8], al
mov al, cl
shr al, 1
and cl, 1
and al, 1
mov byte [edx + 0xa], cl
mov byte [edx + 9], al
mov cl, byte [ebx]
inc ebx
mov al, cl
mov byte [esp + 0x18], cl
and al, 0xf0
cmp al, 0x40
jne 0x41089d
mov ah, cl
mov byte [esp + 0x12], ah
jmp 0x4108fd
mov byte [edx + 0xb], cl
cmp cl, 0xf
jne 0x4108b6
mov cl, byte [ebx]
mov edi, 0x431322
mov byte [esp + 0x18], cl
inc ebx
mov byte [edx + 0xc], cl
jmp 0x4108d5
cmp cl, 0xa0
jb 0x4108d5
cmp cl, 0xa3
ja 0x4108d5
inc byte [esp + 0x19]
test ch, 0x10
je 0x4108ce
or ch, 8
jmp 0x4108d1
and ch, 0xf7
mov byte [esp + 0x14], ch
mov ah, cl
movzx ebp, cl
mov byte [esp + 0x12], ah
mov eax, ebp
shr eax, 2
movzx ecx, byte [eax + edi]
mov eax, ebp
and eax, 3
add ecx, edi
mov al, byte [eax + ecx]
mov dword [esp + 0x1c], eax
cmp al, 0xff
jne 0x410924
mov cl, byte [esp + 0x18]
movzx ebp, cl
or esi, 0x3000
mov eax, ebp
mov dword [edx + 0x21], esi
and eax, 0xfffffffd
mov byte [esp + 0x1c], 0
cmp eax, 0x24
jne 0x410920
mov al, 1
mov dword [esp + 0x1c], eax
jmp 0x410924
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x20], 0
test al, al
jns 0x410944
movzx eax, al
and eax, 0x7f
movzx eax, word [eax + edi]
mov ecx, eax
mov dword [esp + 0x1c], eax
shr ecx, 8
mov dword [esp + 0x20], ecx
mov ch, byte [edx + 0xc]
mov edi, esi
mov cl, byte [esp + 0x14]
mov byte [esp + 0x1a], ch
test ch, ch
je 0x410976
mov eax, ebp
and ebp, 3
shr eax, 2
movzx eax, byte [eax + str.____AI____LB________ODS___DWC________________dfnk__jF__DF___D__]
test byte [eax + ebp + str.____AI____LB________ODS___DWC________________dfnk__jF__DF___D__], cl
je 0x410976
or edi, 0x3000
mov dword [edx + 0x21], edi
mov eax, dword [esp + 0x1c]
pop ebp
test al, 1
je 0x410c98
or edi, 1
mov dword [edx + 0x21], edi
mov esi, edi
mov cl, byte [ebx]
mov al, cl
mov byte [edx + 0xd], cl
shr al, 6
mov byte [esp + 0xf], al
mov byte [edx + 0xe], al
mov al, cl
and al, 7
shr cl, 3
and cl, 7
mov byte [esp + 0x12], al
mov byte [edx + 0x10], al
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x13], cl
mov byte [edx + 0xf], cl
test al, al
je 0x4109ce
movzx eax, al
shl eax, cl
test al, al
jns 0x4109ce
or esi, 0x3000
mov dword [edx + 0x21], esi
test ch, ch
mov eax, esi
mov ch, byte [esp + 0xe]
jne 0x410a20
cmp ch, 0xd9
jb 0x410a20
cmp ch, 0xdf
ja 0x410a20
mov al, ch
movzx ecx, cl
add al, 0x27
cmp byte [esp + 0xf], 3
movzx eax, al
jne 0x410a00
mov ch, byte [ecx + eax*8 + 0x4313dc]
mov cl, byte [esp + 0x12]
jmp 0x410a0c
mov al, byte [eax + 0x4313d5]
mov byte [esp + 0x17], al
mov ch, al
shl ch, cl
mov eax, esi
test ch, ch
mov ch, byte [esp + 0xe]
jns 0x410a20
or eax, 0x3000
mov dword [edx + 0x21], eax
mov cl, byte [esp + 0x10]
test cl, 0x20
je 0x410a86
cmp byte [esp + 0xf], 3
jne 0x410a3a
or eax, 0x9000
mov dword [edx + 0x21], eax
jmp 0x410a86
cmp byte [esp + 0x16], 0
mov ah, ch
je 0x410a4f
mov ecx, 0x43149e
mov esi, 0x4314b0
jmp 0x410a60
mov ah, byte [esp + 0xe]
mov ecx, 0x431486
mov esi, 0x43149e
and ah, 0xfe
mov al, byte [ecx]
inc ecx
cmp al, ah
je 0x410a6e
inc ecx
cmp ecx, esi
jne 0x410a60
jmp 0x410a7b
movzx eax, byte [ecx]
mov cl, byte [esp + 0x13]
shl eax, cl
test al, al
jns 0x410a82
or dword [edx + 0x21], 0x9000
mov cl, byte [esp + 0x10]
mov ch, byte [esp + 0x16]
movzx esi, byte [esp + 0x14]
test ch, ch
je 0x410ae9
lea eax, [esi - 0x20]
cmp eax, 3
ja case.default.0x410a9b
jmp dword [eax*4 + 0x410e70]
mov al, byte [esp + 0x13]
mov byte [esp + 0xf], 3
cmp al, 4
ja case.0x410b56.197
cmp al, 1
jne case.0x410b56.81
or dword [edx + 0x21], 0x11000
jmp case.0x410b56.81
mov al, byte [esp + 0x13]
mov byte [esp + 0xf], 3
cmp al, 4
je case.0x410b56.197
cmp al, 5
jne case.0x410b56.81
or dword [edx + 0x21], 0x11000
jmp case.0x410b56.81
mov eax, esi
sub eax, 0x8c
je 0x410b94
sub eax, 2
je 0x410b88
mov al, byte [esp + 0xf]
cmp al, 3
jne 0x410b40
mov ah, byte [esp + 0xe]
test ch, ch
jne 0x410b6a
mov ecx, 0x4314b0
mov al, byte [ecx]
inc ecx
cmp al, ah
je 0x410b28
add ecx, 2
cmp ecx, 0x4314bf
jb 0x410b14
jmp 0x410b66
mov al, byte [esp + 0x10]
test byte [ecx], al
je 0x410b66
movzx eax, byte [ecx + 1]
mov cl, byte [esp + 0x13]
shl eax, cl
test al, al
jns case.0x410b56.197
jmp case.0x410b56.81
test ch, ch
je case.default.0x410b56
add esi, 0xffffffb0
cmp esi, 0xa7
ja case.default.0x410b56
movzx eax, byte [esi + 0x410e90]
jmp dword [eax*4 + 0x410e80]
test cl, 9
jne case.0x410b56.197
mov ah, byte [esp + 0xe]
mov al, byte [esp + 0xf]
mov ch, byte [ebx + 1]
add ebx, 2
cmp byte [esp + 0x13], 1
ja 0x410bb4
cmp ah, 0xf6
jne 0x410baa
or byte [esp + 0x18], 2
jmp 0x410bb4
test cl, 6
jmp 0x410b60
mov al, byte [esp + 0x13]
cmp al, 1
je case.0x410b56.197
cmp al, 5
jmp 0x410b99
cmp byte [esp + 0x13], 5
jbe case.0x410b56.81
or dword [edx + 0x21], 0x11000
jmp case.0x410b56.81
mov ah, byte [esp + 0xe]
jmp 0x410b6a
cmp ah, 0xf7
jne 0x410bb4
or byte [esp + 0x18], 0x10
mov cl, byte [esp + 0x10]
movzx eax, al
sub eax, 0
je 0x410be3
sub eax, 1
je 0x410bd8
sub eax, 1
mov al, byte [esp + 0x12]
jne 0x410c0b
mov byte [esp + 0x11], 2
test cl, 0x10
jmp 0x410c04
mov al, byte [esp + 0x12]
mov byte [esp + 0x11], 1
jmp 0x410c0b
test cl, 0x10
je 0x410bfe
cmp byte [esp + 0x12], 6
setne al
dec al
and al, 2
mov byte [esp + 0x11], al
mov al, byte [esp + 0x12]
jmp 0x410c0b
mov al, byte [esp + 0x12]
cmp al, 5
jne 0x410c0b
mov byte [esp + 0x11], 4
mov ah, byte [esp + 0xf]
cmp ah, 3
je 0x410c44
cmp al, 4
jne 0x410c44
or dword [edx + 0x21], 2
mov al, ch
shr al, 6
inc ebx
mov byte [edx + 0x12], al
mov al, ch
shr al, 3
mov byte [edx + 0x11], ch
and al, 7
and ch, 7
mov byte [edx + 0x13], al
mov byte [edx + 0x14], ch
cmp ch, 5
jne 0x410c44
mov al, 4
test ah, 1
je 0x410c48
mov al, byte [esp + 0x11]
movzx esi, al
dec ebx
mov eax, esi
sub eax, 1
je 0x410c87
sub eax, 1
je 0x410c71
sub eax, 2
jne 0x410c90
or dword [edx + 0x21], 0x100
mov eax, dword [ebx]
add ebx, esi
mov dword [edx + 0x1d], eax
mov eax, dword [esp + 0x18]
jmp 0x410ca6
or dword [edx + 0x21], 0x80
mov ax, word [ebx]
add ebx, esi
mov word [edx + 0x1d], ax
mov eax, dword [esp + 0x18]
jmp 0x410ca6
or dword [edx + 0x21], 0x40
mov al, byte [ebx]
mov byte [edx + 0x1d], al
mov eax, dword [esp + 0x18]
add ebx, esi
jmp 0x410ca6
test cl, 0x20
je 0x410ca6
or edi, 0x9000
mov dword [edx + 0x21], edi
pop esi
test al, 0x10
je 0x410d00
test al, 0x40
je 0x410cce
test cl, 8
je 0x410d31
or dword [edx + 0x21], 0x208
mov ax, word [ebx]
add ebx, 2
mov word [edx + 0x15], ax
jmp 0x410d54
cmp byte [esp + 0x11], 0
je 0x410ceb
or dword [edx + 0x21], 0x20
mov eax, dword [ebx]
mov dword [edx + 0x15], eax
mov eax, dword [ebx + 4]
mov dword [edx + 0x19], eax
mov eax, 8
jmp 0x410cfe
test cl, 8
jne 0x410d0b
or dword [edx + 0x21], 0x10
mov eax, dword [ebx]
mov dword [edx + 0x15], eax
mov eax, 4
add ebx, eax
mov ecx, dword [esp + 0x14]
test cl, 4
je 0x410d1d
jmp 0x410d0f
mov ecx, dword [esp + 0x14]
or dword [edx + 0x21], 8
mov ax, word [ebx]
add ebx, 2
mov word [edx + 0x15], ax
test cl, 2
je 0x410d2c
or dword [edx + 0x21], 4
mov al, byte [ebx]
inc ebx
mov byte [edx + 0x15], al
test cl, 0x40
je 0x410d42
or dword [edx + 0x21], 0x210
mov eax, dword [ebx]
add ebx, 4
mov dword [edx + 0x15], eax
jmp 0x410d54
test cl, 0x20
je 0x410d54
or dword [edx + 0x21], 0x204
mov al, byte [ebx]
inc ebx
mov byte [edx + 0x15], al
sub bl, byte [esp + 0x20]
mov byte [edx], bl
cmp bl, 0xf
jbe 0x410d76
or dword [edx + 0x21], 0x5000
mov al, 0xf
pop edi
mov byte [edx], 0xf
movzx eax, al
pop ebx
add esp, 0x14
ret 4
pop edi
movzx eax, bl
pop ebx
add esp, 0x14
ret 4