Function at 0x304dc50
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x18], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x19], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x1a], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1c], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x1e], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
and eax, 0xfeffffff
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
and eax, 0xfdffffff
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x12
and eax, 3
mov dword [ebp - 0x24], eax
je 0x304dcd6
cmp dword [ebp - 0x24], 1
je 0x304dd0d
cmp dword [ebp - 0x24], 2
je 0x304dd4d
jmp 0x304dd8d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xffcfffff
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xff3fffff
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 1
jmp 0x304ddb0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xffcfffff
or edx, 0x100000
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xff3fffff
or edx, 0x400000
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x304ddb0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xffcfffff
or edx, 0x200000
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xff3fffff
or edx, 0x400000
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 0
jmp 0x304ddb0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x12
and edx, 3
push edx
push 0x3005970
push 1
call fcn.030537d0
add esp, 0xc
xor al, al
jmp 0x304e76a
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov edx, dword [ebp + 8]
mov byte [edx + 0x1b], cl
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0x1f
cmp ecx, eax
jb 0x304dde3
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 1]
lea edx, [ecx*2 + 0x3004b20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x13
jne 0x304df91
movzx edx, byte [ebp - 1]
cmp edx, 0xf
jne 0x304de72
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0x1f
cmp ecx, eax
jb 0x304de3c
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 1]
lea edx, [ecx*2 + 0x3004d40]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x13
jne 0x304de6d
xor al, al
jmp 0x304e76a
jmp 0x304df8f
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1a]
test eax, eax
jne 0x304df88
movzx ecx, byte [ebp - 1]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x26
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0xcd
ja case.0x304dea8.1
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0x304e784]
jmp dword [ecx*4 + 0x304e770]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x18]
test eax, eax
je 0x304dec1
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 1]
mov byte [ecx + 0x18], dl
jmp 0x304ddb0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x19
and ecx, 1
je 0x304dee4
xor al, al
jmp 0x304e76a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
or eax, 0x2000000
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
and edx, 3
shl edx, 0x16
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0xff3fffff
or ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
jmp 0x304ddb0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
and ecx, 1
je 0x304df2c
xor al, al
jmp 0x304e76a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
or eax, 0x1000000
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
and edx, 3
shl edx, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0xffcfffff
or ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
jmp 0x304ddb0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x304df71
xor al, al
jmp 0x304e76a
mov edx, dword [ebp + 8]
mov al, byte [ebp - 1]
mov byte [edx + 0x19], al
jmp 0x304ddb0
xor al, al
jmp 0x304e76a
xor al, al
jmp 0x304e76a
jmp 0x304dff1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x12
and edx, 3
cmp edx, 2
jne 0x304dff1
movzx eax, byte [ebp - 1]
and eax, 0xf0
cmp eax, 0x40
jne 0x304dff1
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1a]
test edx, edx
je 0x304dfc2
xor al, al
jmp 0x304e76a
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x1a], cl
movzx edx, byte [ebp - 1]
and edx, 8
je 0x304dfec
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0xff3fffff
or ecx, 0x800000
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
jmp 0x304ddb0
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x16
jne 0x304e03b
movzx edx, byte [ebp - 1]
cmp edx, 0x90
jne 0x304e01c
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1b]
test ecx, ecx
jne 0x304e01c
mov dword [ebp - 0xc], 0x30054ac
jmp 0x304e039
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0304da30
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x304e039
xor al, al
jmp 0x304e76a
jmp 0x304e063
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x14
jne 0x304e063
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0304d9e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x304e063
xor al, al
jmp 0x304e76a
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x17
je 0x304e08b
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x15
je 0x304e08b
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
sar ecx, 4
and ecx, 3
mov dword [ebp - 0x18], ecx
jmp 0x304e092
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x304e12d
mov edx, dword [ebp + 8]
add edx, 8
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 8
and edx, 0x1f
cmp eax, edx
jb 0x304e0cb
xor al, al
jmp 0x304e76a
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x14
and eax, 3
jne 0x304e0f3
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0304d900
mov dword [ebp - 0x1c], eax
jmp 0x304e103
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0304d790
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x304e110
xor al, al
jmp 0x304e76a
mov edx, dword [ebp + 8]
add edx, 8
mov eax, dword [ebp - 0x1c]
sub eax, edx
movzx ecx, al
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1c]
sub ecx, eax
mov edx, dword [ebp + 8]
mov byte [edx + 0x1d], cl
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x17
jne 0x304e447
cmp dword [ebp - 0xc], 0x3004d5e
jne 0x304e19d
mov edx, dword [ebp + 8]
add edx, 8
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 8
and edx, 0x1f
cmp eax, edx
jb 0x304e167
xor al, al
jmp 0x304e76a
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 1], cl
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 1]
cmp eax, 0xc0
jb 0x304e18a
xor al, al
jmp 0x304e76a
movzx ecx, byte [ebp - 1]
lea edx, [ecx*2 + 0x3004fc0]
mov dword [ebp - 0xc], edx
jmp 0x304e25c
cmp dword [ebp - 0xc], 0x3004ec4
jne 0x304e1fd
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0x1f
cmp ecx, eax
jb 0x304e1c8
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx]
cmp edx, 8
jae 0x304e1f4
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 1], cl
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 1]
lea ecx, [eax*2 + 0x300534c]
mov dword [ebp - 0xc], ecx
jmp 0x304e1fb
mov dword [ebp - 0xc], 0x3005348
jmp 0x304e25c
movzx edx, byte [ebp - 1]
and edx, 0xf8
cmp edx, 0xd8
jne 0x304e23e
movzx eax, byte [ebp - 0xd]
and eax, 0xc0
cmp eax, 0xc0
jne 0x304e23e
mov cl, byte [ebp - 0xd]
push ecx
mov dl, byte [ebp - 1]
push edx
call fcn.0304dad0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x304e23c
xor al, al
jmp 0x304e76a
jmp 0x304e25c
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
movzx edx, byte [ebp - 0xd]
sar edx, 3
and edx, 7
mov eax, dword [ecx*4 + 0x3005730]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x16
jne 0x304e286
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0304da30
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x304e284
xor al, al
jmp 0x304e76a
jmp 0x304e2ae
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x14
jne 0x304e2ae
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0304d9e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x304e2ae
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x15
jne 0x304e2eb
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
mov edx, dword [ecx*4 + 0x3005730]
mov dword [ebp - 0xc], edx
movzx eax, byte [ebp - 0xd]
and eax, 0xc0
cmp eax, 0xc0
jne 0x304e2eb
movzx ecx, byte [ebp - 0xd]
and ecx, 7
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x30053be
jne 0x304e423
mov ecx, dword [ebp + 8]
add ecx, 8
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 8
and ecx, 0x1f
cmp edx, ecx
jb 0x304e31a
xor al, al
jmp 0x304e76a
mov edx, dword [ebp - 0x1c]
mov al, byte [edx]
mov byte [ebp - 0x1e], al
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 8
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 8
and edx, 0x1f
cmp eax, edx
jb 0x304e34d
xor al, al
jmp 0x304e76a
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0x1d], cl
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 0x1e]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
ja case.default.0x304e372
mov ecx, dword [ebp - 0x2c]
jmp dword [ecx*4 + 0x304e854]
movzx edx, byte [ebp - 0x1d]
cmp edx, 4
jb 0x304e389
xor al, al
jmp 0x304e76a
movzx eax, byte [ebp - 0x1d]
lea ecx, [eax*2 + 0x30053d0]
mov dword [ebp - 0xc], ecx
jmp 0x304e423
movzx edx, byte [ebp - 0x1d]
cmp edx, 3
jb 0x304e3ac
xor al, al
jmp 0x304e76a
movzx eax, byte [ebp - 0x1d]
lea ecx, [eax*2 + 0x30053d8]
mov dword [ebp - 0xc], ecx
jmp 0x304e423
movzx edx, byte [ebp - 0x1d]
cmp edx, 5
jb 0x304e3cc
xor al, al
jmp 0x304e76a
movzx eax, byte [ebp - 0x1d]
lea ecx, [eax*2 + 0x30053e0]
mov dword [ebp - 0xc], ecx
jmp 0x304e423
movzx edx, byte [ebp - 0x1d]
cmp edx, 4
jb 0x304e3ec
xor al, al
jmp 0x304e76a
movzx eax, byte [ebp - 0x1d]
lea ecx, [eax*2 + 0x30053ec]
mov dword [ebp - 0xc], ecx
jmp 0x304e423
movzx edx, byte [ebp - 0x1d]
cmp edx, 1
jb 0x304e40c
xor al, al
jmp 0x304e76a
movzx eax, byte [ebp - 0x1d]
lea ecx, [eax*2 + 0x30053f4]
mov dword [ebp - 0xc], ecx
jmp 0x304e423
xor al, al
jmp 0x304e76a
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x13
jne 0x304e435
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
sar edx, 4
and edx, 3
mov dword [ebp - 0x18], edx
jmp 0x304e4a8
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x15
jne 0x304e4a8
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
mov ecx, dword [eax*4 + 0x3005730]
mov dword [ebp - 0xc], ecx
movzx edx, byte [ebp - 0xd]
and edx, 0xc0
cmp edx, 0xc0
jne 0x304e486
movzx eax, byte [ebp - 0xd]
and eax, 7
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x13
jne 0x304e498
xor al, al
jmp 0x304e76a
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
sar eax, 4
and eax, 3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x12
and edx, 3
cmp edx, 2
jne 0x304e4d0
mov eax, dword [ebp + 8]
push eax
call fcn.0304d500
movzx ecx, al
test ecx, ecx
jne 0x304e4d0
xor al, al
jmp 0x304e76a
cmp dword [ebp - 0x18], 2
jne 0x304e4f1
movzx edx, byte [ebp - 0xd]
and edx, 0xc0
cmp edx, 0xc0
jne 0x304e4ef
xor al, al
jmp 0x304e76a
jmp 0x304e50e
cmp dword [ebp - 0x18], 3
jne 0x304e50e
movzx eax, byte [ebp - 0xd]
and eax, 0xc0
cmp eax, 0xc0
je 0x304e50e
xor al, al
jmp 0x304e76a
mov ecx, dword [ebp + 8]
add ecx, 8
mov edx, dword [ebp - 0x1c]
sub edx, ecx
mov eax, dword [ebp + 8]
mov byte [eax + 0x1e], dl
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
and edx, 0xf
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0xa
ja case.default.0x304e539
mov eax, dword [ebp - 0x30]
jmp dword [eax*4 + 0x304e868]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 0
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x12
and eax, 3
cmp eax, 2
je 0x304e577
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x16
and edx, 3
cmp edx, 1
je 0x304e577
mov dword [ebp - 0x34], 4
jmp 0x304e57e
mov dword [ebp - 0x34], 6
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x34]
mov byte [eax + 0x1f], cl
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov byte [edx + 0x1f], 1
jmp case.default.0x304e539
mov eax, dword [ebp + 8]
mov byte [eax + 0x1f], 1
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1e]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 8
and ecx, 0x1f
cmp edx, ecx
jb 0x304e5bd
xor al, al
jmp 0x304e76a
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1e]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax + 8]
cmp edx, 0xa
je 0x304e5df
movzx eax, byte [ebp - 1]
lea ecx, [eax*2 + 0x3005314]
mov dword [ebp - 0xc], ecx
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x16
and eax, 3
cmp eax, 1
jne 0x304e5fe
mov dword [ebp - 0x38], 4
jmp 0x304e61a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x16
and edx, 3
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xfffffffa
add edx, 8
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x38]
mov byte [eax + 0x1f], cl
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x16
and eax, 3
neg eax
sbb eax, eax
and eax, 2
add eax, 2
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], al
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov byte [edx + 0x1f], 2
jmp case.default.0x304e539
mov eax, dword [ebp + 8]
mov byte [eax + 0x1f], 3
jmp case.default.0x304e539
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 1
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x12
and eax, 3
cmp eax, 2
je 0x304e695
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x16
and edx, 3
cmp edx, 1
je 0x304e695
mov dword [ebp - 0x3c], 2
jmp 0x304e69c
mov dword [ebp - 0x3c], 4
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x3c]
mov byte [eax + 0x1f], cl
jmp case.default.0x304e539
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x14
and eax, 3
cmp eax, 1
jne 0x304e6c1
mov dword [ebp - 0x40], 4
jmp 0x304e6dd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x14
and edx, 3
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xfffffffa
add edx, 8
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x40]
mov byte [eax + 0x1f], cl
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1f]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
add ecx, 8
mov edx, dword [ebp - 0x1c]
sub edx, ecx
and edx, 0x1f
shl edx, 0xd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0xfffc1fff
or ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0xd
and ecx, 0x1f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 8
and eax, 0x1f
cmp ecx, eax
ja 0x304e745
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0xd
and edx, 0x1f
cmp edx, 0xf
jbe 0x304e749
xor al, al
jmp 0x304e76a
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
and eax, 0xffffff00
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4