Function at 0x100e7f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cf938
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], esi
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [eax + 4], 0
mov dword [eax], 0
cmp dword [esi + 0x30], 0
je 0x100e816c
mov ecx, dword [esi + 0x18]
mov eax, ecx
shr eax, 1
test al, 1
je 0x100e7f8e
mov dword [edi + 4], 3
mov dword [esi + 0x1c], 3
jmp 0x100e816c
shr ecx, 2
test cl, 1
je 0x100e7fa1
mov dword [edi], 3
jmp 0x100e816c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x100e816c
movzx ecx, byte [esi + 0x4b]
xorps xmm0, xmm0
movzx eax, byte [esi + 0x49]
mov dl, byte [esi + 0x48]
push ecx
movzx ecx, byte [esi + 0x4a]
push ecx
push eax
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x30], xmm0
call fcn.100e9440
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
mov byte [ebp - 0x49], 0
mov eax, dword [eax]
call eax
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100e815d
lea ecx, [ebp - 0x48]
call fcn.10003ac0
test al, al
jne 0x100e809e
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa4]
call eax
mov cl, byte [esi + 0x18]
and cl, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x49], cl
je 0x100e8033
mov ecx, eax
call fcn.100e42f0
mov dword [ebp - 0x1c], eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.10003ad0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100e4660
mov esi, dword [ebp - 0x18]
add esp, 0xc
cmp byte [ebp - 0x49], 0
mov dword [esi + 4], eax
je 0x100e8064
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
sub eax, dword [ebp - 0x30]
mov dword [esi], eax
xor esi, esi
lea eax, [ebp - 0x20]
mov byte [ebp - 0x49], 0
push eax
push 0x34
push 0x101ecb48
push dword [ebp - 0x50]
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
test eax, eax
mov eax, dword [ebp - 0x18]
cmovne esi, dword [ebp - 0x1c]
add dword [edi], esi
add dword [eax], esi
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
test byte [esi + 0x18], 1
mov ecx, eax
mov dword [ebp - 0x18], ecx
je 0x100e80ce
call fcn.100e42f0
mov ecx, eax
mov byte [ebp - 0x49], 1
mov dword [ebp - 0x18], ecx
push ecx
lea eax, [esi + 0x4c]
mov edx, ecx
mov ecx, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100e4660
add esp, 0xc
mov dword [edi + 4], eax
cmp byte [ebp - 0x49], 0
je 0x100e80f6
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x50]
sub eax, dword [ebp - 0x30]
push dword [ebp - 0x5c]
add eax, 8
add dword [edi], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [edi + 4]
cmp ecx, eax
jge 0x100e8130
mov dword [edi + 4], eax
mov ecx, eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x460]
test ecx, ecx
je 0x100e815d
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
push edx
push dword [esi + 0x2c]
push dword [esi + 4]
mov eax, dword [eax]
call eax
test al, al
je 0x100e815d
mov eax, dword [ebp - 0x18]
add dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003b10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8