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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
lea eax, [esp + 0x4c]
push edi
lea ecx, [esp + 0x4c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.100d3780
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x64]
mov ebp, dword [ebx + 8]
mov edx, dword [ebx]
sub ebp, edx
inc ebp
cmp eax, esi
je 0x10014dc0
mov edi, dword [esp + 0x80]
lea eax, [ebp + ebp*2]
push eax
push edi
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x10014dc7
lea eax, [ebp + ebp*2]
push eax
push edi
push 0xfffffc18
push 0x7b1
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
mov esi, eax
jmp 0x10014dc7
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10014dfe
lea eax, [ebp + ebp*2]
push eax
push edi
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x20], eax
jne 0x10014dfe
lea eax, [ebp + ebp*2]
push eax
push edi
push 0xfffffc18
push 0x7ba
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add esi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10014e35
lea eax, [ebp + ebp*2]
push eax
push edi
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x24], eax
jne 0x10014e35
lea eax, [ebp + ebp*2]
push eax
push edi
push 0xfffffc18
push 0x7c3
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add esi, eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10014e6c
lea eax, [ebp + ebp*2]
push eax
push edi
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x30], eax
jne 0x10014e6c
lea eax, [ebp + ebp*2]
push eax
push edi
push 0xfffffc18
push 0x7cc
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add esi, eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10014ea3
lea eax, [ebp + ebp*2]
push eax
push edi
call fcn.100a0c80
test eax, eax
mov dword [esp + 0x34], eax
jne 0x10014ea3
lea eax, [ebp + ebp*2]
push eax
push edi
push 0xfffffc18
push 0x7d5
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add esi, eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10014eb5
push eax
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10014ec7
push eax
call sym.GEAR32PO.OCX_GPb_palette_pointer_get
mov dword [esp + 0x40], eax
test esi, esi
jne 0x100151a4
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
cmp edi, eax
mov dword [esp + 0x48], edi
jg 0x1001519d
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x64]
push 2
push edx
push ebp
push edi
push eax
push ecx
call fcn.10005b20
add esi, eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10014f15
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx]
push 2
push edx
push ebp
push edi
push ecx
push eax
call fcn.10005b20
add esi, eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10014f31
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx]
push 2
push edx
push ebp
push edi
push ecx
push eax
call fcn.10005b20
add esi, eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10014f4d
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx]
push 2
push edx
push ebp
push edi
push ecx
push eax
call fcn.10005b20
add esi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10014f69
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
push 2
push edx
push ebp
push edi
push ecx
push eax
call fcn.10005b20
add esi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10014fa8
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
sub edx, ecx
mov ecx, dword [esp + 0x50]
inc edx
push edx
push edi
push ecx
call eax
test eax, eax
jne 0x10014fa8
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
sub edx, eax
inc edx
push edx
push edi
push 0xfffff7bf
push 0x7ff
push str.C:_accusoftgear_sourceIMG_PROC_blends.c
call fcn.10046940
add esi, eax
test esi, esi
jne 0x1001519d
test ebp, ebp
mov dword [esp + 0x44], esi
jle 0x10015171
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, edi
mov esi, dword [esp + 0x34]
mov ecx, ebx
lea edx, [eax + 2]
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
sub eax, esi
sub esi, edi
sub ecx, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x38], ecx
jmp 0x10015005
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x30], 0
je 0x1001501f
add eax, esi
mov al, byte [eax + edi]
mov byte [esp + 0x1e], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1c], al
jmp 0x10015038
push 3
lea ecx, [esp + 0x20]
push 0xff
push ecx
call fcn.100a9900
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10015051
mov al, byte [esi + edi]
mov byte [esp + 0x1a], al
mov byte [esp + 0x19], al
mov byte [esp + 0x18], al
jmp 0x10015067
push 3
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.100a9900
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100150b2
mov esi, dword [esp + 0x3c]
test esi, esi
jne 0x1001508d
mov al, byte [edx - 2]
mov byte [esp + 0x14], al
mov al, byte [edx - 1]
mov byte [esp + 0x15], al
mov al, byte [edx]
mov byte [esp + 0x16], al
jmp 0x100150c1
xor eax, eax
mov al, byte [edi]
mov al, byte [esi + eax*4]
mov byte [esp + 0x14], al
xor eax, eax
mov al, byte [edi]
mov al, byte [esi + eax*4 + 1]
mov byte [esp + 0x15], al
xor eax, eax
mov al, byte [edi]
mov al, byte [esi + eax*4 + 2]
mov byte [esp + 0x16], al
jmp 0x100150c1
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1001510f
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x100150e7
mov al, byte [ebx]
mov byte [esp + 0x10], al
mov al, byte [ebx + 1]
mov byte [esp + 0x11], al
mov cl, byte [ecx + edx]
mov byte [esp + 0x12], cl
jmp 0x1001511e
xor edx, edx
mov dl, byte [ecx + edi]
mov al, byte [esi + edx*4]
xor edx, edx
mov byte [esp + 0x10], al
mov dl, byte [ecx + edi]
mov al, byte [esi + edx*4 + 1]
xor edx, edx
mov byte [esp + 0x11], al
mov dl, byte [ecx + edi]
mov al, byte [esi + edx*4 + 2]
mov byte [esp + 0x12], al
jmp 0x1001511e
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
add eax, ebx
push edx
push eax
call fcn.10013740
mov esi, eax
test esi, esi
jne 0x10015169
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
inc eax
inc edi
add ecx, 3
add ebx, 3
cmp eax, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
jl 0x10014ff5
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x48]
test esi, esi
jne 0x1001519d
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
mov eax, dword [esp + 0x64]
push 2
push ecx
push ebp
push edi
push edx
push eax
call fcn.10005df0
mov esi, eax
mov eax, dword [ebx + 0xc]
inc edi
cmp edi, eax
mov dword [esp + 0x48], edi
jle 0x10014ee1
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100151b3
push eax
push edi
call fcn.100a1010
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100151c2
push eax
push edi
call fcn.100a1010
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100151d1
push eax
push edi
call fcn.100a1010
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100151e0
push eax
push edi
call fcn.100a1010
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100151ef
push eax
push edi
call fcn.100a1010
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x20