Function at 0x1004cb70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x480
push ebx
push ebp
lea eax, [esp + 0x50]
push edi
lea ecx, [esp + 0x58]
mov ebx, 1
push eax
push ecx
mov dword [esp + 0x40], ebx
call fcn.100d3780
mov edi, dword [esp + 0x494]
mov ebp, dword [esp + 0x490]
mov edx, edi
push ebp
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x54], ecx
call sym.GEAR32PO.OCX_GPb_bits_per_pixel_get
cmp eax, 0x18
je 0x1004cbef
push 0
push eax
push 0xfffff448
push 0xb9d
push str.C:_accusoftgear_sourceIMG_PROC_filterip.c
call fcn.10046940
call fcn.10046b40
pop edi
pop ebp
pop ebx
add esp, 0x480
ret 0xc
push esi
push 2
push 2
push 5
lea edx, [esp + 0x74]
push 5
push edx
call fcn.1009b9d0
or eax, 0xffffffff
xor esi, esi
fild dword [esp + 0x49c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
fdivr qword [0x100fd460]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
lea eax, [esp + 0x68]
mov ecx, 2
push eax
push ebp
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], esi
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], 8
mov dword [esp + 0x120], ecx
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], esi
mov dword [esp + 0x90], esi
fstp qword [esp + 0x88]
call fcn.1009ff90
cmp eax, esi
jne 0x1004dc8f
push edi
mov dword [esp + 0x2c], esi
call sym.GEAR32PO.OCX_rect_number_of_segments
push ebp
mov dword [esp + 0x44], eax
call sym.GEAR32PO.OCX_GPb_height_get
push ebp
mov dword [esp + 0x48], eax
call sym.GEAR32PO.OCX_GPb_width_get
lea ecx, [esp + 0x68]
lea edx, [esp + 0x48]
push ecx
push edx
push ebp
mov dword [esp + 0x44], eax
call fcn.10023e30
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call fcn.100c4c10
mov ecx, dword [0x10127e5c]
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x68]
push edx
push eax
push ecx
push ebp
call fcn.100a0090
mov esi, eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x1004cdbd
mov edi, ecx
sub edi, eax
test edi, edi
jle 0x1004cdbd
mov edx, dword [esp + 0x40]
push 1
lea eax, [esp + 0x2c]
push edx
mov edx, dword [0x10127e58]
push eax
push 0
push 1
lea ecx, [esp + 0x7c]
push 0
push ecx
push edx
push esi
push 5
lea eax, [esp + 0x54]
push edi
push eax
push ebp
call fcn.10024d10
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x3c], ebx
je 0x1004cdb9
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x68]
inc ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebp
call fcn.100a0130
dec edi
mov esi, eax
test edi, edi
jg 0x1004cd62
mov ecx, dword [esp + 0x4c]
test ebx, ebx
je 0x1004dc8f
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jg 0x1004dc00
mov eax, dword [esp + 0x38]
lea ecx, [eax - 1]
add eax, 0xfffffffe
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x18], ebx
lea edx, [ebx + edi*2]
add edi, edx
test ebx, ebx
mov dword [esp + 0x38], edi
jne 0x1004d065
mov eax, dword [esi + 8]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], 3
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cl, byte [eax + 2]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi]
xor edx, edx
mov dl, byte [ecx + 6]
mov bl, byte [ecx + 3]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + 7]
shl edx, 1
neg ebp
sub ebp, edx
xor edx, edx
mov dl, byte [ecx + 4]
add edx, ebx
shl edx, 1
mov ebx, edx
xor edx, edx
mov dl, byte [ecx + 1]
neg edx
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 8]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 5]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 2]
mov ecx, ebx
xor ebx, ebx
shl edx, 1
neg ecx
sub ecx, edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 4]
mov dl, byte [ecx + 6]
mov bl, byte [ecx]
sub ebx, edx
xor edx, edx
mov dl, byte [ecx + 7]
lea ebp, [ebp + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 1]
sub ebx, edx
mov edx, dword [esp + 0x10]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 8]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 2]
mov ecx, dword [esp + 0x14]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax]
lea ecx, [ecx + edx*2]
xor edx, edx
mov dl, byte [eax + 3]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [eax + 6]
shl edx, 1
sub edx, ebx
lea ebp, [ebp + edx*2]
xor edx, edx
mov dl, byte [eax + 4]
xor ebx, ebx
mov bl, byte [eax + 1]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [eax + 7]
shl edx, 1
sub edx, ebx
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [eax + 2]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax + 5]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [eax + 8]
xor eax, eax
shl edx, 1
sub edx, ebx
xor ebx, ebx
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0xc]
mov al, byte [ecx + 6]
mov bl, byte [ecx]
sub ebx, eax
xor eax, eax
mov al, byte [ecx + 7]
lea ebp, [ebp + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 1]
sub ebx, eax
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 8]
mov dword [esp + 0x10], eax
xor eax, eax
mov al, byte [ecx + 2]
mov ecx, dword [esi + 0x10]
sub eax, ebx
lea ebx, [edx + eax*2]
xor edx, edx
mov dl, byte [ecx + 4]
xor eax, eax
mov al, byte [ecx + 7]
add edx, eax
xor eax, eax
mov al, byte [ecx + 1]
shl edx, 1
neg eax
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
xor eax, eax
mov al, byte [ecx + 8]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 5]
add edx, eax
xor eax, eax
mov al, byte [ecx + 2]
shl edx, 1
neg eax
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 6]
add ebx, eax
xor eax, eax
mov al, byte [ecx + 3]
add edx, eax
mov eax, ebp
shl edx, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x49c]
sub eax, edx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004cfb2
mov eax, 0xffffff01
jmp 0x1004cfbe
cmp eax, 0xff
jle 0x1004cfbe
mov eax, 0xff
add eax, dword [esp + 0x20]
jns 0x1004cfc8
xor eax, eax
jmp 0x1004cfd4
cmp eax, 0xff
jle 0x1004cfd4
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edx], al
mov eax, dword [esp + 0x10]
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004cff1
mov eax, 0xffffff01
jmp 0x1004cffd
cmp eax, 0xff
jle 0x1004cffd
mov eax, 0xff
add eax, dword [esp + 0x1c]
jns 0x1004d007
xor eax, eax
jmp 0x1004d013
cmp eax, 0xff
jle 0x1004d013
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edx + 1], al
mov eax, ebx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d02f
mov eax, 0xffffff01
jmp 0x1004d03b
cmp eax, 0xff
jle 0x1004d03b
mov eax, 0xff
add eax, dword [esp + 0x24]
jns 0x1004d045
xor eax, eax
jmp 0x1004d051
cmp eax, 0xff
jle 0x1004d051
mov eax, 0xff
mov ecx, dword [0x10127e58]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x494]
mov byte [ecx + 2], al
cmp ebx, 3
jne 0x1004d30d
mov eax, dword [esi + 8]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov cl, byte [eax + 4]
mov dl, byte [eax + 3]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [esp + 0x20], edx
xor edx, edx
mov bl, byte [ecx + 9]
mov dl, byte [eax + 5]
mov ebp, ebx
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x18], 6
mov dl, byte [ecx + 3]
neg ebp
shl ebp, 1
sub ebp, edx
xor edx, edx
mov dl, byte [ecx + 6]
sub ebp, edx
xor edx, edx
mov dl, byte [ecx]
sub ebp, edx
xor edx, edx
mov dl, byte [ecx + 1]
mov ebx, edx
xor edx, edx
mov dl, byte [ecx + 0xa]
neg edx
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 7]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 4]
sub edx, ebx
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 2]
mov ebx, edx
xor edx, edx
mov dl, byte [ecx + 0xb]
neg edx
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 5]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 8]
mov ecx, dword [esi + 4]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 9]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [ecx + 3]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 0xa]
lea ebp, [ebp + edx*2]
xor edx, edx
mov dl, byte [ecx + 4]
sub edx, ebx
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [ecx + 0xb]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 5]
mov ecx, dword [esp + 0x14]
sub edx, ebx
lea ecx, [ecx + edx*2]
xor edx, edx
mov dl, byte [eax + 6]
xor ebx, ebx
mov bl, byte [eax + 9]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 3]
lea edx, [edx + ebx*4]
xor ebx, ebx
mov bl, byte [eax]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
lea ebp, [ebp + edx*2]
xor edx, edx
mov dl, byte [eax + 7]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0xa]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 4]
lea edx, [edx + ebx*4]
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [eax + 8]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax + 2]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0xb]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 5]
lea eax, [edx + ebx*4]
xor edx, edx
xor ebx, ebx
lea ecx, [ecx + eax*2]
mov eax, dword [esi + 0xc]
mov dl, byte [eax + 3]
mov bl, byte [eax + 9]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0xa]
lea ebp, [ebp + edx*2]
xor edx, edx
mov dl, byte [eax + 4]
sub edx, ebx
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [eax + 0xb]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax + 5]
xor eax, eax
sub edx, ebx
lea ebx, [ecx + edx*2]
mov ecx, dword [esi + 0x10]
xor edx, edx
mov dl, byte [ecx + 0xa]
mov al, byte [ecx + 1]
neg edx
shl edx, 1
sub edx, eax
xor eax, eax
mov al, byte [ecx + 7]
sub edx, eax
xor eax, eax
mov al, byte [ecx + 4]
sub edx, eax
mov eax, dword [esp + 0x10]
add eax, edx
xor edx, edx
mov dl, byte [ecx + 2]
mov dword [esp + 0x10], eax
xor eax, eax
mov al, byte [ecx + 0xb]
neg eax
shl eax, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 5]
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 8]
sub eax, edx
add ebx, eax
xor eax, eax
mov al, byte [ecx + 3]
mov edx, eax
xor eax, eax
mov al, byte [ecx + 9]
neg eax
shl eax, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 6]
sub eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x49c]
add eax, ebp
sub eax, edx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d259
mov eax, 0xffffff01
jmp 0x1004d265
cmp eax, 0xff
jle 0x1004d265
mov eax, 0xff
add eax, dword [esp + 0x20]
jns 0x1004d26f
xor eax, eax
jmp 0x1004d27b
cmp eax, 0xff
jle 0x1004d27b
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edx + 3], al
mov eax, dword [esp + 0x10]
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d299
mov eax, 0xffffff01
jmp 0x1004d2a5
cmp eax, 0xff
jle 0x1004d2a5
mov eax, 0xff
add eax, dword [esp + 0x1c]
jns 0x1004d2af
xor eax, eax
jmp 0x1004d2bb
cmp eax, 0xff
jle 0x1004d2bb
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edx + 4], al
mov eax, ebx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d2d7
mov eax, 0xffffff01
jmp 0x1004d2e3
cmp eax, 0xff
jle 0x1004d2e3
mov eax, 0xff
add eax, dword [esp + 0x24]
jns 0x1004d2ed
xor eax, eax
jmp 0x1004d2f9
cmp eax, 0xff
jle 0x1004d2f9
mov eax, 0xff
mov ecx, dword [0x10127e58]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x494]
mov byte [ecx + 5], al
mov eax, dword [esp + 0x498]
mov edx, dword [esp + 0x60]
cmp dword [eax + 8], edx
jne 0x1004d591
mov ecx, dword [esi + 8]
sub edi, 3
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx + edi]
lea eax, [ecx + edi]
mov dword [esp + 0x20], edx
xor edx, edx
mov dl, byte [eax + 2]
xor ecx, ecx
mov cl, byte [eax + 1]
mov dword [esp + 0x24], edx
mov edx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, edi
mov dword [esp + 0x38], edi
add ecx, edx
xor edx, edx
mov dl, byte [ecx - 6]
mov bl, byte [ecx - 3]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx - 2]
shl edx, 1
neg ebp
sub ebp, edx
xor edx, edx
mov dl, byte [ecx - 5]
add edx, ebx
shl edx, 1
mov ebx, edx
xor edx, edx
mov dl, byte [ecx + 1]
neg edx
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx - 4]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 2]
mov ecx, ebx
xor ebx, ebx
shl edx, 1
neg ecx
sub ecx, edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 4]
add ecx, edi
mov dl, byte [ecx - 6]
mov bl, byte [ecx]
sub ebx, edx
xor edx, edx
mov dl, byte [ecx - 5]
lea ebp, [ebp + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 1]
sub ebx, edx
mov edx, dword [esp + 0x10]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 2]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx - 4]
mov ecx, dword [esp + 0x14]
sub ebx, edx
xor edx, edx
mov dl, byte [eax - 3]
lea ecx, [ecx + ebx*2]
xor ebx, ebx
mov bl, byte [eax]
lea edx, [edx + ebx*2]
shl edx, 1
xor ebx, ebx
mov bl, byte [eax - 6]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
lea ebp, [ebp + edx*2]
xor edx, edx
mov dl, byte [eax - 2]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [eax - 5]
shl edx, 1
sub edx, ebx
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [eax + 2]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax - 1]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [eax - 4]
xor eax, eax
shl edx, 1
sub edx, ebx
xor ebx, ebx
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0xc]
add ecx, edi
mov al, byte [ecx - 6]
mov bl, byte [ecx]
sub ebx, eax
xor eax, eax
mov al, byte [ecx - 5]
lea ebp, [ebp + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 1]
sub ebx, eax
mov eax, dword [esp + 0x10]
lea eax, [eax + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 2]
mov dword [esp + 0x10], eax
xor eax, eax
mov al, byte [ecx - 4]
mov ecx, dword [esi + 0x10]
sub ebx, eax
add ecx, edi
xor eax, eax
mov al, byte [ecx - 2]
lea ebx, [edx + ebx*2]
xor edx, edx
mov dl, byte [ecx - 5]
add edx, eax
xor eax, eax
mov al, byte [ecx + 1]
shl edx, 1
neg eax
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
xor eax, eax
mov al, byte [ecx - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx - 4]
add edx, eax
xor eax, eax
mov al, byte [ecx + 2]
shl edx, 1
neg eax
sub eax, edx
xor edx, edx
mov dl, byte [ecx - 6]
add ebx, eax
xor eax, eax
mov al, byte [ecx - 3]
add edx, eax
mov eax, ebp
shl edx, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x49c]
sub eax, edx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d4db
mov eax, 0xffffff01
jmp 0x1004d4e7
cmp eax, 0xff
jle 0x1004d4e7
mov eax, 0xff
add eax, dword [esp + 0x20]
jns 0x1004d4f1
xor eax, eax
jmp 0x1004d4fd
cmp eax, 0xff
jle 0x1004d4fd
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edi + edx], al
mov eax, dword [esp + 0x10]
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d51b
mov eax, 0xffffff01
jmp 0x1004d527
cmp eax, 0xff
jle 0x1004d527
mov eax, 0xff
add eax, dword [esp + 0x1c]
jns 0x1004d531
xor eax, eax
jmp 0x1004d53d
cmp eax, 0xff
jle 0x1004d53d
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edi + edx + 1], al
mov eax, ebx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d55a
mov eax, 0xffffff01
jmp 0x1004d566
cmp eax, 0xff
jle 0x1004d566
mov eax, 0xff
add eax, dword [esp + 0x24]
jns 0x1004d570
xor eax, eax
jmp 0x1004d57c
cmp eax, 0xff
jle 0x1004d57c
mov eax, 0xff
mov ecx, dword [0x10127e58]
mov ebp, dword [esp + 0x494]
mov ebx, dword [esp + 0x18]
mov byte [edi + ecx + 2], al
mov eax, dword [esp + 0x498]
mov edx, dword [esp + 0x64]
cmp dword [eax + 8], edx
jl 0x1004d850
mov ecx, dword [esi + 8]
sub edi, 3
mov ebp, dword [esi]
xor edx, edx
mov dl, byte [ecx + edi]
lea eax, [ecx + edi]
xor ecx, ecx
mov dword [esp + 0x20], edx
mov cl, byte [eax + 1]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, edi
add ecx, ebp
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x38], edi
mov bl, byte [ecx - 6]
mov dword [esp + 0x24], edx
mov ebp, ebx
xor edx, edx
mov dl, byte [ecx + 3]
neg ebp
shl ebp, 1
sub ebp, edx
xor edx, edx
mov dl, byte [ecx - 3]
sub ebp, edx
xor edx, edx
mov dl, byte [ecx]
sub ebp, edx
xor edx, edx
mov dl, byte [ecx - 2]
mov ebx, edx
xor edx, edx
mov dl, byte [ecx - 5]
neg edx
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 4]
sub edx, ebx
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 2]
mov ebx, edx
xor edx, edx
mov dl, byte [ecx - 4]
neg edx
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 1]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 5]
mov ecx, dword [esi + 4]
sub edx, ebx
add ecx, edi
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [ecx - 6]
xor ebx, ebx
mov bl, byte [ecx]
sub ebx, edx
xor edx, edx
mov dl, byte [ecx - 5]
lea ebp, [ebp + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 1]
sub ebx, edx
mov edx, dword [esp + 0x10]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [ecx + 2]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx - 4]
sub ebx, edx
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dl, byte [eax - 3]
lea ecx, [ecx + ebx*2]
xor ebx, ebx
mov bl, byte [eax + 3]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax]
lea edx, [edx + ebx*4]
xor ebx, ebx
mov bl, byte [eax - 6]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax - 2]
lea ebp, [ebp + edx*2]
xor edx, edx
mov dl, byte [eax + 4]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax - 5]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
lea edx, [edx + ebx*4]
mov ebx, dword [esp + 0x10]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [eax - 1]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax + 5]
add edx, ebx
xor ebx, ebx
mov bl, byte [eax - 4]
sub edx, ebx
xor ebx, ebx
mov bl, byte [eax + 2]
lea eax, [edx + ebx*4]
xor edx, edx
xor ebx, ebx
lea ecx, [ecx + eax*2]
mov eax, dword [esi + 0xc]
add eax, edi
mov dl, byte [eax - 6]
mov bl, byte [eax]
sub ebx, edx
xor edx, edx
mov dl, byte [eax - 5]
lea ebp, [ebp + ebx*2]
xor ebx, ebx
mov bl, byte [eax + 1]
sub ebx, edx
mov edx, dword [esp + 0x10]
lea edx, [edx + ebx*2]
xor ebx, ebx
mov bl, byte [eax + 2]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax - 4]
xor eax, eax
sub ebx, edx
xor edx, edx
lea ebx, [ecx + ebx*2]
mov ecx, dword [esi + 0x10]
add ecx, edi
mov dl, byte [ecx - 5]
mov al, byte [ecx - 2]
neg edx
shl edx, 1
sub edx, eax
xor eax, eax
mov al, byte [ecx + 1]
sub edx, eax
xor eax, eax
mov al, byte [ecx + 4]
sub edx, eax
mov eax, dword [esp + 0x10]
add eax, edx
xor edx, edx
mov dword [esp + 0x10], eax
mov dl, byte [ecx + 2]
xor eax, eax
mov al, byte [ecx - 4]
neg eax
shl eax, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx - 1]
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 5]
sub eax, edx
add ebx, eax
xor eax, eax
mov al, byte [ecx + 3]
mov edx, eax
xor eax, eax
mov al, byte [ecx - 6]
neg eax
shl eax, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx - 3]
sub eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x49c]
add eax, ebp
sub eax, edx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d79a
mov eax, 0xffffff01
jmp 0x1004d7a6
cmp eax, 0xff
jle 0x1004d7a6
mov eax, 0xff
add eax, dword [esp + 0x20]
jns 0x1004d7b0
xor eax, eax
jmp 0x1004d7bc
cmp eax, 0xff
jle 0x1004d7bc
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edi + edx], al
mov eax, dword [esp + 0x10]
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d7da
mov eax, 0xffffff01
jmp 0x1004d7e6
cmp eax, 0xff
jle 0x1004d7e6
mov eax, 0xff
add eax, dword [esp + 0x1c]
jns 0x1004d7f0
xor eax, eax
jmp 0x1004d7fc
cmp eax, 0xff
jle 0x1004d7fc
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edi + edx + 1], al
mov eax, ebx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004d819
mov eax, 0xffffff01
jmp 0x1004d825
cmp eax, 0xff
jle 0x1004d825
mov eax, 0xff
add eax, dword [esp + 0x24]
jns 0x1004d82f
xor eax, eax
jmp 0x1004d83b
cmp eax, 0xff
jle 0x1004d83b
mov eax, 0xff
mov ecx, dword [0x10127e58]
mov ebp, dword [esp + 0x494]
mov ebx, dword [esp + 0x18]
mov byte [edi + ecx + 2], al
cmp ebx, edi
mov dword [esp + 0x18], ebx
jge 0x1004db66
mov edx, dword [esi + 8]
xor eax, eax
mov al, byte [ebx + edx]
lea ecx, [ebx + edx]
mov dword [esp + 0x20], eax
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ecx + 1]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], edx
mov edx, ebx
xor ebx, ebx
add edx, eax
xor eax, eax
mov al, byte [edx - 6]
mov bl, byte [edx - 4]
mov edi, eax
xor eax, eax
mov al, byte [edx + 6]
add edi, eax
xor eax, eax
mov al, byte [edx - 3]
add edi, eax
xor eax, eax
mov al, byte [edx + 3]
add edi, eax
xor eax, eax
mov al, byte [edx]
add edi, eax
xor eax, eax
mov al, byte [edx + 4]
mov ebp, eax
xor eax, eax
mov al, byte [edx - 5]
add ebp, eax
xor eax, eax
mov al, byte [edx + 7]
add ebp, eax
xor eax, eax
mov al, byte [edx - 2]
add ebp, eax
xor eax, eax
mov al, byte [edx + 1]
add ebp, eax
xor eax, eax
mov al, byte [edx + 5]
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 2]
add eax, ebx
xor ebx, ebx
mov bl, byte [edx - 1]
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 8]
mov edx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esi + 4]
neg eax
add edx, ebx
xor ebx, ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov bl, byte [edx]
mov al, byte [edx + 6]
shl ebx, 1
sub ebx, eax
xor eax, eax
mov al, byte [edx - 6]
neg edi
sub ebx, eax
xor eax, eax
mov al, byte [edx + 7]
add edi, ebx
xor ebx, ebx
mov bl, byte [edx + 1]
shl ebx, 1
neg ebp
sub ebx, eax
xor eax, eax
mov al, byte [edx - 5]
sub ebx, eax
xor eax, eax
mov al, byte [edx - 4]
add ebp, ebx
xor ebx, ebx
mov bl, byte [edx + 2]
shl ebx, 1
sub ebx, eax
xor eax, eax
mov al, byte [edx + 8]
xor edx, edx
mov dl, byte [ecx - 3]
sub ebx, eax
mov eax, dword [esp + 0x14]
add eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 3]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx]
lea edx, [edx + ebx*4]
xor ebx, ebx
mov bl, byte [ecx + 6]
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 6]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 2]
add edi, edx
xor edx, edx
mov dl, byte [ecx + 4]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
lea edx, [edx + ebx*4]
xor ebx, ebx
mov bl, byte [ecx + 7]
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 5]
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 1]
add ebp, edx
xor edx, edx
mov dl, byte [ecx + 5]
add edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 2]
lea edx, [edx + ebx*4]
xor ebx, ebx
mov bl, byte [ecx - 4]
shl edx, 1
sub edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 8]
sub edx, ebx
mov ebx, dword [esp + 0x18]
add eax, edx
mov edx, dword [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x14], eax
add ecx, edx
xor edx, edx
xor eax, eax
mov dl, byte [ecx]
mov al, byte [ecx + 6]
shl edx, 1
sub edx, eax
xor eax, eax
mov al, byte [ecx - 6]
sub edx, eax
add edi, edx
xor edx, edx
mov dl, byte [ecx + 7]
xor eax, eax
mov al, byte [ecx + 1]
shl eax, 1
sub eax, edx
xor edx, edx
mov dl, byte [ecx - 5]
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 2]
add ebp, eax
xor eax, eax
mov al, byte [ecx - 4]
shl edx, 1
sub edx, eax
xor eax, eax
mov al, byte [ecx + 8]
mov ecx, ebx
sub edx, eax
mov eax, dword [esp + 0x14]
add eax, edx
mov edx, dword [esi + 0x10]
add ecx, edx
mov dword [esp + 0x14], eax
xor edx, edx
xor eax, eax
mov dl, byte [ecx + 4]
mov al, byte [ecx - 5]
add edx, eax
xor eax, eax
mov al, byte [ecx + 7]
add edx, eax
xor eax, eax
mov al, byte [ecx - 2]
add edx, eax
xor eax, eax
mov al, byte [ecx + 1]
add edx, eax
xor eax, eax
mov al, byte [ecx - 4]
sub ebp, edx
xor edx, edx
mov dl, byte [ecx + 5]
add edx, eax
xor eax, eax
mov al, byte [ecx + 2]
add edx, eax
xor eax, eax
mov al, byte [ecx - 1]
add edx, eax
xor eax, eax
mov al, byte [ecx + 8]
add edx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 3]
mov dword [esp + 0x14], eax
mov eax, edi
sub eax, edx
xor edx, edx
mov dl, byte [ecx - 3]
sub eax, edx
xor edx, edx
mov dl, byte [ecx + 6]
sub eax, edx
xor edx, edx
mov dl, byte [ecx - 6]
sub eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x49c]
sub eax, edx
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004daa1
mov eax, 0xffffff01
jmp 0x1004daad
cmp eax, 0xff
jle 0x1004daad
mov eax, 0xff
add eax, dword [esp + 0x20]
jns 0x1004dab7
xor eax, eax
jmp 0x1004dac3
cmp eax, 0xff
jle 0x1004dac3
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edx + ebx], al
mov eax, ebp
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004dadf
mov eax, 0xffffff01
jmp 0x1004daeb
cmp eax, 0xff
jle 0x1004daeb
mov eax, 0xff
add eax, dword [esp + 0x1c]
jns 0x1004daf5
xor eax, eax
jmp 0x1004db01
cmp eax, 0xff
jle 0x1004db01
mov eax, 0xff
mov edx, dword [0x10127e58]
mov byte [edx + ebx + 1], al
mov eax, dword [esp + 0x14]
cdq
idiv ecx
cmp eax, 0xffffff01
jge 0x1004db20
mov eax, 0xffffff01
jmp 0x1004db2c
cmp eax, 0xff
jle 0x1004db2c
mov eax, 0xff
add eax, dword [esp + 0x24]
jns 0x1004db36
xor eax, eax
jmp 0x1004db42
cmp eax, 0xff
jle 0x1004db42
mov eax, 0xff
mov ecx, dword [0x10127e58]
add ebx, 3
mov dword [esp + 0x18], ebx
mov byte [ecx + ebx - 1], al
mov eax, dword [esp + 0x38]
cmp ebx, eax
jl 0x1004d85c
mov ebp, dword [esp + 0x494]
mov edx, dword [0x10127e58]
mov eax, dword [esp + 0x30]
lea ecx, [edx + eax*2]
lea edx, [esp + 0x2c]
add eax, ecx
push eax
push edx
push ebp
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10007040
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1004dba4
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
push edi
push ecx
push edx
call eax
test eax, eax
je 0x1004dbd1
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x68]
push eax
inc edi
push ecx
push ebp
mov dword [esp + 0x38], edi
call fcn.100a0130
mov esi, eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
cmp edx, eax
jle 0x1004cde7
jmp 0x1004dbfc
mov eax, dword [esp + 0x28]
push edi
push eax
push 0xfffff7bf
push 0xdbd
push str.C:_accusoftgear_sourceIMG_PROC_filterip.c
call fcn.10046940
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0
inc eax
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x1004dc8f
mov ecx, dword [esp + 0x498]
mov edx, dword [esp + 0x44]
add edx, 0xfffffffe
mov eax, dword [ecx + 0xc]
cmp eax, edx
jl 0x1004dc8f
sub eax, dword [esp + 0x54]
mov ecx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
lea edi, [eax - 1]
sub eax, ecx
cmp edi, eax
jl 0x1004dc8f
mov ebx, dword [esp + 0x40]
mov edx, dword [0x10127e58]
push 1
lea eax, [esp + 0x2c]
push ebx
push eax
push 0
push 1
lea ecx, [esp + 0x7c]
push 0
push ecx
push edx
push esi
push edi
lea eax, [esp + 0x54]
push 0
push eax
push ebp
call fcn.10024d10
test eax, eax
je 0x1004dc8f
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x68]
inc ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebp
call fcn.100a0130
mov esi, eax
dec edi
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
sub eax, edx
cmp edi, eax
jge 0x1004dc38
call fcn.100a0020
pop esi
call fcn.10046b40
pop edi
pop ebp
pop ebx
add esp, 0x480
ret 0xc