Function at 0x4d069c
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 0x5058f0
push 0x4876d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ecx
sub esp, 0x224
mov eax, dword [0x509ac0]
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 0x4d0598
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call dword [ebx + 0x10]
add esp, 4
jmp 0x4d1991
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 0x4d05dd
xor ecx, ecx
jne 0x4d05d4
push 0
push 0
push 0x388
push 0x504848
push 2
call fcn.00489a40
add esp, 0x14
cmp eax, 1
jne 0x4d05d4
int3
xor eax, eax
jmp 0x4d1991
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 0x4d06b1
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.0x4d065e.1
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx + 0x4d19c8]
jmp dword [eax*4 + 0x4d19b0]
mov byte [ebp - 0x4f], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x4d06ac
mov dword [ebp - 0x4c], 1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x4d06ac
mov byte [ebp - 0x4f], 1
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4d06ac
mov byte [ebp - 0x4d], 1
jmp 0x4d06ac
mov byte [ebp - 0x4d], 1
jmp 0x4d06ac
mov byte [ebp - 0x4e], 0
jmp 0x4d061e
mov dword [ebp - 4], 0xfffffffe
jmp 0x4d071b
movzx ecx, byte [ebp - 0x4d]
test ecx, ecx
je 0x4d074c
xor edx, edx
jne 0x4d0745
push 0
push 0
push 0x3f0
push 0x504848
push 2
call fcn.00489a40
add esp, 0x14
cmp eax, 1
jne 0x4d0745
int3
xor eax, eax
jmp 0x4d1991
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
movzx edx, byte [ebp - 0x55]
cmp edx, 0xf
je 0x4d076b
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
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.0x4d078f.2
mov eax, dword [ebp - 0x6c]
jmp dword [eax*4 + 0x4d1a98]
mov dword [ebp - 0x70], 0x503c88
jmp 0x4d0887
mov dword [ebp - 0x70], 0x503d88
jmp 0x4d0887
mov dword [ebp - 0x70], 0x503e88
jmp 0x4d0887
mov dword [ebp - 0x70], 0x504188
jmp 0x4d0887
mov dword [ebp - 0x70], 0x503f88
movzx ecx, byte [ebp - 0x4f]
test ecx, ecx
je 0x4d07dc
mov dword [ebp - 0x4c], 0
jmp 0x4d0887
mov dword [ebp - 0x70], 0x504088
movzx edx, byte [ebp - 0x4f]
test edx, edx
je 0x4d07f7
mov dword [ebp - 0x4c], 0
jmp 0x4d0887
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 0x4d0873
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 0x4d0856
cmp dword [ebp - 0x74], 4
je 0x4d085f
jmp 0x4d0868
mov dword [ebp - 0x70], 0x504288
jmp 0x4d0871
mov dword [ebp - 0x70], 0x504308
jmp 0x4d0871
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
jmp 0x4d087c
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
jmp 0x4d0887
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
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 0x4d08c0
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
cmp dword [ebp - 0x34], 1
jne 0x4d09c4
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 0x4d0905
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4d0905
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
jne 0x4d090e
mov dword [ebp - 0x4c], 1
jmp 0x4d094f
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x46
je 0x4d093d
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x47
je 0x4d093d
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x48
jne 0x4d0946
mov dword [ebp - 0x4c], 0
jmp 0x4d094f
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x6b
je 0x4d098e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x46
je 0x4d098e
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x6d
je 0x4d098e
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x48
jne 0x4d0994
mov byte [ebp - 0x4f], 0
jmp 0x4d09c2
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6c
je 0x4d09b3
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x47
jne 0x4d09b9
mov byte [ebp - 0x4f], 1
jmp 0x4d09c2
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
jmp 0x4d09d6
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 0x4d09ed
mov byte [ebp - 0x4d], 1
jmp 0x4d0c40
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1e
jne 0x4d0a3c
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x4d0a1c
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x50440c]
mov dword [ebp - 0x80], eax
jmp 0x4d0a31
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0x11
and edx, 0x1f
lea eax, [edx*4 + 0x504408]
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 0x4d0a6b
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x44
je 0x4d0a6b
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x45
jne 0x4d0a6f
mov byte [ebp - 0x4f], 0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
and edx, 0xfff
cmp edx, 0x68
je 0x4d0a9e
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
and ecx, 0xfff
cmp ecx, 0x69
je 0x4d0a9e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
and eax, 0xfff
cmp eax, 0x6a
jne 0x4d0aa5
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x34], 0
jne 0x4d0ac4
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 0x4d0ad5
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 0x4d0b28
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 + 0x504448]
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.004d1b50
add esp, 0x14
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
shr edx, 0xc
and edx, 0x1f
cmp edx, 0x1f
jne 0x4d0ba9
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.004d1b50
add esp, 0x14
mov ecx, dword [ebp - 0xc0]
and ecx, 0xfffffffe
mov dword [ebp - 0xc0], ecx
jmp 0x4d0bd9
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.004d1b50
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.004d1b50
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 0x4d0c40
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 0x4d0cb6
movzx edx, byte [ebp - 0x4d]
test edx, edx
je 0x4d0ce7
xor eax, eax
jne 0x4d0ce0
push 0
push 0
push 0x53e
push 0x504848
push 2
call fcn.00489a40
add esp, 0x14
cmp eax, 1
jne 0x4d0ce0
int3
xor eax, eax
jmp 0x4d1991
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
and eax, 0x300
mov dword [ebp - 0x15c], eax
je 0x4d0d2c
cmp dword [ebp - 0x15c], 0x200
je 0x4d0d20
cmp dword [ebp - 0x15c], 0x300
je 0x4d0d14
jmp 0x4d0d36
mov dword [ebp - 0x16c], 0
jmp 0x4d0d36
mov dword [ebp - 0x16c], 1
jmp 0x4d0d36
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.0x4d0d66
mov ecx, dword [ebp - 0x188]
jmp dword [ecx*4 + 0x4d1acc]
mov dword [ebp - 0x170], 0
jmp case.default.0x4d0d66
mov dword [ebp - 0x170], 1
jmp case.default.0x4d0d66
mov dword [ebp - 0x170], 2
jmp case.default.0x4d0d66
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 0x4d0e46
mov dword [ebp - 0x194], 1
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 0x48
je 0x4d0e66
cmp dword [ebp - 0x198], 0x6d
je 0x4d0e66
jmp 0x4d0e97
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.004d3790
add esp, 0x18
mov dword [ebp - 0x28], eax
jmp 0x4d194a
mov dword [ebp - 0x7c], 0
jmp 0x4d0ea9
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x194]
jae 0x4d194a
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.004d2840
add esp, 0xc
movzx eax, al
test eax, eax
je 0x4d1020
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 0x4d1042
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 0x4d1139
cmp dword [ebp - 0x218], 1
je 0x4d10a4
jmp 0x4d1265
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 0x4d10d3
cmp dword [ebp - 0x128], 0x6a
jne 0x4d1134
cmp dword [ebp - 0x7c], 1
jne 0x4d1134
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.0x4d1296.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0x100]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x128], 0x44
je 0x4d115f
cmp dword [ebp - 0x128], 0x45
jne 0x4d1260
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x21c], 1
je 0x4d118c
cmp dword [ebp - 0x21c], 2
je 0x4d11c2
cmp dword [ebp - 0x21c], 3
je 0x4d1212
jmp 0x4d1260
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 0x4d1260
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 0x4d1260
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.0x4d1296.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.0x4d1296.2
mov edx, dword [ebp - 0x220]
movzx eax, byte [edx + 0x4d1aec]
jmp dword [eax*4 + 0x4d1adc]
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.0x4d1296.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0x100]
mov dword [ebp - 0x200], edx
jmp case.0x4d1296.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 0x4d1331
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 0x4d1340
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 0x4d13f9
cmp dword [ebp - 0x224], 1
je 0x4d1364
jmp 0x4d1542
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 0x4d1393
cmp dword [ebp - 0x128], 0x6a
jne 0x4d13f4
cmp dword [ebp - 0x7c], 0
jne 0x4d13f4
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.0x4d1573.2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + edx*4 - 0xd0]
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x128], 0x44
je 0x4d141f
cmp dword [ebp - 0x128], 0x45
jne 0x4d153d
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0
je 0x4d144c
cmp dword [ebp - 0x228], 1
je 0x4d149f
cmp dword [ebp - 0x228], 2
je 0x4d14ef
jmp 0x4d153d
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 0x4d153d
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 0x4d153d
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.0x4d1573.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.0x4d1573.2
mov ecx, dword [ebp - 0x22c]
movzx edx, byte [ecx + 0x4d1b08]
jmp dword [edx*4 + 0x4d1af8]
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.0x4d1573.2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x1e0], ecx
jmp case.0x4d1573.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 0x4d1611
cmp dword [ebp - 0x230], 1
je 0x4d15ef
jmp 0x4d1626
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.0x4d1657.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4d1657.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.0x4d1657.2
mov edx, dword [ebp - 0x234]
movzx eax, byte [edx + 0x4d1b24]
jmp dword [eax*4 + 0x4d1b14]
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.0x4d1657.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + ecx*4 - 0xa0]
mov dword [ebp - 0x1c0], edx
jmp case.0x4d1657.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 0x4d16e0
cmp dword [ebp - 0x4c], 2
jne 0x4d16fb
lea eax, [ebp - 0x180]
push eax
call fcn.004d7270
add esp, 4
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + ecx*4 - 0x148], eax
jmp 0x4d1714
lea edx, [ebp - 0x180]
push edx
call fcn.004d45e0
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 0x4d1837
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx]
shr eax, 5
and eax, 1
je 0x4d1758
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 0x4d177b
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 0x4d179e
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 0x4d17c1
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 0x4d17e3
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 0x4d1803
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 0x4d1821
mov eax, dword [ebp - 0x28]
jmp 0x4d1991
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004d20e0
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.0x4d18f4.2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4d18ae
cmp dword [ebp - 0x238], 1
je 0x4d188c
jmp 0x4d18c3
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.0x4d18f4.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4d18f4.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.0x4d18f4.2
mov edx, dword [ebp - 0x23c]
movzx eax, byte [edx + 0x4d1b40]
jmp dword [eax*4 + 0x4d1b30]
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.0x4d18f4.2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0xa0], edx
jmp case.0x4d18f4.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 0x4d0ea0
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.004d2510
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.00496420
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret