Function at 0x41ede0
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.0044a5dd
mov esi, dword [esp + 0x7c]
mov ebp, eax
xor ebx, ebx
add esp, 4
cmp ebp, ebx
je 0x41ee2f
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], 0x46157c
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
call fcn.004492c0
add esp, 4
mov dword [ebp + 0x14], eax
jmp 0x41ee31
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 0x41f398
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.004492c0
push ebx
mov edi, eax
call fcn.004492c0
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 0x41f31b
jmp 0x41eeb0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x78]
xor edx, edx
cmp ecx, ebx
jge 0x41eed5
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 0x41eec7
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 0x41eef0
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x80]
call fcn.0041e310
cmp eax, 8
ja case.default.0x41ef08
jmp dword [eax*4 + 0x41fc08]
mov edx, dword [esp + 0x78]
cmp dword [edi + esi*4], edx
jge 0x41f27b
mov ebx, dword [edi + esi*4 + 4]
add esi, 2
jmp 0x41f27b
test byte [esp + 0x90], 1
mov dword [esp + 0x88], 0
je 0x41efa0
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x80]
call fcn.0041e4d0
mov edx, dword [esp + 0x88]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x88], edx
jge 0x41ef40
mov dword [esp + 0x8c], 0
nop
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x80]
call fcn.0041e3e0
mov edx, dword [esp + 0x8c]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x8c], edx
jge 0x41ef70
jmp 0x41eff4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x80]
call fcn.0041e3e0
mov edx, dword [esp + 0x88]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x88], edx
jge 0x41efa0
mov dword [esp + 0x8c], 0
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x80]
call fcn.0041e4d0
mov edx, dword [esp + 0x8c]
add edx, eax
cmp eax, 0x40
mov dword [esp + 0x8c], edx
jge 0x41efd0
mov eax, dword [esp + 0x88]
test eax, eax
jg 0x41f00e
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x41f27b
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 0x41f27b
jmp 0x41f050
cmp eax, dword [esp + 0x78]
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f050
jmp 0x41f27b
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 0x41f27b
inc esi
jmp 0x41f27b
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 0x41f27b
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ebx
jg 0x41f27b
cmp eax, ecx
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f0d2
jmp 0x41f27b
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 0x41f27b
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ebx
jg 0x41f27b
cmp eax, ecx
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f123
jmp 0x41f27b
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 0x41f27b
mov eax, dword [edi + esi*4 + 4]
inc esi
cmp eax, ebx
jg 0x41f27b
cmp eax, ecx
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f174
jmp 0x41f27b
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 0x41f1b2
dec esi
jmp 0x41f1b3
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41f27b
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f1c2
jmp 0x41f27b
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 0x41f200
dec esi
jmp 0x41f201
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41f27b
mov ecx, dword [esp + 0x78]
lea esp, [esp]
cmp eax, ecx
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f210
jmp 0x41f27b
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 0x41f247
dec esi
jmp 0x41f248
inc esi
mov eax, dword [edi + esi*4]
cmp eax, ebx
jg 0x41f27b
mov ecx, dword [esp + 0x78]
cmp eax, ecx
jge 0x41f27b
mov eax, dword [edi + esi*4 + 8]
add esi, 2
cmp eax, ebx
jle 0x41f253
jmp 0x41f27b
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.004058b0
add esp, 8
mov edx, dword [esp + 0x78]
cmp ebx, edx
jl 0x41eef0
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov dword [ecx + eax*4], edx
cmp dword [ecx], edx
jge 0x41f300
mov ebx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jge 0x41f2ed
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 0x41f2b0
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 0x41f2a5
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
inc eax
cmp eax, ecx
mov dword [esp + 0x84], eax
jl 0x41eeb0
mov ebx, dword [esp + 0x98]
test ebx, ebx
jl 0x41f34b
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x80]
cmp dword [esi + 0xc], ebx
jae 0x41f376
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 0x41f335
jmp 0x41f376
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x80]
call fcn.0041e600
cmp eax, 0x1001
je 0x41f376
mov eax, dword [esi]
push str.Missing_EOFB_in_JBIG2_MMR_bitmap_data
mov ecx, esi
call dword [eax + 0x20]
push eax
call fcn.004058b0
add esp, 8
push edi
call fcn.00449350
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00449350
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.0x41f3b1
mov eax, dword [esp + 0x80]
cmp eax, 3
ja case.default.0x41f3b1
jmp dword [eax*4 + 0x41fc2c]
mov dword [esp + 0x1c], 0x3953
jmp case.default.0x41f3b1
mov dword [esp + 0x1c], 0x79a
jmp case.default.0x41f3b1
mov dword [esp + 0x1c], 0xe3
jmp case.default.0x41f3b1
mov dword [esp + 0x1c], 0x18a
mov eax, dword [esp + 0x7c]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x24], esi
jle 0x41fbfa
or edi, 0xffffffff
mov dword [esp + 0x20], edi
jmp 0x41f3fd
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp ecx, ebx
je 0x41f45a
mov edx, dword [eax + 0x3c]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
mov ecx, dword [eax + 0x38]
call fcn.0041dcf0
test eax, eax
je 0x41f430
xor edx, edx
cmp esi, ebx
sete dl
mov esi, edx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x41f45a
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.0x41f46a
mov eax, dword [esp + 0x80]
cmp eax, 3
ja case.default.0x41f46a
jmp dword [eax*4 + 0x41fc3c]
lea eax, [edi - 1]
cmp eax, ebx
jl 0x41f49d
cmp eax, dword [ebp + 0xc]
jge 0x41f49d
cmp dword [ebp + 8], ebx
jle 0x41f49d
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 0x41f4a1
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.0041e870
mov esi, eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041e870
lea ecx, [esi + esi]
or eax, ecx
cmp edi, ebx
mov dword [esp + 0x74], eax
jl 0x41f4ef
cmp edi, dword [ebp + 0xc]
jge 0x41f4ef
cmp dword [ebp + 8], ebx
jle 0x41f4ef
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 0x41f4f3
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041e870
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov edi, eax
call fcn.0041e870
mov esi, eax
lea eax, [esp + 0x28]
lea edx, [edi + edi]
push eax
mov ecx, ebp
or esi, edx
call fcn.0041e870
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.0041e800
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.0041e800
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.0041e800
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.0041e800
mov eax, dword [esp + 0x78]
xor ebx, ebx
test eax, eax
jle case.default.0x41f46a
jmp 0x41f5c0
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.0041e870
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.0041e870
or esi, eax
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
shl esi, 1
call fcn.0041e870
lea ecx, [esp + 0x64]
or esi, eax
push ecx
mov ecx, ebp
shl esi, 1
call fcn.0041e870
or esi, eax
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41f643
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x8c]
inc eax
push eax
push ebx
call fcn.0041e670
test eax, eax
je 0x41f643
mov dword [esp + 0x98], 0
jmp 0x41f689
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
push edx
push esi
call fcn.0041dcf0
test eax, eax
mov dword [esp + 0x98], eax
je 0x41f689
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.0041e870
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.0041e870
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 0x41f5c0
jmp case.default.0x41f46a
lea eax, [edi - 1]
cmp eax, ebx
jl 0x41f710
cmp eax, dword [ebp + 0xc]
jge 0x41f710
cmp dword [ebp + 8], ebx
jle 0x41f710
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 0x41f714
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.0041e870
mov ebx, eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041e870
mov esi, eax
lea ecx, [ebx + ebx]
lea edx, [esp + 0x34]
or esi, ecx
push edx
mov ecx, ebp
call fcn.0041e870
lea ecx, [esi + esi]
or eax, ecx
mov dword [esp + 0x74], eax
xor eax, eax
cmp edi, eax
jl 0x41f777
cmp edi, dword [ebp + 0xc]
jge 0x41f777
cmp dword [ebp + 8], eax
jle 0x41f777
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 0x41f77b
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041e870
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov esi, eax
call fcn.0041e870
mov ebx, eax
lea eax, [esp + 0x28]
lea edx, [esi + esi]
push eax
mov ecx, ebp
or ebx, edx
call fcn.0041e870
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.0041e800
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle case.default.0x41f46a
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.0041e870
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 0x41f839
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
push eax
push edi
call fcn.0041e670
test eax, eax
je 0x41f839
mov dword [esp + 0x98], 0
jmp 0x41f882
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.0041dcf0
test eax, eax
mov dword [esp + 0x98], eax
je 0x41f882
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.0041e870
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.0041e870
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 0x41f7e6
jmp case.default.0x41f46a
lea eax, [edi - 1]
cmp eax, ebx
jl 0x41f8fe
cmp eax, dword [ebp + 0xc]
jge 0x41f8fe
cmp dword [ebp + 8], ebx
jle 0x41f8fe
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 0x41f902
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041e870
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov esi, eax
call fcn.0041e870
lea edx, [esi + esi]
or eax, edx
cmp edi, ebx
mov dword [esp + 0x74], eax
jl 0x41f950
cmp edi, dword [ebp + 0xc]
jge 0x41f950
cmp dword [ebp + 8], ebx
jle 0x41f950
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 0x41f954
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.0041e870
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
mov ebx, eax
call fcn.0041e870
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.0041e800
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle case.default.0x41f46a
lea esp, [esp]
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.0041e870
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 0x41fa03
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
push edx
push edi
call fcn.0041e670
test eax, eax
je 0x41fa03
mov dword [esp + 0x98], 0
jmp 0x41fa4c
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.0041dcf0
test eax, eax
mov dword [esp + 0x98], eax
je 0x41fa4c
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.0041e870
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.0041e870
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 0x41f9b0
jmp case.default.0x41f46a
cmp edi, ebx
jl 0x41fac7
cmp edi, dword [ebp + 0xc]
jge 0x41fac7
cmp dword [ebp + 8], ebx
jle 0x41fac7
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 0x41facb
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0041e870
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov ebx, eax
call fcn.0041e870
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.0041e800
mov eax, dword [esp + 0x78]
xor edi, edi
test eax, eax
jle case.default.0x41f46a
lea esp, [esp]
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call fcn.0041e870
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 0x41fb72
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x90]
push edi
call fcn.0041e670
test eax, eax
je 0x41fb72
xor ebx, ebx
jmp 0x41fbaf
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x3c]
mov ecx, dword [eax + 0x38]
push edx
push ebx
call fcn.0041dcf0
mov ebx, eax
test ebx, ebx
je 0x41fbaf
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.0041e870
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 0x41fb30
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 0x41f3f9
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x60
ret 0x28