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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1008400c]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x20], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esi]
mov dword [esp + 0x18], esi
test eax, eax
je 0x1005f013
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x18]
push 1
mov dword [edi + 0x38], eax
call dword [sym.imp.GDI32.dll_GdiSetBatchLimit]
cmp dword [edi + 0x78], 0
mov dword [edi + 0x60], eax
jne 0x1005ec2b
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push 0
mov dword [edi + 0x78], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, edi
add eax, 0x4c
push eax
mov dword [esp + 0x18], eax
call fcn.1005fd40
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
cmp eax, dword [esi + 0xc]
jne 0x1005ec85
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x10]
jne 0x1005ec85
lea eax, [esp + 0x40]
mov byte [edi + 0x3c], 0
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
push ecx
lea eax, [esp + 0x44]
mov ecx, edi
push eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.100606e0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
jmp 0x1005edc0
cmp dword [edi + 0x7c], 0
mov edx, dword [esp + 0x20]
mov byte [edi + 0x3c], 1
mov eax, dword [edx + 0x34]
mov dword [edi + 0x48], eax
movups xmm0, xmmword [edx + 0x38]
movups xmmword [edi + 0x4c], xmm0
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
je 0x1005edb6
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x7c]
push ecx
push eax
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.100608f0
call fcn.1003b920
movsd xmm3, qword [0x10076ec0]
xorps xmm2, xmm2
movss xmm1, dword [eax + 8]
xor eax, eax
comiss xmm1, xmm2
jbe 0x1005ed04
movaps xmm0, xmm1
subss xmm0, xmm2
jmp 0x1005ed0b
xorps xmm0, xmm0
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
comisd xmm3, xmm0
seta al
test eax, eax
je 0x1005ed28
movsd xmm1, qword [0x10076f50]
mov eax, 0xa
jmp 0x1005ed7f
movss xmm2, dword [0x10076f24]
xor eax, eax
comiss xmm1, xmm2
jbe 0x1005ed43
movaps xmm0, xmm1
subss xmm0, xmm2
cvtps2pd xmm0, xmm0
jmp 0x1005ed4a
subss xmm2, xmm1
cvtps2pd xmm0, xmm2
comisd xmm3, xmm0
seta al
test eax, eax
je 0x1005ed64
movsd xmm1, qword [0x10076f50]
mov eax, 0xa
jmp 0x1005ed7f
mulss xmm1, dword [0x10077010]
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10076f50]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x30]
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
cvttsd2si ecx, xmm0
add ecx, dword [esp + 0x24]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub edx, eax
mov dword [esp + 0x44], edx
lea eax, [edx + ecx]
mov dword [esp + 0x4c], eax
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x30], xmm0
movss xmm1, dword [edi + 0x30]
xorps xmm2, xmm2
xor eax, eax
comiss xmm1, xmm2
jbe 0x1005eddb
movaps xmm0, xmm1
subss xmm0, xmm2
cvtps2pd xmm0, xmm0
jmp 0x1005ede2
subss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd xmm2, qword [0x10076ec0]
comisd xmm2, xmm0
seta al
test eax, eax
jne 0x1005ee6d
xorps xmm0, xmm0
movsd xmm2, qword [0x10076f50]
cvtsi2ss xmm0, dword [esp + 0x30]
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
addsd xmm0, xmm2
cvttsd2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
addsd xmm0, xmm2
cvttsd2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
addsd xmm0, xmm2
cvttsd2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
addsd xmm0, xmm2
cvttsd2si eax, xmm0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
mov esi, dword [edi + 0x2c]
lea eax, [edi + 0x20]
push eax
push 0x100841c8
call fcn.10051dd0
add esp, 8
movzx eax, ax
mov ecx, edi
push eax
push 0
push 0x80
push 0x90000000
push str.ZoomAnnoTextInputContainer
lea eax, [esp + 0x48]
push eax
push esi
call fcn.10051ce0
mov ecx, edi
call fcn.100609e0
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x28], edi
test edi, edi
je 0x1005f013
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [edi + 0x18], eax
test eax, eax
je 0x1005ef3c
push dword [esp + 0x14]
mov ecx, edi
call fcn.100618c0
lea esi, [edi + 0x90]
push esi
call fcn.10061b40
mov eax, dword [edi + 8]
xor ecx, ecx
mov dword [esi], 0xbc
mov dword [edi + 0x94], 0x8001003f
cmp byte [eax + 0x3c], cl
mov eax, 1
mov word [edi + 0xaa], ax
setne cl
mov dword [edi + 0xac], 0x2d0
lea ecx, [ecx*2 + 1]
mov word [edi + 0xa8], cx
push str.msftedit.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0xc], eax
test eax, eax
je 0x1005efbe
push str.CreateTextServices
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1005efbe
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push edi
push 0
mov ecx, esi
call dword [0x1006f584]
call esi
test eax, eax
jne 0x1005efbe
cmp dword [esp + 0x20], eax
je 0x1005efbe
push str.IID_ITextServices
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0x10]
push ecx
push eax
push edx
mov esi, dword [edx]
mov esi, dword [esi]
mov ecx, esi
call dword [0x1006f584]
call esi
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1006f584]
call esi
cmp dword [edi + 0x10], 0
je 0x1005f013
push dword [ebp + 0x10]
mov ecx, edi
call fcn.100617b0
mov edi, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov esi, dword [edi]
push 0
push 0
push 0xb1
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x1006f584]
mov ecx, edi
call esi
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x5c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.10069210
mov esp, ebp
pop ebp
ret 0xc