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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
lea eax, [esp + 0x60]
push edi
lea ecx, [esp + 0x60]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], edi
call fcn.100d3780
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 8]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
mov esi, eax
mov eax, dword [esp + 0x74]
sar esi, 1
push eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
call sym.GEAR32PO.OCX_GPb_width_get
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x90]
cmp eax, edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], eax
lea edx, [eax + eax*2]
mov dword [esp + 0x24], edx
jne 0x100257b2
add ecx, eax
cmp eax, ecx
jge 0x10025fac
jmp 0x10024da1
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x24]
xor edi, edi
mov eax, dword [ebp + esi*4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov cl, byte [edx + eax]
mov byte [esp + 0x68], cl
mov eax, dword [ebp + esi*4]
mov cl, byte [edx + eax + 1]
mov byte [esp + 0x69], cl
mov eax, dword [ebp + esi*4]
mov esi, dword [esp + 0x7c]
mov cl, byte [edx + eax + 2]
cmp esi, edi
mov byte [esp + 0x6a], cl
jle 0x10024faf
xor eax, eax
cmp esi, edi
mov dword [esp + 0x44], eax
jle 0x10024faf
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x40]
add ecx, 0x24
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov ecx, dword [ebp + ecx*4 - 4]
add ecx, edx
cmp ebx, edi
mov dword [esp + 0x90], ecx
jg 0x10024f97
mov edx, dword [esp + 0x38]
mov ebp, ebx
sub edi, ebx
mov dword [esp + 0x50], ebx
lea eax, [ebx + edx]
lea edx, [ecx + ebx*2]
add ebp, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edx
inc edi
test eax, eax
jl 0x10024e59
cmp eax, dword [esp + 0x48]
jge 0x10024e59
mov eax, ebp
jmp 0x10024e6f
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
mov eax, dword [eax]
add eax, edx
lea edx, [ecx + eax*2]
lea eax, [eax + edx - 3]
mov edx, dword [esp + 0x4c]
mov esi, dword [edx]
test esi, esi
je case.default.0x10024e8d
mov edx, dword [esp + 0xa4]
cmp edx, 4
ja case.default.0x10024e8d
jmp dword [edx*4 + 0x10026058]
push eax
call fcn.1001cce0
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x20]
and eax, 0xff
imul esi, eax
add dword [esp + 0x18], esi
jmp case.default.0x10024e8d
mov cl, byte [eax]
inc eax
mov byte [esp + 0x20], cl
mov ecx, esi
mov edx, dword [esp + 0x20]
and edx, 0xff
imul ecx, edx
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x18], edx
mov dl, byte [eax]
mov byte [esp + 0x20], dl
mov edx, esi
mov ecx, dword [esp + 0x20]
and ecx, 0xff
imul edx, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, dword [esp + 0x28]
imul ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x28], eax
jmp case.default.0x10024e8d
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [esp + 0x28]
imul edx, esi
add eax, edx
mov dword [esp + 0x28], eax
jmp case.default.0x10024e8d
xor edx, edx
mov dl, byte [eax + 1]
mov eax, dword [esp + 0x2c]
imul edx, esi
add eax, edx
mov dword [esp + 0x2c], eax
jmp case.default.0x10024e8d
mov al, byte [eax]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
and edx, 0xff
imul esi, edx
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
inc eax
add ebp, 3
add edx, 4
dec esi
dec edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
jne 0x10024e4b
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
inc eax
add ecx, 0x40
cmp eax, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ecx
jl 0x10024e09
cmp esi, dword [esp + 0x80]
jge 0x10025172
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
lea edx, [eax + ecx*4]
mov eax, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x8c]
shl eax, 6
lea eax, [eax + edx + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x80]
sub eax, ecx
mov dword [esp + 0x58], eax
jmp 0x10024ff5
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
add eax, dword [ecx]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
cmp ebx, eax
jg 0x1002514d
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x40]
lea eax, [ebx + edx]
mov ebp, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x44]
lea edx, [ecx + ebx*2]
sub edi, ebx
add ebp, edx
mov dword [esp + 0x50], eax
inc edi
mov eax, dword [esp + 0x54]
test eax, eax
jl 0x10025050
cmp eax, dword [esp + 0x48]
jge 0x10025050
mov eax, ebp
jmp 0x10025069
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov eax, dword [ecx]
add eax, ebx
lea ecx, [edx + eax*2]
lea eax, [eax + ecx - 3]
mov edx, dword [esp + 0x50]
mov esi, dword [edx]
test esi, esi
je case.default.0x10025087
mov ecx, dword [esp + 0xa4]
cmp ecx, 4
ja case.default.0x10025087
jmp dword [ecx*4 + 0x1002606c]
push eax
call fcn.1001cce0
mov byte [esp + 0x20], al
jmp 0x1002511e
mov cl, byte [eax]
inc eax
mov byte [esp + 0x20], cl
mov ecx, esi
mov edx, dword [esp + 0x20]
and edx, 0xff
imul ecx, edx
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x18], edx
mov dl, byte [eax]
mov byte [esp + 0x20], dl
mov edx, esi
mov ecx, dword [esp + 0x20]
and ecx, 0xff
imul edx, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, dword [esp + 0x28]
imul ecx, esi
add eax, ecx
mov dword [esp + 0x28], eax
jmp case.default.0x10025087
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [esp + 0x28]
imul edx, esi
add eax, edx
mov dword [esp + 0x28], eax
jmp case.default.0x10025087
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, dword [esp + 0x2c]
imul ecx, esi
add eax, ecx
mov dword [esp + 0x2c], eax
jmp case.default.0x10025087
mov dl, byte [eax]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
and eax, 0xff
imul esi, eax
add dword [esp + 0x18], esi
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
inc eax
add ebp, 3
add edx, 4
dec ebx
dec edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
jne 0x1002503e
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
add edx, 4
add ecx, 0x40
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
jne 0x10024ff1
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x80]
cmp ecx, eax
jge 0x10025347
mov esi, dword [esp + 0x8c]
mov edx, ecx
shl edx, 6
mov dword [esp + 0x44], ecx
lea edx, [edx + esi + 0x24]
mov dword [esp + 0x4c], edx
sub eax, ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x3c]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
cmp edx, eax
jg 0x10025313
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov ebx, edx
mov edx, dword [esp + 0x90]
mov ebp, ebx
sub edi, ebx
lea ecx, [ebx + eax]
lea eax, [edx + ebx*2]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x4c]
add ebp, eax
mov dword [esp + 0x50], ecx
inc edi
mov eax, dword [esp + 0x54]
test eax, eax
jl 0x10025209
cmp eax, dword [esp + 0x48]
jge 0x10025209
mov eax, ebp
jmp 0x10025222
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov eax, dword [edx]
add eax, ebx
lea edx, [ecx + eax*2]
lea eax, [eax + edx - 3]
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx]
test esi, esi
je case.default.0x10025240
mov ecx, dword [esp + 0xa4]
cmp ecx, 4
ja case.default.0x10025240
jmp dword [ecx*4 + 0x10026080]
push eax
call fcn.1001cce0
mov byte [esp + 0x20], al
mov edx, dword [esp + 0x20]
and edx, 0xff
imul esi, edx
jmp 0x100252f0
mov cl, byte [eax]
inc eax
mov byte [esp + 0x20], cl
mov ecx, esi
mov edx, dword [esp + 0x20]
and edx, 0xff
imul ecx, edx
mov edx, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x18], edx
mov dl, byte [eax]
mov byte [esp + 0x20], dl
mov edx, esi
mov ecx, dword [esp + 0x20]
and ecx, 0xff
imul edx, ecx
mov ecx, dword [esp + 0x2c]
add ecx, edx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, dword [esp + 0x28]
imul ecx, esi
add eax, ecx
mov dword [esp + 0x28], eax
jmp case.default.0x10025240
xor edx, edx
mov dl, byte [eax + 2]
mov eax, dword [esp + 0x28]
imul edx, esi
add eax, edx
mov dword [esp + 0x28], eax
jmp case.default.0x10025240
xor ecx, ecx
mov cl, byte [eax + 1]
mov eax, dword [esp + 0x2c]
imul ecx, esi
add eax, ecx
mov dword [esp + 0x2c], eax
jmp case.default.0x10025240
mov dl, byte [eax]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
and eax, 0xff
imul esi, eax
add dword [esp + 0x18], esi
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
inc eax
add ebp, 3
add edx, 4
dec ebx
dec edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
jne 0x100251f7
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
inc ecx
mov eax, dword [edx + 4]
add esi, 0x40
cmp ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
jl 0x100251a3
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x10025353
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xa4]
cmp edi, 4
ja case.default.0x1002540f
jmp dword [edi*4 + 0x10026094]
fild dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
fmul qword [eax + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x30], eax
jmp 0x100253fe
fild dword [esp + 0x28]
mov esi, dword [esp + 0x8c]
fmul qword [esi + 0x18]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x2c]
mov dword [esp + 0x10], eax
fmul qword [esi + 0x18]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x18]
mov dword [esp + 0x14], eax
fmul qword [esi + 0x18]
jmp 0x100253f3
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x8c]
fmul qword [ecx + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
jmp 0x100253fe
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x8c]
fmul qword [edx + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
jmp 0x100253fe
fild dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
fmul qword [eax + 0x18]
call sub.MSVCRT.dll__ftol
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edi, 4
ja case.default.0x1002540f
jmp dword [edi*4 + 0x100260a8]
mov eax, dword [esp + 0x30]
cmp eax, 0xffffff01
jge 0x1002542b
mov dword [esp + 0x30], 0xffffff01
jmp 0x1002543a
cmp eax, 0xff
jle 0x1002543a
mov dword [esp + 0x30], 0xff
lea ecx, [esp + 0x34]
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.1001cef0
cmp dword [esp + 0x94], 1
jne 0x1002547b
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
and ecx, 0xff
add eax, ecx
mov dword [esp + 0x30], eax
jns 0x1002546d
xor eax, eax
jmp 0x1002548b
cmp eax, 0xff
jle 0x1002548f
mov eax, 0xff
jmp 0x1002548b
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov al, byte [ecx + edx]
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
mov byte [esp + 0x34], al
lea ecx, [esp + 0x34]
lea eax, [esi + edx]
push eax
push ecx
call fcn.1001cd10
jmp 0x10025789
cmp ebx, 0xffffff01
jge 0x100254c0
mov ebx, 0xffffff01
jmp 0x100254cd
cmp ebx, 0xff
jle 0x100254d1
mov ebx, 0xff
mov dword [esp + 0x1c], ebx
cmp eax, 0xffffff01
jge 0x100254df
mov eax, 0xffffff01
jmp 0x100254eb
cmp eax, 0xff
jle 0x100254ef
mov eax, 0xff
mov dword [esp + 0x14], eax
cmp ecx, 0xffffff01
jge 0x100254fe
mov ecx, 0xffffff01
jmp 0x1002550b
cmp ecx, 0xff
jle 0x1002550f
mov ecx, 0xff
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x94], 1
jne 0x100255b2
mov edx, dword [esp + 0x68]
and edx, 0xff
add ebx, edx
mov edx, dword [esp + 0x69]
and edx, 0xff
mov dword [esp + 0x1c], ebx
add eax, edx
mov edx, dword [esp + 0x6a]
and edx, 0xff
mov dword [esp + 0x14], eax
add ecx, edx
test ebx, ebx
mov dword [esp + 0x10], ecx
jge 0x10025555
xor ebx, ebx
jmp 0x10025562
cmp ebx, 0xff
jle 0x10025566
mov ebx, 0xff
mov dword [esp + 0x1c], ebx
test eax, eax
jge 0x1002556e
xor eax, eax
jmp 0x1002557a
cmp eax, 0xff
jle 0x1002557e
mov eax, 0xff
mov dword [esp + 0x14], eax
test ecx, ecx
jge 0x10025586
xor ecx, ecx
jmp 0x10025593
cmp ecx, 0xff
jle 0x10025597
mov ecx, 0xff
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
mov byte [esi + edx], bl
mov byte [esi + edx + 1], al
mov byte [esi + edx + 2], cl
jmp 0x10025789
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
mov dl, byte [ebx + edi]
mov byte [esi + ebp], dl
mov al, byte [eax + edi]
mov byte [esi + ebp + 1], al
mov cl, byte [ecx + edi]
mov byte [esi + ebp + 2], cl
jmp 0x10025789
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x88]
mov dl, byte [esp + 0x68]
cmp ecx, 0xffffff01
mov byte [esi + eax], dl
mov dl, byte [esp + 0x69]
mov byte [esi + eax + 1], dl
jge 0x10025606
mov ecx, 0xffffff01
jmp 0x10025613
cmp ecx, 0xff
jle 0x10025617
mov ecx, 0xff
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x94], 1
jne 0x1002565c
mov edx, dword [esp + 0x6a]
and edx, 0xff
add ecx, edx
mov dword [esp + 0x10], ecx
jns 0x10025642
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov byte [esi + eax + 2], cl
jmp 0x10025789
cmp ecx, 0xff
jle 0x10025666
mov ecx, 0xff
mov dword [esp + 0x10], ecx
mov byte [esi + eax + 2], cl
jmp 0x10025789
mov edx, dword [esp + 0x98]
mov cl, byte [ecx + edx]
mov byte [esi + eax + 2], cl
jmp 0x10025789
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
mov dl, byte [esp + 0x68]
cmp eax, 0xffffff01
mov byte [esi + ecx], dl
mov dl, byte [esp + 0x6a]
mov byte [esi + ecx + 2], dl
jge 0x10025697
mov eax, 0xffffff01
jmp 0x100256a3
cmp eax, 0xff
jle 0x100256a7
mov eax, 0xff
mov dword [esp + 0x14], eax
cmp dword [esp + 0x94], 1
jne 0x100256eb
mov edx, dword [esp + 0x69]
and edx, 0xff
add eax, edx
mov dword [esp + 0x14], eax
jns 0x100256d2
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esi + ecx + 1], al
jmp 0x10025789
cmp eax, 0xff
jle 0x100256f5
mov eax, 0xff
mov dword [esp + 0x14], eax
mov byte [esi + ecx + 1], al
jmp 0x10025789
mov edx, dword [esp + 0x98]
mov al, byte [eax + edx]
mov byte [esi + ecx + 1], al
jmp 0x10025789
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x88]
mov cl, byte [esp + 0x69]
cmp ebx, 0xffffff01
mov byte [esi + eax + 1], cl
mov dl, byte [esp + 0x6a]
mov byte [esi + eax + 2], dl
jge 0x10025728
mov ebx, 0xffffff01
jmp 0x10025735
cmp ebx, 0xff
jle 0x10025739
mov ebx, 0xff
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x94], 1
jne 0x10025776
mov ecx, dword [esp + 0x68]
and ecx, 0xff
add ebx, ecx
mov dword [esp + 0x1c], ebx
jns 0x10025760
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + eax], bl
jmp 0x10025789
cmp ebx, 0xff
jle 0x10025771
mov ebx, 0xff
mov dword [esp + 0x1c], ebx
mov byte [esi + eax], bl
jmp 0x10025789
mov edx, dword [esp + 0x98]
mov cl, byte [ebx + edx]
mov byte [esi + eax], cl
jmp 0x10025789
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
add esi, 3
inc ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x38], ecx
add edx, esi
cmp ecx, edx
jl 0x10024d99
jmp 0x10025fac
add ecx, eax
cmp eax, ecx
jge 0x10025fac
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x7c]
mov edx, dword [ebp + eax*4]
xor esi, esi
xor ebx, ebx
cmp edi, esi
mov dl, byte [ecx + edx]
mov dword [esp + 0x18], esi
mov byte [esp + 0x68], dl
mov edx, dword [ebp + eax*4]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dl, byte [ecx + edx + 1]
mov byte [esp + 0x69], dl
mov eax, dword [ebp + eax*4]
mov cl, byte [ecx + eax + 2]
mov byte [esp + 0x6a], cl
jle 0x10025834
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x58], edi
mov esi, dword [edx]
add edx, 0x24
test esi, esi
jle 0x10025826
mov eax, edx
mov ecx, esi
add ebx, dword [eax]
add eax, 4
dec ecx
jne 0x1002581e
mov eax, dword [esp + 0x58]
add edx, 0x40
dec eax
mov dword [esp + 0x58], eax
jne 0x10025816
mov ecx, dword [esp + 0x80]
cmp edi, ecx
jge 0x100259f5
mov eax, edi
lea edx, [ebp + edi*4]
shl eax, 4
sub ecx, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
xor ebp, ebp
mov edx, dword [ecx]
mov ecx, dword [esp + 0x3c]
add eax, edx
mov edx, dword [esp + 0x40]
cmp ecx, edx
jg 0x100259c9
mov edi, ecx
mov ecx, dword [esp + 0x38]
lea eax, [eax + edi*2]
lea edx, [edi + ecx]
mov dword [esp + 0x54], edx
lea edi, [edi + eax + 1]
mov eax, dword [esp + 0x54]
test eax, eax
jl 0x10025997
cmp eax, dword [esp + 0x48]
jge 0x10025997
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x8c]
lea edx, [ebp + ecx]
mov esi, dword [eax + edx*4 + 0x24]
test esi, esi
je case.default.0x100258cd
mov eax, dword [esp + 0xa4]
cmp eax, 4
ja case.default.0x100258cd
jmp dword [eax*4 + 0x100260bc]
lea ecx, [edi - 1]
push ecx
call fcn.1001cce0
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
and edx, 0xff
imul esi, edx
add eax, esi
mov dword [esp + 0x18], eax
jmp case.default.0x100258cd
mov al, byte [edi - 1]
mov edx, esi
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
and ecx, 0xff
imul edx, ecx
add eax, edx
mov edx, esi
mov dword [esp + 0x18], eax
mov al, byte [edi]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
and ecx, 0xff
imul edx, ecx
add eax, edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, byte [edi + 1]
imul eax, esi
add ecx, eax
mov dword [esp + 0x28], ecx
jmp case.default.0x100258cd
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov cl, byte [edi + 1]
imul ecx, esi
add eax, ecx
mov dword [esp + 0x28], eax
jmp case.default.0x100258cd
xor edx, edx
mov eax, dword [esp + 0x2c]
mov dl, byte [edi]
imul esi, edx
add eax, esi
mov dword [esp + 0x2c], eax
jmp case.default.0x100258cd
mov al, byte [edi - 1]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
and ecx, 0xff
imul esi, ecx
add eax, esi
mov dword [esp + 0x18], eax
jmp case.default.0x100258cd
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
lea eax, [ebp + edx]
add ebx, dword [ecx + eax*4 + 0x24]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc esi
add edi, 3
inc ebp
add edx, ebp
mov dword [esp + 0x54], esi
cmp edx, eax
jle 0x1002588c
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
add edx, 4
add ecx, 0x10
dec eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], eax
jne 0x1002585a
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x8c]
mov eax, dword [edi + 4]
cmp ecx, eax
jge 0x10025a2e
mov esi, dword [edi]
mov edx, ecx
shl edx, 6
sub eax, ecx
lea edx, [edx + edi + 0x24]
mov ebp, eax
xor ecx, ecx
cmp esi, ecx
jle 0x10025a26
mov eax, edx
mov ecx, esi
add ebx, dword [eax]
add eax, 4
dec ecx
jne 0x10025a1c
xor ecx, ecx
add edx, 0x40
dec ebp
jne 0x10025a12
jmp 0x10025a30
xor ecx, ecx
cmp ebx, ecx
jle 0x10025b94
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0xa4]
cmp eax, ebx
jne 0x10025a8f
cmp esi, 4
ja case.default.0x10025bf6
jmp dword [esi*4 + 0x100260d0]
mov dword [esp + 0x30], ecx
jmp 0x10025bed
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
jmp 0x10025bed
mov dword [esp + 0x10], ecx
jmp 0x10025bed
mov dword [esp + 0x14], ecx
jmp 0x10025bed
mov dword [esp + 0x1c], ecx
jmp 0x10025bed
cmp esi, 4
ja case.default.0x10025bf6
jmp dword [esi*4 + 0x100260e4]
fild dword [esp + 0x18]
fild dword [esp + 0x90]
sub eax, ebx
mov dword [esp + 0x58], eax
fmul qword [edi + 0x18]
fild dword [esp + 0x58]
fxch st(2)
fmulp st(1)
fxch st(1)
fdivp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x30], eax
jmp 0x10025bed
fild dword [esp + 0x90]
sub eax, ebx
mov dword [esp + 0x58], eax
fmul qword [edi + 0x18]
fild dword [esp + 0x58]
fild dword [esp + 0x28]
fmul st(2)
fdiv st(1)
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x2c]
mov dword [esp + 0x10], eax
fmul st(2)
fdiv st(1)
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x18]
mov dword [esp + 0x14], eax
fmul st(2)
fdiv st(1)
call sub.MSVCRT.dll__ftol
fstp st(0)
fstp st(0)
jmp 0x10025be9
fild dword [esp + 0x28]
fild dword [esp + 0x90]
sub eax, ebx
mov dword [esp + 0x58], eax
fmul qword [edi + 0x18]
fild dword [esp + 0x58]
fxch st(2)
fmulp st(1)
fxch st(1)
fdivp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
jmp 0x10025bed
fild dword [esp + 0x2c]
fild dword [esp + 0x90]
sub eax, ebx
mov dword [esp + 0x58], eax
fmul qword [edi + 0x18]
fild dword [esp + 0x58]
fxch st(2)
fmulp st(1)
fxch st(1)
fdivp st(1)
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
jmp 0x10025bed
fild dword [esp + 0x18]
fild dword [esp + 0x90]
sub eax, ebx
mov dword [esp + 0x58], eax
fmul qword [edi + 0x18]
fild dword [esp + 0x58]
fxch st(2)
fmulp st(1)
fxch st(1)
fdivp st(1)
jmp 0x10025be4
mov esi, dword [esp + 0xa4]
cmp esi, 4
ja case.default.0x10025bf6
jmp dword [esi*4 + 0x100260f8]
fild dword [esp + 0x18]
fmul qword [edi + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x30], eax
jmp 0x10025bed
fild dword [esp + 0x28]
fmul qword [edi + 0x18]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x2c]
mov dword [esp + 0x10], eax
fmul qword [edi + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
fild dword [esp + 0x18]
fmul qword [edi + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x1c], eax
cmp esi, 4
ja case.default.0x10025bf6
jmp dword [esi*4 + 0x1002610c]
mov ebx, dword [esp + 0x30]
cmp ebx, 0xffffff01
jge 0x10025c10
mov ebx, 0xffffff01
jmp 0x10025c1d
cmp ebx, 0xff
jle 0x10025c1d
mov ebx, 0xff
lea eax, [esp + 0x34]
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.1001cef0
cmp dword [esp + 0x94], 1
jne 0x10025c6b
mov edx, dword [esp + 0x34]
and edx, 0xff
add ebx, edx
mov dword [esp + 0x30], ebx
jns 0x10025c54
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
jmp 0x10025c7f
cmp ebx, 0xff
jle 0x10025c65
mov ebx, 0xff
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
jmp 0x10025c7f
mov ecx, dword [esp + 0x98]
xor eax, eax
mov al, byte [ebx + ecx]
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], al
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
lea eax, [esi + edx]
push eax
push ecx
call fcn.1001cd10
jmp 0x10025f88
mov edx, dword [esp + 0x1c]
cmp edx, 0xffffff01
jge 0x10025cb0
mov edx, 0xffffff01
jmp 0x10025cbd
cmp edx, 0xff
jle 0x10025cc1
mov edx, 0xff
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x14]
cmp ecx, 0xffffff01
jge 0x10025cd4
mov ecx, 0xffffff01
jmp 0x10025ce1
cmp ecx, 0xff
jle 0x10025ce5
mov ecx, 0xff
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
cmp eax, 0xffffff01
jge 0x10025cf7
mov eax, 0xffffff01
jmp 0x10025d03
cmp eax, 0xff
jle 0x10025d07
mov eax, 0xff
mov dword [esp + 0x10], eax
cmp dword [esp + 0x94], 1
jne 0x10025daa
mov esi, dword [esp + 0x68]
and esi, 0xff
add edx, esi
mov esi, dword [esp + 0x69]
and esi, 0xff
mov dword [esp + 0x1c], edx
add ecx, esi
mov esi, dword [esp + 0x6a]
and esi, 0xff
mov dword [esp + 0x14], ecx
add eax, esi
test edx, edx
mov dword [esp + 0x10], eax
jge 0x10025d4d
xor edx, edx
jmp 0x10025d5a
cmp edx, 0xff
jle 0x10025d5e
mov edx, 0xff
mov dword [esp + 0x1c], edx
test ecx, ecx
jge 0x10025d66
xor ecx, ecx
jmp 0x10025d73
cmp ecx, 0xff
jle 0x10025d77
mov ecx, 0xff
mov dword [esp + 0x14], ecx
test eax, eax
jge 0x10025d7f
xor eax, eax
jmp 0x10025d8b
cmp eax, 0xff
jle 0x10025d8f
mov eax, 0xff
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov byte [esi + edi], dl
mov byte [esi + edi + 1], cl
mov byte [esi + edi + 2], al
jmp 0x10025f88
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x24]
mov dl, byte [edx + esi]
mov byte [ebp + edi], dl
mov cl, byte [ecx + esi]
mov byte [ebp + edi + 1], cl
mov dl, byte [eax + esi]
mov byte [ebp + edi + 2], dl
jmp case.default.0x10025bf6
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov al, byte [esp + 0x68]
mov byte [esi + ecx], al
mov eax, dword [esp + 0x10]
mov dl, byte [esp + 0x69]
cmp eax, 0xffffff01
mov byte [esi + ecx + 1], dl
jge 0x10025e02
mov eax, 0xffffff01
jmp 0x10025e0e
cmp eax, 0xff
jle 0x10025e12
mov eax, 0xff
mov dword [esp + 0x10], eax
cmp dword [esp + 0x94], 1
jne 0x10025e56
mov edx, dword [esp + 0x6a]
and edx, 0xff
add eax, edx
mov dword [esp + 0x10], eax
jns 0x10025e3d
xor eax, eax
mov dword [esp + 0x10], eax
mov byte [esi + ecx + 2], al
jmp 0x10025f88
cmp eax, 0xff
jle 0x10025e60
mov eax, 0xff
mov dword [esp + 0x10], eax
mov byte [esi + ecx + 2], al
jmp 0x10025f88
mov edx, dword [esp + 0x98]
mov al, byte [eax + edx]
mov byte [esi + ecx + 2], al
jmp 0x10025f88
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x68]
mov byte [esi + ecx], dl
mov al, byte [esp + 0x6a]
mov byte [esi + ecx + 2], al
mov eax, dword [esp + 0x14]
cmp eax, 0xffffff01
jge 0x10025e95
mov eax, 0xffffff01
jmp 0x10025ea1
cmp eax, 0xff
jle 0x10025ea5
mov eax, 0xff
mov dword [esp + 0x14], eax
cmp dword [esp + 0x94], 1
jne 0x10025ee9
mov edx, dword [esp + 0x69]
and edx, 0xff
add eax, edx
mov dword [esp + 0x14], eax
jns 0x10025ed0
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esi + ecx + 1], al
jmp 0x10025f88
cmp eax, 0xff
jle 0x10025ef3
mov eax, 0xff
mov dword [esp + 0x14], eax
mov byte [esi + ecx + 1], al
jmp 0x10025f88
mov edx, dword [esp + 0x98]
mov al, byte [eax + edx]
mov byte [esi + ecx + 1], al
jmp 0x10025f88
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x69]
mov byte [esi + ecx + 1], dl
mov al, byte [esp + 0x6a]
mov byte [esi + ecx + 2], al
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffff01
jge 0x10025f29
mov eax, 0xffffff01
jmp 0x10025f35
cmp eax, 0xff
jle 0x10025f39
mov eax, 0xff
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x94], 1
jne 0x10025f75
mov edx, dword [esp + 0x68]
and edx, 0xff
add eax, edx
mov dword [esp + 0x1c], eax
jns 0x10025f60
xor eax, eax
mov dword [esp + 0x1c], eax
mov byte [esi + ecx], al
jmp 0x10025f88
cmp eax, 0xff
jle 0x10025f7f
mov eax, 0xff
mov dword [esp + 0x1c], eax
mov byte [esi + ecx], al
jmp 0x10025f88
mov edx, dword [esp + 0x98]
mov al, byte [eax + edx]
mov byte [esi + ecx], al
jmp 0x10025f88
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
add esi, 3
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x38], eax
add edx, esi
cmp eax, edx
jl 0x100257bc
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x88]
mov eax, dword [ecx + 4]
lea edx, [edx + eax*2]
add eax, edx
push eax
mov eax, dword [esp + 0x78]
push ecx
push eax
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
push eax
call fcn.10007040
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1002601f
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov edx, dword [esp + 0x64]
push edi
mov ecx, dword [esi]
push ecx
push edx
call eax
test eax, eax
jne 0x1002601f
mov eax, dword [esi]
push edi
push eax
push 0xfffff7bf
push 0x47b
push str.C:_accusoftgear_sourceIMG_PROCconvolve.c
call fcn.10046940
mov eax, dword [esi]
inc eax
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x34
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret 0x34
fild dword [esp + 0x28]
fmul qword [edi + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
jmp 0x10025bed
fild dword [esp + 0x2c]
fmul qword [edi + 0x18]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
jmp 0x10025bed