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

Disassembly:
push 0xffffffffffffffff
push 0x101d74da
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xb8]
movsx esi, ax
shr eax, 0x10
movsx edi, ax
mov eax, dword [ebx + 0xb4]
cmp esi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jne 0x100dfef3
cmp edi, ecx
je 0x100e01e3
mov eax, dword [ebx + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.10020cf0
xor ebp, ebp
mov dword [esp + 0x4c], ebp
mov ecx, dword [ebx + 4]
movzx edx, di
movzx eax, si
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, eax
push edx
push ebp
push 0x1a9
push ecx
call esi
mov ecx, eax
movzx edi, ax
mov eax, dword [ebx + 0x78]
shr ecx, 0x10
cmp eax, ebp
jne 0x100dff38
xor eax, eax
jmp 0x100dff4e
mov edx, dword [ebx + 0x7c]
sub edx, eax
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jl 0x100dff64
mov dword [esp + 0x4c], 0xffffffff
lea edx, [esp + 0x10]
push edx
jmp 0x100e01de
cmp edi, 0xffffffff
je 0x100e01d1
cmp ecx, ebp
jne 0x100e01d1
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
push edi
push 0x198
push ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
sub eax, ecx
mov dword [esp + 0x24], ecx
lea ebp, [ebx + 0xa0]
mov ecx, ebp
mov dword [esp + 0x20], edx
mov esi, eax
call fcn.1001f340
mov ecx, dword [esp + 0x24]
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax + 2]
mov ecx, ebp
mov dword [esp + 0x24], edx
call fcn.1001f340
add eax, dword [esp + 0x24]
mov ecx, ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
mov dword [esp + 0x28], eax
call fcn.1001f380
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x188
sub ecx, eax
push edx
mov dword [esp + 0x30], ecx
call esi
cmp eax, edi
je 0x100e00c6
mov eax, dword [ebx + 4]
push 0
push edi
push 0x186
push eax
call esi
lea esi, [ebx + 0x74]
call fcn.100e2d30
call fcn.100de9b0
test al, al
je 0x100e01bd
mov eax, dword [ebx + 0x68]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp eax, 0xffffffff
je 0x100e0069
push eax
lea eax, [esp + 0x24]
lea esi, [esp + 0x14]
call fcn.1002b840
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100e0185
cmp dword [esp + 0x10], 0
je 0x100e01bd
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x100e01bd
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebp
push edx
jmp 0x100e01b8
mov ecx, dword [ebx + 0xb8]
mov edx, dword [ebx + 0xb4]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, dword [esp + 0x54]
je 0x100e01bd
lea esi, [ebx + 0x74]
call fcn.100e2d30
call fcn.100de9b0
test al, al
je 0x100e01bd
mov eax, dword [ebx + 0x68]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp eax, 0xffffffff
je 0x100e0137
push eax
lea eax, [esp + 0x24]
lea esi, [esp + 0x14]
call fcn.1002b840
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100e0185
cmp dword [esp + 0x10], 0
je 0x100e01bd
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x100e01bd
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebp
push edx
jmp 0x100e01b8
cmp dword [esp + 0x10], 0
je 0x100e01bd
mov ecx, dword [ebp]
test ecx, ecx
je 0x100e01bd
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebp
mov eax, dword [esp + 0x20]
push eax
call fcn.1001f250
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0xb8], edx
mov dword [ebx + 0xb4], ecx
mov dword [esp + 0x4c], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.10013210
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x40
ret 4