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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1065e7ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], eax
call fcn.1019b49a
xor ecx, ecx
test eax, eax
jne 0x101fd543
mov edx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x101fd549
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x18], edx
test dword [edi + 0x38], 0x400000
je 0x101fd559
xor eax, eax
jmp 0x101fd79d
push ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x101fd5d1
cmp dword [esi + 0x14], ecx
jne 0x101fd5d1
test dword [ebx + 0x38], 0x4000
jne 0x101fd5d1
push 0xc
pop ecx
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x70], 0x3c
mov ecx, ebx
mov dword [ebp - 0x5c], 3
mov al, byte [edx + 0x5c]
mov byte [ebp - 0x48], al
lea eax, [ebp - 0x14]
push 4
push eax
call fcn.101fbbb3
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.101fbd8a
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [ebp - 0x30]
lea esi, [ebp - 0x70]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x101fd5e2
test byte [edi + 0x3c], 0xc
je 0x101fd79a
test ebx, ebx
je 0x101fd69a
cmp ecx, 3
je 0x101fd61a
cmp ecx, 2
jne 0x101fd69a
mov al, byte [esi + 0x28]
cmp al, byte [edx + 0x5c]
jne 0x101fd69a
cmp ecx, 3
je 0x101fd61a
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.101fbd8a
cmp dword [esi + 0x14], 3
jne 0x101fd75a
cmp dword [ebp - 0x38], 0
je 0x101fd636
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebp - 0x30]
jmp 0x101fd697
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x101fd679
add esi, 0xffffffe0
jmp 0x101fd67b
push 4
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.101fbbb3
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.101fbd8a
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x101fd690
mov esi, dword [esi + 0x24]
jmp 0x101fd639
xor esi, esi
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x101fd642
push esi
push esi
mov ecx, edi
call fcn.101fdba2
jmp 0x101fd75a
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
jmp 0x101fd684
cmp ecx, 4
jne 0x101fd6de
test ebx, ebx
je 0x101fd6de
push ecx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.101fbbb3
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.101fbd8a
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x101fd75a
inc eax
jmp 0x101fd79c
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push 0x10000006
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.101fb5a5
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x101fd71e
test dword [esi + 0x38], 0x4000
jne 0x101fd71e
mov ecx, dword [esi + 0x3c]
shr ecx, 5
test cl, 1
jne 0x101fd71e
call fcn.101ae9d5
test al, al
je 0x101fd71e
mov cl, 1
jmp 0x101fd720
xor cl, cl
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x101fd72f
cmp eax, 4
jne 0x101fd777
test cl, cl
je 0x101fd777
push 0
push 0
mov ecx, edi
call fcn.101fdba2
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.101fd0e9
mov ebx, eax
test ebx, ebx
jne 0x101fd75e
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 5
jne 0x101fd79a
mov ebx, dword [edi + 0x78]
test ebx, ebx
je 0x101fd79a
cmp dword [ebp + 0x14], 0
je 0x101fd79a
push dword [ebp - 0x1c]
mov ecx, edi
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x2c]
call fcn.101fd7af
jmp 0x101fd79c
cmp eax, 2
je 0x101fd73e
cmp eax, 5
je 0x101fd73e
cmp eax, 8
je 0x101fd73e
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.101fdba2
mov ebx, dword [ebp - 0x18]
jmp 0x101fd74a
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.102790a9
mov esp, ebp
pop ebp
ret 0x10