Function at 0x4c1fdc
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 0x4fcdb0
push 0x479430
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ecx
sub esp, 0x224
mov eax, dword [0x4fff70]
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 0x4c1ed8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call dword [ebx + 0x10]
add esp, 4
jmp 0x4c32d1
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 0x4c1f1d
xor ecx, ecx
jne 0x4c1f14
push 0
push 0
push 0x388
push 0x4fbd38
push 2
call fcn.0047a010
add esp, 0x14
cmp eax, 1
jne 0x4c1f14
int3
xor eax, eax
jmp 0x4c32d1
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 0x4c1ff1
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.0x4c1f9e.1
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x4c3308]
jmp dword [eax*4 + 0x4c32f0]
mov byte [ebp - 0x4f], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x4c1fec
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x4c1fec
mov byte [ebp - 0x4f], 1
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4c1fec
mov byte [ebp - 0x4d], 1
jmp 0x4c1fec
mov byte [ebp - 0x4d], 1
jmp 0x4c1fec
mov byte [ebp - 0x4e], 0
jmp 0x4c1f5e
mov dword [ebp - 4], 0xfffffffe
jmp 0x4c205b
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x4c208c
xor edx, edx
jne 0x4c2085
push 0
push 0
push 0x3f0
push 0x4fbd38
push 2
call fcn.0047a010
add esp, 0x14
cmp eax, 1
jne 0x4c2085
int3
xor eax, eax
jmp 0x4c32d1
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
movzx edx, byte [ebp - 0x55]
cmp edx, 0xf
je 0x4c20ab
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
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.0x4c20cf.2
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x4c33d8]
mov dword [ebp - 0x70], 0x4fb178
jmp 0x4c21c7
mov dword [ebp - 0x70], 0x4fb278
jmp 0x4c21c7
mov dword [ebp - 0x70], 0x4fb378
jmp 0x4c21c7
mov dword [ebp - 0x70], 0x4fb678
jmp 0x4c21c7
mov dword [ebp - 0x70], 0x4fb478
movzx ecx, byte [ebp - 0x4f]
test ecx, ecx
je 0x4c211c
mov dword [ebp - 0x4c], 0
jmp 0x4c21c7
mov dword [ebp - 0x70], 0x4fb578
movzx edx, byte [ebp - 0x4f]
test edx, edx
je 0x4c2137
mov dword [ebp - 0x4c], 0
jmp 0x4c21c7
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 0x4c21b3
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 0x4c2196
cmp dword [ebp - 0x74], 4
je 0x4c219f
jmp 0x4c21a8
mov dword [ebp - 0x70], 0x4fb778
jmp 0x4c21b1
mov dword [ebp - 0x70], 0x4fb7f8
jmp 0x4c21b1
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
jmp 0x4c21bc
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
jmp 0x4c21c7
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
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 0x4c2200
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
cmp dword [ebp - 0x34], 1
jne 0x4c2304
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 0x4c2245
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4c2245
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
jne 0x4c224e
mov dword [ebp - 0x4c], 1
jmp 0x4c228f
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x46
je 0x4c227d
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x47
je 0x4c227d
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x48
jne 0x4c2286
mov dword [ebp - 0x4c], 0
jmp 0x4c228f
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x6b
je 0x4c22ce
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x46
je 0x4c22ce
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
je 0x4c22ce
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x48
jne 0x4c22d4
mov byte [ebp - 0x4f], 0
jmp 0x4c2302
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4c22f3
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x47
jne 0x4c22f9
mov byte [ebp - 0x4f], 1
jmp 0x4c2302
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
jmp 0x4c2316
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 0x4c232d
mov byte [ebp - 0x4d], 1
jmp 0x4c2580
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1e
jne 0x4c237c
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x4c235c
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4fb8fc]
mov dword [ebp - 0x80], eax
jmp 0x4c2371
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4fb8f8]
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 0x4c23ab
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x44
je 0x4c23ab
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x45
jne 0x4c23af
mov byte [ebp - 0x4f], 0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x68
je 0x4c23de
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x69
je 0x4c23de
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6a
jne 0x4c23e5
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x34], 0
jne 0x4c2404
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 0x4c2415
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 0x4c2468
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 + 0x4fb938]
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.004c3490
add esp, 0x14
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1f
jne 0x4c24e9
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.004c3490
add esp, 0x14
mov ecx, dword [ebp - 0xc0]
and ecx, 0xfffffffe
mov dword [ebp - 0xc0], ecx
jmp 0x4c2519
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.004c3490
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.004c3490
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 0x4c2580
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 0x4c25f6
movzx edx, byte [ebp - 0x4d]
test edx, edx
je 0x4c2627
xor eax, eax
jne 0x4c2620
push 0
push 0
push 0x53e
push 0x4fbd38
push 2
call fcn.0047a010
add esp, 0x14
cmp eax, 1
jne 0x4c2620
int3
xor eax, eax
jmp 0x4c32d1
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
and eax, 0x300
mov dword [ebp - 0x15c], eax
je 0x4c266c
cmp dword [ebp - 0x15c], 0x200
je 0x4c2660
cmp dword [ebp - 0x15c], 0x300
je 0x4c2654
jmp 0x4c2676
mov dword [ebp - 0x16c], 0
jmp 0x4c2676
mov dword [ebp - 0x16c], 1
jmp 0x4c2676
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.0x4c26a6
mov ecx, dword [ebp - 0x188]
jmp dword [ecx*4 + 0x4c340c]
mov dword [ebp - 0x170], 0
jmp case.default.0x4c26a6
mov dword [ebp - 0x170], 1
jmp case.default.0x4c26a6
mov dword [ebp - 0x170], 2
jmp case.default.0x4c26a6
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 0x4c2786
mov dword [ebp - 0x194], 1
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 0x48
je 0x4c27a6
cmp dword [ebp - 0x198], 0x6d
je 0x4c27a6
jmp 0x4c27d7
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.004c50d0
add esp, 0x18
mov dword [ebp - 0x28], eax
jmp 0x4c328a
mov dword [ebp - 0x7c], 0
jmp 0x4c27e9
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x194]
jae 0x4c328a
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.004c4180
add esp, 0xc
movzx eax, al
test eax, eax
je 0x4c2960
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 0x4c2982
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 0x4c2a79
cmp dword [ebp - 0x218], 1
je 0x4c29e4
jmp 0x4c2ba5
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 0x4c2a13
cmp dword [ebp - 0x128], 0x6a
jne 0x4c2a74
cmp dword [ebp - 0x7c], 1
jne 0x4c2a74
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.0x4c2bd6.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0x100]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x128], 0x44
je 0x4c2a9f
cmp dword [ebp - 0x128], 0x45
jne 0x4c2ba0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 1
je 0x4c2acc
cmp dword [ebp - 0x21c], 2
je 0x4c2b02
cmp dword [ebp - 0x21c], 3
je 0x4c2b52
jmp 0x4c2ba0
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 0x4c2ba0
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 0x4c2ba0
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.0x4c2bd6.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.0x4c2bd6.2
mov edx, dword [ebp - 0x220]
movzx eax, byte [edx + 0x4c342c]
jmp dword [eax*4 + 0x4c341c]
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.0x4c2bd6.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0x100]
mov dword [ebp - 0x200], edx
jmp case.0x4c2bd6.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 0x4c2c71
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 0x4c2c80
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 0x4c2d39
cmp dword [ebp - 0x224], 1
je 0x4c2ca4
jmp 0x4c2e82
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 0x4c2cd3
cmp dword [ebp - 0x128], 0x6a
jne 0x4c2d34
cmp dword [ebp - 0x7c], 0
jne 0x4c2d34
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.0x4c2eb3.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xd0]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x128], 0x44
je 0x4c2d5f
cmp dword [ebp - 0x128], 0x45
jne 0x4c2e7d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0
je 0x4c2d8c
cmp dword [ebp - 0x228], 1
je 0x4c2ddf
cmp dword [ebp - 0x228], 2
je 0x4c2e2f
jmp 0x4c2e7d
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 0x4c2e7d
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 0x4c2e7d
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.0x4c2eb3.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.0x4c2eb3.2
mov ecx, dword [ebp - 0x22c]
movzx edx, byte [ecx + 0x4c3448]
jmp dword [edx*4 + 0x4c3438]
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.0x4c2eb3.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x1e0], ecx
jmp case.0x4c2eb3.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 0x4c2f51
cmp dword [ebp - 0x230], 1
je 0x4c2f2f
jmp 0x4c2f66
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.0x4c2f97.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4c2f97.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.0x4c2f97.2
mov edx, dword [ebp - 0x234]
movzx eax, byte [edx + 0x4c3464]
jmp dword [eax*4 + 0x4c3454]
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.0x4c2f97.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4c2f97.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 0x4c3020
cmp dword [ebp - 0x4c], 2
jne 0x4c303b
lea eax, [ebp - 0x180]
push eax
call fcn.004c8bb0
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + ecx*4 - 0x148], eax
jmp 0x4c3054
lea edx, [ebp - 0x180]
push edx
call fcn.004c5f20
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 0x4c3177
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx]
shr eax, 5
and eax, 1
je 0x4c3098
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 0x4c30bb
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 0x4c30de
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 0x4c3101
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 0x4c3123
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 0x4c3143
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 0x4c3161
mov eax, dword [ebp - 0x28]
jmp 0x4c32d1
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004c3a20
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.0x4c3234.2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4c31ee
cmp dword [ebp - 0x238], 1
je 0x4c31cc
jmp 0x4c3203
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.0x4c3234.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4c3234.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.0x4c3234.2
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x4c3480]
jmp dword [eax*4 + 0x4c3470]
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.0x4c3234.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4c3234.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 0x4c27e0
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.004c3e50
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.0047cea0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret