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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [esp + 0x18], ecx
cmp word [esi], 0
je 0x43f224
mov ecx, esi
call fcn.00410ac0
test al, al
je 0x43f1f2
push 0x10
push 0
push esi
call fcn.004b2a5a
add esp, 0xc
jmp 0x43f1fb
push esi
call fcn.004b2533
add esp, 4
lea edi, [eax - 1]
mov dword [esp + 0x1c], edi
test edi, edi
js 0x43f20b
cmp edi, 0x14
jl 0x43f22a
mov ecx, dword [esp + 0x18]
push esi
push 0
push str.Max_window_number_is_20.
call fcn.0043bc60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 8]
mov esi, dword [edi*4 + 0x4f7b90]
mov dword [esp + 0x18], esi
cmp word [eax], 0
jne 0x43f26c
test esi, esi
je 0x43f254
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f254
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi*4 + 0x4f7b90], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
mov dword [esp + 0x38], eax
test eax, eax
je 0x43f2a0
push 0x4c
call esi
add dword [esp + 0x38], eax
push 0x4d
mov dword [esp + 0x34], eax
call esi
push 0x4f
mov dword [esp + 0x38], eax
call esi
add eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x43f2b2
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test cx, cx
je 0x43f2d5
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x43f2d5
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x17], 0
jmp 0x43f2fc
lea eax, [esp + 0x20]
mov byte [esp + 0x17], 1
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add edi, 0x10
add esi, 0x10
movzx ecx, word [eax]
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
test cx, cx
jne 0x43f30f
cmp word [eax], cx
je 0x43f34d
push 4
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
call fcn.004931d0
mov ecx, dword [ebp + 0xc]
add esp, 4
movzx eax, word [ecx]
test ax, ax
je 0x43f337
call fcn.00410b20
mov edi, eax
add edi, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x43f34d
mov ecx, eax
call fcn.00410b20
mov esi, eax
add esi, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x50], 0x2c
mov dword [esp + 0x54], 0x20
test eax, eax
je 0x43f39e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43f43a
push 0
push 0
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 3
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [ecx*4 + 0x4f7b90], eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0x418
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, si
shl ecx, 0x10
movzx eax, di
or ecx, eax
push ecx
push 0
push 0x412
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x50]
push eax
push 1
push 0x411
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x50]
push eax
push 0
push 0x439
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x40]
xorps xmm0, xmm0
push eax
push dword [esp + 0x1c]
movaps xmmword [esp + 0x48], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
lea eax, [edx + edi]
cmp eax, dword [esp + 0x38]
jl 0x43f487
mov edi, dword [esp + 0x38]
sub edi, edx
dec edi
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x3c]
jl 0x43f497
mov esi, dword [esp + 0x3c]
sub esi, ecx
dec esi
cmp byte [esp + 0x17], 0
je 0x43f4e0
lea eax, [edx + edi]
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], eax
lea eax, [ecx + esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], esi
cmp eax, edi
jl 0x43f4e0
cmp eax, dword [esp + 0x48]
jg 0x43f4e0
mov eax, dword [esp + 0x24]
cmp eax, esi
jl 0x43f4e0
cmp eax, dword [esp + 0x4c]
jg 0x43f4e0
mov edi, dword [esp + 0x20]
mov esi, eax
sub edi, edx
sub esi, ecx
sub edi, 3
sub esi, 3
movzx ecx, si
mov esi, dword [esp + 0x18]
movzx eax, di
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x412
push esi
call edi
lea eax, [esp + 0x50]
push eax
push 1
push 0x411
push esi
call edi
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10