Function at 0x4c5d6c
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 0x4fd410
push 0x47d1b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ecx
sub esp, 0x224
mov eax, dword [0x5000d0]
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 0x4c5c68
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call dword [ebx + 0x10]
add esp, 4
jmp 0x4c7061
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 0x4c5cad
xor ecx, ecx
jne 0x4c5ca4
push 0
push 0
push 0x388
push 0x4fc398
push 2
call fcn.0047dd90
add esp, 0x14
cmp eax, 1
jne 0x4c5ca4
int3
xor eax, eax
jmp 0x4c7061
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 0x4c5d81
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.0x4c5d2e.1
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x4c7098]
jmp dword [eax*4 + 0x4c7080]
mov byte [ebp - 0x4f], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x4c5d7c
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x4c5d7c
mov byte [ebp - 0x4f], 1
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4c5d7c
mov byte [ebp - 0x4d], 1
jmp 0x4c5d7c
mov byte [ebp - 0x4d], 1
jmp 0x4c5d7c
mov byte [ebp - 0x4e], 0
jmp 0x4c5cee
mov dword [ebp - 4], 0xfffffffe
jmp 0x4c5deb
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x4c5e1c
xor edx, edx
jne 0x4c5e15
push 0
push 0
push 0x3f0
push 0x4fc398
push 2
call fcn.0047dd90
add esp, 0x14
cmp eax, 1
jne 0x4c5e15
int3
xor eax, eax
jmp 0x4c7061
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
movzx edx, byte [ebp - 0x55]
cmp edx, 0xf
je 0x4c5e3b
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
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.0x4c5e5f.2
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x4c7168]
mov dword [ebp - 0x70], 0x4fb7d8
jmp 0x4c5f57
mov dword [ebp - 0x70], 0x4fb8d8
jmp 0x4c5f57
mov dword [ebp - 0x70], 0x4fb9d8
jmp 0x4c5f57
mov dword [ebp - 0x70], 0x4fbcd8
jmp 0x4c5f57
mov dword [ebp - 0x70], 0x4fbad8
movzx ecx, byte [ebp - 0x4f]
test ecx, ecx
je 0x4c5eac
mov dword [ebp - 0x4c], 0
jmp 0x4c5f57
mov dword [ebp - 0x70], 0x4fbbd8
movzx edx, byte [ebp - 0x4f]
test edx, edx
je 0x4c5ec7
mov dword [ebp - 0x4c], 0
jmp 0x4c5f57
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 0x4c5f43
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 0x4c5f26
cmp dword [ebp - 0x74], 4
je 0x4c5f2f
jmp 0x4c5f38
mov dword [ebp - 0x70], 0x4fbdd8
jmp 0x4c5f41
mov dword [ebp - 0x70], 0x4fbe58
jmp 0x4c5f41
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
jmp 0x4c5f4c
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
jmp 0x4c5f57
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
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 0x4c5f90
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
cmp dword [ebp - 0x34], 1
jne 0x4c6094
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 0x4c5fd5
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4c5fd5
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
jne 0x4c5fde
mov dword [ebp - 0x4c], 1
jmp 0x4c601f
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x46
je 0x4c600d
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x47
je 0x4c600d
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x48
jne 0x4c6016
mov dword [ebp - 0x4c], 0
jmp 0x4c601f
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x6b
je 0x4c605e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x46
je 0x4c605e
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
je 0x4c605e
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x48
jne 0x4c6064
mov byte [ebp - 0x4f], 0
jmp 0x4c6092
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4c6083
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x47
jne 0x4c6089
mov byte [ebp - 0x4f], 1
jmp 0x4c6092
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
jmp 0x4c60a6
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 0x4c60bd
mov byte [ebp - 0x4d], 1
jmp 0x4c6310
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1e
jne 0x4c610c
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x4c60ec
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4fbf5c]
mov dword [ebp - 0x80], eax
jmp 0x4c6101
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4fbf58]
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 0x4c613b
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x44
je 0x4c613b
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x45
jne 0x4c613f
mov byte [ebp - 0x4f], 0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x68
je 0x4c616e
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x69
je 0x4c616e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6a
jne 0x4c6175
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x34], 0
jne 0x4c6194
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 0x4c61a5
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 0x4c61f8
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 + 0x4fbf98]
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.004c7220
add esp, 0x14
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1f
jne 0x4c6279
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.004c7220
add esp, 0x14
mov ecx, dword [ebp - 0xc0]
and ecx, 0xfffffffe
mov dword [ebp - 0xc0], ecx
jmp 0x4c62a9
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.004c7220
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.004c7220
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 0x4c6310
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 0x4c6386
movzx edx, byte [ebp - 0x4d]
test edx, edx
je 0x4c63b7
xor eax, eax
jne 0x4c63b0
push 0
push 0
push 0x53e
push 0x4fc398
push 2
call fcn.0047dd90
add esp, 0x14
cmp eax, 1
jne 0x4c63b0
int3
xor eax, eax
jmp 0x4c7061
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
and eax, 0x300
mov dword [ebp - 0x15c], eax
je 0x4c63fc
cmp dword [ebp - 0x15c], 0x200
je 0x4c63f0
cmp dword [ebp - 0x15c], 0x300
je 0x4c63e4
jmp 0x4c6406
mov dword [ebp - 0x16c], 0
jmp 0x4c6406
mov dword [ebp - 0x16c], 1
jmp 0x4c6406
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.0x4c6436
mov ecx, dword [ebp - 0x188]
jmp dword [ecx*4 + 0x4c719c]
mov dword [ebp - 0x170], 0
jmp case.default.0x4c6436
mov dword [ebp - 0x170], 1
jmp case.default.0x4c6436
mov dword [ebp - 0x170], 2
jmp case.default.0x4c6436
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 0x4c6516
mov dword [ebp - 0x194], 1
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 0x48
je 0x4c6536
cmp dword [ebp - 0x198], 0x6d
je 0x4c6536
jmp 0x4c6567
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.004c8e60
add esp, 0x18
mov dword [ebp - 0x28], eax
jmp 0x4c701a
mov dword [ebp - 0x7c], 0
jmp 0x4c6579
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x194]
jae 0x4c701a
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.004c7f10
add esp, 0xc
movzx eax, al
test eax, eax
je 0x4c66f0
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 0x4c6712
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 0x4c6809
cmp dword [ebp - 0x218], 1
je 0x4c6774
jmp 0x4c6935
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 0x4c67a3
cmp dword [ebp - 0x128], 0x6a
jne 0x4c6804
cmp dword [ebp - 0x7c], 1
jne 0x4c6804
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.0x4c6966.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0x100]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x128], 0x44
je 0x4c682f
cmp dword [ebp - 0x128], 0x45
jne 0x4c6930
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 1
je 0x4c685c
cmp dword [ebp - 0x21c], 2
je 0x4c6892
cmp dword [ebp - 0x21c], 3
je 0x4c68e2
jmp 0x4c6930
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 0x4c6930
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 0x4c6930
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.0x4c6966.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.0x4c6966.2
mov edx, dword [ebp - 0x220]
movzx eax, byte [edx + 0x4c71bc]
jmp dword [eax*4 + 0x4c71ac]
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.0x4c6966.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0x100]
mov dword [ebp - 0x200], edx
jmp case.0x4c6966.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 0x4c6a01
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 0x4c6a10
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 0x4c6ac9
cmp dword [ebp - 0x224], 1
je 0x4c6a34
jmp 0x4c6c12
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 0x4c6a63
cmp dword [ebp - 0x128], 0x6a
jne 0x4c6ac4
cmp dword [ebp - 0x7c], 0
jne 0x4c6ac4
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.0x4c6c43.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xd0]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x128], 0x44
je 0x4c6aef
cmp dword [ebp - 0x128], 0x45
jne 0x4c6c0d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0
je 0x4c6b1c
cmp dword [ebp - 0x228], 1
je 0x4c6b6f
cmp dword [ebp - 0x228], 2
je 0x4c6bbf
jmp 0x4c6c0d
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 0x4c6c0d
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 0x4c6c0d
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.0x4c6c43.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.0x4c6c43.2
mov ecx, dword [ebp - 0x22c]
movzx edx, byte [ecx + 0x4c71d8]
jmp dword [edx*4 + 0x4c71c8]
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.0x4c6c43.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x1e0], ecx
jmp case.0x4c6c43.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 0x4c6ce1
cmp dword [ebp - 0x230], 1
je 0x4c6cbf
jmp 0x4c6cf6
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.0x4c6d27.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4c6d27.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.0x4c6d27.2
mov edx, dword [ebp - 0x234]
movzx eax, byte [edx + 0x4c71f4]
jmp dword [eax*4 + 0x4c71e4]
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.0x4c6d27.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4c6d27.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 0x4c6db0
cmp dword [ebp - 0x4c], 2
jne 0x4c6dcb
lea eax, [ebp - 0x180]
push eax
call fcn.004cc940
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + ecx*4 - 0x148], eax
jmp 0x4c6de4
lea edx, [ebp - 0x180]
push edx
call fcn.004c9cb0
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 0x4c6f07
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx]
shr eax, 5
and eax, 1
je 0x4c6e28
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 0x4c6e4b
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 0x4c6e6e
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 0x4c6e91
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 0x4c6eb3
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 0x4c6ed3
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 0x4c6ef1
mov eax, dword [ebp - 0x28]
jmp 0x4c7061
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004c77b0
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.0x4c6fc4.2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4c6f7e
cmp dword [ebp - 0x238], 1
je 0x4c6f5c
jmp 0x4c6f93
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.0x4c6fc4.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4c6fc4.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.0x4c6fc4.2
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x4c7210]
jmp dword [eax*4 + 0x4c7200]
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.0x4c6fc4.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4c6fc4.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 0x4c6570
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.004c7be0
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.0048c130
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret