Function at 0x43f3b0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5614f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5b7de4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x43f625
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x43f4cd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [esi + 4]
call fcn.00411cd0
lea eax, [esi + 0x60]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x296
push 0
push 0
push 0
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x54], 0x10
lea eax, [esi + 0x40]
jb 0x43f434
mov eax, dword [eax]
push eax
push 0x474
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x43f44e
mov eax, dword [eax]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x80a9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0x58]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x70], 0
je 0x43f490
push 0
push 0x258
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esi + 0x74], 0
je 0x43f4ab
mov eax, dword [esi + 4]
push eax
push 0x80a7
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x43f605
cmp dword [ebp + 0x10], 1
jne 0x43f5e3
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x43caf0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [0x5c8760]
je 0x43f51a
test eax, eax
je 0x43f51a
mov edi, 1
jmp 0x43f51c
xor edi, edi
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43f553
test edi, edi
je 0x43f553
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push 0x56
push eax
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x60]
push eax
push 0
push 0
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x43f5d8
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x42
push eax
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x60]
push eax
push 0
mov eax, edi
xor eax, 1
push 0
sub eax, 2
push eax
push dword [esi + 4]
call ebx
mov dword [ebp + 0x10], 0x1e
test edi, edi
jne 0x43f5d8
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 8
jne 0x43f5d8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push 0x42
push eax
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x60]
push eax
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 4]
call ebx
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push 0x42
push eax
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x60]
push eax
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 4]
call ebx
sub dword [ebp + 0x10], 1
jne 0x43f582
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x10
jne 0x43f63b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esi + 4]
jne 0x43f61c
mov dword [esi + 0x78], 1
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x43f625
movzx eax, word [ebp + 0x10]
mov ecx, 0x80a7
cmp cx, ax
jne 0x43f739
mov eax, dword [esi + 0x24]
test eax, eax
je 0x43f672
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
push 0x5c86b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x5c86d0]
mov dword [ebp - 4], 0
test edi, edi
jne 0x43f69b
call fcn.00421610
mov edi, eax
mov dword [0x5c86d0], edi
inc dword [0x5c86d4]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5c86b8
call ebx
mov dword [ebp + 0x10], edi
sub esp, 0x28
mov dword [ebp - 4], 1
mov eax, esp
mov ecx, edi
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_990f24284af9dd6bff2da8243a20e64c___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.0042be90
test edi, edi
je 0x43f5e3
push 0x5c86b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5c86d4]
test eax, eax
je 0x43f710
sub eax, 1
mov dword [0x5c86d4], eax
jne 0x43f710
mov ecx, dword [0x5c86d0]
test ecx, ecx
je 0x43f710
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x5c86d0], 0
push 0x5c86b8
call ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x80a8
cmp cx, ax
jne 0x43f77b
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x80a9
cmp cx, ax
jne 0x43f625
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18