Function at 0x442130
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 edi, ecx
mov al, byte [esi]
test al, al
je 0x4421d1
mov ecx, esi
nop dword [eax]
cmp al, 0x20
je 0x442158
cmp al, 9
jne 0x44215e
mov al, byte [ecx + 1]
inc ecx
jmp 0x442150
test al, al
je 0x4421a2
cmp al, 0x2d
je 0x44216a
cmp al, 0x2b
jne 0x442171
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4421a2
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x442180
cmp al, 0x58
jne 0x4421a2
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x4421a2
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x4421ac
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
js 0x4421ba
cmp eax, 0x14
jl 0x4421d7
push esi
push 0
push str.Max_window_number_is_20.
mov ecx, edi
call fcn.0043eaa0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [eax*4 + 0x4ca958]
mov dword [esp + 0x18], esi
cmp byte [ecx], 0
jne 0x44221c
test esi, esi
je 0x442204
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442200
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x1c]
mov dword [eax*4 + 0x4ca958], 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 0x442250
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 0x442262
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]
mov al, byte [eax]
test al, al
je 0x44228b
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x44228b
mov esi, dword [esp + 0x2c]
xorps xmm0, xmm0
mov edi, dword [esp + 0x28]
mov byte [esp + 0x17], 0
movlpd qword [esp + 0x20], xmm0
jmp 0x4422cc
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
add edi, 0x10
add esi, 0x10
movlpd qword [esp + 0x20], xmm0
mov al, byte [eax]
mov byte [esp + 0x17], 1
test al, al
jne 0x4422cc
mov eax, dword [ebp + 0x10]
mov byte [esp + 0x17], 1
cmp byte [eax], 0
je 0x442357
push 4
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.0049f9e0
mov eax, dword [ebp + 0xc]
add esp, 4
mov al, byte [eax]
test al, al
je 0x442354
mov edi, dword [ebp + 0xc]
mov ecx, edi
nop dword [eax]
cmp al, 0x20
je 0x4422f8
cmp al, 9
jne 0x4422fe
mov al, byte [ecx + 1]
inc ecx
jmp 0x4422f0
test al, al
je 0x442342
cmp al, 0x2d
je 0x44230a
cmp al, 0x2b
jne 0x442311
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x442342
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x442320
cmp al, 0x58
jne 0x442342
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x442342
push 0x10
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x44234c
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edi, dword [esp + 0x20]
mov ecx, eax
add edi, ecx
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
test al, al
je 0x4423c6
mov esi, dword [ebp + 0x10]
mov ecx, esi
cmp al, 0x20
je 0x44236a
cmp al, 9
jne 0x442370
mov al, byte [ecx + 1]
inc ecx
jmp 0x442362
test al, al
je 0x4423b4
cmp al, 0x2d
je 0x44237c
cmp al, 0x2b
jne 0x442383
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4423b4
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x442392
cmp al, 0x58
jne 0x4423b4
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x4423b4
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
jmp 0x4423be
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov esi, dword [esp + 0x24]
mov ecx, eax
add esi, ecx
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 0x442417
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4424b3
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_CreateWindowExA]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [ecx*4 + 0x4ca958], eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
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_SendMessageA]
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_SendMessageA]
lea eax, [esp + 0x50]
push eax
push 1
push 0x411
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x50]
push eax
push 0
push 0x40c
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
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 0x442500
mov edi, dword [esp + 0x38]
sub edi, edx
dec edi
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x3c]
jl 0x442510
mov esi, dword [esp + 0x3c]
sub esi, ecx
dec esi
cmp byte [esp + 0x17], 0
je 0x442559
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 + 0x28]
mov dword [esp + 0x44], esi
cmp eax, edi
jl 0x442559
cmp eax, dword [esp + 0x48]
jg 0x442559
mov eax, dword [esp + 0x2c]
cmp eax, esi
jl 0x442559
cmp eax, dword [esp + 0x4c]
jg 0x442559
mov edi, dword [esp + 0x28]
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_SendMessageA]
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