Function at 0x4bf4ec
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4f7c70
push 0x475f80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ecx
sub esp, 0x224
mov eax, dword [0x4faff0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
add edx, 0x14
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x4bf3e8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call dword [ebx + 0x10]
add esp, 4
jmp 0x4c07e1
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
and eax, 0x10020
cmp eax, 0x10020
je 0x4bf42d
xor ecx, ecx
jne 0x4bf424
push 0
push 0
push 0x388
push 0x4f6b78
push 2
call fcn.00476b60
add esp, 0x14
cmp eax, 1
jne 0x4bf424
int3
xor eax, eax
jmp 0x4c07e1
mov eax, dword [ebp - 0x40]
add eax, 0xcc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x4e], 1
mov byte [ebp - 0x4f], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xb8]
mov dword [ebp - 0x54], ecx
movzx edx, byte [ebp - 0x4e]
test edx, edx
je 0x4bf501
mov eax, dword [ebp - 0x54]
mov cl, byte [eax]
mov byte [ebp - 0x55], cl
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
movzx eax, byte [ebp - 0x55]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x26
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0xcd
ja case.0x4bf4ae.1
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x4c0818]
jmp dword [eax*4 + 0x4c0800]
mov byte [ebp - 0x4f], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x4bf4fc
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x4bf4fc
mov byte [ebp - 0x4f], 1
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4bf4fc
mov byte [ebp - 0x4d], 1
jmp 0x4bf4fc
mov byte [ebp - 0x4d], 1
jmp 0x4bf4fc
mov byte [ebp - 0x4e], 0
jmp 0x4bf46e
mov dword [ebp - 4], 0xfffffffe
jmp 0x4bf56b
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x4bf59c
xor edx, edx
jne 0x4bf595
push 0
push 0
push 0x3f0
push 0x4f6b78
push 2
call fcn.00476b60
add esp, 0x14
cmp eax, 1
jne 0x4bf595
int3
xor eax, eax
jmp 0x4c07e1
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
movzx edx, byte [ebp - 0x55]
cmp edx, 0xf
je 0x4bf5bb
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
shr ecx, 4
and ecx, 0xf
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
sub edx, 2
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0xc
ja case.0x4bf5df.2
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x4c08e8]
mov dword [ebp - 0x70], 0x4f5fb8
jmp 0x4bf6d7
mov dword [ebp - 0x70], 0x4f60b8
jmp 0x4bf6d7
mov dword [ebp - 0x70], 0x4f61b8
jmp 0x4bf6d7
mov dword [ebp - 0x70], 0x4f64b8
jmp 0x4bf6d7
mov dword [ebp - 0x70], 0x4f62b8
movzx ecx, byte [ebp - 0x4f]
test ecx, ecx
je 0x4bf62c
mov dword [ebp - 0x4c], 0
jmp 0x4bf6d7
mov dword [ebp - 0x70], 0x4f63b8
movzx edx, byte [ebp - 0x4f]
test edx, edx
je 0x4bf647
mov dword [ebp - 0x4c], 0
jmp 0x4bf6d7
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
shr ecx, 4
and ecx, 0xf
shl ecx, 4
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
and eax, 0xf
or ecx, eax
and ecx, 0xff
cmp ecx, 0x3a
jne 0x4bf6c3
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
shr edx, 4
and edx, 0xf
mov dword [ebp - 0x74], edx
je 0x4bf6a6
cmp dword [ebp - 0x74], 4
je 0x4bf6af
jmp 0x4bf6b8
mov dword [ebp - 0x70], 0x4f65b8
jmp 0x4bf6c1
mov dword [ebp - 0x70], 0x4f6638
jmp 0x4bf6c1
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
jmp 0x4bf6cc
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
jmp 0x4bf6d7
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
shr ecx, 0xe
and ecx, 3
xor edx, edx
cmp ecx, 3
setne dl
mov byte [ebp - 0x75], dl
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
and ecx, 0xf
movzx edx, byte [ebp - 0x75]
shl edx, 4
or ecx, edx
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0x20
jbe 0x4bf710
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
cmp dword [ebp - 0x34], 1
jne 0x4bf814
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x70]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x6b
je 0x4bf755
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4bf755
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
jne 0x4bf75e
mov dword [ebp - 0x4c], 1
jmp 0x4bf79f
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x46
je 0x4bf78d
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x47
je 0x4bf78d
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x48
jne 0x4bf796
mov dword [ebp - 0x4c], 0
jmp 0x4bf79f
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x6b
je 0x4bf7de
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x46
je 0x4bf7de
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
je 0x4bf7de
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x48
jne 0x4bf7e4
mov byte [ebp - 0x4f], 0
jmp 0x4bf812
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4bf803
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x47
jne 0x4bf809
mov byte [ebp - 0x4f], 1
jmp 0x4bf812
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
jmp 0x4bf826
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x4c]
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0x70]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
jne 0x4bf83d
mov byte [ebp - 0x4d], 1
jmp 0x4bfa90
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1e
jne 0x4bf88c
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x4bf86c
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4f673c]
mov dword [ebp - 0x80], eax
jmp 0x4bf881
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4f6738]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x4f], 0
mov dword [ebp - 0x4c], 2
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x43
je 0x4bf8bb
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x44
je 0x4bf8bb
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x45
jne 0x4bf8bf
mov byte [ebp - 0x4f], 0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x68
je 0x4bf8ee
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x69
je 0x4bf8ee
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6a
jne 0x4bf8f5
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x34], 0
jne 0x4bf914
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
movzx eax, byte [ebp - 0x4f]
add edx, eax
mov dword [ebp - 0x128], edx
jmp 0x4bf925
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x2c]
add eax, 3
mov dword [ebp - 0x2c], eax
movzx ecx, byte [ebp - 0x75]
test ecx, ecx
je 0x4bf978
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dl, byte [ecx]
mov byte [ebp - 0x55], dl
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x10
push eax
movzx ecx, byte [ebp - 0x55]
mov edx, dword [ecx*4 + 0x4f6778]
call edx
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
shr eax, 0xb
and eax, 7
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
push edx
movzx eax, byte [ebp - 0x4f]
push eax
call fcn.004c09a0
add esp, 0x14
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1f
jne 0x4bf9f9
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
shr eax, 8
and eax, 7
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
push edx
movzx eax, byte [ebp - 0x4f]
push eax
call fcn.004c09a0
add esp, 0x14
mov ecx, dword [ebp - 0xc0]
and ecx, 0xfffffffe
mov dword [ebp - 0xc0], ecx
jmp 0x4bfa29
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
shr edx, 8
and edx, 7
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
shr ecx, 0x11
and ecx, 0x1f
push ecx
movzx edx, byte [ebp - 0x4f]
push edx
call fcn.004c09a0
add esp, 0x14
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
shr eax, 0xb
and eax, 7
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x19
and edx, 0x1f
push edx
movzx eax, byte [ebp - 0x4f]
push eax
call fcn.004c09a0
add esp, 0x14
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
shr eax, 0x16
and eax, 7
cmp eax, 1
jne 0x4bfa90
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x4bfb06
movzx edx, byte [ebp - 0x4d]
test edx, edx
je 0x4bfb37
xor eax, eax
jne 0x4bfb30
push 0
push 0
push 0x53e
push 0x4f6b78
push 2
call fcn.00476b60
add esp, 0x14
cmp eax, 1
jne 0x4bfb30
int3
xor eax, eax
jmp 0x4c07e1
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
and eax, 0x300
mov dword [ebp - 0x15c], eax
je 0x4bfb7c
cmp dword [ebp - 0x15c], 0x200
je 0x4bfb70
cmp dword [ebp - 0x15c], 0x300
je 0x4bfb64
jmp 0x4bfb86
mov dword [ebp - 0x16c], 0
jmp 0x4bfb86
mov dword [ebp - 0x16c], 1
jmp 0x4bfb86
mov dword [ebp - 0x16c], 2
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
shr eax, 0xd
and eax, 3
and eax, 3
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 3
ja case.default.0x4bfbb6
mov ecx, dword [ebp - 0x188]
jmp dword [ecx*4 + 0x4c091c]
mov dword [ebp - 0x170], 0
jmp case.default.0x4bfbb6
mov dword [ebp - 0x170], 1
jmp case.default.0x4bfbb6
mov dword [ebp - 0x170], 2
jmp case.default.0x4bfbb6
mov dword [ebp - 0x170], 3
mov edx, dword [ebp - 0x184]
and edx, 0x1f80
shr edx, 7
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x184]
shr eax, 0xf
and eax, 1
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x184]
shr ecx, 6
and ecx, 1
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc0]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x168], ecx
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x184]
and eax, 0x3f
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
shr eax, 0x1e
and eax, 3
add eax, 1
mov dword [ebp - 0x194], eax
movzx ecx, byte [ebp - 0x4f]
test ecx, ecx
je 0x4bfc96
mov dword [ebp - 0x194], 1
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 0x48
je 0x4bfcb6
cmp dword [ebp - 0x198], 0x6d
je 0x4bfcb6
jmp 0x4bfce7
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebx + 0x10]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004c25e0
add esp, 0x18
mov dword [ebp - 0x28], eax
jmp 0x4c079a
mov dword [ebp - 0x7c], 0
jmp 0x4bfcf9
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x194]
jae 0x4c079a
mov dword [ebp - 0x17c], 0
mov edx, dword [ebp - 0x20c]
and edx, 0xfffffffe
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
and eax, 0xfffffffd
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
and ecx, 0xfffffffb
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x20c]
and edx, 0xfffffff7
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
and eax, 0xffffffef
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x208]
and ecx, 0xfffffffe
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
and edx, 0xfffffffd
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x208]
and eax, 0xfffffffb
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
and ecx, 0xfffffff7
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
and edx, 0xffffffef
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x204]
and eax, 0xfffffffe
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
and ecx, 0xfffffffd
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x204]
and edx, 0xfffffffb
mov dword [ebp - 0x204], edx
mov eax, dword [ebp - 0x204]
and eax, 0xfffffff7
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
and ecx, 0xffffffef
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x170]
and edx, 3
mov eax, dword [ebp - 0x210]
and eax, 0xfffffffc
or eax, edx
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x16c]
and ecx, 7
shl ecx, 2
mov edx, dword [ebp - 0x210]
and edx, 0xffffffe3
or edx, ecx
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.004c1690
add esp, 0xc
movzx eax, al
test eax, eax
je 0x4bfe70
mov ecx, dword [ebp - 0x214]
and ecx, 0xfff
shl ecx, 5
mov edx, dword [ebp - 0x210]
and edx, 0xfffe001f
or edx, ecx
mov dword [ebp - 0x210], edx
jmp 0x4bfe92
mov eax, dword [ebp - 0x128]
and eax, 0xfff
shl eax, 5
mov ecx, dword [ebp - 0x210]
and ecx, 0xfffe001f
or ecx, eax
mov dword [ebp - 0x210], ecx
mov edx, dword [ebp - 0xf0]
and edx, 1
and edx, 1
mov eax, dword [ebp - 0x1f0]
and eax, 0xfffffffe
or eax, edx
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0xf0]
shr ecx, 1
and ecx, 0xf
and ecx, 0xf
shl ecx, 1
mov edx, dword [ebp - 0x1f0]
and edx, 0xffffffe1
or edx, ecx
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x4bff89
cmp dword [ebp - 0x218], 1
je 0x4bfef4
jmp 0x4c00b5
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*8 - 0x100]
mov dword [ebp - 0x200], edx
mov eax, dword [ebp + ecx*8 - 0xfc]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x128], 0x69
je 0x4bff23
cmp dword [ebp - 0x128], 0x6a
jne 0x4bff84
cmp dword [ebp - 0x7c], 1
jne 0x4bff84
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*8 - 0xd8]
mov dword [ebp - 0x200], edx
mov eax, dword [ebp + ecx*8 - 0xd4]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0xc0]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x1f0]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0xc0]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1f0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1f0], ecx
jmp case.0x4c00e6.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0x100]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x128], 0x44
je 0x4bffaf
cmp dword [ebp - 0x128], 0x45
jne 0x4c00b0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 1
je 0x4bffdc
cmp dword [ebp - 0x21c], 2
je 0x4c0012
cmp dword [ebp - 0x21c], 3
je 0x4c0062
jmp 0x4c00b0
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xfc]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0xf0]
shr ecx, 1
and ecx, 0xf
and ecx, 0xf
shl ecx, 1
mov edx, dword [ebp - 0x1f0]
and edx, 0xffffffe1
or edx, ecx
mov dword [ebp - 0x1f0], edx
jmp 0x4c00b0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd8]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0xc0]
and edx, 1
and edx, 1
mov eax, dword [ebp - 0x1f0]
and eax, 0xfffffffe
or eax, edx
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0xc0]
shr ecx, 1
and ecx, 0xf
and ecx, 0xf
shl ecx, 1
mov edx, dword [ebp - 0x1f0]
and edx, 0xffffffe1
or edx, ecx
mov dword [ebp - 0x1f0], edx
jmp 0x4c00b0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd4]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0xc0]
and edx, 1
and edx, 1
mov eax, dword [ebp - 0x1f0]
and eax, 0xfffffffe
or eax, edx
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0xc0]
shr ecx, 1
and ecx, 0xf
and ecx, 0xf
shl ecx, 1
mov edx, dword [ebp - 0x1f0]
and edx, 0xffffffe1
or edx, ecx
mov dword [ebp - 0x1f0], edx
jmp case.0x4c00e6.2
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
sub ecx, 0x5f
mov dword [ebp - 0x220], ecx
cmp dword [ebp - 0x220], 8
ja case.0x4c00e6.2
mov edx, dword [ebp - 0x220]
movzx eax, byte [edx + 0x4c093c]
jmp dword [eax*4 + 0x4c092c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0x100]
xor eax, eax
mov dword [ebp - 0x200], edx
mov dword [ebp - 0x1fc], eax
jmp case.0x4c00e6.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0x100]
mov dword [ebp - 0x200], edx
jmp case.0x4c00e6.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*8 - 0x100]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp + eax*8 - 0xfc]
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0xc0]
and eax, 1
je 0x4c0181
mov ecx, dword [ebp - 0xc0]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x1d0]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0xc0]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1d0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp 0x4c0190
mov edx, dword [ebp - 0x1d0]
and edx, 0xfffffffe
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x4c0249
cmp dword [ebp - 0x224], 1
je 0x4c01b4
jmp 0x4c0392
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*8 - 0xd0]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp + ecx*8 - 0xcc]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x128], 0x69
je 0x4c01e3
cmp dword [ebp - 0x128], 0x6a
jne 0x4c0244
cmp dword [ebp - 0x7c], 0
jne 0x4c0244
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*8 - 0xf8]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp + ecx*8 - 0xf4]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0xf0]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x1d0]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0xf0]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1d0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp case.0x4c03c3.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xd0]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x128], 0x44
je 0x4c026f
cmp dword [ebp - 0x128], 0x45
jne 0x4c038d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0
je 0x4c029c
cmp dword [ebp - 0x228], 1
je 0x4c02ef
cmp dword [ebp - 0x228], 2
je 0x4c033f
jmp 0x4c038d
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xfc]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0xf0]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x1d0]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0xf0]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1d0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp 0x4c038d
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xf8]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0xf0]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x1d0]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0xf0]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1d0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp 0x4c038d
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xd4]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0xc0]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x1d0]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp - 0xc0]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1d0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp case.0x4c03c3.2
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
sub eax, 0x5f
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 8
ja case.0x4c03c3.2
mov ecx, dword [ebp - 0x22c]
movzx edx, byte [ecx + 0x4c0958]
jmp dword [edx*4 + 0x4c0948]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd0]
xor edx, edx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1dc], edx
jmp case.0x4c03c3.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x1e0], ecx
jmp case.0x4c03c3.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*8 - 0xd0]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp + edx*8 - 0xcc]
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x1b0]
and edx, 0xfffffffe
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x4c0461
cmp dword [ebp - 0x230], 1
je 0x4c043f
jmp 0x4c0476
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*8 - 0xa0]
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp + ecx*8 - 0x9c]
mov dword [ebp - 0x1bc], eax
jmp case.0x4c04a7.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4c04a7.2
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
sub ecx, 0x5f
mov dword [ebp - 0x234], ecx
cmp dword [ebp - 0x234], 8
ja case.0x4c04a7.2
mov edx, dword [ebp - 0x234]
movzx eax, byte [edx + 0x4c0974]
jmp dword [eax*4 + 0x4c0964]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
xor eax, eax
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x1bc], eax
jmp case.0x4c04a7.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4c04a7.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*8 - 0xa0]
mov dword [ebp - 0x1c0], ecx
mov edx, dword [ebp + eax*8 - 0x9c]
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x90]
shr eax, 1
and eax, 0xf
and eax, 0xf
shl eax, 1
mov ecx, dword [ebp - 0x1b0]
and ecx, 0xffffffe1
or ecx, eax
mov dword [ebp - 0x1b0], ecx
lea edx, [ebp - 0x210]
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x4c], 1
je 0x4c0530
cmp dword [ebp - 0x4c], 2
jne 0x4c054b
lea eax, [ebp - 0x180]
push eax
call fcn.004c60c0
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + ecx*4 - 0x148], eax
jmp 0x4c0564
lea edx, [ebp - 0x180]
push edx
call fcn.004c3430
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + ecx*4 - 0x148], eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x17c]
mov dword [ebp + edx*4 - 0x138], eax
mov ecx, dword [ebp - 0x7c]
cmp dword [ebp + ecx*4 - 0x148], 1
jne 0x4c0687
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx]
shr eax, 5
and eax, 1
je 0x4c05a8
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x190]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx]
shr edx, 4
and edx, 1
je 0x4c05cb
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
or ecx, 0x10
mov edx, dword [ebp - 0x190]
mov dword [edx], ecx
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax]
shr ecx, 3
and ecx, 1
je 0x4c05ee
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
or eax, 8
mov ecx, dword [ebp - 0x190]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx]
shr eax, 2
and eax, 1
je 0x4c0611
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
or edx, 4
mov eax, dword [ebp - 0x190]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx]
shr edx, 1
and edx, 1
je 0x4c0633
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
or ecx, 2
mov edx, dword [ebp - 0x190]
mov dword [edx], ecx
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax]
and ecx, 1
je 0x4c0653
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
or eax, 1
mov ecx, dword [ebp - 0x190]
mov dword [ecx], eax
lea edx, [ebp - 0x210]
push edx
call dword [ebx + 0x10]
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x4c0671
mov eax, dword [ebp - 0x28]
jmp 0x4c07e1
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004c0f30
add esp, 8
mov edx, dword [ebp - 0x1b0]
and edx, 1
and edx, 1
mov eax, dword [ebp - 0x90]
and eax, 0xfffffffe
or eax, edx
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x90]
and edx, 1
je case.0x4c0744.2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4c06fe
cmp dword [ebp - 0x238], 1
je 0x4c06dc
jmp 0x4c0713
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*8 - 0xa0], edx
mov eax, dword [ebp - 0x1bc]
mov dword [ebp + ecx*8 - 0x9c], eax
jmp case.0x4c0744.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4c0744.2
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
sub ecx, 0x5f
mov dword [ebp - 0x23c], ecx
cmp dword [ebp - 0x23c], 8
ja case.0x4c0744.2
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x4c0990]
jmp dword [eax*4 + 0x4c0980]
mov ecx, dword [ebp - 0x1c0]
xor edx, edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*8 - 0xa0], ecx
mov dword [ebp + eax*8 - 0x9c], edx
jmp case.0x4c0744.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4c0744.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp + eax*8 - 0xa0], ecx
mov edx, dword [ebp - 0x1bc]
mov dword [ebp + eax*8 - 0x9c], edx
jmp 0x4bfcf0
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.004c1360
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xb8]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0xb8], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00484ef0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret