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

Disassembly:
sub esp, 0x78
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
mov ebx, dword [esp + 0x80]
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x88]
push esi
push edi
push eax
push dword [ebx + 4]
mov edi, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x10219147
mov dword [ebx + 8], eax
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push dword [ebx + 4]
mov dword [esp + 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x10219168
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x34]
push eax
push 0x26200a
push 3
lea eax, [esp + 0x28]
mov dword [esp + 0x34], esi
mov esi, dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call esi
test eax, eax
jne 0x1021933c
lea eax, [esp + 0x4c]
push eax
push 0x26200a
push 1
lea eax, [esp + 0x28]
push eax
push dword [ebp + 4]
call esi
test eax, eax
je 0x102191d8
mov dword [ebp + 8], eax
lea eax, [esp + 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
jmp 0x10219338
mov edx, dword [edi + 4]
lea ecx, [esp + 0x64]
mov eax, dword [edx + 0x18]
push dword [eax + 8]
push dword [eax + 4]
call fcn.101f1ac0
mov ecx, dword [esp + 0x30]
add esp, 8
xor ebp, ebp
test ecx, ecx
jle 0x10219313
movss xmm1, dword [0x10588d00]
mov eax, dword [esp + 0x24]
lea ebx, [ebx]
mov edi, dword [esp + 0x3c]
xor ebx, ebx
mov esi, dword [esp + 0x54]
imul edi, ebp
imul esi, ebp
add edi, 3
inc esi
test eax, eax
jle 0x10219306
add edi, dword [esp + 0x44]
add esi, dword [esp + 0x5c]
mov cl, byte [esp + 0x94]
jmp 0x10219240
mov al, byte [esi + 2]
test cl, cl
je 0x102192bd
movzx eax, byte [esi - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, byte [esi]
divss xmm0, xmm1
movss dword [esp + 0x78], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, byte [esi + 1]
divss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
movd xmm0, eax
lea eax, [esp + 0x78]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x6c]
push eax
divss xmm0, xmm1
movss dword [esp + 0x8c], xmm0
call dword [esp + 0x70]
movss xmm0, dword [esp + 0x20]
add esp, 0xc
movss xmm2, dword [0x10588d00]
mov cl, byte [esp + 0x94]
mulss xmm0, xmm2
cvttss2si eax, xmm0
jmp 0x102192c5
movss xmm2, dword [0x10588d00]
movzx eax, al
inc ebx
add esi, 4
movd xmm1, eax
movzx eax, byte [edi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
divss xmm1, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x10588d00]
mov byte [edi], al
add edi, 4
mov eax, dword [esp + 0x24]
cmp ebx, eax
jl 0x10219240
mov ecx, dword [esp + 0x28]
inc ebp
cmp ebp, ecx
jl 0x10219210
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x4c]
mov esi, dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
push eax
push dword [edi + 4]
call esi
test eax, eax
je 0x1021932e
mov dword [edi + 8], eax
lea eax, [esp + 0x34]
push eax
push dword [ebx + 4]
call esi
test eax, eax
je 0x1021933f
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0x78
ret 0xc