Function at 0x3049760
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
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 - 0x20], eax
je 0x30497e6
cmp dword [ebp - 0x20], 1
je 0x304981d
cmp dword [ebp - 0x20], 2
je 0x304985d
jmp 0x304989d
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 0x30498c0
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 0x30498c0
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 0x30498c0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x12
and edx, 3
push edx
push 0x3005520
push 1
call fcn.0304efb0
add esp, 0xc
xor al, al
jmp 0x304a113
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 0x30498f3
xor al, al
jmp 0x304a113
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 + 0x3004f78]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x13
jne 0x3049aa1
movzx edx, byte [ebp - 1]
cmp edx, 0xf
jne 0x3049982
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 0x304994c
xor al, al
jmp 0x304a113
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 + 0x3005178]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x13
jne 0x304997d
xor al, al
jmp 0x304a113
jmp 0x3049a9f
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1a]
test eax, eax
jne 0x3049a98
movzx ecx, byte [ebp - 1]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
sub edx, 0x26
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0xcd
ja case.0x30499b8.1
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax + 0x304a130]
jmp dword [ecx*4 + 0x304a11c]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x18]
test eax, eax
je 0x30499d1
xor al, al
jmp 0x304a113
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 1]
mov byte [ecx + 0x18], dl
jmp 0x30498c0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x19
and ecx, 1
je 0x30499f4
xor al, al
jmp 0x304a113
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 0x30498c0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
and ecx, 1
je 0x3049a3c
xor al, al
jmp 0x304a113
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 0x30498c0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x3049a81
xor al, al
jmp 0x304a113
mov edx, dword [ebp + 8]
mov al, byte [ebp - 1]
mov byte [edx + 0x19], al
jmp 0x30498c0
xor al, al
jmp 0x304a113
xor al, al
jmp 0x304a113
jmp 0x3049b01
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x12
and edx, 3
cmp edx, 2
jne 0x3049b01
movzx eax, byte [ebp - 1]
and eax, 0xf0
cmp eax, 0x40
jne 0x3049b01
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x1a]
test edx, edx
je 0x3049ad2
xor al, al
jmp 0x304a113
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x1a], cl
movzx edx, byte [ebp - 1]
and edx, 8
je 0x3049afc
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 0x30498c0
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x16
jne 0x3049b2b
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.03049540
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3049b29
xor al, al
jmp 0x304a113
jmp 0x3049b53
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x14
jne 0x3049b53
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.030494c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3049b53
xor al, al
jmp 0x304a113
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x17
je 0x3049b7b
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x15
je 0x3049b7b
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
sar ecx, 4
and ecx, 3
mov dword [ebp - 0x18], ecx
jmp 0x3049b82
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x3049c1d
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 0x3049bbb
xor al, al
jmp 0x304a113
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 0x3049be3
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.030493e0
mov dword [ebp - 0x1c], eax
jmp 0x3049bf3
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.03049270
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x3049c00
xor al, al
jmp 0x304a113
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 0x3049df7
cmp dword [ebp - 0xc], 0x3005196
jne 0x3049c8d
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 0x3049c57
xor al, al
jmp 0x304a113
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 0x3049c7a
xor al, al
jmp 0x304a113
movzx ecx, byte [ebp - 1]
lea edx, [ecx*2 + 0x3004a18]
mov dword [ebp - 0xc], edx
jmp 0x3049d4c
cmp dword [ebp - 0xc], 0x30052fc
jne 0x3049ced
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 0x3049cb8
xor al, al
jmp 0x304a113
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx]
cmp edx, 8
jae 0x3049ce4
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 + 0x3004d8c]
mov dword [ebp - 0xc], ecx
jmp 0x3049ceb
mov dword [ebp - 0xc], 0x3004d9c
jmp 0x3049d4c
movzx edx, byte [ebp - 1]
and edx, 0xf8
cmp edx, 0xd8
jne 0x3049d2e
movzx eax, byte [ebp - 0xd]
and eax, 0xc0
cmp eax, 0xc0
jne 0x3049d2e
mov cl, byte [ebp - 0xd]
push ecx
mov dl, byte [ebp - 1]
push edx
call fcn.030495e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3049d2c
xor al, al
jmp 0x304a113
jmp 0x3049d4c
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 + 0x3005378]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x16
jne 0x3049d76
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.03049540
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3049d74
xor al, al
jmp 0x304a113
jmp 0x3049d9e
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x14
jne 0x3049d9e
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.030494c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x3049d9e
xor al, al
jmp 0x304a113
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x15
jne 0x3049dd3
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
mov edx, dword [ecx*4 + 0x3005378]
mov dword [ebp - 0xc], edx
movzx eax, byte [ebp - 0xd]
and eax, 0xc0
cmp eax, 0xc0
jne 0x3049dd3
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
cmp eax, 0x13
jne 0x3049de5
xor al, al
jmp 0x304a113
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 1]
sar edx, 4
and edx, 3
mov dword [ebp - 0x18], edx
jmp 0x3049e50
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
cmp ecx, 0x15
jne 0x3049e50
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
mov ecx, dword [eax*4 + 0x3005378]
mov dword [ebp - 0xc], ecx
movzx edx, byte [ebp - 0xd]
and edx, 0xc0
cmp edx, 0xc0
jne 0x3049e2e
mov eax, dword [ebp - 0xc]
add eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
cmp edx, 0x13
jne 0x3049e40
xor al, al
jmp 0x304a113
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 1]
sar ecx, 4
and ecx, 3
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x12
and eax, 3
cmp eax, 2
jne 0x3049e78
mov ecx, dword [ebp + 8]
push ecx
call fcn.03048fe0
movzx edx, al
test edx, edx
jne 0x3049e78
xor al, al
jmp 0x304a113
cmp dword [ebp - 0x18], 2
jne 0x3049e97
movzx eax, byte [ebp - 0xd]
and eax, 0xc0
cmp eax, 0xc0
jne 0x3049e95
xor al, al
jmp 0x304a113
jmp 0x3049eb6
cmp dword [ebp - 0x18], 3
jne 0x3049eb6
movzx ecx, byte [ebp - 0xd]
and ecx, 0xc0
cmp ecx, 0xc0
je 0x3049eb6
xor al, al
jmp 0x304a113
mov edx, dword [ebp + 8]
add edx, 8
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1e], al
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 1]
and eax, 0xf
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa
ja case.default.0x3049ee1
mov ecx, dword [ebp - 0x28]
jmp dword [ecx*4 + 0x304a200]
mov edx, dword [ebp + 8]
mov byte [edx + 0x1f], 0
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x12
and ecx, 3
cmp ecx, 2
je 0x3049f1f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x16
and eax, 3
cmp eax, 1
je 0x3049f1f
mov dword [ebp - 0x2c], 4
jmp 0x3049f26
mov dword [ebp - 0x2c], 6
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x2c]
mov byte [ecx + 0x1f], dl
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov byte [eax + 0x1f], 1
jmp case.default.0x3049ee1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 1
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x1e]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 8
and edx, 0x1f
cmp eax, edx
jb 0x3049f65
xor al, al
jmp 0x304a113
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1e]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx + 8]
cmp eax, 0xa
je 0x3049f87
movzx ecx, byte [ebp - 1]
lea edx, [ecx*2 + 0x3004798]
mov dword [ebp - 0xc], edx
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x16
and ecx, 3
cmp ecx, 1
jne 0x3049fa6
mov dword [ebp - 0x30], 4
jmp 0x3049fc2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x16
and eax, 3
sub eax, 2
neg eax
sbb eax, eax
and eax, 0xfffffffa
add eax, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x30]
mov byte [ecx + 0x1f], dl
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x16
and ecx, 3
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 2
mov edx, dword [ebp + 8]
mov byte [edx + 0x1f], cl
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov byte [eax + 0x1f], 2
jmp case.default.0x3049ee1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 3
jmp case.default.0x3049ee1
mov edx, dword [ebp + 8]
mov byte [edx + 0x1f], 1
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x12
and ecx, 3
cmp ecx, 2
je 0x304a03d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x16
and eax, 3
cmp eax, 1
je 0x304a03d
mov dword [ebp - 0x34], 2
jmp 0x304a044
mov dword [ebp - 0x34], 4
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x34]
mov byte [ecx + 0x1f], dl
jmp case.default.0x3049ee1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x14
and ecx, 3
cmp ecx, 1
jne 0x304a069
mov dword [ebp - 0x38], 4
jmp 0x304a085
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0x14
and eax, 3
sub eax, 2
neg eax
sbb eax, eax
and eax, 0xfffffffa
add eax, 8
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x38]
mov byte [ecx + 0x1f], dl
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x1f]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
add edx, 8
mov eax, dword [ebp - 0x1c]
sub eax, edx
and eax, 0x1f
shl eax, 0xd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
and edx, 0xfffc1fff
or edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0xd
and edx, 0x1f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 8
and ecx, 0x1f
cmp edx, ecx
ja 0x304a0ed
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shr eax, 0xd
and eax, 0x1f
cmp eax, 0xf
jbe 0x304a0f1
xor al, al
jmp 0x304a113
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0xffffff00
or ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov al, 1
mov esp, ebp
pop ebp
ret 4