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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x1c], edx
mov ebx, 0x10
push esi
push edi
test ebp, ebp
je 0x100739f5
mov edi, dword [ebp]
mov eax, ebx
mov esi, edi
and esi, 0xf
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [esi + edi + 0x13c]
mov dword [esp + 0x18], eax
jmp 0x100739fd
mov dword [esp + 0x18], 0
test edx, edx
je 0x10073a1f
mov edx, dword [edx]
mov eax, ebx
mov ecx, edx
and ecx, 0xf
sub eax, ecx
neg ecx
sbb ecx, ecx
and ecx, eax
mov ecx, dword [ecx + edx + 0x13c]
mov dword [esp + 0x10], ecx
jmp 0x10073a27
mov dword [esp + 0x10], 0
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x28], ecx
test ebp, ebp
je 0x10073a88
mov edx, dword [ebp]
mov ecx, edx
and ecx, 0xf
sub ebx, ecx
test ecx, ecx
je 0x10073a5f
mov esi, dword [ebx + edx + 0x13c]
mov eax, ebx
jmp 0x10073a67
mov esi, dword [edx + 0x13c]
xor eax, eax
movzx eax, word [eax + edx + 0x146]
imul eax, esi
xor esi, esi
add eax, 7
shr eax, 3
test ecx, ecx
cmove ebx, esi
mov ecx, dword [ebx + edx + 0x13c]
jmp 0x10073a8c
xor eax, eax
xor ecx, ecx
xor edx, edx
div ecx
push dword [esp + 0x64]
mov ebx, eax
mov esi, ebx
push ebp
shr esi, 1
call sym.FreeImage32.dll__FreeImage_GetScanLine_8
push dword [esp + 0x64]
mov edi, eax
push dword [esp + 0x28]
mov dword [esp + 0x1c], edi
call sym.FreeImage32.dll__FreeImage_GetScanLine_8
mov ebp, dword [esp + 0x74]
mov edx, eax
mov dword [esp + 0x2c], edx
test ebp, ebp
je 0x10073afe
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x10073aed
mov edi, edx
mov ebp, eax
nop dword [eax]
push ebx
push dword [esp + 0x78]
push edi
call fcn.1026c360
add esp, 0xc
add edi, ebx
sub ebp, 1
jne 0x10073ad0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x74]
push ebx
mov edx, ebp
lea ecx, [esp + 0x3c]
call fcn.10030f10
add esp, 4
jmp 0x10073b27
mov ecx, dword [esp + 0x68]
test ecx, ecx
jle 0x10073b17
mov eax, ebx
imul eax, ecx
push eax
push 0
push edx
call fcn.1026c8e0
add esp, 0xc
push ebx
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.1026c8e0
add esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10073e26
mov eax, dword [esp + 0x68]
lea ebp, [ebx - 1]
movsd xmm2, qword [esp + 0x6c]
movsd xmm3, qword [0x103efa18]
movq xmm4, qword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
cmp ebp, 0xf
ja case.0x10073b66.4
movzx eax, byte [ebp + 0x10073ec8]
jmp dword [eax*4 + 0x10073ea4]
mov al, byte [edi]
mov byte [esp + 0x50], al
jmp case.0x10073b66.4
mov ax, word [edi]
mov word [esp + 0x50], ax
jmp case.0x10073b66.4
mov ax, word [edi]
mov word [esp + 0x50], ax
mov al, byte [edi + 2]
mov byte [esp + 0x52], al
jmp case.0x10073b66.4
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp case.0x10073b66.4
mov eax, dword [edi]
mov dword [esp + 0x50], eax
mov ax, word [edi + 4]
mov word [esp + 0x54], ax
jmp case.0x10073b66.4
mov eax, dword [edi]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x54], eax
jmp case.0x10073b66.4
movss xmm0, dword [edi]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x58], xmm0
jmp case.0x10073b66.4
movups xmm0, xmmword [edi]
movups xmmword [esp + 0x50], xmm0
xor edx, edx
test esi, esi
je 0x10073c32
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x50]
sub edi, eax
lea eax, [esp + 0x50]
lea eax, [eax + edx*2]
movzx ecx, word [edi + eax]
movzx eax, word [eax]
sub eax, ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm2
addsd xmm1, xmm0
addsd xmm1, xmm3
cvttsd2si eax, xmm1
mov word [esp + edx*2 + 0x44], ax
inc edx
cmp edx, esi
jb 0x10073bf2
movq xmm4, qword [esp + 0x44]
mov edx, dword [esp + 0x1c]
test edx, edx
js 0x10073d8c
cmp edx, dword [esp + 0x10]
jge 0x10073d8c
xor ecx, ecx
test esi, esi
je 0x10073cf5
cmp esi, 0x20
jb 0x10073ce1
mov eax, esi
and eax, 0xffffffe0
movups xmm1, xmmword [esp + ecx*2 + 0x50]
movups xmm0, xmmword [esp + ecx*2 + 0x44]
psubw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x38]
paddw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x54]
movups xmmword [esp + ecx*2 + 0x50], xmm1
movups xmm1, xmmword [esp + ecx*2 + 0x60]
psubw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x48]
paddw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x64]
movups xmmword [esp + ecx*2 + 0x60], xmm1
movups xmm1, xmmword [esp + ecx*2 + 0x70]
psubw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x58]
paddw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x74]
movups xmmword [esp + ecx*2 + 0x70], xmm1
movups xmm1, xmmword [esp + ecx*2 + 0x80]
psubw xmm1, xmm0
movups xmm0, xmmword [esp + ecx*2 + 0x68]
paddw xmm1, xmm0
movups xmmword [esp + ecx*2 + 0x80], xmm1
add ecx, 0x20
cmp ecx, eax
jb 0x10073c60
cmp ecx, esi
jae 0x10073cf5
mov ax, word [esp + ecx*2 + 0x38]
sub ax, word [esp + ecx*2 + 0x44]
add word [esp + ecx*2 + 0x50], ax
inc ecx
cmp ecx, esi
jb 0x10073ce1
mov ecx, edx
imul ecx, ebx
add ecx, dword [esp + 0x2c]
cmp ebp, 0xf
ja case.0x10073d98.4
movzx eax, byte [ebp + 0x10073efc]
jmp dword [eax*4 + 0x10073ed8]
mov al, byte [esp + 0x50]
mov byte [ecx], al
jmp case.0x10073d0e.4
mov ax, word [esp + 0x50]
mov word [ecx], ax
jmp case.0x10073d0e.4
mov ax, word [esp + 0x50]
mov word [ecx], ax
mov al, byte [esp + 0x52]
mov byte [ecx + 2], al
jmp case.0x10073d0e.4
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
jmp case.0x10073d0e.4
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov ax, word [esp + 0x54]
mov word [ecx + 4], ax
jmp case.0x10073d0e.4
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
jmp case.0x10073d0e.4
movss xmm0, dword [esp + 0x50]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [ecx + 8], xmm0
jmp case.0x10073d0e.4
movups xmm0, xmmword [esp + 0x50]
movups xmmword [ecx], xmm0
jmp case.0x10073d0e.4
cmp ebp, 0xf
ja case.0x10073d98.4
movzx eax, byte [ebp + 0x10073f2c]
jmp dword [eax*4 + 0x10073f0c]
mov eax, dword [esp + 0x44]
mov byte [esp + 0x38], al
jmp case.0x10073d98.4
mov eax, dword [esp + 0x44]
mov word [esp + 0x38], ax
jmp case.0x10073d98.4
mov eax, dword [esp + 0x44]
mov word [esp + 0x38], ax
mov al, byte [esp + 0x46]
mov byte [esp + 0x3a], al
jmp case.0x10073d98.4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
jmp case.0x10073d98.4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov word [esp + 0x3c], ax
jmp case.0x10073d98.4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
jmp case.0x10073d98.4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
movq qword [esp + 0x38], xmm4
mov edi, dword [esp + 0x14]
inc edx
add edi, ebx
mov dword [esp + 0x1c], edx
sub dword [esp + 0x20], 1
mov dword [esp + 0x14], edi
jne 0x10073b56
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x68]
add edi, ecx
js 0x10073e99
cmp edi, dword [esp + 0x10]
jge 0x10073e99
push dword [esp + 0x64]
push dword [esp + 0x28]
call sym.FreeImage32.dll__FreeImage_GetScanLine_8
mov esi, edi
lea edx, [esp + 0x38]
imul esi, ebx
push ebx
add esi, eax
mov ecx, esi
call fcn.10030f10
mov eax, dword [esp + 0x14]
add esp, 4
sub eax, edi
add esi, ebx
lea edi, [eax - 1]
test ebp, ebp
je 0x10073e8a
test edi, edi
je 0x10073e99
nop word [eax + eax]
push ebx
push ebp
push esi
call fcn.1026c360
add esp, 0xc
add esi, ebx
sub edi, 1
jne 0x10073e70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
imul edi, ebx
push edi
push 0
push esi
call fcn.1026c8e0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret