Function at 0x10005090
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 8], ecx
mov byte [ebp - 0x35], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], 0x100148e0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x1c], 0
push 0x25
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.10001d60
add esp, 0xc
mov byte [ebp - 0x19], 0x10
jmp 0x100050d5
mov dl, byte [ebp - 0x19]
sub dl, 1
mov byte [ebp - 0x19], dl
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100051ad
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 0x1e], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov cl, byte [ebp - 0x1e]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
sub eax, 0x26
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xcd
ja case.0x1000511f.1
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x10005c80]
jmp dword [edx*4 + 0x10005c64]
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 1], cl
movzx edx, byte [ebp - 1]
or edx, 4
mov byte [ebp - 1], dl
jmp 0x100051a8
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 1], cl
movzx edx, byte [ebp - 1]
or edx, 2
mov byte [ebp - 1], dl
jmp 0x100051a8
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 2], cl
movzx edx, byte [ebp - 1]
or edx, 0x20
mov byte [ebp - 1], dl
jmp 0x100051a8
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 3], cl
movzx edx, byte [ebp - 1]
or edx, 0x40
mov byte [ebp - 1], dl
jmp 0x100051a8
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 4], cl
movzx edx, byte [ebp - 1]
or edx, 8
mov byte [ebp - 1], dl
jmp 0x100051a8
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 5], cl
movzx edx, byte [ebp - 1]
or edx, 0x10
mov byte [ebp - 1], dl
jmp 0x100051a8
jmp 0x100051ad
jmp 0x100050cc
movzx eax, byte [ebp - 1]
shl eax, 0x17
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x100051cc
movzx eax, byte [ebp - 1]
or eax, 1
mov byte [ebp - 1], al
xor ecx, ecx
je 0x10005282
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 0x40000000
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
movzx edx, byte [ebp - 2]
and edx, 0xf
sar edx, 3
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x44]
mov byte [eax + 7], cl
movzx edx, byte [ebp - 0x44]
test edx, edx
je 0x10005220
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
and ecx, 0xf8
cmp ecx, 0xb8
jne 0x10005220
mov dl, byte [ebp - 0x1c]
add dl, 1
mov byte [ebp - 0x1c], dl
movzx eax, byte [ebp - 2]
and eax, 7
sar eax, 2
mov ecx, dword [ebp - 8]
mov byte [ecx + 8], al
movzx edx, byte [ebp - 2]
and edx, 3
sar edx, 1
mov eax, dword [ebp - 8]
mov byte [eax + 9], dl
movzx ecx, byte [ebp - 2]
and ecx, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0xa], cl
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x1f], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov al, byte [ebp - 0x1f]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
and ecx, 0xf0
cmp ecx, 0x40
jne 0x10005282
mov dl, byte [ebp - 2]
mov byte [ebp - 0xa], dl
jmp 0x1000533d
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 0xb], cl
movzx edx, byte [ebp - 2]
cmp edx, 0xf
jne 0x100052bf
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov al, byte [ebp - 0x20]
mov byte [ebp - 2], al
mov ecx, dword [ebp - 8]
mov dl, byte [ebp - 2]
mov byte [ecx + 0xc], dl
mov eax, dword [ebp - 0x18]
add eax, 0x4a
mov dword [ebp - 0x18], eax
jmp 0x100052fe
movzx ecx, byte [ebp - 2]
cmp ecx, 0xa0
jl 0x100052fe
movzx edx, byte [ebp - 2]
cmp edx, 0xa3
jg 0x100052fe
mov al, byte [ebp - 0x1c]
add al, 1
mov byte [ebp - 0x1c], al
movzx ecx, byte [ebp - 1]
and ecx, 0x10
je 0x100052f4
movzx edx, byte [ebp - 1]
or edx, 8
mov byte [ebp - 1], dl
jmp 0x100052fe
movzx eax, byte [ebp - 1]
and eax, 0xfffffff7
mov byte [ebp - 1], al
mov cl, byte [ebp - 2]
mov byte [ebp - 0xa], cl
movzx eax, byte [ebp - 0xa]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax]
movzx ecx, byte [ebp - 0xa]
and ecx, reloc.WS2_32.dll_closesocket
jns 0x10005329
dec ecx
or ecx, 0xfffffffc
inc ecx
add ecx, dword [ebp - 0x18]
mov dl, byte [ecx + eax]
mov byte [ebp - 9], dl
movzx eax, byte [ebp - 9]
cmp eax, 0xff
jne 0x10005368
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 0x3000
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
mov byte [ebp - 9], 0
movzx ecx, byte [ebp - 0xa]
and ecx, 0xfffffffd
cmp ecx, 0x24
jne 0x10005368
mov dl, byte [ebp - 9]
add dl, 1
mov byte [ebp - 9], dl
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 9]
and eax, 0x80
je 0x10005399
movzx ecx, byte [ebp - 9]
and ecx, 0x7f
mov edx, dword [ebp - 0x18]
mov ax, word [edx + ecx]
mov word [ebp - 0x28], ax
mov cl, byte [ebp - 0x28]
mov byte [ebp - 9], cl
movzx edx, word [ebp - 0x28]
sar edx, 8
mov byte [ebp - 0x19], dl
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x100053f1
mov dword [ebp - 0x18], str.JJJJKRJJJJOLJJJJJJJJUE_JJJEYMFJ_JJJJJJJJJJJJJJacgNJJkmJJEmJJDEJJ
movzx eax, byte [ebp - 0xa]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + eax]
movzx ecx, byte [ebp - 0xa]
and ecx, reloc.WS2_32.dll_closesocket
jns 0x100053d0
dec ecx
or ecx, 0xfffffffc
inc ecx
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
movzx eax, byte [ebp - 1]
and edx, eax
je 0x100053f1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 0x3000
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
movzx ecx, byte [ebp - 9]
and ecx, 1
je 0x100059b5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 0x21], al
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dl, byte [ebp - 0x21]
mov byte [ebp - 2], dl
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 2]
mov byte [eax + 0xd], cl
movzx edx, byte [ebp - 2]
sar edx, 6
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x11]
mov byte [eax + 0xe], cl
movzx edx, byte [ebp - 2]
and edx, 7
mov byte [ebp - 0x1b], dl
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x1b]
mov byte [eax + 0x10], cl
movzx edx, byte [ebp - 2]
and edx, 0x3f
sar edx, 3
mov byte [ebp - 0xb], dl
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0xb]
mov byte [eax + 0xf], cl
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x10005494
movzx eax, byte [ebp - 0x19]
movzx ecx, byte [ebp - 0xb]
shl eax, cl
and eax, 0x80
je 0x10005494
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 0x3000
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc]
test edx, edx
jne 0x1000552c
movzx eax, byte [ebp - 0xa]
cmp eax, 0xd9
jl 0x1000552c
movzx ecx, byte [ebp - 0xa]
cmp ecx, 0xdf
jg 0x1000552c
movzx edx, byte [ebp - 0xa]
sub edx, 0xd9
mov byte [ebp - 0x1a], dl
movzx eax, byte [ebp - 0x11]
cmp eax, 3
jne 0x100054f4
movzx ecx, byte [ebp - 0x1a]
lea edx, [ecx*8 + 0x100149d8]
mov dword [ebp - 0x18], edx
movzx eax, byte [ebp - 0xb]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
movzx ecx, byte [ebp - 0x1b]
shl edx, cl
mov byte [ebp - 0x1a], dl
jmp 0x1000550f
mov dword [ebp - 0x18], 0x100149d1
movzx eax, byte [ebp - 0x1a]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + eax]
movzx ecx, byte [ebp - 0xb]
shl edx, cl
mov byte [ebp - 0x1a], dl
movzx eax, byte [ebp - 0x1a]
and eax, 0x80
je 0x1000552c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 0x3000
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
movzx ecx, byte [ebp - 1]
and ecx, 0x20
je 0x100055fa
movzx edx, byte [ebp - 0x11]
cmp edx, 3
jne 0x10005559
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x9000
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
jmp 0x100055fa
mov al, byte [ebp - 0xa]
mov byte [ebp - 0x1d], al
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc]
test edx, edx
je 0x1000557c
mov dword [ebp - 0x18], 0x10014a99
mov eax, dword [ebp - 0x18]
add eax, 0x12
mov dword [ebp - 0x48], eax
jmp 0x10005596
mov dword [ebp - 0x18], 0x10014a81
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
mov dword [ebp - 0x48], ecx
movzx edx, byte [ebp - 0x1d]
and edx, 0xfffffffe
mov byte [ebp - 0x1d], dl
jmp 0x100055a1
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x48]
je 0x100055e8
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
mov dword [ebp - 0x5c], eax
movzx ecx, byte [ebp - 0x1d]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x60]
jne 0x100055e6
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
movzx ecx, byte [ebp - 0xb]
shl edx, cl
and edx, 0x80
jne 0x100055e4
jmp 0x100055fa
jmp 0x100055e8
jmp 0x10005598
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x9000
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x1000567f
movzx edx, byte [ebp - 0xa]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
sub eax, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
ja case.default.0x1000561e
mov ecx, dword [ebp - 0x30]
jmp dword [ecx*4 + 0x10005d50]
mov byte [ebp - 0x11], 3
movzx edx, byte [ebp - 0xb]
cmp edx, 4
jg 0x1000563b
movzx eax, byte [ebp - 0xb]
cmp eax, 1
jne 0x10005647
jmp 0x100057ea
jmp 0x100057fc
mov byte [ebp - 0x11], 3
movzx ecx, byte [ebp - 0xb]
cmp ecx, 4
je 0x10005667
movzx edx, byte [ebp - 0xb]
cmp edx, 5
jne 0x10005673
jmp 0x100057ea
jmp 0x100057fc
jmp 0x100056da
mov al, byte [ebp - 0xa]
mov byte [ebp - 0x4c], al
cmp byte [ebp - 0x4c], 0x8c
je 0x10005693
cmp byte [ebp - 0x4c], 0x8e
je 0x100056b2
jmp 0x100056da
movzx ecx, byte [ebp - 0xb]
cmp ecx, 5
jle 0x100056a8
jmp 0x100057ea
jmp 0x100057fc
movzx edx, byte [ebp - 0xb]
cmp edx, 1
je 0x100056c4
movzx eax, byte [ebp - 0xb]
cmp eax, 5
jle 0x100056d0
jmp 0x100057ea
jmp 0x100057fc
movzx ecx, byte [ebp - 0x11]
cmp ecx, 3
jne 0x10005789
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0xc]
test eax, eax
je 0x10005704
mov dword [ebp - 0x18], 0x10014aba
mov ecx, dword [ebp - 0x18]
add ecx, 0x2a
mov dword [ebp - 0x50], ecx
jmp 0x10005714
mov dword [ebp - 0x18], 0x10014aab
mov edx, dword [ebp - 0x18]
add edx, 0xf
mov dword [ebp - 0x50], edx
jmp 0x1000571f
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x50]
jae 0x10005783
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
mov dword [ebp - 0x64], eax
movzx ecx, byte [ebp - 0xa]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x68]
jne 0x10005781
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 1]
and edx, eax
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x6c], 0
je 0x1000577f
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0xb]
shl eax, cl
and eax, 0x80
jne 0x1000577f
jmp 0x100057ea
jmp 0x10005783
jmp 0x10005716
jmp 0x100057fc
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc]
test edx, edx
je 0x100057e6
movzx eax, byte [ebp - 0xa]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 0x50
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0xa7
ja case.0x100057b7.1
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + 0x10005d70]
jmp dword [eax*4 + 0x10005d60]
movzx ecx, byte [ebp - 1]
and ecx, 9
je 0x100057cb
jmp 0x100057ea
jmp case.0x100057b7.1
movzx edx, byte [ebp - 1]
and edx, 6
je 0x100057da
jmp 0x100057ea
jmp case.0x100057b7.1
jmp 0x100057ea
jmp 0x100057fc
jmp 0x100057fc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x11000
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x22], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov al, byte [ebp - 0x22]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 0xb]
cmp ecx, 1
jg 0x1000584a
movzx edx, byte [ebp - 0xa]
cmp edx, 0xf6
jne 0x10005834
movzx eax, byte [ebp - 9]
or eax, 2
mov byte [ebp - 9], al
jmp 0x1000584a
movzx ecx, byte [ebp - 0xa]
cmp ecx, 0xf7
jne 0x1000584a
movzx edx, byte [ebp - 9]
or edx, 0x10
mov byte [ebp - 9], dl
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x3c], al
cmp byte [ebp - 0x3c], 0
je 0x10005864
cmp byte [ebp - 0x3c], 1
je 0x1000588b
cmp byte [ebp - 0x3c], 2
je 0x10005891
jmp 0x100058a6
movzx ecx, byte [ebp - 1]
and ecx, 0x10
je 0x1000587c
movzx edx, byte [ebp - 0x1b]
cmp edx, 6
jne 0x1000587a
mov byte [ebp - 0x12], 2
jmp 0x10005889
movzx eax, byte [ebp - 0x1b]
cmp eax, 5
jne 0x10005889
mov byte [ebp - 0x12], 4
jmp 0x100058a6
mov byte [ebp - 0x12], 1
jmp 0x100058a6
mov byte [ebp - 0x12], 2
movzx ecx, byte [ebp - 1]
and ecx, 0x10
jne 0x100058a6
mov dl, byte [ebp - 0x12]
shl dl, 1
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x11]
cmp eax, 3
je 0x1000592c
movzx ecx, byte [ebp - 0x1b]
cmp ecx, 4
jne 0x1000592c
xor edx, edx
jne 0x100058c5
movzx eax, byte [ebp - 1]
and eax, 0x10
jne 0x1000592c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 2
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov al, byte [ebp - 2]
mov byte [edx + 0x11], al
movzx ecx, byte [ebp - 2]
sar ecx, 6
mov edx, dword [ebp - 8]
mov byte [edx + 0x12], cl
movzx eax, byte [ebp - 2]
and eax, 0x3f
sar eax, 3
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x13], al
movzx edx, byte [ebp - 2]
and edx, 7
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x54]
mov byte [eax + 0x14], cl
movzx edx, byte [ebp - 0x54]
cmp edx, 5
jne 0x1000592c
movzx eax, byte [ebp - 0x11]
and eax, 1
jne 0x1000592c
mov byte [ebp - 0x12], 4
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x40], dl
cmp byte [ebp - 0x40], 1
je 0x1000594f
cmp byte [ebp - 0x40], 2
je 0x1000596b
cmp byte [ebp - 0x40], 4
je 0x1000598c
jmp 0x100059a9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x40
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [eax + 0x1d], dl
jmp 0x100059a9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x80
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [eax + 0x1d], dx
jmp 0x100059a9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x100
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x1d], edx
movzx eax, byte [ebp - 0x12]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x100059cf
movzx ecx, byte [ebp - 1]
and ecx, 0x20
je 0x100059cf
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 0x9000
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
movzx edx, byte [ebp - 9]
and edx, 0x10
je 0x10005ae7
movzx eax, byte [ebp - 9]
and eax, 0x40
je 0x10005a29
movzx ecx, byte [ebp - 1]
and ecx, 8
je 0x10005a1f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 0x208
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov cx, word [eax]
mov word [edx + 0x15], cx
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
jmp 0x10005c27
jmp 0x10005bcb
xor eax, eax
je 0x10005a94
movzx ecx, byte [ebp - 0x1c]
test ecx, ecx
je 0x10005a60
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 0x20
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [edx + 0x15], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x19], eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x10], ecx
jmp 0x10005a92
movzx edx, byte [ebp - 1]
and edx, 8
jne 0x10005a8e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x10
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x15], edx
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x10005a92
jmp 0x10005af8
jmp 0x10005ae7
movzx ecx, byte [ebp - 1]
and ecx, 8
je 0x10005ac4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 8
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov cx, word [eax]
mov word [edx + 0x15], cx
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
jmp 0x10005ae7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x10
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x15], edx
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 9]
and ecx, 4
je 0x10005b90
xor edx, edx
je 0x10005b16
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 8
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [eax + 0x15], dx
jmp 0x10005b87
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
and ecx, 0x10
je 0x10005b3f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 8
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov cx, word [eax]
mov word [edx + 0x1d], cx
jmp 0x10005b87
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
and eax, 8
je 0x10005b6b
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 0x800
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ax, word [edx]
mov word [ecx + 0x1d], ax
jmp 0x10005b87
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x21]
or edx, 8
mov eax, dword [ebp - 8]
mov dword [eax + 0x21], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ax, word [edx]
mov word [ecx + 0x15], ax
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
movzx edx, byte [ebp - 9]
and edx, 2
je 0x10005bc2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [ebp - 0x23], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 0x23]
mov byte [eax + 0x15], cl
movzx edx, byte [ebp - 9]
and edx, 0x40
je 0x10005bf3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21]
or ecx, 0x210
mov edx, dword [ebp - 8]
mov dword [edx + 0x21], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [eax + 0x15], edx
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x10005c27
movzx ecx, byte [ebp - 9]
and ecx, 0x20
je 0x10005c27
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 0x204
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x24]
mov byte [edx + 0x15], al
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x58]
mov byte [edx], al
movzx ecx, byte [ebp - 0x58]
cmp ecx, 0xf
jle 0x10005c58
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x21]
or eax, 0x5000
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21], eax
mov edx, dword [ebp - 8]
mov byte [edx], 0xf
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov esp, ebp
pop ebp
ret 4