Function at 0x41e300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
push 0x18
mov dword [esp + 0x14], ecx
call fcn.0043f7ed
mov esi, dword [esp + 0x7c]
mov ebp, eax
xor ebx, ebx
add esp, 4
cmp ebp, ebx
je 0x41e34f
mov ecx, dword [esp + 0x7c]
lea eax, [esi + 7]
sar eax, 3
mov dword [ebp + 0x10], eax
imul eax, ecx
push eax
mov dword [ebp + 4], ebx
mov dword [ebp], 0x456534
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
call fcn.0043e620
add esp, 4
mov dword [ebp + 0x14], eax
jmp 0x41e351
xor ebp, ebp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [esp + 0x74], ebx
je 0x41e8b8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ebx, [esi*4 + 8]
push ebx
call fcn.0043e620
push ebx
mov edi, eax
call fcn.0043e620
mov dword [esp + 0x9c], eax
mov dword [eax + 4], esi
mov dword [eax], esi
mov eax, dword [esp + 0x84]
add esp, 8
test eax, eax
mov dword [esp + 0x84], 0
jle 0x41e83b
jmp 0x41e3d0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp ecx, ebx
jge 0x41e3f5
mov esi, edi
sub esi, eax
mov dword [esi + eax], ecx
mov ecx, dword [eax + 4]
add eax, 4
inc edx
cmp ecx, ebx
jl 0x41e3e7
mov eax, dword [esp + 0x78]
xor ebx, ebx
mov dword [edi + edx*4 + 4], eax
mov dword [edi + edx*4], eax
xor esi, esi
mov dword [esp + 0x90], ebx
jmp 0x41e410
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x80]
call fcn.0041d840
cmp eax, 8
ja case.default.0x41e428
jmp dword [eax*4 + 0x41f128]
mov edx, dword [esp + 0x78]
cmp dword [edi + esi*4], edx
jge 0x41e79b
mov ebx, dword [edi + esi*4 + 4]
add esi, 2
jmp 0x41e79b
test byte [esp + 0x90], 1
mov dword [esp + 0x88], 0
je 0x41e4c0
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x80]
call fcn.0041da00
mov edx, dword [esp + 0x88]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x88], edx
jge 0x41e460
mov dword [esp + 0x8c], 0
nop
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x80]
call fcn.0041d910
mov edx, dword [esp + 0x8c]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x8c], edx
jge 0x41e490
jmp 0x41e514
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x80]
call fcn.0041d910
mov edx, dword [esp + 0x88]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x88], edx
jge 0x41e4c0
mov dword [esp + 0x8c], 0
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x80]
call fcn.0041da00
mov edx, dword [esp + 0x8c]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x8c], edx
jge 0x41e4f0
mov eax, dword [esp + 0x88]
test eax, eax
jg 0x41e52e
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x41e79b
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
add ebx, ecx
mov ecx, dword [esp + 0x94]
mov dword [ecx + eax*4], ebx
inc eax
add ebx, edx
mov dword [ecx + eax*4], ebx
inc eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41e79b
jmp 0x41e570
cmp eax, dword [esp + 0x78]
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e570
jmp 0x41e79b
mov eax, dword [esp + 0x90]
mov ebx, dword [edi + esi*4]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x78]
mov dword [ecx + eax*4], ebx
inc eax
mov dword [esp + 0x90], eax
cmp dword [edi + esi*4], edx
jge 0x41e79b
inc esi
jmp 0x41e79b
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x94]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x90]
mov dword [ecx + eax*4], ebx
mov ecx, dword [esp + 0x78]
inc eax
mov dword [esp + 0x90], eax
cmp dword [edi + esi*4], ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ebx
jg 0x41e79b
cmp eax, ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e5f2
jmp 0x41e79b
mov eax, dword [edi + esi*4]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x78]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x90]
mov dword [edx + eax*4], ebx
inc eax
mov dword [esp + 0x90], eax
cmp dword [edi + esi*4], ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ebx
jg 0x41e79b
cmp eax, ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e643
jmp 0x41e79b
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x94]
lea ebx, [eax + 3]
mov eax, dword [esp + 0x90]
mov dword [ecx + eax*4], ebx
mov ecx, dword [esp + 0x78]
inc eax
mov dword [esp + 0x90], eax
cmp dword [edi + esi*4], ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ebx
jg 0x41e79b
cmp eax, ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e694
jmp 0x41e79b
mov eax, dword [edi + esi*4]
mov edx, dword [esp + 0x94]
lea ebx, [eax - 1]
mov eax, dword [esp + 0x90]
mov dword [edx + eax*4], ebx
inc eax
test esi, esi
mov dword [esp + 0x90], eax
jle 0x41e6d2
dec esi
jmp 0x41e6d3
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41e79b
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e6e2
jmp 0x41e79b
mov eax, dword [edi + esi*4]
mov ecx, dword [esp + 0x94]
lea ebx, [eax - 2]
mov eax, dword [esp + 0x90]
mov dword [ecx + eax*4], ebx
inc eax
test esi, esi
mov dword [esp + 0x90], eax
jle 0x41e720
dec esi
jmp 0x41e721
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41e79b
mov ecx, dword [esp + 0x78]
lea esp, [esp]
cmp eax, ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e730
jmp 0x41e79b
mov eax, dword [edi + esi*4]
mov edx, dword [esp + 0x94]
lea ebx, [eax - 3]
mov eax, dword [esp + 0x90]
mov dword [edx + eax*4], ebx
inc eax
test esi, esi
mov dword [esp + 0x90], eax
jle 0x41e767
dec esi
jmp 0x41e768
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41e79b
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jge 0x41e79b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41e773
jmp 0x41e79b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push str.Illegal_code_in_JBIG2_MMR_bitmap_data
call dword [eax + 0x20]
push eax
call fcn.00405880
add esp, 8
mov edx, dword [esp + 0x78]
cmp ebx, edx
jl 0x41e410
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov dword [ecx + eax*4], edx
cmp dword [ecx], edx
jge 0x41e820
mov ebx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jge 0x41e80d
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
imul ecx, dword [esp + 0x84]
mov edx, eax
sar edx, 3
add ecx, edx
mov edx, dword [ebp + 0x14]
lea esi, [ecx + edx]
mov edx, eax
and edx, 7
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [esi], dl
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jl 0x41e7d0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x78]
mov eax, dword [ecx + 8]
add ecx, 8
cmp eax, edx
mov dword [esp + 0x90], ecx
mov ebx, ecx
jl 0x41e7c5
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x41e3d0
mov ebx, dword [esp + 0x98]
test ebx, ebx
jl 0x41e86b
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x80]
cmp dword [esi + 0xc], ebx
jae 0x41e896
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
inc ecx
mov eax, ecx
cmp eax, ebx
mov dword [esi + 0xc], ecx
jb 0x41e855
jmp 0x41e896
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x80]
call fcn.0041db30
cmp eax, 0x1001
je 0x41e896
mov eax, dword [esi]
push str.Missing_EOFB_in_JBIG2_MMR_bitmap_data
mov ecx, esi
call dword [eax + 0x20]
push eax
call fcn.00405880
add esp, 8
push edi
call fcn.0043e6b0
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0043e6b0
add esp, 8
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x60
ret 0x28
cmp dword [esp + 0x84], ebx
mov dword [esp + 0x1c], ebx
je case.default.0x41e8d1
mov eax, dword [esp + 0x80]
cmp eax, 3
ja case.default.0x41e8d1
jmp dword [eax*4 + 0x41f14c]
mov dword [esp + 0x1c], 0x3953
jmp case.default.0x41e8d1
mov dword [esp + 0x1c], 0x79a
jmp case.default.0x41e8d1
mov dword [esp + 0x1c], 0xe3
jmp case.default.0x41e8d1
mov dword [esp + 0x1c], 0x18a
mov eax, dword [esp + 0x7c]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jle 0x41f11a
or edi, 0xffffffff
mov dword [esp + 0x20], edi
jmp 0x41e91d
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp ecx, ebx
je 0x41e97a
mov edx, dword [eax + 0x3c]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [eax + 0x38]
call fcn.0041d220
test eax, eax
je 0x41e950
xor edx, edx
cmp esi, ebx
sete dl
mov esi, edx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x41e97a
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, edi
imul esi, eax
add esi, edx
inc edi
imul edi, eax
mov ecx, eax
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp case.default.0x41e98a
mov eax, dword [esp + 0x80]
cmp eax, 3
ja case.default.0x41e98a
jmp dword [eax*4 + 0x41f15c]
lea eax, [edi - 1]
cmp eax, ebx
jl 0x41e9bd
cmp eax, dword [ebp + 0xc]
jge 0x41e9bd
cmp dword [ebp + 8], ebx
jle 0x41e9bd
mov ecx, dword [ebp + 0x10]
imul ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], ebx
jmp 0x41e9c1
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.0041dda0
mov esi, eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esi + esi]
or eax, ecx
cmp edi, ebx
mov dword [esp + 0x74], eax
jl 0x41ea0f
cmp edi, dword [ebp + 0xc]
jge 0x41ea0f
cmp dword [ebp + 8], ebx
jle 0x41ea0f
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
imul edx, edi
add edx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], ebx
jmp 0x41ea13
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov edi, eax
call fcn.0041dda0
mov esi, eax
lea eax, [esp + 0x28]
lea edx, [edi + edi]
push eax
mov ecx, ebp
or esi, edx
call fcn.0041dda0
mov ebx, dword [esp + 0x94]
mov edi, eax
mov eax, dword [ebx]
lea ecx, [esi + esi]
mov esi, dword [esp + 0x20]
or edi, ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x40]
push edx
mov edx, dword [ecx]
inc esi
add eax, esi
push eax
push edx
mov ecx, ebp
mov dword [esp + 0x24], 0
call fcn.0041dd30
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [edx + 4]
add ecx, esi
push ecx
push eax
mov ecx, ebp
call fcn.0041dd30
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 8]
add edx, esi
push edx
push ecx
mov ecx, ebp
call fcn.0041dd30
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x64]
push edx
mov edx, dword [ecx + 0xc]
add eax, esi
push eax
push edx
mov ecx, ebp
call fcn.0041dd30
mov eax, dword [esp + 0x78]
xor ebx, ebx
test eax, eax
jle case.default.0x41e98a
jmp 0x41eae0
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.0041dda0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
shl ecx, 5
or ecx, edi
shl ecx, 4
or ecx, edx
shl ecx, 1
mov esi, eax
or esi, ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
shl esi, 1
call fcn.0041dda0
or esi, eax
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
shl esi, 1
call fcn.0041dda0
lea ecx, [esp + 0x64]
or esi, eax
push ecx
mov ecx, ebp
shl esi, 1
call fcn.0041dda0
or esi, eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41eb63
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
inc eax
push eax
push ebx
call fcn.0041dba0
test eax, eax
je 0x41eb63
mov dword [esp + 0x98], 0
jmp 0x41eba9
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
push edx
push esi
call fcn.0041d220
test eax, eax
mov dword [esp + 0x98], eax
je 0x41eba9
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
inc eax
imul ecx, eax
mov eax, dword [ebp + 0x14]
mov edx, ebx
sar edx, 3
add ecx, edx
lea esi, [ecx + eax]
mov edx, ebx
and edx, 7
mov ecx, 7
sub ecx, edx
mov al, 1
shl al, cl
or byte [esi], al
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.0041dda0
mov edx, dword [esp + 0x74]
lea ecx, [edx + edx]
or eax, ecx
lea edx, [esp + 0x28]
and eax, 7
push edx
mov ecx, ebp
mov dword [esp + 0x78], eax
call fcn.0041dda0
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x98]
lea ecx, [edi + edi]
or eax, ecx
and eax, 0x1f
mov edi, eax
lea eax, [edx + edx]
or eax, esi
and eax, 0xf
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
inc ebx
cmp ebx, eax
jl 0x41eae0
jmp case.default.0x41e98a
lea eax, [edi - 1]
cmp eax, ebx
jl 0x41ec30
cmp eax, dword [ebp + 0xc]
jge 0x41ec30
cmp dword [ebp + 8], ebx
jle 0x41ec30
mov ecx, dword [ebp + 0x10]
imul ecx, eax
add ecx, dword [ebp + 0x14]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], ebx
jmp 0x41ec34
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.0041dda0
mov ebx, eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041dda0
mov esi, eax
lea ecx, [ebx + ebx]
lea edx, [esp + 0x34]
or esi, ecx
push edx
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esi + esi]
or eax, ecx
mov dword [esp + 0x74], eax
xor eax, eax
cmp edi, eax
jl 0x41ec97
cmp edi, dword [ebp + 0xc]
jge 0x41ec97
cmp dword [ebp + 8], eax
jle 0x41ec97
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
imul edx, edi
add edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], eax
jmp 0x41ec9b
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov esi, eax
call fcn.0041dda0
mov ebx, eax
lea eax, [esp + 0x28]
lea edx, [esi + esi]
push eax
mov ecx, ebp
or ebx, edx
call fcn.0041dda0
mov esi, eax
mov eax, dword [esp + 0x94]
lea ecx, [ebx + ebx]
or esi, ecx
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x94]
mov eax, dword [edx]
xor ebx, ebx
inc edi
add ecx, edi
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x20], edi
call fcn.0041dd30
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle case.default.0x41e98a
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.0041dda0
mov edx, dword [esp + 0x74]
shl edx, 5
or edx, esi
shl edx, 3
or edx, ebx
shl edx, 1
or eax, edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41ed59
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
push eax
push edi
call fcn.0041dba0
test eax, eax
je 0x41ed59
mov dword [esp + 0x98], 0
jmp 0x41eda2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [eax + 0x38]
push edx
call fcn.0041d220
test eax, eax
mov dword [esp + 0x98], eax
je 0x41eda2
mov eax, dword [ebp + 0x10]
imul eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, edi
sar ecx, 3
add eax, ecx
add eax, edx
mov edx, edi
and edx, 7
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [eax], dl
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041dda0
mov ecx, dword [esp + 0x74]
lea edx, [ecx + ecx]
or eax, edx
and eax, 0xf
mov dword [esp + 0x74], eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esi + esi]
or eax, ecx
and eax, 0x1f
add ebx, ebx
mov esi, eax
or ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x78]
and ebx, 7
inc edi
cmp edi, eax
jl 0x41ed06
jmp case.default.0x41e98a
lea eax, [edi - 1]
cmp eax, ebx
jl 0x41ee1e
cmp eax, dword [ebp + 0xc]
jge 0x41ee1e
cmp dword [ebp + 8], ebx
jle 0x41ee1e
mov edx, dword [ebp + 0x10]
imul edx, eax
add edx, dword [ebp + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x3c], ebx
jmp 0x41ee22
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov esi, eax
call fcn.0041dda0
lea edx, [esi + esi]
or eax, edx
cmp edi, ebx
mov dword [esp + 0x74], eax
jl 0x41ee70
cmp edi, dword [ebp + 0xc]
jge 0x41ee70
cmp dword [ebp + 8], ebx
jle 0x41ee70
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
imul eax, edi
add eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], ebx
jmp 0x41ee74
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0041dda0
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
mov ebx, eax
call fcn.0041dda0
mov edx, dword [esp + 0x94]
mov esi, eax
lea eax, [ebx + ebx]
or esi, eax
mov eax, dword [edx]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
xor ebx, ebx
inc edi
add eax, edi
push eax
push edx
mov ecx, ebp
mov dword [esp + 0x20], edi
call fcn.0041dd30
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle case.default.0x41e98a
lea esp, [esp]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.0041dda0
mov ecx, dword [esp + 0x74]
shl ecx, 4
or ecx, esi
shl ecx, 2
or ecx, ebx
shl ecx, 1
or eax, ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41ef23
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
push edx
push edi
call fcn.0041dba0
test eax, eax
je 0x41ef23
mov dword [esp + 0x98], 0
jmp 0x41ef6c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [eax + 0x38]
push edx
call fcn.0041d220
test eax, eax
mov dword [esp + 0x98], eax
je 0x41ef6c
mov eax, dword [ebp + 0x10]
imul eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, edi
sar ecx, 3
add eax, ecx
add eax, edx
mov edx, edi
and edx, 7
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [eax], dl
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041dda0
mov ecx, dword [esp + 0x74]
lea edx, [ecx + ecx]
or eax, edx
and eax, 7
mov dword [esp + 0x74], eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esi + esi]
or eax, ecx
and eax, 0xf
add ebx, ebx
mov esi, eax
or ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x78]
and ebx, 3
inc edi
cmp edi, eax
jl 0x41eed0
jmp case.default.0x41e98a
cmp edi, ebx
jl 0x41efe7
cmp edi, dword [ebp + 0xc]
jge 0x41efe7
cmp dword [ebp + 8], ebx
jle 0x41efe7
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
imul edx, edi
add edx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], ebx
jmp 0x41efeb
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041dda0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov ebx, eax
call fcn.0041dda0
mov ecx, dword [esp + 0x94]
mov esi, eax
lea edx, [ebx + ebx]
or esi, edx
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
inc edi
add edx, edi
push edx
push ecx
mov ecx, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], edi
call fcn.0041dd30
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle case.default.0x41e98a
lea esp, [esp]
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.0041dda0
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, esi
shl eax, 4
or eax, ecx
shl eax, 1
or ebx, eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41f092
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x90]
push edi
call fcn.0041dba0
test eax, eax
je 0x41f092
xor ebx, ebx
jmp 0x41f0cf
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
push edx
push ebx
call fcn.0041d220
mov ebx, eax
test ebx, ebx
je 0x41f0cf
mov eax, dword [ebp + 0x10]
imul eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov ecx, edi
sar ecx, 3
add eax, ecx
add eax, edx
mov edx, edi
and edx, 7
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
or byte [eax], dl
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041dda0
mov edx, dword [esp + 0x18]
lea ecx, [esi + esi]
or eax, ecx
and eax, 0x1f
mov esi, eax
lea eax, [edx + edx]
or eax, ebx
and eax, 0xf
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
inc edi
cmp edi, eax
jl 0x41f050
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x7c]
inc edi
lea ecx, [edi + 1]
cmp ecx, eax
mov dword [esp + 0x20], edi
jl 0x41e919
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x60
ret 0x28