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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x6c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
xor eax, eax
mov ebx, edi
mov ebp, edi
cmp ecx, 9
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edi
ja case.default.0x1001e2ba
jmp dword [ecx*4 + 0x1001eec0]
mov dword [esp + 0x40], 1
jmp 0x1001e2f3
mov dword [esp + 0x40], 3
jmp 0x1001e2f3
mov dword [esp + 0x40], 4
jmp 0x1001e2f3
push 0
push ecx
push 0xfffff376
push 0x54
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
test eax, eax
jne 0x1001eeb0
mov esi, dword [esp + 0x68]
push esi
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
jne 0x1001e32b
push eax
push esi
push 0xfffff7f3
push 0x59
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
push esi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x18
je 0x1001e36a
push esi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x20
je 0x1001e36a
push 0
push esi
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
push eax
push 0xfffff31c
push 0x5e
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
push esi
call sym.GEAR32PO.OCX_GPb_width_get
push esi
mov dword [esp + 0x38], eax
call sym.GEAR32PO.OCX_GPb_height_get
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
test esi, esi
jne 0x1001e39e
push esi
push esi
push 0xfffff2fe
push 0x65
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
jmp 0x1001e41f
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
je 0x1001e3b2
mov ecx, dword [esi]
push ecx
call sym.GEAR32PO.OCX_IG_image_delete
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push esi
push 0
push 8
push edx
push eax
call fcn.100832b0
test eax, eax
jne 0x1001e41f
mov ecx, dword [esi]
push ecx
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov edx, dword [esi]
mov edi, eax
push edx
mov dword [esp + 0x3c], 0
call sym.GEAR32PO.OCX_GPb_palette_entries_get
test eax, eax
jle 0x1001e40d
add edi, 2
mov eax, dword [esp + 0x38]
mov byte [edi - 2], al
mov byte [edi - 1], al
mov byte [edi], al
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esi]
push eax
add edi, 4
call sym.GEAR32PO.OCX_GPb_palette_entries_get
cmp dword [esp + 0x38], eax
jl 0x1001e3eb
mov ecx, dword [esi]
push ecx
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov edi, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], edi
cmp dword [esp + 0x7c], 1
je 0x1001e576
mov esi, dword [esp + 0x70]
test esi, esi
jne 0x1001e44a
push esi
push esi
push 0xfffff2fe
push 0x79
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
jmp 0x1001e4cc
mov edx, dword [esi]
push edx
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
je 0x1001e45e
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_IG_image_delete
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push esi
push 0
push 8
push ecx
push edx
call fcn.100832b0
test eax, eax
jne 0x1001e4cc
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov ecx, dword [esi]
mov ebp, eax
push ecx
mov dword [esp + 0x3c], 0
call sym.GEAR32PO.OCX_GPb_palette_entries_get
test eax, eax
jle 0x1001e4ba
add ebp, 2
mov eax, dword [esp + 0x38]
mov byte [ebp - 2], al
mov byte [ebp - 1], al
mov byte [ebp], al
mov edx, dword [esi]
inc eax
push edx
mov dword [esp + 0x3c], eax
add ebp, 4
call sym.GEAR32PO.OCX_GPb_palette_entries_get
cmp dword [esp + 0x38], eax
jl 0x1001e497
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov ebp, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x7c], 1
je 0x1001e576
mov esi, dword [esp + 0x74]
test esi, esi
jne 0x1001e4f7
push esi
push esi
push 0xfffff2fe
push 0x8e
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
jmp 0x1001e576
mov ecx, dword [esi]
push ecx
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
je 0x1001e50b
mov edx, dword [esi]
push edx
call sym.GEAR32PO.OCX_IG_image_delete
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
push esi
push 0
push 8
push eax
push ecx
call fcn.100832b0
test eax, eax
jne 0x1001e576
mov edx, dword [esi]
push edx
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
xor ebx, ebx
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_palette_entries_get
test eax, eax
jle 0x1001e564
mov ecx, dword [esp + 0x70]
lea esi, [ecx + 2]
mov edx, dword [esp + 0x74]
mov byte [esi - 2], bl
mov byte [esi - 1], bl
mov byte [esi], bl
mov eax, dword [edx]
inc ebx
push eax
add esi, 4
call sym.GEAR32PO.OCX_GPb_palette_entries_get
cmp ebx, eax
jl 0x1001e544
mov esi, dword [esp + 0x74]
mov ecx, dword [esi]
push ecx
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov ebx, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x7c], 7
jne 0x1001e631
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x1001e5a4
push esi
push esi
push 0xfffff2fe
push 0xa3
push str.C:_accusoftgearSOURCEIMG_PROCCOLORSPC.C
call fcn.10046940
jmp 0x1001e631
mov edx, dword [esi]
push edx
call sym.GEAR32PO.OCX_GPb_iIG_image_is_valid
test eax, eax
je 0x1001e5b8
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_IG_image_delete
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
push esi
push 0
push 8
push ecx
push edx
call fcn.100832b0
test eax, eax
jne 0x1001e631
mov eax, dword [esi]
push eax
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov ecx, dword [esi]
push ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x3c], 0
call sym.GEAR32PO.OCX_GPb_palette_entries_get
test eax, eax
jle 0x1001e621
mov edx, dword [esp + 0x70]
lea esi, [edx + 2]
mov eax, dword [esp + 0x38]
mov byte [esi - 2], al
mov byte [esi - 1], al
mov byte [esi], al
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x78]
add esi, 4
mov ecx, dword [eax]
push ecx
call sym.GEAR32PO.OCX_GPb_palette_entries_get
cmp dword [esp + 0x38], eax
jl 0x1001e5f7
mov esi, dword [esp + 0x78]
mov edx, dword [esi]
push edx
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x68]
push esi
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
push ecx
call sym.GEAR32PO.OCX_GPb_bytes_per_raster_get
push esi
mov dword [esp + 0x74], eax
call sym.GEAR32PO.OCX_GPb_image_pointer_get
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x6c], 0
jle 0x1001eeb0
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x74]
push edx
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x20
mov eax, dword [esp + 0x7c]
jne 0x1001eaf0
cmp eax, 9
ja case.default.0x1001eaf9
jmp dword [eax*4 + 0x1001eee8]
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dl, byte [esi]
inc esi
mov byte [esp + 0x30], dl
mov al, byte [esi]
inc esi
mov byte [esp + 0x31], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x30]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x3b], dl
inc esi
call fcn.1001d620
movzx ax, byte [esp + 0x11]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*2]
movzx ax, byte [esp + 0x10]
mov edx, eax
shl edx, 3
sub edx, eax
movzx ax, byte [esp + 0x12]
lea ecx, [ecx + edx*4]
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
lea eax, [eax + edx*4]
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x78]
mov dl, ch
mov byte [edi], dl
inc edi
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e6aa
jmp 0x1001ee58
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov cl, byte [esi]
inc esi
mov byte [esp + 0x30], cl
mov dl, byte [esi]
inc esi
mov byte [esp + 0x31], dl
lea edx, [esp + 0x10]
mov al, byte [esi]
inc esi
mov byte [esp + 0x32], al
lea eax, [esp + 0x30]
mov cl, byte [esi]
push edx
push eax
mov byte [esp + 0x3b], cl
inc esi
call fcn.1001d620
inc edi
inc ebp
mov cl, byte [esp + 0x12]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x11]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x10]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e72f
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dl, byte [esi]
inc esi
mov byte [esp + 0x30], dl
mov al, byte [esi]
inc esi
mov byte [esp + 0x31], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x30]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x3b], dl
inc esi
call fcn.1001d620
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.1001cef0
inc ebx
inc ebp
mov cl, byte [esp + 0x16]
inc edi
mov byte [ebx - 1], cl
mov dl, byte [esp + 0x15]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x14]
mov byte [edi - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e794
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
jmp case.default.0x1001eaf9
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dl, byte [esi]
inc esi
mov byte [esp + 0x30], dl
mov al, byte [esi]
inc esi
mov byte [esp + 0x31], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x30]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x3b], dl
inc esi
call fcn.1001d620
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.1001d0e0
inc edi
inc ebp
mov cl, byte [esp + 0x18]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x19]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x1a]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e814
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dl, byte [esi]
inc esi
mov byte [esp + 0x30], dl
mov al, byte [esi]
inc esi
mov byte [esp + 0x31], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x30]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x3b], dl
inc esi
call fcn.1001d620
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.1001d2b0
inc edi
inc ebp
mov cl, byte [esp + 0x1c]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x1d]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x1e]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e888
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dl, byte [esi]
inc esi
mov byte [esp + 0x30], dl
mov al, byte [esi]
inc esi
mov byte [esp + 0x31], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x30]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x3b], dl
inc esi
call fcn.1001d620
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.1001d4c0
inc edi
inc ebp
mov cl, byte [esp + 0x20]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x21]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x22]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e8fc
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov dword [esp + 0x78], ecx
mov dl, byte [esi]
inc esi
mov byte [esp + 0x30], dl
mov al, byte [esi]
inc esi
mov byte [esp + 0x31], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x32], cl
lea ecx, [esp + 0x30]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x3b], dl
inc esi
call fcn.1001d620
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.1001d5f0
inc edi
inc ebp
mov cl, byte [esp + 0x24]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x25]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x26]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001e970
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov ecx, eax
mov eax, dword [esp + 0x50]
mov dl, byte [esi]
mov byte [edi], dl
mov dl, byte [esi + 1]
inc edi
inc esi
mov byte [ebp], dl
inc ebp
mov dl, byte [esi + 1]
inc esi
mov byte [ebx], dl
inc ebx
mov dl, byte [esi + 1]
inc esi
mov byte [eax], dl
inc eax
inc esi
dec ecx
jne 0x1001e9e4
mov dword [esp + 0x50], eax
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov cl, byte [esi]
inc esi
mov byte [esp + 0x30], cl
mov dl, byte [esi]
inc esi
mov byte [esp + 0x31], dl
lea edx, [esp + 0x10]
mov al, byte [esi]
inc esi
mov byte [esp + 0x32], al
lea eax, [esp + 0x30]
mov cl, byte [esi]
push edx
push eax
mov byte [esp + 0x3b], cl
inc esi
call fcn.1001d620
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push edx
call sym.GEAR32PO.OCX_color_RGB_to_HLS
inc edi
inc ebp
mov al, byte [esp + 0x28]
inc ebx
mov byte [edi - 1], al
mov cl, byte [esp + 0x29]
mov eax, dword [esp + 0x78]
mov byte [ebp - 1], cl
mov dl, byte [esp + 0x2a]
dec eax
mov byte [ebx - 1], dl
mov dword [esp + 0x78], eax
jne 0x1001ea1c
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov cl, byte [esi]
inc esi
mov byte [esp + 0x30], cl
mov dl, byte [esi]
inc esi
mov byte [esp + 0x31], dl
lea edx, [esp + 0x10]
mov al, byte [esi]
inc esi
mov byte [esp + 0x32], al
lea eax, [esp + 0x30]
mov cl, byte [esi]
push edx
push eax
mov byte [esp + 0x3b], cl
inc esi
call fcn.1001d620
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.1001e000
inc edi
inc ebp
mov al, byte [esp + 0x2c]
inc ebx
mov byte [edi - 1], al
mov cl, byte [esp + 0x2d]
mov eax, dword [esp + 0x78]
mov byte [ebp - 1], cl
mov dl, byte [esp + 0x2e]
dec eax
mov byte [ebx - 1], dl
mov dword [esp + 0x78], eax
jne 0x1001ea8e
jmp 0x1001ee50
cmp eax, 9
ja case.default.0x1001eaf9
jmp dword [eax*4 + 0x1001ef10]
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
push esi
call fcn.1001e250
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x78]
add esi, 3
dec eax
mov dword [esp + 0x78], eax
jne 0x1001eb10
jmp 0x1001ee58
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov cl, byte [esi]
mov byte [ebx], cl
mov dl, byte [esi + 1]
inc ebx
inc esi
mov byte [ebp], dl
inc ebp
mov cl, byte [esi + 1]
inc esi
mov byte [edi], cl
inc edi
inc esi
dec eax
jne 0x1001eb38
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
jmp case.default.0x1001eaf9
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov dl, byte [esi]
inc esi
mov byte [esp + 0x10], dl
lea edx, [esp + 0x14]
mov al, byte [esi]
inc esi
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
push edx
push eax
mov byte [esp + 0x1a], cl
inc esi
call fcn.1001cef0
inc ebx
inc ebp
mov cl, byte [esp + 0x16]
inc edi
mov byte [ebx - 1], cl
mov dl, byte [esp + 0x15]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x14]
mov byte [edi - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001eb71
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
jmp case.default.0x1001eaf9
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov cl, byte [esi]
inc esi
mov byte [esp + 0x10], cl
lea ecx, [esp + 0x18]
mov dl, byte [esi]
inc esi
mov byte [esp + 0x11], dl
lea edx, [esp + 0x10]
mov al, byte [esi]
push ecx
push edx
mov byte [esp + 0x1a], al
inc esi
call fcn.1001d0e0
inc edi
inc ebp
mov al, byte [esp + 0x18]
inc ebx
mov byte [edi - 1], al
mov cl, byte [esp + 0x19]
mov eax, dword [esp + 0x78]
mov byte [ebp - 1], cl
mov dl, byte [esp + 0x1a]
dec eax
mov byte [ebx - 1], dl
mov dword [esp + 0x78], eax
jne 0x1001ebd9
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov al, byte [esi]
inc esi
mov byte [esp + 0x10], al
lea eax, [esp + 0x1c]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x11], cl
lea ecx, [esp + 0x10]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x1a], dl
inc esi
call fcn.1001d2b0
inc edi
inc ebp
mov dl, byte [esp + 0x1c]
inc ebx
mov byte [edi - 1], dl
mov al, byte [esp + 0x1d]
mov byte [ebp - 1], al
mov cl, byte [esp + 0x1e]
mov eax, dword [esp + 0x78]
mov byte [ebx - 1], cl
dec eax
mov dword [esp + 0x78], eax
jne 0x1001ec35
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov dl, byte [esi]
inc esi
mov byte [esp + 0x10], dl
lea edx, [esp + 0x20]
mov al, byte [esi]
inc esi
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
push edx
push eax
mov byte [esp + 0x1a], cl
inc esi
call fcn.1001d4c0
inc edi
inc ebp
mov cl, byte [esp + 0x20]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x21]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x22]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001ec91
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov cl, byte [esi]
inc esi
mov byte [esp + 0x10], cl
lea ecx, [esp + 0x24]
mov dl, byte [esi]
inc esi
mov byte [esp + 0x11], dl
lea edx, [esp + 0x10]
mov al, byte [esi]
push ecx
push edx
mov byte [esp + 0x1a], al
inc esi
call fcn.1001d5f0
inc edi
inc ebp
mov al, byte [esp + 0x24]
inc ebx
mov byte [edi - 1], al
mov cl, byte [esp + 0x25]
mov eax, dword [esp + 0x78]
mov byte [ebp - 1], cl
mov dl, byte [esp + 0x26]
dec eax
mov byte [ebx - 1], dl
mov dword [esp + 0x78], eax
jne 0x1001eced
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov al, byte [esi]
inc esi
mov byte [esp + 0x10], al
lea eax, [esp + 0x30]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x11], cl
lea ecx, [esp + 0x10]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x1a], dl
inc esi
call fcn.1001d7a0
inc edi
inc ebp
mov dl, byte [esp + 0x30]
inc ebx
mov byte [edi - 1], dl
mov al, byte [esp + 0x31]
mov byte [ebp - 1], al
mov cl, byte [esp + 0x32]
mov eax, dword [esp + 0x50]
mov byte [ebx - 1], cl
mov dl, byte [esp + 0x33]
mov byte [eax], dl
inc eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001ed49
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov al, byte [esi]
inc esi
mov byte [esp + 0x10], al
lea eax, [esp + 0x28]
mov cl, byte [esi]
inc esi
mov byte [esp + 0x11], cl
lea ecx, [esp + 0x10]
mov dl, byte [esi]
push eax
push ecx
mov byte [esp + 0x1a], dl
inc esi
call sym.GEAR32PO.OCX_color_RGB_to_HLS
inc edi
inc ebp
mov dl, byte [esp + 0x28]
inc ebx
mov byte [edi - 1], dl
mov al, byte [esp + 0x29]
mov byte [ebp - 1], al
mov cl, byte [esp + 0x2a]
mov eax, dword [esp + 0x78]
mov byte [ebx - 1], cl
dec eax
mov dword [esp + 0x78], eax
jne 0x1001edb4
jmp 0x1001ee50
mov eax, dword [esp + 0x34]
test eax, eax
jle case.default.0x1001eaf9
mov dword [esp + 0x78], eax
mov dl, byte [esi]
inc esi
mov byte [esp + 0x10], dl
lea edx, [esp + 0x2c]
mov al, byte [esi]
inc esi
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
mov cl, byte [esi]
push edx
push eax
mov byte [esp + 0x1a], cl
inc esi
call fcn.1001e000
inc edi
inc ebp
mov cl, byte [esp + 0x2c]
inc ebx
mov byte [edi - 1], cl
mov dl, byte [esp + 0x2d]
mov byte [ebp - 1], dl
mov al, byte [esp + 0x2e]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jne 0x1001ee09
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
jle 0x1001ee8d
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + eax*4 + 0x54]
lea ecx, [esp + eax*4 + 0x54]
add ebx, esi
inc eax
mov dword [ecx], ebx
mov ecx, ebx
mov dword [esp + eax*4 + 0x40], ecx
cmp eax, edx
jl 0x1001ee6a
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
jl 0x1001e66d
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18