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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x10340d68
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], eax
movdqu xmm0, xmmword [ecx]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
movdqu xmmword [edi + 0x30], xmm0
push 0
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x58]
mov dword [esp + 0x18], esi
push eax
mov dword [esp + 0x40], ecx
movdqu xmmword [edi + 0x40], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
push dword [esp + 0x38]
lea eax, [esp + 0x58]
push dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100d8b7c
mov eax, dword [esp + 0x60]
inc eax
push eax
mov eax, dword [esp + 0x60]
inc eax
push eax
mov eax, dword [esp + 0x60]
dec eax
push eax
mov eax, dword [esp + 0x60]
dec eax
push eax
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [esp + 0x10]
lea eax, [esp + 0x58]
push dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
setne al
mov byte [esp + 0x2b], al
test al, al
je 0x100d8e2e
cmp byte [edi + 4], 0
jne 0x100d8bb2
mov ecx, dword [edi + 0x10]
call fcn.100d7bd0
mov byte [edi + 4], 1
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
call fcn.100d9c50
mov esi, eax
cmp dword [esi + 0x10], 0
jne 0x100d8be3
movss xmm1, dword [esi]
xor ecx, ecx
call fcn.100d9b60
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x64]
movdqu xmm0, xmmword [edi + 0x6c]
mov esi, dword [esi + 0x10]
add eax, 0x28
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
movdqu xmmword [esp + 0x44], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x666666
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x100d8c46
mov eax, dword [eax]
push 0
push 0xff
push 0
push 0x20
push eax
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.1019c960
add esp, 0x14
push dword [esp + 0xc]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xd9902b
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x64]
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], eax
call fcn.100d9c50
mov dword [esp + 0x20], eax
cmp dword [eax + 0x14], 0
jne 0x100d8cbb
movss xmm1, dword [eax]
mov ecx, 1
call fcn.100d9b60
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x14], eax
mov eax, ecx
push dword [eax + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], eax
jle 0x100d8d5d
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], edx
cmp eax, dword [edi + 0x60]
je 0x100d8d44
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x40]
add eax, 0x48
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x7c]
movdqu xmm0, xmmword [eax + ecx]
mov eax, dword [esp + 0x10]
movdqu xmmword [esp + 0x64], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 8
jb 0x100d8d27
mov eax, dword [eax]
push 0x20
lea ecx, [esp + 0x68]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
inc eax
add edx, 0x60
add ecx, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0xc], ecx
cmp eax, dword [esp + 0x2c]
jl 0x100d8ce5
push dword [esp + 0x24]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x60]
test edx, edx
js 0x100d8e1b
cmp edx, dword [esp + 0x2c]
jge 0x100d8e1b
mov eax, dword [edi + 0x64]
lea ecx, [edx + edx*2]
shl ecx, 5
shl edx, 4
add edx, dword [edi + 0x7c]
mov eax, dword [eax + 0x40]
add eax, 0x48
add eax, ecx
movdqu xmm0, xmmword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
movdqu xmmword [esp + 0x64], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.100d9c50
mov dword [esp + 0xc], eax
cmp dword [eax + 0x18], 0
jne 0x100d8ddc
movss xmm1, dword [eax]
mov ecx, 2
call fcn.100d9b60
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x18], eax
mov eax, ecx
push dword [eax + 0x18]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], 8
jb 0x100d8df6
mov eax, dword [eax]
push 0
push 0xff
push 0
push 0x20
push eax
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.1019c960
add esp, 0x14
push dword [esp + 0x1c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, eax
mov dword [esp + 0x48], esi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x90], 1
cmp byte [esp + 0x2b], 0
je 0x100d9071
mov eax, dword [esp + 0x10]
push 0
sub esp, 8
movd xmm0, dword [eax + 4]
movd xmm1, dword [eax]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push ecx
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
test eax, eax
push 0
cmovne esi, eax
mov dword [esp + 0x4c], esi
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
sub ecx, dword [edx + 4]
mov eax, dword [edx + 8]
sub eax, dword [edx]
push ecx
push eax
push 0
push 0
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipSetClipRectI]
test eax, eax
cmovne esi, eax
mov eax, 0x2aaaaaab
mov dword [esp + 0x48], esi
mov ecx, dword [edi + 0x64]
mov edx, dword [ecx + 0x44]
sub edx, dword [ecx + 0x40]
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x100d9047
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 0x7c]
add eax, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
mov eax, dword [edi + 0x68]
push ecx
mov dword [esp + 0x1c], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test ecx, ecx
je 0x100d8f26
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x68]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, eax
test ecx, ecx
je 0x100d8f50
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
movss xmm0, dword [edi + 0x28]
mulss xmm0, dword [0x10588c3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], 0
addss xmm0, dword [0x1058891c]
mov ecx, dword [edx]
cvttss2si eax, xmm0
sub ecx, eax
mov eax, dword [edx + 0xc]
sub eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 4]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x68]
push ecx
mov dword [esp + 0x1c], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
mov ecx, eax
test ecx, ecx
je 0x100d8fba
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x68]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 0
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test ecx, ecx
je 0x100d8fec
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x68]
test eax, eax
je 0x100d8ff8
mov eax, dword [eax + 4]
jmp 0x100d8ffa
xor eax, eax
push 0
push 0
push 0
push 2
push dword [esp + 0x34]
push dword [esp + 0x44]
push 0
push 0
push dword [esp + 0x4c]
push dword [esp + 0x34]
push dword [esp + 0x68]
push dword [esp + 0x68]
push eax
push dword [esp + 0x48]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectRectI]
mov ecx, dword [esp + 0x20]
test eax, eax
cmovne esi, eax
add ecx, 0x10
dec dword [esp + 0x1c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x20], ecx
jne 0x100d8ef3
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipResetClip]
test eax, eax
cmovne esi, eax
mov dword [esp + 0x48], esi
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipResetWorldTransform]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne esi, eax
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
cmp eax, dword [edx + 8]
jle 0x100d909d
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.100d7de0
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.100d7e90
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x90], 0xffffffff
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret 0x10