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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
lea eax, [esp + 0x44]
push edi
lea ecx, [esp + 0x44]
xor ebp, ebp
push eax
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.100d3780
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x60]
mov edi, dword [ebx + 8]
mov edx, dword [ebx]
sub edi, edx
inc edi
cmp eax, ebp
mov dword [esp + 0x3c], edi
je 0x10013e66
mov edx, dword [esp + 0x7c]
lea esi, [edi + edi*2]
push esi
push edx
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10013e66
mov eax, dword [esp + 0x7c]
push esi
push eax
push 0xfffffc18
push 0x4d3
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
mov ebp, eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10013ea0
mov ecx, dword [esp + 0x7c]
lea esi, [edi + edi*2]
push esi
push ecx
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x10013ea0
mov edx, dword [esp + 0x7c]
push esi
push edx
push 0xfffffc18
push 0x4dc
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add ebp, eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10013eda
mov eax, dword [esp + 0x7c]
lea esi, [edi + edi*2]
push esi
push eax
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x20], eax
jne 0x10013eda
mov ecx, dword [esp + 0x7c]
push esi
push ecx
push 0xfffffc18
push 0x4e5
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add ebp, eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10013f14
mov edx, dword [esp + 0x7c]
lea esi, [edi + edi*2]
push esi
push edx
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x24], eax
jne 0x10013f14
mov eax, dword [esp + 0x7c]
push esi
push eax
push 0xfffffc18
push 0x4ee
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add ebp, eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10013f4e
mov ecx, dword [esp + 0x7c]
lea esi, [edi + edi*2]
push esi
push ecx
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x28], eax
jne 0x10013f4e
mov edx, dword [esp + 0x7c]
push esi
push edx
push 0xfffffc18
push 0x4f7
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add ebp, eax
test ebp, ebp
jne 0x10014223
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
cmp esi, eax
mov dword [esp + 0x40], esi
jg 0x10014223
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x60]
push 2
push eax
push edi
push esi
push ecx
push edx
call fcn.10005b20
add ebp, eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10013f9c
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
push 2
push ecx
push edi
push esi
push edx
push eax
call fcn.10005b20
add ebp, eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10013fb8
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
push 2
push ecx
push edi
push esi
push edx
push eax
call fcn.10005b20
add ebp, eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10013fd4
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx]
push 2
push ecx
push edi
push esi
push edx
push eax
call fcn.10005b20
add ebp, eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10013ff0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx]
push 2
push ecx
push edi
push esi
push edx
push eax
call fcn.10005b20
add ebp, eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1001402f
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
sub ecx, edx
mov edx, dword [esp + 0x48]
inc ecx
push ecx
push esi
push edx
call eax
test eax, eax
jne 0x1001402f
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
sub eax, ecx
inc eax
push eax
push esi
push 0xfffff7bf
push 0x518
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add ebp, eax
test ebp, ebp
jne 0x10014223
test edi, edi
mov dword [esp + 0x38], ebp
jle 0x100141f7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edi, eax
sub ecx, eax
sub ebx, eax
sub edx, eax
sub edi, esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edi
jmp 0x1001407f
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x1001408e
add ecx, edi
mov dl, byte [ecx + esi]
jmp 0x10014090
mov dl, 1
test eax, eax
mov byte [esp + 0x34], dl
je 0x1001409d
mov cl, byte [edi + esi]
jmp 0x1001409f
xor cl, cl
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x30], cl
test eax, eax
je 0x100140b3
lea eax, [edi + ebx]
mov al, byte [eax + esi]
jmp 0x100140b5
xor al, al
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x2c], al
test ebx, ebx
je 0x100140d0
mov ebx, dword [esp + 0x54]
add ebx, edi
mov bl, byte [ebx + esi]
mov byte [esp + 0x14], bl
jmp 0x100140d5
mov byte [esp + 0x14], 0
mov ebx, dword [esp + 0x78]
cmp ebx, 3
ja case.default.0x100140e2
jmp dword [ebx*4 + 0x10014288]
imul cl
mov bl, al
mov al, 1
sub al, cl
mov cl, 1
imul byte [esp + 0x14]
add bl, al
sub cl, dl
mov al, bl
imul cl
mov cl, al
mov al, dl
imul byte [esi]
add cl, al
mov byte [esi], cl
jmp 0x100141d1
imul cl
mov bl, 1
sub bl, dl
imul bl
mov byte [esp + 0x13], bl
mov bl, al
mov al, cl
imul dl
imul byte [esi]
add bl, al
mov al, 1
sub al, cl
imul byte [esp + 0x14]
imul byte [esp + 0x13]
add bl, al
mov byte [esi], bl
jmp 0x100141d1
mov al, dl
imul byte [esi]
mov bl, al
mov al, 1
sub al, dl
mov dl, 1
imul byte [esp + 0x14]
add bl, al
sub dl, cl
mov al, bl
imul dl
mov dl, al
mov al, byte [esp + 0x2c]
imul cl
add dl, al
mov byte [esi], dl
jmp 0x100141d1
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
and edi, 0xff
and ecx, 0xff
mov eax, 1
mov edx, 1
sub eax, ecx
sub edx, edi
imul eax, edx
mov edx, dword [esp + 0x14]
and edx, 0xff
imul eax, edx
mov edx, dword [esp + 0x2c]
and edx, 0xff
imul edx, edi
add eax, edx
xor edx, edx
mov dl, byte [esi]
imul edx, ecx
imul ecx, edi
add eax, edx
inc ecx
cdq
idiv ecx
mov edi, dword [esp + 0x58]
mov byte [esi], al
jmp 0x100141d1
push 0
push ebx
push 0xfffffda8
push 0x54a
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
mov ebp, eax
test ebp, ebp
jne 0x100141eb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
inc esi
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x10014073
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
test ebp, ebp
jne 0x10014223
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x60]
push 2
push eax
push edi
push esi
push ecx
push edx
call fcn.10005df0
mov ebp, eax
mov eax, dword [ebx + 0xc]
inc esi
cmp esi, eax
mov dword [esp + 0x40], esi
jle 0x10013f68
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10014238
mov esi, dword [esp + 0x7c]
push eax
push esi
call fcn.100a1010
jmp 0x1001423c
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001424b
push eax
push esi
call fcn.100a1010
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1001425a
push eax
push esi
call fcn.100a1010
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10014269
push eax
push esi
call fcn.100a1010
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10014278
push eax
push esi
call fcn.100a1010
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret