Function at 0x1000d1e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov ecx, 0x1004e453
call fcn.1003b167
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], 0x1004aad8
mov byte [ebp - 7], 0
push 0x1c
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10021ab0
add esp, 0xc
mov byte [ebp - 8], 0x10
jmp 0x1000d224
mov dl, byte [ebp - 8]
sub dl, 1
mov byte [ebp - 8], dl
movzx eax, byte [ebp - 8]
test eax, eax
je 0x1000d2fa
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub eax, 0x26
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xcd
ja case.0x1000d26e.1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x1000dc18]
jmp dword [edx*4 + 0x1000dbfc]
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 1], cl
movzx edx, byte [ebp - 1]
or edx, 4
mov byte [ebp - 1], dl
jmp 0x1000d2f5
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 1], cl
movzx edx, byte [ebp - 1]
or edx, 2
mov byte [ebp - 1], dl
jmp 0x1000d2f5
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 2], cl
movzx edx, byte [ebp - 1]
or edx, 0x20
mov byte [ebp - 1], dl
jmp 0x1000d2f5
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 3], cl
movzx edx, byte [ebp - 1]
or edx, 0x40
mov byte [ebp - 1], dl
jmp 0x1000d2f5
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 4], cl
movzx edx, byte [ebp - 1]
or edx, 8
mov byte [ebp - 1], dl
jmp 0x1000d2f5
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 5], cl
movzx edx, byte [ebp - 1]
or edx, 0x10
mov byte [ebp - 1], dl
jmp 0x1000d2f5
jmp 0x1000d2fa
jmp 0x1000d21b
movzx eax, byte [ebp - 1]
shl eax, 0x17
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x1000d319
movzx eax, byte [ebp - 1]
or eax, 1
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + 6], dl
movzx eax, byte [ebp - 2]
cmp eax, 0xf
jne 0x1000d350
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 7], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
add eax, 0x4a
mov dword [ebp - 0x18], eax
jmp 0x1000d387
movzx ecx, byte [ebp - 2]
cmp ecx, 0xa0
jl 0x1000d387
movzx edx, byte [ebp - 2]
cmp edx, 0xa3
jg 0x1000d387
movzx eax, byte [ebp - 1]
and eax, 0x10
je 0x1000d37d
movzx ecx, byte [ebp - 1]
or ecx, 8
mov byte [ebp - 1], cl
jmp 0x1000d387
movzx edx, byte [ebp - 1]
and edx, 0xfffffff7
mov byte [ebp - 1], dl
mov al, byte [ebp - 2]
mov byte [ebp - 4], al
movzx eax, byte [ebp - 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
movzx eax, byte [ebp - 4]
and eax, 0x80000003
jns 0x1000d3b1
dec eax
or eax, 0xfffffffc
inc eax
add eax, dword [ebp - 0x18]
mov cl, byte [eax + edx]
mov byte [ebp - 3], cl
movzx edx, byte [ebp - 3]
cmp edx, 0xff
jne 0x1000d3f1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x3000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 4]
and eax, 0xfffffffd
cmp eax, 0x24
jne 0x1000d3f1
mov cl, byte [ebp - 3]
add cl, 1
mov byte [ebp - 3], cl
mov byte [ebp - 8], 0
movzx edx, byte [ebp - 3]
and edx, 0x80
je 0x1000d423
movzx eax, byte [ebp - 3]
and eax, 0x7f
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + eax]
mov word [ebp - 0x10], dx
mov al, byte [ebp - 0x10]
mov byte [ebp - 3], al
movzx ecx, word [ebp - 0x10]
sar ecx, 8
mov byte [ebp - 8], cl
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
test eax, eax
je 0x1000d47a
mov dword [ebp - 0x18], str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ
movzx eax, byte [ebp - 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
movzx eax, byte [ebp - 4]
and eax, 0x80000003
jns 0x1000d459
dec eax
or eax, 0xfffffffc
inc eax
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
and ecx, edx
je 0x1000d47a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x3000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
movzx eax, byte [ebp - 3]
and eax, 1
je 0x1000d9f3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 8], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
movzx eax, byte [ebp - 2]
sar eax, 6
mov byte [ebp - 6], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 6]
mov byte [ecx + 9], dl
movzx eax, byte [ebp - 2]
and eax, 7
mov byte [ebp - 0xa], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0xa]
mov byte [ecx + 0xb], dl
movzx eax, byte [ebp - 2]
and eax, 0x3f
sar eax, 3
mov byte [ebp - 5], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 5]
mov byte [ecx + 0xa], dl
movzx eax, byte [ebp - 8]
test eax, eax
je 0x1000d518
movzx edx, byte [ebp - 8]
movzx ecx, byte [ebp - 5]
shl edx, cl
and edx, 0x80
je 0x1000d518
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x3000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 7]
test ecx, ecx
jne 0x1000d5b0
movzx edx, byte [ebp - 4]
cmp edx, 0xd9
jl 0x1000d5b0
movzx eax, byte [ebp - 4]
cmp eax, 0xdf
jg 0x1000d5b0
movzx ecx, byte [ebp - 4]
sub ecx, 0xd9
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 6]
cmp edx, 3
jne 0x1000d578
movzx eax, byte [ebp - 9]
lea ecx, [eax*8 + 0x1004abd0]
mov dword [ebp - 0x18], ecx
movzx edx, byte [ebp - 5]
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + edx]
movzx ecx, byte [ebp - 0xa]
shl edx, cl
mov byte [ebp - 9], dl
jmp 0x1000d593
mov dword [ebp - 0x18], 0x1004abc9
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
movzx ecx, byte [ebp - 5]
shl edx, cl
mov byte [ebp - 9], dl
movzx eax, byte [ebp - 9]
and eax, 0x80
je 0x1000d5b0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x3000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
movzx ecx, byte [ebp - 1]
and ecx, 0x20
je 0x1000d67c
movzx edx, byte [ebp - 6]
cmp edx, 3
jne 0x1000d5dd
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
jmp 0x1000d67c
mov al, byte [ebp - 4]
mov byte [ebp - 0xb], al
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
test edx, edx
je 0x1000d600
mov dword [ebp - 0x18], 0x1004ac91
mov eax, dword [ebp - 0x18]
add eax, 0x12
mov dword [ebp - 0x30], eax
jmp 0x1000d61a
mov dword [ebp - 0x18], 0x1004ac79
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
mov dword [ebp - 0x30], ecx
movzx edx, byte [ebp - 0xb]
and edx, 0xfffffffe
mov byte [ebp - 0xb], dl
jmp 0x1000d625
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x30]
je 0x1000d66a
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
mov dword [ebp - 0x48], eax
movzx ecx, byte [ebp - 0xb]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
jne 0x1000d668
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
movzx ecx, byte [ebp - 5]
shl edx, cl
and edx, 0x80
jne 0x1000d666
jmp 0x1000d67c
jmp 0x1000d66a
jmp 0x1000d61c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 7]
test ecx, ecx
je 0x1000d6ed
movzx edx, byte [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
sub eax, 0x20
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
ja case.default.0x1000d6a0
mov ecx, dword [ebp - 0x20]
jmp dword [ecx*4 + 0x1000dce8]
mov byte [ebp - 6], 3
movzx edx, byte [ebp - 5]
cmp edx, 4
jg 0x1000d6bd
movzx eax, byte [ebp - 5]
cmp eax, 1
jne 0x1000d6c4
jmp 0x1000d836
jmp 0x1000d848
mov byte [ebp - 6], 3
movzx ecx, byte [ebp - 5]
cmp ecx, 4
je 0x1000d6df
movzx edx, byte [ebp - 5]
cmp edx, 5
jne 0x1000d6e6
jmp 0x1000d836
jmp 0x1000d848
jmp 0x1000d734
mov al, byte [ebp - 4]
mov byte [ebp - 0x34], al
cmp byte [ebp - 0x34], 0x8c
je 0x1000d701
cmp byte [ebp - 0x34], 0x8e
je 0x1000d716
jmp 0x1000d734
movzx ecx, byte [ebp - 5]
cmp ecx, 5
jle 0x1000d711
jmp 0x1000d836
jmp 0x1000d848
movzx edx, byte [ebp - 5]
cmp edx, 1
je 0x1000d728
movzx eax, byte [ebp - 5]
cmp eax, 5
jle 0x1000d72f
jmp 0x1000d836
jmp 0x1000d848
movzx ecx, byte [ebp - 6]
cmp ecx, 3
jne 0x1000d7df
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
test eax, eax
je 0x1000d75e
mov dword [ebp - 0x18], 0x1004acb2
mov ecx, dword [ebp - 0x18]
add ecx, 0x2a
mov dword [ebp - 0x38], ecx
jmp 0x1000d76e
mov dword [ebp - 0x18], 0x1004aca3
mov edx, dword [ebp - 0x18]
add edx, 0xf
mov dword [ebp - 0x38], edx
jmp 0x1000d779
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x38]
je 0x1000d7db
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
mov dword [ebp - 0x50], eax
movzx ecx, byte [ebp - 4]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x54]
jne 0x1000d7d9
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 1]
and edx, eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x58], 0
je 0x1000d7d7
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 5]
shl eax, cl
and eax, 0x80
jne 0x1000d7d7
jmp 0x1000d836
jmp 0x1000d7db
jmp 0x1000d770
jmp 0x1000d848
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
test edx, edx
je 0x1000d834
movzx eax, byte [ebp - 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 0x50
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0xa7
ja case.0x1000d80d.1
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0x1000dd08]
jmp dword [eax*4 + 0x1000dcf8]
movzx ecx, byte [ebp - 1]
and ecx, 9
je 0x1000d81f
jmp 0x1000d836
jmp case.0x1000d80d.1
movzx edx, byte [ebp - 1]
and edx, 6
je 0x1000d82c
jmp 0x1000d836
jmp case.0x1000d80d.1
jmp 0x1000d836
jmp 0x1000d848
jmp 0x1000d848
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x11000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 2], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
movzx eax, byte [ebp - 5]
cmp eax, 1
jg 0x1000d88f
movzx ecx, byte [ebp - 4]
cmp ecx, 0xf6
jne 0x1000d87a
movzx edx, byte [ebp - 3]
or edx, 2
mov byte [ebp - 3], dl
jmp 0x1000d88f
movzx eax, byte [ebp - 4]
cmp eax, 0xf7
jne 0x1000d88f
movzx ecx, byte [ebp - 3]
or ecx, 0x10
mov byte [ebp - 3], cl
mov dl, byte [ebp - 6]
mov byte [ebp - 0x28], dl
cmp byte [ebp - 0x28], 0
je 0x1000d8a9
cmp byte [ebp - 0x28], 1
je 0x1000d8d0
cmp byte [ebp - 0x28], 2
je 0x1000d8d6
jmp 0x1000d8eb
movzx eax, byte [ebp - 1]
and eax, 0x10
je 0x1000d8c1
movzx ecx, byte [ebp - 0xa]
cmp ecx, 6
jne 0x1000d8bf
mov byte [ebp - 7], 2
jmp 0x1000d8ce
movzx edx, byte [ebp - 0xa]
cmp edx, 5
jne 0x1000d8ce
mov byte [ebp - 7], 4
jmp 0x1000d8eb
mov byte [ebp - 7], 1
jmp 0x1000d8eb
mov byte [ebp - 7], 2
movzx eax, byte [ebp - 1]
and eax, 0x10
jne 0x1000d8eb
mov cl, byte [ebp - 7]
shl cl, 1
mov byte [ebp - 7], cl
movzx edx, byte [ebp - 6]
cmp edx, 3
je 0x1000d96d
movzx eax, byte [ebp - 0xa]
cmp eax, 4
jne 0x1000d96d
movzx ecx, byte [ebp - 1]
and ecx, 0x10
jne 0x1000d96d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 2
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 2]
mov byte [eax + 0xc], cl
movzx edx, byte [ebp - 2]
sar edx, 6
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xd], dl
movzx ecx, byte [ebp - 2]
and ecx, 0x3f
sar ecx, 3
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xe], cl
movzx eax, byte [ebp - 2]
and eax, 7
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x3c]
mov byte [ecx + 0xf], dl
movzx eax, byte [ebp - 0x3c]
cmp eax, 5
jne 0x1000d96d
movzx ecx, byte [ebp - 6]
and ecx, 1
jne 0x1000d96d
mov byte [ebp - 7], 4
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov al, byte [ebp - 7]
mov byte [ebp - 0x2c], al
cmp byte [ebp - 0x2c], 1
je 0x1000d990
cmp byte [ebp - 0x2c], 2
je 0x1000d9ac
cmp byte [ebp - 0x2c], 4
je 0x1000d9ca
jmp 0x1000d9e7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x20
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov al, byte [edx]
mov byte [ecx + 0x14], al
jmp 0x1000d9e7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x40
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ecx + 0x14], ax
jmp 0x1000d9e7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x80
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
movzx ecx, byte [ebp - 7]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x1000da0e
movzx edx, byte [ebp - 1]
and edx, 0x20
je 0x1000da0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
movzx eax, byte [ebp - 3]
and eax, 0x10
je 0x1000dab2
movzx ecx, byte [ebp - 3]
and ecx, 0x40
je 0x1000da5f
movzx edx, byte [ebp - 1]
and edx, 8
je 0x1000da5a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x108
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
jmp 0x1000dbc1
jmp 0x1000db6a
movzx ecx, byte [ebp - 1]
and ecx, 8
je 0x1000da8f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
mov word [edx + 0x10], cx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
jmp 0x1000dab2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x10
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
movzx ecx, byte [ebp - 3]
and ecx, 4
je 0x1000db35
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
and eax, 0x10
je 0x1000dae4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 8
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ecx + 0x14], ax
jmp 0x1000db2c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
and edx, 8
je 0x1000db10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x800
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [eax + 0x14], dx
jmp 0x1000db2c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 8
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
movzx ecx, byte [ebp - 3]
and ecx, 2
je 0x1000db61
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [edx + 0x10], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
movzx eax, byte [ebp - 3]
and eax, 0x40
je 0x1000db92
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x110
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x1000dbc1
movzx edx, byte [ebp - 3]
and edx, 0x20
je 0x1000dbc1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x104
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [eax + 0x10], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x40]
mov byte [edx], al
movzx ecx, byte [ebp - 0x40]
cmp ecx, 0xf
jle 0x1000dbf2
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 0x5000
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp + 0xc]
mov byte [edx], 0xf
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
mov esp, ebp
pop ebp
ret