Function at 0x410030
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x18
mov edx, ecx
mov dword [esp + 8], 0x4310d0
xor cl, cl
mov byte [esp + 5], 0x10
xor eax, eax
mov byte [esp + 7], cl
push ebx
mov ebx, dword [esp + 0x20]
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
mov dword [edx + 0x20], eax
mov byte [edx + 0x24], al
lea esp, [esp]
mov ch, byte [ebx]
inc ebx
movzx eax, ch
add eax, 0xffffffda
mov byte [esp + 5], ch
cmp eax, 0xcd
ja case.0x41008b.39
movzx eax, byte [eax + 0x4105f0]
jmp dword [eax*4 + 0x4105d4]
mov byte [edx + 1], ch
mov al, 4
jmp 0x4100ba
mov byte [edx + 1], ch
mov al, 2
jmp 0x4100ba
mov byte [edx + 2], ch
mov al, 0x20
jmp 0x4100ba
mov byte [edx + 3], ch
mov al, 0x40
jmp 0x4100ba
mov byte [edx + 4], ch
mov al, 8
jmp 0x4100ba
mov byte [edx + 5], ch
mov al, 0x10
mov ah, byte [esp + 9]
or cl, al
dec ah
mov byte [esp + 9], ah
test ah, ah
jne 0x410070
push ebp
push esi
push edi
movzx edi, cl
shl edi, 0x17
mov byte [esp + 0x12], cl
mov dword [edx + 0x21], edi
test cl, cl
jne 0x4100e4
mov cl, 1
mov byte [esp + 0x12], cl
mov byte [edx + 0xb], ch
cmp ch, 0xf
jne 0x410100
mov ch, byte [ebx]
inc ebx
mov byte [esp + 0x11], ch
mov byte [edx + 0xc], ch
mov dword [esp + 0x18], 0x43111a
jmp 0x410119
mov al, ch
add al, 0x60
cmp al, 3
ja 0x410119
test cl, 0x10
je 0x410112
or cl, 8
jmp 0x410115
and cl, 0xf7
mov byte [esp + 0x12], cl
movzx eax, ch
mov ebp, eax
mov dword [esp + 0x1c], eax
mov esi, eax
shr ebp, 2
mov eax, dword [esp + 0x18]
and esi, 3
mov dword [esp + 0x24], esi
movzx eax, byte [eax + ebp]
add eax, esi
mov esi, dword [esp + 0x18]
mov al, byte [eax + esi]
mov dword [esp + 0x18], eax
cmp al, 0xff
jne 0x41016d
mov eax, dword [esp + 0x1c]
or edi, 0x3000
and eax, 0xfffffffd
mov dword [edx + 0x21], edi
mov byte [esp + 0x18], 0
cmp eax, 0x24
jne 0x410169
mov al, 1
mov dword [esp + 0x18], eax
jmp 0x41016d
mov eax, dword [esp + 0x18]
mov byte [esp + 0x20], 0
test al, al
jns 0x41018b
movzx eax, al
and eax, 0x7f
movzx eax, word [eax + esi]
mov dword [esp + 0x18], eax
shr eax, 8
mov dword [esp + 0x20], eax
mov al, byte [edx + 0xc]
mov esi, edi
mov byte [esp + 0x15], al
test al, al
je 0x4101b5
movzx eax, byte [ebp + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ]
mov ebp, dword [esp + 0x24]
test byte [eax + ebp + str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ], cl
je 0x4101b5
or esi, 0x3000
mov dword [edx + 0x21], esi
mov eax, dword [esp + 0x18]
test al, 1
je 0x4104cd
or esi, 1
mov dword [edx + 0x21], esi
mov edi, esi
mov cl, byte [ebx]
mov al, cl
mov byte [edx + 0xd], cl
shr al, 6
mov byte [esp + 0x10], al
mov byte [edx + 0xe], al
mov al, cl
and al, 7
shr cl, 3
and cl, 7
mov byte [esp + 0x14], al
mov byte [edx + 0x10], al
mov eax, dword [esp + 0x20]
mov byte [esp + 0x13], cl
mov byte [edx + 0xf], cl
test al, al
je 0x41020c
movzx eax, al
shl eax, cl
test al, al
jns 0x41020c
or edi, 0x3000
mov dword [edx + 0x21], edi
cmp byte [esp + 0x15], 0
mov eax, edi
jne 0x410260
cmp ch, 0xd9
jb 0x410260
cmp ch, 0xdf
ja 0x410260
mov al, ch
movzx esi, cl
add al, 0x27
cmp byte [esp + 0x10], 3
movzx eax, al
jne 0x41023d
mov al, byte [esi + eax*8 + 0x4311c8]
mov cl, byte [esp + 0x14]
jmp 0x410249
mov al, byte [eax + 0x4311c1]
mov ecx, esi
mov ch, byte [esp + 0x11]
shl al, cl
mov byte [esp + 0x16], al
mov eax, edi
cmp byte [esp + 0x16], 0
jge 0x410260
or eax, 0x3000
mov dword [edx + 0x21], eax
test byte [esp + 0x12], 0x20
je 0x4102c2
cmp byte [esp + 0x10], 3
jne 0x410278
or eax, 0x9000
mov dword [edx + 0x21], eax
jmp 0x4102c2
cmp byte [esp + 0x15], 0
mov cl, ch
je 0x41028d
mov esi, 0x431289
mov edi, 0x43129b
jmp 0x4102a0
mov cl, ch
mov esi, 0x431271
mov edi, 0x431289
and cl, 0xfe
lea esp, [esp]
cmp byte [esi], cl
je 0x4102ad
add esi, 2
cmp esi, edi
jne 0x4102a0
jmp 0x4102bb
movzx eax, byte [esi + 1]
mov cl, byte [esp + 0x13]
shl eax, cl
test al, al
jns 0x4102c2
or dword [edx + 0x21], 0x9000
mov cl, byte [esp + 0x15]
mov ebp, dword [esp + 0x1c]
test cl, cl
je 0x410324
lea eax, [ebp - 0x20]
cmp eax, 3
ja case.default.0x4102d6
jmp dword [eax*4 + 0x4106c0]
mov al, byte [esp + 0x13]
mov byte [esp + 0x10], 3
cmp al, 4
ja case.0x410391.197
cmp al, 1
jne case.0x410391.81
or dword [edx + 0x21], 0x11000
jmp case.0x410391.81
mov al, byte [esp + 0x13]
mov byte [esp + 0x10], 3
cmp al, 4
je case.0x410391.197
cmp al, 5
jne case.0x410391.81
or dword [edx + 0x21], 0x11000
jmp case.0x410391.81
mov eax, ebp
sub eax, 0x8c
je 0x4103d3
sub eax, 2
je 0x4103c7
mov al, byte [esp + 0x10]
cmp al, 3
jne 0x41037c
mov ah, byte [esp + 0x11]
test cl, cl
jne 0x4103a7
mov ecx, 0x43129b
nop
mov al, byte [ecx]
inc ecx
cmp al, ah
je 0x410364
add ecx, 2
cmp ecx, 0x4312aa
jb 0x410350
jmp 0x4103a3
mov al, byte [esp + 0x12]
test byte [ecx], al
je 0x4103a3
movzx eax, byte [ecx + 1]
mov cl, byte [esp + 0x13]
shl eax, cl
test al, al
jns case.0x410391.197
jmp case.0x410391.81
test cl, cl
je 0x4103e3
lea eax, [ebp - 0x50]
cmp eax, 0xa7
ja case.0x410391.81
movzx eax, byte [eax + 0x4106e0]
jmp dword [eax*4 + 0x4106d0]
test byte [esp + 0x12], 9
jne case.0x410391.197
mov ah, byte [esp + 0x11]
mov al, byte [esp + 0x10]
mov ch, byte [ebx + 1]
add ebx, 2
cmp byte [esp + 0x13], 1
ja 0x4103f3
cmp ah, 0xf6
jne 0x4103e9
or byte [esp + 0x18], 2
jmp 0x4103f3
test byte [esp + 0x12], 6
jmp 0x41039d
mov al, byte [esp + 0x13]
cmp al, 1
je case.0x410391.197
cmp al, 5
jmp 0x4103d8
cmp byte [esp + 0x13], 5
jbe case.0x410391.81
or dword [edx + 0x21], 0x11000
jmp case.0x410391.81
mov ah, byte [esp + 0x11]
jmp 0x4103a7
cmp ah, 0xf7
jne 0x4103f3
or byte [esp + 0x18], 0x10
mov cl, byte [esp + 0x12]
movzx eax, al
sub eax, 0
je 0x410420
sub eax, 1
je 0x410418
sub eax, 1
mov al, byte [esp + 0x14]
jne 0x41043b
mov ah, 2
test cl, 0x10
jne 0x41043f
mov ah, 4
jmp 0x41043f
mov al, byte [esp + 0x14]
mov ah, 1
jmp 0x41043f
mov al, byte [esp + 0x14]
test cl, 0x10
je 0x410435
cmp al, 6
setne ah
dec ah
and ah, 2
jmp 0x41043f
mov ah, 4
cmp al, 5
je 0x41043f
mov ah, byte [esp + 0x17]
cmp byte [esp + 0x10], 3
je 0x41047d
cmp al, 4
jne 0x41047d
test cl, 0x10
jne 0x41047d
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 0x41047d
test byte [esp + 0x10], 1
jne 0x41047d
mov ah, 4
movzx esi, ah
dec ebx
mov eax, esi
sub eax, 1
je 0x4104bc
sub eax, 1
je 0x4104a6
sub eax, 2
jne 0x4104c5
or dword [edx + 0x21], 0x100
mov eax, dword [ebx]
add ebx, esi
mov dword [edx + 0x1d], eax
mov eax, dword [esp + 0x18]
jmp 0x4104db
or dword [edx + 0x21], 0x80
mov ax, word [ebx]
add ebx, esi
mov word [edx + 0x1d], ax
mov eax, dword [esp + 0x18]
jmp 0x4104db
or dword [edx + 0x21], 0x40
mov al, byte [ebx]
mov byte [edx + 0x1d], al
mov eax, dword [esp + 0x18]
add ebx, esi
jmp 0x4104db
test cl, 0x20
je 0x4104db
or esi, 0x9000
mov dword [edx + 0x21], esi
pop edi
pop esi
pop ebp
test al, 0x10
je 0x41052e
and cl, 8
test al, 0x40
je 0x410507
test cl, cl
je 0x410586
or dword [edx + 0x21], 0x208
mov ax, word [ebx]
add ebx, 2
mov word [edx + 0x15], ax
jmp 0x4105a9
mov eax, dword [edx + 0x21]
test cl, cl
je 0x410520
or eax, 8
mov dword [edx + 0x21], eax
mov ax, word [ebx]
add ebx, 2
mov word [edx + 0x15], ax
jmp 0x41052e
or eax, 0x10
mov dword [edx + 0x21], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edx + 0x15], eax
mov ecx, dword [esp + 0xc]
test cl, 4
je 0x410572
mov eax, dword [edx + 0x21]
test al, 0x10
je 0x41054d
or eax, 8
mov dword [edx + 0x21], eax
mov ax, word [ebx]
mov word [edx + 0x1d], ax
jmp 0x41056f
test al, 8
je 0x410562
or eax, 0x800
mov dword [edx + 0x21], eax
mov ax, word [ebx]
mov word [edx + 0x1d], ax
jmp 0x41056f
or eax, 8
mov dword [edx + 0x21], eax
mov ax, word [ebx]
mov word [edx + 0x15], ax
add ebx, 2
test cl, 2
je 0x410581
or dword [edx + 0x21], 4
mov al, byte [ebx]
inc ebx
mov byte [edx + 0x15], al
test cl, 0x40
je 0x410597
or dword [edx + 0x21], 0x210
mov eax, dword [ebx]
add ebx, 4
mov dword [edx + 0x15], eax
jmp 0x4105a9
test cl, 0x20
je 0x4105a9
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 0x4105ca
or dword [edx + 0x21], 0x5000
mov al, 0xf
mov byte [edx], 0xf
movzx eax, al
pop ebx
add esp, 0x18
ret 4
movzx eax, bl
pop ebx
add esp, 0x18
ret 4