Function at 0xa57f20
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov byte [ebp - 7], 0
mov dword [ebp - 0xc], 0xa67338
mov byte [ebp - 8], 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov byte [ebp - 6], 0x10
jmp 0xa57f62
mov al, byte [ebp - 6]
sub al, 1
mov byte [ebp - 6], al
movzx ecx, byte [ebp - 6]
test ecx, ecx
je 0xa5803a
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x26
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0xcd
ja case.0xa57fac.1
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0xa5897c]
jmp dword [eax*4 + 0xa58960]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 1], dl
movzx eax, byte [ebp - 7]
or eax, 4
mov byte [ebp - 7], al
jmp 0xa58035
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 1], dl
movzx eax, byte [ebp - 7]
or eax, 2
mov byte [ebp - 7], al
jmp 0xa58035
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 2], dl
movzx eax, byte [ebp - 7]
or eax, 0x20
mov byte [ebp - 7], al
jmp 0xa58035
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 3], dl
movzx eax, byte [ebp - 7]
or eax, 0x40
mov byte [ebp - 7], al
jmp 0xa58035
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 4], dl
movzx eax, byte [ebp - 7]
or eax, 8
mov byte [ebp - 7], al
jmp 0xa58035
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 5], dl
movzx eax, byte [ebp - 7]
or eax, 0x10
mov byte [ebp - 7], al
jmp 0xa58035
jmp 0xa5803a
jmp 0xa57f5a
movzx ecx, byte [ebp - 7]
shl ecx, 0x17
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
movzx eax, byte [ebp - 7]
test eax, eax
jne 0xa58059
movzx ecx, byte [ebp - 7]
or ecx, 1
mov byte [ebp - 7], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x11]
mov byte [edx + 6], al
movzx ecx, byte [ebp - 0x11]
cmp ecx, 0xf
jne 0xa58090
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 7], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x4a
mov dword [ebp - 0xc], ecx
jmp 0xa580c6
movzx edx, byte [ebp - 0x11]
cmp edx, 0xa0
jl 0xa580c6
movzx eax, byte [ebp - 0x11]
cmp eax, 0xa3
jg 0xa580c6
movzx ecx, byte [ebp - 7]
and ecx, 0x10
je 0xa580bc
movzx edx, byte [ebp - 7]
or edx, 8
mov byte [ebp - 7], dl
jmp 0xa580c6
movzx eax, byte [ebp - 7]
and eax, 0xfffffff7
mov byte [ebp - 7], al
mov cl, byte [ebp - 0x11]
mov byte [ebp - 5], cl
movzx eax, byte [ebp - 5]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + eax]
movzx ecx, byte [ebp - 5]
and ecx, 0x80000003
jns 0xa580f1
dec ecx
or ecx, 0xfffffffc
inc ecx
add ecx, dword [ebp - 0xc]
mov dl, byte [ecx + eax]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
cmp eax, 0xff
jne 0xa58130
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
or edx, 0x3000
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov byte [ebp - 0xf], 0
movzx ecx, byte [ebp - 5]
and ecx, 0xfffffffd
cmp ecx, 0x24
jne 0xa58130
mov dl, byte [ebp - 0xf]
add dl, 1
mov byte [ebp - 0xf], dl
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 0xf]
and eax, 0x80
je 0xa58161
movzx ecx, byte [ebp - 0xf]
and ecx, 0x7f
mov edx, dword [ebp - 0xc]
mov ax, word [edx + ecx]
mov word [ebp - 0x18], ax
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0xf], cl
movzx edx, word [ebp - 0x18]
sar edx, 8
mov byte [ebp - 6], dl
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 7]
test ecx, ecx
je 0xa581b9
mov dword [ebp - 0xc], str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ
movzx eax, byte [ebp - 5]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + eax]
movzx ecx, byte [ebp - 5]
and ecx, 0x80000003
jns 0xa58198
dec ecx
or ecx, 0xfffffffc
inc ecx
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + eax]
movzx eax, byte [ebp - 7]
and edx, eax
je 0xa581b9
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 - 0xf]
and ecx, 1
je 0xa58751
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
or eax, 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [ecx + 8], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 0x11]
sar ecx, 6
mov byte [ebp - 0xd], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx + 9], al
movzx ecx, byte [ebp - 0x11]
and ecx, 7
mov byte [ebp - 0xe], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0xe]
mov byte [edx + 0xb], al
movzx ecx, byte [ebp - 0x11]
and ecx, 0x3f
sar ecx, 3
mov byte [ebp - 0x10], cl
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 0x10]
mov byte [edx + 0xa], al
movzx ecx, byte [ebp - 6]
test ecx, ecx
je 0xa58257
movzx edx, byte [ebp - 6]
movzx ecx, byte [ebp - 0x10]
shl edx, cl
and edx, 0x80
je 0xa58257
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 0xa582ef
movzx edx, byte [ebp - 5]
cmp edx, 0xd9
jl 0xa582ef
movzx eax, byte [ebp - 5]
cmp eax, 0xdf
jg 0xa582ef
movzx ecx, byte [ebp - 5]
sub ecx, 0xd9
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0xd]
cmp edx, 3
jne 0xa582b7
movzx eax, byte [ebp - 0x19]
lea ecx, [eax*8 + 0xa67430]
mov dword [ebp - 0xc], ecx
movzx edx, byte [ebp - 0x10]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx ecx, byte [ebp - 0xe]
shl edx, cl
mov byte [ebp - 0x19], dl
jmp 0xa582d2
mov dword [ebp - 0xc], 0xa67429
movzx eax, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + eax]
movzx ecx, byte [ebp - 0x10]
shl edx, cl
mov byte [ebp - 0x19], dl
movzx eax, byte [ebp - 0x19]
and eax, 0x80
je 0xa582ef
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 - 7]
and ecx, 0x20
je 0xa583b3
movzx edx, byte [ebp - 0xd]
cmp edx, 3
jne 0xa5831c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
or ecx, 0x9000
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
jmp 0xa583b3
mov al, byte [ebp - 5]
mov byte [ebp - 0x21], al
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
test edx, edx
je 0xa5833f
mov dword [ebp - 0xc], 0xa674f1
mov eax, dword [ebp - 0xc]
add eax, 0x12
mov dword [ebp - 0x20], eax
jmp 0xa58359
mov dword [ebp - 0xc], 0xa674d9
mov ecx, dword [ebp - 0xc]
add ecx, 0x18
mov dword [ebp - 0x20], ecx
movzx edx, byte [ebp - 0x21]
and edx, 0xfffffffe
mov byte [ebp - 0x21], dl
jmp 0xa58364
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x20]
je 0xa583a1
movzx edx, byte [ebp - 0x21]
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp ecx, edx
jne 0xa5839f
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
movzx ecx, byte [ebp - 0x10]
shl edx, cl
and edx, 0x80
jne 0xa5839d
jmp 0xa583b3
jmp 0xa583a1
jmp 0xa5835b
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 0xa58438
movzx edx, byte [ebp - 5]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x20
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
ja case.default.0xa583d7
mov ecx, dword [ebp - 0x34]
jmp dword [ecx*4 + 0xa58a4c]
mov byte [ebp - 0xd], 3
movzx edx, byte [ebp - 0x10]
cmp edx, 4
jg 0xa583f4
movzx eax, byte [ebp - 0x10]
cmp eax, 1
jne 0xa58400
jmp 0xa58594
jmp 0xa585a6
mov byte [ebp - 0xd], 3
movzx ecx, byte [ebp - 0x10]
cmp ecx, 4
je 0xa58420
movzx edx, byte [ebp - 0x10]
cmp edx, 5
jne 0xa5842c
jmp 0xa58594
jmp 0xa585a6
jmp 0xa58493
mov al, byte [ebp - 5]
mov byte [ebp - 0x38], al
cmp byte [ebp - 0x38], 0x8c
je 0xa5844c
cmp byte [ebp - 0x38], 0x8e
je 0xa5846b
jmp 0xa58493
movzx ecx, byte [ebp - 0x10]
cmp ecx, 5
jle 0xa58461
jmp 0xa58594
jmp 0xa585a6
movzx edx, byte [ebp - 0x10]
cmp edx, 1
je 0xa5847d
movzx eax, byte [ebp - 0x10]
cmp eax, 5
jle 0xa58489
jmp 0xa58594
jmp 0xa585a6
movzx ecx, byte [ebp - 0xd]
cmp ecx, 3
jne 0xa58533
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 7]
test eax, eax
je 0xa584bd
mov dword [ebp - 0xc], 0xa67512
mov ecx, dword [ebp - 0xc]
add ecx, 0x2a
mov dword [ebp - 0x28], ecx
jmp 0xa584cd
mov dword [ebp - 0xc], 0xa67503
mov edx, dword [ebp - 0xc]
add edx, 0xf
mov dword [ebp - 0x28], edx
jmp 0xa584d8
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x28]
je 0xa5852d
movzx edx, byte [ebp - 5]
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp ecx, edx
jne 0xa5852b
movzx ecx, byte [ebp - 7]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
and eax, ecx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0xa58529
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x10]
shl eax, cl
and eax, 0x80
jne 0xa58529
jmp 0xa58594
jmp 0xa5852d
jmp 0xa584cf
jmp 0xa585a6
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
test edx, edx
je 0xa58590
movzx eax, byte [ebp - 5]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x50
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0xa7
ja case.0xa58561.1
mov edx, dword [ebp - 0x3c]
movzx eax, byte [edx + 0xa58a6c]
jmp dword [eax*4 + 0xa58a5c]
movzx ecx, byte [ebp - 7]
and ecx, 9
je 0xa58575
jmp 0xa58594
jmp case.0xa58561.1
movzx edx, byte [ebp - 7]
and edx, 6
je 0xa58584
jmp 0xa58594
jmp case.0xa58561.1
jmp 0xa58594
jmp 0xa585a6
jmp 0xa585a6
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 - 4]
mov cl, byte [eax]
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0x10]
cmp eax, 1
jg 0xa585ed
movzx ecx, byte [ebp - 5]
cmp ecx, 0xf6
jne 0xa585d8
movzx edx, byte [ebp - 0xf]
or edx, 2
mov byte [ebp - 0xf], dl
jmp 0xa585ed
movzx eax, byte [ebp - 5]
cmp eax, 0xf7
jne 0xa585ed
movzx ecx, byte [ebp - 0xf]
or ecx, 0x10
mov byte [ebp - 0xf], cl
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x40], dl
cmp byte [ebp - 0x40], 0
je 0xa58607
cmp byte [ebp - 0x40], 1
je 0xa5862e
cmp byte [ebp - 0x40], 2
je 0xa58634
jmp 0xa58649
movzx eax, byte [ebp - 7]
and eax, 0x10
je 0xa5861f
movzx ecx, byte [ebp - 0xe]
cmp ecx, 6
jne 0xa5861d
mov byte [ebp - 8], 2
jmp 0xa5862c
movzx edx, byte [ebp - 0xe]
cmp edx, 5
jne 0xa5862c
mov byte [ebp - 8], 4
jmp 0xa58649
mov byte [ebp - 8], 1
jmp 0xa58649
mov byte [ebp - 8], 2
movzx eax, byte [ebp - 7]
and eax, 0x10
jne 0xa58649
mov cl, byte [ebp - 8]
shl cl, 1
mov byte [ebp - 8], cl
movzx edx, byte [ebp - 0xd]
cmp edx, 3
je 0xa586cb
movzx eax, byte [ebp - 0xe]
cmp eax, 4
jne 0xa586cb
movzx ecx, byte [ebp - 7]
and ecx, 0x10
jne 0xa586cb
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 - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x11]
mov byte [eax + 0xc], cl
movzx edx, byte [ebp - 0x11]
sar edx, 6
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xd], dl
movzx ecx, byte [ebp - 0x11]
and ecx, 0x3f
sar ecx, 3
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xe], cl
movzx eax, byte [ebp - 0x11]
and eax, 7
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x44]
mov byte [ecx + 0xf], dl
movzx eax, byte [ebp - 0x44]
cmp eax, 5
jne 0xa586cb
movzx ecx, byte [ebp - 0xd]
and ecx, 1
jne 0xa586cb
mov byte [ebp - 8], 4
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov al, byte [ebp - 8]
mov byte [ebp - 0x48], al
cmp byte [ebp - 0x48], 1
je 0xa586ee
cmp byte [ebp - 0x48], 2
je 0xa5870a
cmp byte [ebp - 0x48], 4
je 0xa58728
jmp 0xa58745
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 - 4]
mov al, byte [edx]
mov byte [ecx + 0x14], al
jmp 0xa58745
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 - 4]
mov ax, word [edx]
mov word [ecx + 0x14], ax
jmp 0xa58745
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 - 4]
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
movzx ecx, byte [ebp - 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0xa5876c
movzx edx, byte [ebp - 7]
and edx, 0x20
je 0xa5876c
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 - 0xf]
and eax, 0x10
je 0xa5881a
movzx ecx, byte [ebp - 0xf]
and ecx, 0x40
je 0xa587c7
movzx edx, byte [ebp - 7]
and edx, 8
je 0xa587bd
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 - 4]
mov dx, word [ecx]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0xa58929
jmp 0xa588d2
movzx ecx, byte [ebp - 7]
and ecx, 8
je 0xa587f7
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 - 4]
mov cx, word [eax]
mov word [edx + 0x10], cx
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
jmp 0xa5881a
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 - 4]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 0xf]
and ecx, 4
je 0xa5889d
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
and eax, 0x10
je 0xa5884c
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 - 4]
mov ax, word [edx]
mov word [ecx + 0x14], ax
jmp 0xa58894
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
and edx, 8
je 0xa58878
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 - 4]
mov dx, word [ecx]
mov word [eax + 0x14], dx
jmp 0xa58894
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 - 4]
mov dx, word [ecx]
mov word [eax + 0x10], dx
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 0xf]
and ecx, 2
je 0xa588c9
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 - 4]
mov cl, byte [eax]
mov byte [edx + 0x10], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 0xf]
and eax, 0x40
je 0xa588fa
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 - 4]
mov eax, dword [edx]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
jmp 0xa58929
movzx edx, byte [ebp - 0xf]
and edx, 0x20
je 0xa58929
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 - 4]
mov dl, byte [ecx]
mov byte [eax + 0x10], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov byte [edx], cl
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
cmp ecx, 0xf
jle 0xa58956
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