Function at 0x4bacac
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 0x4e4b50
push 0x4772c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ecx
sub esp, 0x224
mov eax, dword [0x4e7e08]
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 0x4baba8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call dword [ebx + 0x10]
add esp, 4
jmp 0x4bbfa1
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 0x4babed
xor ecx, ecx
jne 0x4babe4
push 0
push 0
push 0x388
push 0x4e3a78
push 2
call fcn.00478940
add esp, 0x14
cmp eax, 1
jne 0x4babe4
int3
xor eax, eax
jmp 0x4bbfa1
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 0x4bacc1
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.0x4bac6e.1
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x4bbfd8]
jmp dword [eax*4 + 0x4bbfc0]
mov byte [ebp - 0x4f], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x4bacbc
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x4bacbc
mov byte [ebp - 0x4f], 1
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4bacbc
mov byte [ebp - 0x4d], 1
jmp 0x4bacbc
mov byte [ebp - 0x4d], 1
jmp 0x4bacbc
mov byte [ebp - 0x4e], 0
jmp 0x4bac2e
mov dword [ebp - 4], 0xfffffffe
jmp 0x4bad2b
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x4bad5c
xor edx, edx
jne 0x4bad55
push 0
push 0
push 0x3f0
push 0x4e3a78
push 2
call fcn.00478940
add esp, 0x14
cmp eax, 1
jne 0x4bad55
int3
xor eax, eax
jmp 0x4bbfa1
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
movzx edx, byte [ebp - 0x55]
cmp edx, 0xf
je 0x4bad7b
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
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.0x4bad9f.2
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x4bc0a8]
mov dword [ebp - 0x70], 0x4e2eb8
jmp 0x4bae97
mov dword [ebp - 0x70], 0x4e2fb8
jmp 0x4bae97
mov dword [ebp - 0x70], 0x4e30b8
jmp 0x4bae97
mov dword [ebp - 0x70], 0x4e33b8
jmp 0x4bae97
mov dword [ebp - 0x70], 0x4e31b8
movzx ecx, byte [ebp - 0x4f]
test ecx, ecx
je 0x4badec
mov dword [ebp - 0x4c], 0
jmp 0x4bae97
mov dword [ebp - 0x70], 0x4e32b8
movzx edx, byte [ebp - 0x4f]
test edx, edx
je 0x4bae07
mov dword [ebp - 0x4c], 0
jmp 0x4bae97
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 0x4bae83
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 0x4bae66
cmp dword [ebp - 0x74], 4
je 0x4bae6f
jmp 0x4bae78
mov dword [ebp - 0x70], 0x4e34b8
jmp 0x4bae81
mov dword [ebp - 0x70], 0x4e3538
jmp 0x4bae81
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
jmp 0x4bae8c
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
jmp 0x4bae97
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
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 0x4baed0
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
cmp dword [ebp - 0x34], 1
jne 0x4bafd4
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 0x4baf15
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4baf15
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
jne 0x4baf1e
mov dword [ebp - 0x4c], 1
jmp 0x4baf5f
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x46
je 0x4baf4d
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x47
je 0x4baf4d
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x48
jne 0x4baf56
mov dword [ebp - 0x4c], 0
jmp 0x4baf5f
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x6b
je 0x4baf9e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x46
je 0x4baf9e
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
je 0x4baf9e
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x48
jne 0x4bafa4
mov byte [ebp - 0x4f], 0
jmp 0x4bafd2
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4bafc3
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x47
jne 0x4bafc9
mov byte [ebp - 0x4f], 1
jmp 0x4bafd2
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
jmp 0x4bafe6
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 0x4baffd
mov byte [ebp - 0x4d], 1
jmp 0x4bb250
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1e
jne 0x4bb04c
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x4bb02c
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4e363c]
mov dword [ebp - 0x80], eax
jmp 0x4bb041
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x4e3638]
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 0x4bb07b
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x44
je 0x4bb07b
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x45
jne 0x4bb07f
mov byte [ebp - 0x4f], 0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x68
je 0x4bb0ae
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x69
je 0x4bb0ae
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6a
jne 0x4bb0b5
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x34], 0
jne 0x4bb0d4
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 0x4bb0e5
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 0x4bb138
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 + 0x4e3678]
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.004bc160
add esp, 0x14
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1f
jne 0x4bb1b9
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.004bc160
add esp, 0x14
mov ecx, dword [ebp - 0xc0]
and ecx, 0xfffffffe
mov dword [ebp - 0xc0], ecx
jmp 0x4bb1e9
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.004bc160
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.004bc160
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 0x4bb250
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 0x4bb2c6
movzx edx, byte [ebp - 0x4d]
test edx, edx
je 0x4bb2f7
xor eax, eax
jne 0x4bb2f0
push 0
push 0
push 0x53e
push 0x4e3a78
push 2
call fcn.00478940
add esp, 0x14
cmp eax, 1
jne 0x4bb2f0
int3
xor eax, eax
jmp 0x4bbfa1
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
and eax, 0x300
mov dword [ebp - 0x15c], eax
je 0x4bb33c
cmp dword [ebp - 0x15c], 0x200
je 0x4bb330
cmp dword [ebp - 0x15c], 0x300
je 0x4bb324
jmp 0x4bb346
mov dword [ebp - 0x16c], 0
jmp 0x4bb346
mov dword [ebp - 0x16c], 1
jmp 0x4bb346
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.0x4bb376
mov ecx, dword [ebp - 0x188]
jmp dword [ecx*4 + 0x4bc0dc]
mov dword [ebp - 0x170], 0
jmp case.default.0x4bb376
mov dword [ebp - 0x170], 1
jmp case.default.0x4bb376
mov dword [ebp - 0x170], 2
jmp case.default.0x4bb376
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 0x4bb456
mov dword [ebp - 0x194], 1
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 0x48
je 0x4bb476
cmp dword [ebp - 0x198], 0x6d
je 0x4bb476
jmp 0x4bb4a7
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.004bdda0
add esp, 0x18
mov dword [ebp - 0x28], eax
jmp 0x4bbf5a
mov dword [ebp - 0x7c], 0
jmp 0x4bb4b9
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x194]
jae 0x4bbf5a
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.004bce50
add esp, 0xc
movzx eax, al
test eax, eax
je 0x4bb630
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 0x4bb652
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 0x4bb749
cmp dword [ebp - 0x218], 1
je 0x4bb6b4
jmp 0x4bb875
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 0x4bb6e3
cmp dword [ebp - 0x128], 0x6a
jne 0x4bb744
cmp dword [ebp - 0x7c], 1
jne 0x4bb744
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.0x4bb8a6.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0x100]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x128], 0x44
je 0x4bb76f
cmp dword [ebp - 0x128], 0x45
jne 0x4bb870
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 1
je 0x4bb79c
cmp dword [ebp - 0x21c], 2
je 0x4bb7d2
cmp dword [ebp - 0x21c], 3
je 0x4bb822
jmp 0x4bb870
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 0x4bb870
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 0x4bb870
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.0x4bb8a6.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.0x4bb8a6.2
mov edx, dword [ebp - 0x220]
movzx eax, byte [edx + 0x4bc0fc]
jmp dword [eax*4 + 0x4bc0ec]
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.0x4bb8a6.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0x100]
mov dword [ebp - 0x200], edx
jmp case.0x4bb8a6.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 0x4bb941
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 0x4bb950
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 0x4bba09
cmp dword [ebp - 0x224], 1
je 0x4bb974
jmp 0x4bbb52
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 0x4bb9a3
cmp dword [ebp - 0x128], 0x6a
jne 0x4bba04
cmp dword [ebp - 0x7c], 0
jne 0x4bba04
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.0x4bbb83.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xd0]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x128], 0x44
je 0x4bba2f
cmp dword [ebp - 0x128], 0x45
jne 0x4bbb4d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0
je 0x4bba5c
cmp dword [ebp - 0x228], 1
je 0x4bbaaf
cmp dword [ebp - 0x228], 2
je 0x4bbaff
jmp 0x4bbb4d
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 0x4bbb4d
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 0x4bbb4d
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.0x4bbb83.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.0x4bbb83.2
mov ecx, dword [ebp - 0x22c]
movzx edx, byte [ecx + 0x4bc118]
jmp dword [edx*4 + 0x4bc108]
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.0x4bbb83.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x1e0], ecx
jmp case.0x4bbb83.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 0x4bbc21
cmp dword [ebp - 0x230], 1
je 0x4bbbff
jmp 0x4bbc36
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.0x4bbc67.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4bbc67.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.0x4bbc67.2
mov edx, dword [ebp - 0x234]
movzx eax, byte [edx + 0x4bc134]
jmp dword [eax*4 + 0x4bc124]
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.0x4bbc67.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4bbc67.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 0x4bbcf0
cmp dword [ebp - 0x4c], 2
jne 0x4bbd0b
lea eax, [ebp - 0x180]
push eax
call fcn.004c1880
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + ecx*4 - 0x148], eax
jmp 0x4bbd24
lea edx, [ebp - 0x180]
push edx
call fcn.004bebf0
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 0x4bbe47
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx]
shr eax, 5
and eax, 1
je 0x4bbd68
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 0x4bbd8b
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 0x4bbdae
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 0x4bbdd1
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 0x4bbdf3
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 0x4bbe13
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 0x4bbe31
mov eax, dword [ebp - 0x28]
jmp 0x4bbfa1
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004bc6f0
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.0x4bbf04.2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4bbebe
cmp dword [ebp - 0x238], 1
je 0x4bbe9c
jmp 0x4bbed3
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.0x4bbf04.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4bbf04.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.0x4bbf04.2
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x4bc150]
jmp dword [eax*4 + 0x4bc140]
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.0x4bbf04.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4bbf04.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 0x4bb4b0
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.004bcb20
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.0047a9c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret