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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10340d38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x48], ebx
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x100d861b
xor al, al
jmp 0x100d8aa3
lea edi, [ebx + 0x64]
mov dword [edi], 0
mov dword [esp + 0x3c], edi
test edi, edi
je 0x100d8634
cmp dword [eax + 0x1c], 1
jne 0x100d8634
mov dword [edi], eax
cmp dword [edi], 0
je 0x100d8614
call fcn.100d9c50
mov esi, eax
cmp dword [esi + 4], 0
jne 0x100d868a
movss xmm1, dword [esi]
xor ecx, ecx
call fcn.100d9ab0
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
test ecx, ecx
je 0x100d8661
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100d8676
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
je 0x100d868a
mov ecx, dword [esi + 4]
mov dword [esi + 4], 0
test ecx, ecx
je 0x100d868a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 4]
mov dword [ebx + 0x20], eax
call fcn.100d9c50
mov esi, eax
cmp dword [esi + 8], 0
jne 0x100d86e4
movss xmm1, dword [esi]
mov ecx, 1
call fcn.100d9ab0
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
test ecx, ecx
je 0x100d86bb
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100d86d0
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
je 0x100d86e4
mov ecx, dword [esi + 8]
mov dword [esi + 8], 0
test ecx, ecx
je 0x100d86e4
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 8]
mov dword [ebx + 0x24], eax
call fcn.100d9c50
mov esi, eax
cmp dword [esi + 0xc], 0
jne 0x100d873e
movss xmm1, dword [esi]
mov ecx, 2
call fcn.100d9ab0
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x100d8715
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100d872a
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
je 0x100d873e
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x100d873e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x68], eax
mov eax, dword [edi]
mov dword [esp + 0x20], 0xa
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x40]
mov eax, 0x2aaaaaab
imul ecx
lea eax, [esp + 0x20]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [esp + 0x14]
cmp ecx, 0xa
mov dword [esp + 0x14], ecx
cmovbe eax, edx
mov ecx, dword [eax]
lea eax, [ebx + 0x7c]
mov dword [esp + 0x20], ecx
push ecx
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.100d9770
mov dword [esp + 0x40], 0
mov dword [esp + 0x80], 0
push 0
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], 1
call fcn.100d9c50
mov esi, eax
cmp dword [esi + 0x10], 0
jne 0x100d87dd
movss xmm1, dword [esi]
xor ecx, ecx
call fcn.100d9b60
mov dword [esi + 0x10], eax
mov eax, dword [edi]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x10]
lea edi, [eax + 0x28]
movdqu xmmword [esp + 0x50], xmm0
cmp dword [edi + 0x14], 8
mov edx, dword [eax + 0x38]
mov dword [esp + 0x14], edx
jb 0x100d87fd
mov edi, dword [edi]
push ecx
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x420
mov esi, eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
movss xmm1, dword [ebx + 0x28]
lea ecx, [esp + 0x18]
movss xmm2, dword [0x1058891c]
movaps xmm0, xmm1
mulss xmm0, dword [0x10588c8c]
push ecx
mov dword [esp + 0x1c], 0
addss xmm0, xmm2
cvttss2si esi, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x10588c3c]
mulss xmm0, dword [0x10588c68]
addss xmm1, xmm2
addss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [esp + 0x2c], eax
cvttss2si eax, xmm1
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x18], eax
push dword [eax + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
mov ecx, eax
test ecx, ecx
je 0x100d88a1
mov eax, dword [esp + 0x14]
mov dword [eax + 8], ecx
movss xmm1, dword [ebx + 0x28]
mov ecx, dword [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [0x10588cf0]
add ecx, dword [esp + 0x18]
mulss xmm1, dword [0x10588c54]
mov edx, dword [esp + 0x28]
addss xmm0, dword [0x1058891c]
mov dword [esp + 0x30], ecx
addss xmm1, dword [0x1058891c]
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], edx
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
add eax, esi
add esi, ecx
mov dword [ebx + 0x74], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
cvttss2si ecx, xmm1
add eax, edx
mov dword [esp + 0x18], esi
mov dword [ebx + 0x78], eax
add ecx, eax
mov dword [esp + 0x24], ecx
call fcn.100d9c50
mov esi, eax
cmp dword [esi + 0x18], 0
jne 0x100d892f
movss xmm1, dword [esi]
mov ecx, 2
call fcn.100d9b60
mov dword [esi + 0x18], eax
cmp dword [esp + 0x20], 0
mov esi, dword [esi + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], 0
jbe 0x100d8a7a
mov eax, dword [esp + 0x30]
xor edi, edi
add eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], ecx
lea ecx, [ecx]
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x60], xmm0
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov edx, dword [eax + ecx + 0x58]
lea ebx, [eax + 0x48]
add ebx, ecx
mov dword [esp + 0x34], edx
cmp dword [ebx + 0x14], 8
jb 0x100d8987
mov ebx, dword [ebx]
push esi
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x420
mov esi, eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov eax, dword [edx]
inc ebx
mov dword [esp + 0x28], ebx
mov dword [edi + eax], esi
mov eax, dword [edx]
add esi, dword [esp + 0x4c]
mov dword [esp + 0x18], esi
mov dword [edi + eax + 4], ecx
mov ecx, dword [edx]
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
add eax, dword [edi + ecx]
mov dword [edi + ecx + 8], eax
mov ecx, dword [edx]
xor edx, edx
mov eax, dword [edi + ecx + 4]
sub eax, dword [esp + 0x64]
add eax, dword [esp + 0x6c]
mov dword [edi + ecx + 0xc], eax
mov eax, ebx
mov ecx, 5
div ecx
test edx, edx
jne 0x100d8a5a
mov eax, dword [esp + 0x48]
movss xmm1, dword [eax + 0x28]
movaps xmm0, xmm1
mulss xmm1, dword [0x10588c4c]
mulss xmm0, dword [0x10588c8c]
addss xmm1, dword [0x1058891c]
addss xmm0, dword [0x1058891c]
cvttss2si esi, xmm1
cvttss2si eax, xmm0
add eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
add esi, dword [edi + eax + 0xc]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x14]
add edi, 0x10
mov esi, dword [esp + 0x38]
add ecx, 0x60
mov dword [esp + 0x14], ecx
cmp ebx, dword [esp + 0x20]
jb 0x100d8960
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x80], 2
push edi
push 0
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x80], 0xffffffff
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1033d458
mov esp, ebp
pop ebp
ret