Function at 0x4c3190
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x18
mov dword [esp + 0x28], esi
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, dword [esp + 0x78]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4c31c7
mov ecx, dword [esp + 0x78]
push ecx
push ebp
push ebx
mov ecx, eax
call fcn.004c2900
mov edi, eax
mov dword [esp + 0x38], eax
jmp 0x4c31cd
xor edi, edi
mov dword [esp + 0x38], edi
mov edx, dword [edi + 0x10]
imul edx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
push edx
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [esp + 0x70], ebx
je 0x4c396f
cmp ebp, 0x7ffffffd
mov eax, dword [esi + 0x90]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jle 0x4c3221
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push str.Bad_width_in_JBIG2_generic_bitmap
mov ecx, esi
call eax
push eax
push 1
call fcn.00489570
add esp, 0xc
mov ebp, 0xfffffffd
lea ecx, [ebp + 1]
push 4
push ecx
call fcn.00497310
lea edx, [ebp + 2]
mov esi, eax
push 4
push edx
mov dword [esp + 0x84], esi
call fcn.00497310
add esp, 0x10
cmp dword [esp + 0x78], ebx
mov edi, eax
mov dword [esi], ebp
mov dword [esp + 0x10], ebx
jle 0x4c38f5
mov esi, dword [esp + 0x74]
mov edx, dword [esi]
xor eax, eax
cmp edx, ebp
jge 0x4c3275
xor ecx, ecx
inc eax
mov dword [ecx + edi], edx
lea ecx, [eax*4]
mov edx, dword [ecx + esi]
cmp edx, ebp
jl 0x4c3263
mov dword [edi + eax*4], ebp
xor esi, esi
mov dword [edi + eax*4 + 4], ebp
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp esi, ebp
mov dword [eax], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x90], esi
jge 0x4c3864
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x90]
call fcn.004c24e0
inc eax
cmp eax, 9
ja case.default.0x4c32b9
jmp dword [eax*4 + 0x4c4c0c]
mov eax, dword [edi + esi*4 + 4]
mov ecx, dword [esp + 0x74]
cmp eax, dword [ecx + ebx*4]
jle 0x4c330c
cmp eax, ebp
jle 0x4c32ef
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call eax
push eax
push 1
call fcn.00489570
add esp, 0x10
mov eax, ebp
mov ecx, ebx
and ecx, 1
xor ecx, dword [esp + 0x90]
je 0x4c3305
inc ebx
mov dword [esp + 0x88], ebx
mov edx, dword [esp + 0x74]
mov dword [edx + ebx*4], eax
cmp dword [edi + esi*4 + 4], ebp
jge 0x4c3857
add esi, 2
jmp 0x4c3857
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x90], eax
je 0x4c3380
jmp 0x4c3340
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x90]
call fcn.004c26b0
add dword [esp + 0x8c], eax
cmp eax, 0x40
jge 0x4c3340
jmp 0x4c3360
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x90]
call fcn.004c25b0
add dword [esp + 0x84], eax
cmp eax, 0x40
jge 0x4c3360
jmp 0x4c33bb
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x90]
call fcn.004c25b0
add dword [esp + 0x8c], eax
cmp eax, 0x40
jge 0x4c3380
jmp 0x4c33a0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x90]
call fcn.004c26b0
add dword [esp + 0x84], eax
cmp eax, 0x40
jge 0x4c33a0
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + ebx*4]
mov eax, dword [esp + 0x8c]
add eax, ecx
cmp eax, ecx
jle 0x4c3411
cmp eax, ebp
jle 0x4c33f8
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call eax
push eax
push 1
call fcn.00489570
mov edx, dword [esp + 0x84]
add esp, 0x10
mov eax, ebp
mov ecx, ebx
and ecx, 1
xor ecx, dword [esp + 0x90]
je 0x4c340e
inc ebx
mov dword [esp + 0x88], ebx
mov dword [edx + ebx*4], eax
cmp dword [edx + ebx*4], ebp
jge 0x4c346a
mov ecx, dword [edx + ebx*4]
mov eax, dword [esp + 0x84]
add eax, ecx
cmp eax, ecx
jle 0x4c346a
cmp eax, ebp
jle 0x4c344f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call eax
push eax
push 1
call fcn.00489570
mov edx, dword [esp + 0x84]
add esp, 0x10
mov eax, ebp
mov ecx, ebx
not ecx
and ecx, 1
xor ecx, dword [esp + 0x90]
je 0x4c3467
inc ebx
mov dword [esp + 0x88], ebx
mov dword [edx + ebx*4], eax
mov eax, dword [edi + esi*4]
mov ecx, dword [edx + ebx*4]
cmp eax, ecx
jg 0x4c3857
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c3478
jmp 0x4c3857
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x74]
add eax, 3
cmp eax, dword [ecx + ebx*4]
jle 0x4c34e1
cmp eax, ebp
jle 0x4c34c8
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call eax
push eax
push 1
call fcn.00489570
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov eax, ebp
mov edx, ebx
and edx, 1
xor edx, dword [esp + 0x90]
je 0x4c34de
inc ebx
mov dword [esp + 0x88], ebx
mov dword [ecx + ebx*4], eax
mov ecx, dword [ecx + ebx*4]
xor dword [esp + 0x90], 1
cmp ecx, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ecx
jg 0x4c3857
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c3501
jmp 0x4c3857
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x74]
add eax, 2
cmp eax, dword [ecx + ebx*4]
jle 0x4c356a
cmp eax, ebp
jle 0x4c3551
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call edx
push eax
push 1
call fcn.00489570
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov eax, ebp
mov edx, ebx
and edx, 1
xor edx, dword [esp + 0x90]
je 0x4c3567
inc ebx
mov dword [esp + 0x88], ebx
mov dword [ecx + ebx*4], eax
mov ecx, dword [ecx + ebx*4]
xor dword [esp + 0x90], 1
cmp ecx, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ecx
jg 0x4c3857
lea ebx, [ebx]
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c3590
jmp 0x4c3857
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x74]
inc eax
cmp eax, dword [ecx + ebx*4]
jle 0x4c35f7
cmp eax, ebp
jle 0x4c35de
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call edx
push eax
push 1
call fcn.00489570
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov eax, ebp
mov edx, ebx
and edx, 1
xor edx, dword [esp + 0x90]
je 0x4c35f4
inc ebx
mov dword [esp + 0x88], ebx
mov dword [ecx + ebx*4], eax
mov ecx, dword [ecx + ebx*4]
xor dword [esp + 0x90], 1
cmp ecx, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ecx
jg 0x4c3857
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c3617
jmp 0x4c3857
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x74]
cmp eax, dword [ecx + ebx*4]
jle 0x4c367d
cmp eax, ebp
jle 0x4c3664
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push str.JBIG2_MMR_row_is_wrong_length__0:d_
call edx
push eax
push 1
call fcn.00489570
mov ecx, dword [esp + 0x84]
add esp, 0x10
mov eax, ebp
mov edx, ebx
and edx, 1
xor edx, dword [esp + 0x90]
je 0x4c367a
inc ebx
mov dword [esp + 0x88], ebx
mov dword [ecx + ebx*4], eax
mov ecx, dword [ecx + ebx*4]
xor dword [esp + 0x90], 1
cmp ecx, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ecx
jg 0x4c3857
lea ecx, [ecx]
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c36a0
jmp 0x4c3857
mov ecx, dword [esp + 0x74]
mov edx, dword [edi + esi*4]
mov ebx, dword [esp + 0x90]
push ebp
lea eax, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ebx
sub edx, 3
push edx
call fcn.004c3100
mov eax, dword [esp + 0x74]
xor ebx, 1
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov ecx, dword [eax + ebx*4]
cmp ecx, ebp
jge 0x4c3857
test esi, esi
jle 0x4c3705
dec esi
jmp 0x4c3706
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ecx
jg 0x4c3857
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c3711
jmp 0x4c3857
mov edx, dword [esp + 0x74]
mov eax, dword [edi + esi*4]
mov ebx, dword [esp + 0x90]
push ebp
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ebx
sub eax, 2
push eax
call fcn.004c3100
mov ecx, dword [esp + 0x74]
xor ebx, 1
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov ecx, dword [ecx + ebx*4]
cmp ecx, ebp
jge 0x4c3857
test esi, esi
jle 0x4c3776
dec esi
jmp 0x4c3777
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ecx
jg 0x4c3857
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c3782
jmp 0x4c3857
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + esi*4]
mov ebx, dword [esp + 0x90]
push ebp
lea edx, [esp + 0x8c]
push edx
push eax
dec ecx
push ebx
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004c3100
mov edx, dword [esp + 0x74]
xor ebx, 1
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x88]
mov ecx, dword [edx + ebx*4]
cmp ecx, ebp
jge 0x4c3857
test esi, esi
jle 0x4c37e1
dec esi
jmp 0x4c37e2
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ecx
jg 0x4c3857
lea esp, [esp]
cmp eax, ebp
jge 0x4c3857
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ecx
jle 0x4c37f0
jmp 0x4c3857
mov eax, dword [esp + 0x74]
cmp ebp, dword [eax + ebx*4]
jle 0x4c3857
test bl, 1
je 0x4c3817
inc ebx
mov dword [esp + 0x88], ebx
mov dword [eax + ebx*4], ebp
jmp 0x4c3857
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push str.Illegal_code_in_JBIG2_MMR_bitmap_data
call edx
push eax
push 1
call fcn.00489570
mov eax, dword [esp + 0x80]
add esp, 0xc
cmp ebp, dword [eax + ebx*4]
jle 0x4c3857
test bl, 1
je 0x4c3850
inc ebx
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x74]
mov dword [ecx + ebx*4], ebp
mov edx, dword [esp + 0x74]
cmp dword [edx + ebx*4], ebp
jl 0x4c32a0
mov esi, dword [esp + 0x74]
cmp dword [esi], ebp
mov dword [esp + 0x90], 0
jge 0x4c38e2
mov ecx, dword [esp + 0x38]
mov edx, esi
lea ecx, [ecx]
mov eax, dword [edx]
cmp eax, dword [edx + 4]
jge 0x4c38c4
jmp 0x4c3890
mov esi, dword [ecx + 0x10]
imul esi, dword [esp + 0x10]
mov ecx, dword [ecx + 0x14]
mov ebx, eax
sar ebx, 3
add esi, ebx
add esi, ecx
mov ebx, eax
and ebx, 7
mov ecx, 7
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, dword [esp + 0x38]
inc eax
or byte [esi], bl
cmp eax, dword [edx + 4]
jl 0x4c3890
mov esi, dword [esp + 0x74]
cmp dword [edx + 4], ebp
jge 0x4c38e2
mov eax, dword [esp + 0x90]
add eax, 2
cmp dword [esi + eax*4], ebp
lea edx, [esi + eax*4]
mov dword [esp + 0x90], eax
jl 0x4c3880
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
jl 0x4c3255
mov eax, dword [esp + 0x94]
test eax, eax
jl 0x4c391f
mov edx, dword [esp + 0x24]
mov esi, dword [edx + 0x90]
sub eax, dword [esi + 0xc]
mov ecx, dword [esi]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
call eax
add dword [esi + 0xc], eax
add dword [esi + 0x10], eax
jmp 0x4c394e
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x90]
call fcn.004c2800
cmp eax, 0x1001
je 0x4c394e
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push str.Missing_EOFB_in_JBIG2_MMR_bitmap_data
mov ecx, esi
call eax
push eax
push 1
call fcn.00489570
add esp, 0xc
push edi
call fcn.00497230
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00497230
mov eax, dword [esp + 0x40]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x28
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x80], ebx
je case.default.0x4c3985
cmp eax, 3
ja case.default.0x4c3985
jmp dword [eax*4 + 0x4c4c34]
mov dword [esp + 0x4c], 0x3953
jmp case.default.0x4c3985
mov dword [esp + 0x4c], 0x79a
jmp case.default.0x4c3985
mov dword [esp + 0x4c], 0xe3
jmp case.default.0x4c3985
mov dword [esp + 0x4c], 0x18b
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], ebx
jle 0x4c4bff
cmp dword [esp + 0x80], 0
je 0x4c3a33
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x4c]
mov ecx, dword [esp + 0x4c]
push edx
push ecx
mov ecx, dword [eax + 0x48]
call fcn.00501a20
test eax, eax
je 0x4c39f4
xor edx, edx
cmp dword [esp + 0x50], edx
sete dl
mov dword [esp + 0x50], edx
cmp dword [esp + 0x50], 0
je 0x4c3a33
cmp dword [esp + 0x10], 0
jle case.default.0x4c3a42
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov edx, eax
push edx
mov edx, dword [esp + 0x14]
lea esi, [edx - 1]
imul esi, eax
imul eax, edx
add esi, ecx
add eax, ecx
push esi
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
jmp case.default.0x4c3a42
cmp dword [esp + 0x7c], 3
ja case.default.0x4c3a42
mov eax, dword [esp + 0x7c]
jmp dword [eax*4 + 0x4c4c44]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov edi, dword [esp + 0x10]
mov eax, ecx
imul eax, edi
movzx esi, byte [eax + edx]
add eax, edx
mov dword [esp + 0x28], eax
shl esi, 8
inc eax
cmp edi, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], eax
jl 0x4c3ab1
lea eax, [edi - 1]
imul eax, ecx
movzx esi, byte [eax + edx]
add eax, edx
shl esi, 8
inc eax
cmp edi, 2
mov dword [esp + 0x94], esi
mov dword [esp + 0x20], eax
jl 0x4c3aad
lea eax, [edi - 2]
imul eax, ecx
movzx esi, byte [eax + edx]
add eax, edx
shl esi, 8
mov dword [esp + 0x18], esi
inc eax
jmp 0x4c3ac2
xor eax, eax
jmp 0x4c3abe
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x8c]
mov esi, dword [eax]
cmp esi, 0xfffffff8
jl 0x4c3df3
cmp esi, 8
jg 0x4c3df3
mov ebx, dword [eax + 4]
cmp ebx, 0xfffffff8
mov dword [esp + 0x70], ebx
jl 0x4c3df3
cmp ebx, 8
jg 0x4c3df3
mov ebx, dword [eax + 8]
cmp ebx, 0xfffffff8
mov dword [esp + 0x5c], ebx
jl 0x4c3df3
cmp ebx, 8
jg 0x4c3df3
mov eax, dword [eax + 0xc]
cmp eax, 0xfffffff8
mov dword [esp + 0x40], eax
jl 0x4c3df3
cmp eax, 8
jg 0x4c3df3
mov ebp, dword [esp + 0x90]
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
jg 0x4c3b55
add eax, edi
cmp eax, ebx
jl 0x4c3b55
imul eax, ecx
movzx ebx, byte [eax + edx]
add eax, edx
shl ebx, 8
inc eax
mov dword [esp + 0x3c], eax
jmp 0x4c3b59
mov dword [esp + 0x3c], ebx
mov eax, 0xf
sub eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x44], ebx
test eax, eax
jg 0x4c3b86
add eax, edi
js 0x4c3b86
imul eax, ecx
movzx ebx, byte [eax + edx]
add eax, edx
shl ebx, 8
inc eax
mov dword [esp + 0x54], eax
jmp 0x4c3b8c
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov eax, 0xf
sub eax, dword [esp + 0x70]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
xor ebp, ebp
cmp eax, ebp
jg 0x4c3bbb
add eax, edi
cmp eax, ebp
jl 0x4c3bbb
imul eax, ecx
movzx ebp, byte [eax + edx]
add eax, edx
shl ebp, 8
inc eax
mov dword [esp + 0x58], eax
jmp 0x4c3bbf
mov dword [esp + 0x58], ebp
mov eax, 0xf
sub eax, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
cmp eax, esi
jg 0x4c3bf5
add eax, edi
cmp eax, esi
jl 0x4c3bf5
imul eax, ecx
movzx edi, byte [eax + edx]
add eax, edx
shl edi, 8
inc eax
mov dword [esp + 0x5c], eax
jmp 0x4c3bfb
mov dword [esp + 0x5c], esi
xor edi, edi
mov eax, 0xf
sub eax, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x68], eax
xor eax, eax
cmp dword [esp + 0x74], esi
jle case.default.0x4c3a42
mov ecx, dword [esp + 0x74]
lea esp, [esp]
add eax, 8
cmp eax, ecx
mov dword [esp + 0x40], eax
jge 0x4c3cb4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c3c43
movzx edx, byte [eax]
or dword [esp + 0x18], edx
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c3c5a
movzx edx, byte [eax]
or dword [esp + 0x94], edx
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax]
or dword [esp + 0x14], edx
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c3c7e
movzx edx, byte [eax]
or dword [esp + 0x44], edx
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c3c90
movzx edx, byte [eax]
or ebx, edx
inc eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c3ca2
movzx edx, byte [eax]
or ebp, edx
inc eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4c3cb4
movzx edx, byte [eax]
or edi, edx
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
cmp dword [esp + 0x1c], ecx
jge 0x4c3dde
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
shr esi, cl
mov ecx, dword [esp + 0x60]
mov eax, ebx
shr eax, cl
mov ecx, dword [esp + 0x64]
and esi, 1
add esi, esi
and eax, 1
or esi, eax
mov eax, dword [esp + 0x14]
shr eax, 7
mov edx, ebp
shr edx, cl
mov ecx, dword [esp + 0x94]
and eax, 0x1e00
add esi, esi
and edx, 1
or esi, edx
mov edx, dword [esp + 0x18]
and ecx, 0x3e000
or eax, ecx
mov ecx, dword [esp + 0x68]
shr eax, 4
and edx, 0x1c000
or eax, edx
shr eax, 1
add esi, esi
or esi, eax
mov eax, edi
shr eax, cl
and eax, 1
or esi, eax
cmp dword [esp + 0x84], 0
je 0x4c3d57
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
call fcn.004c2880
test eax, eax
jne 0x4c3da7
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c3da7
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
mov eax, dword [esp + 0x90]
mov ecx, 0x8000
or dword [esp + 0x14], ecx
cmp dword [eax], 0
jne 0x4c3d8f
or dword [esp + 0x44], ecx
cmp dword [eax + 4], 0
jne 0x4c3d97
or ebx, ecx
cmp dword [eax + 8], 0
jne 0x4c3d9f
or ebp, ecx
cmp dword [eax + 0xc], 0
jne 0x4c3da7
or edi, ecx
mov eax, dword [esp + 0x34]
shl dword [esp + 0x18], 1
shl dword [esp + 0x94], 1
shl dword [esp + 0x14], 1
shl dword [esp + 0x44], 1
inc dword [esp + 0x1c]
shr byte [esp + 0x70], 1
mov ecx, dword [esp + 0x74]
inc eax
add ebx, ebx
add ebp, ebp
add edi, edi
cmp eax, 8
mov dword [esp + 0x34], eax
jl 0x4c3cc1
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, ecx
jl 0x4c3c20
jmp case.default.0x4c3a42
xor ecx, ecx
xor eax, eax
cmp dword [esp + 0x74], ecx
mov dword [esp + 0x1c], ecx
jle case.default.0x4c3a42
add eax, 8
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
jge 0x4c3e4d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c3e26
movzx edx, byte [eax]
or dword [esp + 0x18], edx
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c3e3d
movzx edx, byte [eax]
or dword [esp + 0x94], edx
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax]
or dword [esp + 0x14], edx
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
lea ebx, [ebx]
cmp ecx, dword [esp + 0x74]
jge 0x4c40bd
mov edx, dword [esp + 0x90]
mov esi, dword [edx]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
mov edx, dword [edx]
add esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
shr eax, 0xe
shr edi, 0xd
shr ebp, 0x10
and eax, 7
and edi, 0x1f
and ebp, 0xf
add edx, ecx
js 0x4c3ee4
cmp edx, dword [ebx + 8]
jge 0x4c3ee4
test esi, esi
jl 0x4c3ee4
cmp esi, dword [ebx + 0xc]
jge 0x4c3ee4
mov ecx, dword [ebx + 0x10]
imul ecx, esi
mov esi, edx
sar esi, 3
add ecx, esi
mov esi, dword [ebx + 0x14]
movzx esi, byte [ecx + esi]
and dl, 7
mov ecx, 7
sub cl, dl
shr esi, cl
mov ecx, dword [esp + 0x1c]
and esi, 1
mov dword [esp + 0x5c], esi
jmp 0x4c3eec
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x90]
mov esi, dword [edx + 4]
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + 4]
add esi, dword [esp + 0x10]
add edx, ecx
js 0x4c3f3f
cmp edx, dword [ebx + 8]
jge 0x4c3f3f
test esi, esi
jl 0x4c3f3f
cmp esi, dword [ebx + 0xc]
jge 0x4c3f3f
mov ecx, dword [ebx + 0x10]
imul ecx, esi
mov esi, edx
sar esi, 3
add ecx, esi
mov esi, dword [ebx + 0x14]
movzx esi, byte [ecx + esi]
and dl, 7
mov ecx, 7
sub cl, dl
shr esi, cl
and esi, 1
mov dword [esp + 0x58], esi
jmp 0x4c3f47
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x90]
mov esi, dword [edx + 8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 8]
add esi, dword [esp + 0x10]
add edx, dword [esp + 0x1c]
js 0x4c3f9c
cmp edx, dword [ebx + 8]
jge 0x4c3f9c
test esi, esi
jl 0x4c3f9c
cmp esi, dword [ebx + 0xc]
jge 0x4c3f9c
mov ecx, dword [ebx + 0x10]
imul ecx, esi
mov esi, edx
sar esi, 3
add ecx, esi
mov esi, dword [ebx + 0x14]
movzx esi, byte [ecx + esi]
and dl, 7
mov ecx, 7
sub cl, dl
shr esi, cl
and esi, 1
mov dword [esp + 0x54], esi
jmp 0x4c3fa4
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x90]
mov esi, dword [edx + 0xc]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0xc]
add esi, dword [esp + 0x10]
add edx, dword [esp + 0x1c]
js 0x4c3ff5
cmp edx, dword [ebx + 8]
jge 0x4c3ff5
test esi, esi
jl 0x4c3ff5
cmp esi, dword [ebx + 0xc]
jge 0x4c3ff5
mov ecx, dword [ebx + 0x10]
imul ecx, esi
mov esi, edx
sar esi, 3
add ecx, esi
mov esi, dword [ebx + 0x14]
movzx esi, byte [ecx + esi]
and dl, 7
mov ecx, 7
sub cl, dl
shr esi, cl
and esi, 1
jmp 0x4c3ff7
xor esi, esi
shl eax, 5
or eax, edi
shl eax, 4
mov ebx, dword [esp + 0x1c]
or eax, ebp
add eax, eax
or eax, dword [esp + 0x5c]
add eax, eax
or eax, dword [esp + 0x58]
add eax, eax
or eax, dword [esp + 0x54]
add eax, eax
or eax, esi
cmp dword [esp + 0x84], 0
mov esi, eax
je 0x4c406a
test ebx, ebx
jl 0x4c406a
mov eax, dword [esp + 0x88]
cmp ebx, dword [eax + 8]
jge 0x4c406a
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x4c406a
cmp ecx, dword [eax + 0xc]
jge 0x4c406a
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
imul edx, ecx
mov ecx, ebx
sar ecx, 3
add edx, ecx
movzx edx, byte [edx + eax]
mov al, bl
and al, 7
mov ecx, 7
sub cl, al
shr edx, cl
and edx, 1
jne 0x4c4091
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c4091
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
or dword [esp + 0x14], 0x8000
mov eax, dword [esp + 0x34]
shl dword [esp + 0x18], 1
shl dword [esp + 0x94], 1
shl dword [esp + 0x14], 1
shr byte [esp + 0x70], 1
inc eax
inc ebx
cmp eax, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ebx
mov ecx, ebx
jl 0x4c3e60
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, dword [esp + 0x74]
jl 0x4c3e05
jmp case.default.0x4c3a42
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, edx
imul ecx, eax
movzx ebp, byte [ecx + edi]
add ecx, edi
mov dword [esp + 0x28], ecx
shl ebp, 8
inc ecx
cmp eax, 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], ecx
jl 0x4c4138
lea ecx, [eax - 1]
imul ecx, edx
movzx esi, byte [ecx + edi]
add ecx, edi
shl esi, 8
inc ecx
cmp eax, 2
mov dword [esp + 0x94], esi
mov dword [esp + 0x20], ecx
jl 0x4c4134
lea ecx, [eax - 2]
imul ecx, edx
movzx ebx, byte [ecx + edi]
add ecx, edi
shl ebx, 8
inc ecx
jmp 0x4c4147
xor ecx, ecx
jmp 0x4c4145
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x94], ecx
xor ebx, ebx
mov esi, dword [esp + 0x8c]
mov esi, dword [esi]
cmp esi, 0xfffffff8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], esi
jl 0x4c4300
cmp esi, 8
jg 0x4c4300
mov esi, dword [esp + 0x90]
mov esi, dword [esi]
test esi, esi
jg 0x4c418f
add eax, esi
js 0x4c418f
imul eax, edx
add eax, edi
mov esi, eax
movzx edi, byte [esi]
shl edi, 8
inc esi
jmp 0x4c4193
xor esi, esi
xor edi, edi
mov eax, 0xf
sub eax, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], eax
xor eax, eax
cmp dword [esp + 0x74], eax
mov dword [esp + 0x1c], eax
jle case.default.0x4c3a42
mov edx, dword [esp + 0x74]
jmp 0x4c41c4
mov esi, dword [esp + 0x3c]
add eax, 8
cmp eax, edx
mov dword [esp + 0x40], eax
jge 0x4c4212
test ecx, ecx
je 0x4c41dd
movzx eax, byte [ecx]
or ebx, eax
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c41f7
movzx eax, byte [eax]
or dword [esp + 0x94], eax
inc dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
inc dword [esp + 0x30]
or ebp, eax
test esi, esi
je 0x4c4212
movzx eax, byte [esi]
or edi, eax
inc esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
nop
cmp dword [esp + 0x1c], edx
jge 0x4c42eb
mov ecx, dword [esp + 0x94]
mov esi, ebp
shr esi, 6
and esi, 0x1c00
and ecx, 0x3e000
or esi, ecx
mov ecx, dword [esp + 0x48]
shr esi, 5
mov eax, edi
mov edx, ebx
shr eax, cl
and edx, 0x1e000
or esi, edx
shr esi, 4
and eax, 1
or esi, eax
cmp dword [esp + 0x84], 0
je 0x4c4285
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
call fcn.004c2880
test eax, eax
jne 0x4c42bc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c42bc
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
mov eax, dword [esp + 0x90]
or ebp, 0x8000
cmp dword [eax], 0
jne 0x4c42bc
or edi, 0x8000
mov eax, dword [esp + 0x34]
shl dword [esp + 0x94], 1
inc dword [esp + 0x1c]
shr byte [esp + 0x70], 1
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
inc eax
add ebx, ebx
add ebp, ebp
add edi, edi
cmp eax, 8
mov dword [esp + 0x34], eax
jl 0x4c4220
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, edx
jl 0x4c41c0
jmp case.default.0x4c3a42
xor ebx, ebx
xor eax, eax
cmp dword [esp + 0x74], ebx
jle case.default.0x4c3a42
jmp 0x4c4314
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add eax, 8
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
jge 0x4c435e
test ecx, ecx
je 0x4c4339
movzx eax, byte [ecx]
or dword [esp + 0x18], eax
inc ecx
mov dword [esp + 0x2c], ecx
test edx, edx
je 0x4c434c
movzx ecx, byte [edx]
or dword [esp + 0x94], ecx
inc edx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x30]
movzx edx, byte [eax]
or ebp, edx
inc eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
jmp 0x4c4370
cmp ebx, dword [esp + 0x74]
jge 0x4c44a8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebp, dword [ecx]
mov edx, dword [edx]
add ebp, dword [esp + 0x10]
shr eax, 0xd
shr esi, 0xd
shr edi, 0x10
and eax, 0xf
and esi, 0x1f
and edi, 7
add edx, ebx
js 0x4c43f0
mov ecx, dword [esp + 0x38]
cmp edx, dword [ecx + 8]
jge 0x4c43f0
test ebp, ebp
jl 0x4c43f0
cmp ebp, dword [ecx + 0xc]
jge 0x4c43f0
mov ecx, dword [ecx + 0x10]
imul ecx, ebp
mov ebp, edx
sar ebp, 3
add ecx, ebp
mov ebp, dword [esp + 0x38]
mov ebp, dword [ebp + 0x14]
movzx ebp, byte [ecx + ebp]
and dl, 7
mov ecx, 7
sub cl, dl
shr ebp, cl
and ebp, 1
jmp 0x4c43f2
xor ebp, ebp
shl eax, 5
or eax, esi
add eax, eax
add eax, eax
add eax, eax
or eax, edi
add eax, eax
or eax, ebp
cmp dword [esp + 0x84], 0
mov esi, eax
je 0x4c445b
test ebx, ebx
jl 0x4c445b
mov edx, dword [esp + 0x88]
cmp ebx, dword [edx + 8]
jge 0x4c445b
cmp dword [esp + 0x10], 0
jl 0x4c445b
mov eax, dword [esp + 0x10]
mov ecx, edx
cmp eax, dword [ecx + 0xc]
jge 0x4c445b
mov eax, ecx
mov edx, dword [eax + 0x10]
imul edx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, ebx
sar ecx, 3
add edx, ecx
movzx edx, byte [edx + eax]
mov al, bl
and al, 7
mov ecx, 7
sub cl, al
shr edx, cl
and edx, 1
jne 0x4c4482
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c4482
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
or dword [esp + 0x14], 0x8000
mov eax, dword [esp + 0x34]
shl dword [esp + 0x18], 1
shl dword [esp + 0x94], 1
shl dword [esp + 0x14], 1
shr byte [esp + 0x70], 1
inc eax
inc ebx
cmp eax, 8
mov dword [esp + 0x34], eax
jl 0x4c4370
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, dword [esp + 0x74]
jl 0x4c4310
jmp case.default.0x4c3a42
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, edx
imul ecx, eax
movzx ebp, byte [ecx + edi]
add ecx, edi
mov dword [esp + 0x28], ecx
shl ebp, 8
inc ecx
cmp eax, 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], ecx
jl 0x4c4523
lea ecx, [eax - 1]
imul ecx, edx
movzx esi, byte [ecx + edi]
add ecx, edi
shl esi, 8
inc ecx
cmp eax, 2
mov dword [esp + 0x94], esi
mov dword [esp + 0x20], ecx
jl 0x4c451f
lea ecx, [eax - 2]
imul ecx, edx
movzx ebx, byte [ecx + edi]
add ecx, edi
shl ebx, 8
inc ecx
jmp 0x4c4532
xor ecx, ecx
jmp 0x4c4530
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x94], ecx
xor ebx, ebx
mov esi, dword [esp + 0x8c]
mov esi, dword [esi]
cmp esi, 0xfffffff8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], esi
jl 0x4c46e4
cmp esi, 8
jg 0x4c46e4
mov esi, dword [esp + 0x90]
mov esi, dword [esi]
test esi, esi
jg 0x4c457a
add eax, esi
js 0x4c457a
imul eax, edx
add eax, edi
mov esi, eax
movzx edi, byte [esi]
shl edi, 8
inc esi
jmp 0x4c457e
xor esi, esi
xor edi, edi
mov eax, 0xf
sub eax, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], eax
xor eax, eax
cmp dword [esp + 0x74], eax
mov dword [esp + 0x1c], eax
jle case.default.0x4c3a42
mov edx, dword [esp + 0x74]
jmp 0x4c45a9
mov esi, dword [esp + 0x3c]
add eax, 8
cmp eax, edx
mov dword [esp + 0x40], eax
jge 0x4c45f7
test ecx, ecx
je 0x4c45c2
movzx eax, byte [ecx]
or ebx, eax
inc ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c45dc
movzx eax, byte [eax]
or dword [esp + 0x94], eax
inc dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
inc dword [esp + 0x30]
or ebp, eax
test esi, esi
je 0x4c45f7
movzx eax, byte [esi]
or edi, eax
inc esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
cmp dword [esp + 0x1c], edx
jge 0x4c46cf
mov ecx, dword [esp + 0x94]
mov esi, ebp
shr esi, 4
and esi, 0x3000
and ecx, 0x3c000
or esi, ecx
mov ecx, dword [esp + 0x48]
shr esi, 4
mov eax, edi
mov edx, ebx
shr eax, cl
and edx, 0x1c000
or esi, edx
shr esi, 7
and eax, 1
or esi, eax
cmp dword [esp + 0x84], 0
je 0x4c4669
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
call fcn.004c2880
test eax, eax
jne 0x4c46a0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c46a0
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
mov eax, dword [esp + 0x90]
or ebp, 0x8000
cmp dword [eax], 0
jne 0x4c46a0
or edi, 0x8000
mov eax, dword [esp + 0x34]
shl dword [esp + 0x94], 1
inc dword [esp + 0x1c]
shr byte [esp + 0x70], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
inc eax
add ebx, ebx
add ebp, ebp
add edi, edi
cmp eax, 8
mov dword [esp + 0x34], eax
jl 0x4c4604
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, edx
jl 0x4c45a5
jmp case.default.0x4c3a42
xor ebx, ebx
xor eax, eax
cmp dword [esp + 0x74], ebx
jle case.default.0x4c3a42
jmp 0x4c46f8
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add eax, 8
cmp eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
jge 0x4c4742
test ecx, ecx
je 0x4c471d
movzx eax, byte [ecx]
or dword [esp + 0x18], eax
inc ecx
mov dword [esp + 0x2c], ecx
test edx, edx
je 0x4c4730
movzx ecx, byte [edx]
or dword [esp + 0x94], ecx
inc edx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x30]
movzx edx, byte [eax]
or ebp, edx
inc eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
nop
cmp ebx, dword [esp + 0x74]
jge 0x4c4886
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebp, dword [ecx]
mov edx, dword [edx]
add ebp, dword [esp + 0x10]
shr eax, 0xe
shr esi, 0xe
shr edi, 0x10
and eax, 7
and esi, 0xf
and edi, 3
add edx, ebx
js 0x4c47d0
mov ecx, dword [esp + 0x38]
cmp edx, dword [ecx + 8]
jge 0x4c47d0
test ebp, ebp
jl 0x4c47d0
cmp ebp, dword [ecx + 0xc]
jge 0x4c47d0
mov ecx, dword [ecx + 0x10]
imul ecx, ebp
mov ebp, edx
sar ebp, 3
add ecx, ebp
mov ebp, dword [esp + 0x38]
mov ebp, dword [ebp + 0x14]
movzx ebp, byte [ecx + ebp]
and dl, 7
mov ecx, 7
sub cl, dl
shr ebp, cl
and ebp, 1
jmp 0x4c47d2
xor ebp, ebp
shl eax, 4
or eax, esi
add eax, eax
add eax, eax
or eax, edi
add eax, eax
or eax, ebp
cmp dword [esp + 0x84], 0
mov esi, eax
je 0x4c4839
test ebx, ebx
jl 0x4c4839
mov edx, dword [esp + 0x88]
cmp ebx, dword [edx + 8]
jge 0x4c4839
cmp dword [esp + 0x10], 0
jl 0x4c4839
mov eax, dword [esp + 0x10]
mov ecx, edx
cmp eax, dword [ecx + 0xc]
jge 0x4c4839
mov eax, ecx
mov edx, dword [eax + 0x10]
imul edx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, ebx
sar ecx, 3
add edx, ecx
movzx edx, byte [edx + eax]
mov al, bl
and al, 7
mov ecx, 7
sub cl, al
shr edx, cl
and edx, 1
jne 0x4c4860
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c4860
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
or dword [esp + 0x14], 0x8000
mov eax, dword [esp + 0x34]
shl dword [esp + 0x18], 1
shl dword [esp + 0x94], 1
shl dword [esp + 0x14], 1
shr byte [esp + 0x70], 1
inc eax
inc ebx
cmp eax, 8
mov dword [esp + 0x34], eax
jl 0x4c4750
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, dword [esp + 0x74]
jl 0x4c46f4
jmp case.default.0x4c3a42
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov edx, dword [esp + 0x10]
mov eax, esi
imul eax, edx
movzx ebp, byte [eax + ebx]
add eax, ebx
mov dword [esp + 0x28], eax
inc eax
shl ebp, 8
cmp edx, 1
mov dword [esp + 0x30], eax
jl 0x4c48e0
lea ecx, [edx - 1]
imul ecx, esi
movzx eax, byte [ecx + ebx]
add ecx, ebx
shl eax, 8
mov dword [esp + 0x94], eax
inc ecx
jmp 0x4c48e9
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x8c]
mov edi, dword [eax]
cmp edi, 0xfffffff8
mov dword [esp + 0x20], ecx
jl 0x4c4a5e
cmp edi, 8
jg 0x4c4a5e
mov eax, dword [esp + 0x90]
mov eax, dword [eax]
test eax, eax
jg 0x4c4929
add eax, edx
js 0x4c4929
imul eax, esi
add eax, ebx
mov esi, eax
movzx ebx, byte [esi]
shl ebx, 8
inc esi
jmp 0x4c492d
xor esi, esi
xor ebx, ebx
mov edx, dword [esp + 0x74]
mov eax, 0xf
sub eax, edi
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
test edx, edx
jle case.default.0x4c3a42
jmp 0x4c4954
mov esi, dword [esp + 0x3c]
add eax, 8
cmp eax, edx
mov dword [esp + 0x40], eax
jge 0x4c498e
test ecx, ecx
je 0x4c4972
movzx eax, byte [ecx]
or dword [esp + 0x94], eax
inc ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
movzx edi, byte [eax]
inc eax
or ebp, edi
mov dword [esp + 0x30], eax
test esi, esi
je 0x4c498e
movzx eax, byte [esi]
or ebx, eax
inc esi
mov dword [esp + 0x3c], esi
xor edi, edi
mov byte [esp + 0x70], 0x80
cmp dword [esp + 0x1c], edx
jge 0x4c4a49
mov ecx, dword [esp + 0x94]
mov esi, ebp
shr esi, 6
and esi, 0x3c00
and ecx, 0x7c000
or esi, ecx
mov ecx, dword [esp + 0x48]
mov edx, ebx
shr edx, cl
shr esi, 9
and edx, 1
or esi, edx
cmp dword [esp + 0x84], 0
je 0x4c49ed
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x90]
call fcn.004c2880
test eax, eax
jne 0x4c4a24
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x4c]
mov ecx, dword [eax + 0x48]
push edx
push esi
call fcn.00501a20
test eax, eax
je 0x4c4a24
mov eax, dword [esp + 0x28]
mov cl, byte [esp + 0x70]
mov edx, dword [esp + 0x90]
or byte [eax], cl
or ebp, 0x8000
cmp dword [edx], 0
jne 0x4c4a24
or ebx, 0x8000
shl dword [esp + 0x94], 1
inc dword [esp + 0x1c]
shr byte [esp + 0x70], 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
inc edi
add ebp, ebp
add ebx, ebx
cmp edi, 8
jl 0x4c4995
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, edx
jl 0x4c4950
jmp case.default.0x4c3a42
mov edx, dword [esp + 0x74]
xor eax, eax
xor ebx, ebx
test edx, edx
jle case.default.0x4c3a42
jmp 0x4c4a74
mov ecx, dword [esp + 0x20]
add eax, 8
cmp eax, edx
mov dword [esp + 0x40], eax
jge 0x4c4aa0
test ecx, ecx
je 0x4c4a92
movzx eax, byte [ecx]
or dword [esp + 0x94], eax
inc ecx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
movzx ecx, byte [eax]
or ebp, ecx
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x70], 0x80
lea ecx, [ecx]
cmp ebx, edx
jge 0x4c4bce
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov edi, dword [edx]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx]
add edi, dword [esp + 0x10]
mov esi, ebp
shr eax, 0xe
shr esi, 0x10
and eax, 0x1f
and esi, 0xf
add edx, ebx
js 0x4c4b22
mov ecx, dword [esp + 0x38]
cmp edx, dword [ecx + 8]
jge 0x4c4b22
test edi, edi
jl 0x4c4b22
cmp edi, dword [ecx + 0xc]
jge 0x4c4b22
mov ecx, dword [ecx + 0x10]
imul ecx, edi
mov edi, edx
sar edi, 3
add ecx, edi
mov edi, dword [esp + 0x38]
mov edi, dword [edi + 0x14]
movzx edi, byte [ecx + edi]
and dl, 7
mov ecx, 7
sub cl, dl
shr edi, cl
and edi, 1
jmp 0x4c4b24
xor edi, edi
shl eax, 4
or eax, esi
add eax, eax
or eax, edi
cmp dword [esp + 0x84], 0
mov esi, eax
je 0x4c4b85
test ebx, ebx
jl 0x4c4b85
mov edx, dword [esp + 0x88]
cmp ebx, dword [edx + 8]
jge 0x4c4b85
cmp dword [esp + 0x10], 0
jl 0x4c4b85
mov eax, dword [esp + 0x10]
mov ecx, edx
cmp eax, dword [ecx + 0xc]
jge 0x4c4b85
mov eax, ecx
mov edx, dword [eax + 0x10]
imul edx, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, ebx
sar ecx, 3
add edx, ecx
movzx edx, byte [edx + eax]
mov al, bl
and al, 7
mov ecx, 7
sub cl, al
shr edx, cl
and edx, 1
jne 0x4c4baa
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x48]
push esi
call fcn.00501a20
test eax, eax
je 0x4c4baa
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x70]
or byte [eax], dl
or ebp, 0x8000
mov eax, dword [esp + 0x34]
shl dword [esp + 0x94], 1
shr byte [esp + 0x70], 1
mov edx, dword [esp + 0x74]
inc eax
add ebp, ebp
inc ebx
cmp eax, 8
mov dword [esp + 0x34], eax
jl 0x4c4ab0
mov eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp eax, edx
jl 0x4c4a70
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
jl 0x4c39c4
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x28
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x28