Function at 0x10021d60
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044614
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x10059008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x210
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x240], eax
call fcn.10022ac0
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x238]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 4], 3
lea eax, [ebp - 0x238]
push eax
push 0x10021980
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebx]
cmp esi, ebx
je 0x10022139
mov ecx, dword [edi + 0x34]
lea eax, [esi + 0x20]
sub ecx, 0
je 0x10021e42
sub ecx, 1
jne 0x10021e97
cmp dword [eax + 0x14], 8
jb 0x10021e2a
mov eax, dword [eax]
cmp dword [edi + 0x30], 8
lea ecx, [edi + 0x1c]
jb 0x10021e35
mov ecx, dword [ecx]
mov edx, eax
call fcn.10021590
test al, al
je 0x10021e97
jmp 0x10021e4f
push eax
lea ecx, [edi + 0x1c]
call fcn.1000a4a0
test eax, eax
jne 0x10021e97
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
call fcn.10021490
test al, al
je 0x10021e94
mov eax, dword [edi + 0x50]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x23c], ecx
cmp eax, 0xffffffff
je 0x10021ee9
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x10021e87
push ecx
call ebx
test eax, eax
jne 0x10021ee9
mov ecx, dword [ebp - 0x23c]
cmp dword [edi + 0x50], 0
jne 0x10021e94
push ecx
call ebx
test eax, eax
je 0x10021ee9
mov ebx, dword [ebp - 0x30]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10021ec4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10021ec0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10021ec0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10021eb0
mov esi, eax
jmp 0x10021edc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10021edc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10021ed0
cmp esi, ebx
jne 0x10021e12
jmp 0x10022139
mov eax, dword [0x1005b56c]
test al, 1
jne 0x10021f2a
or eax, 1
mov dword [0x1005b56c], eax
mov byte [ebp - 4], 4
push 0x40
push 0
push 0x1005b4d0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.1000b0b0
push 0x10047c40
call fcn.1003edeb
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [0x1005b56c]
cmp dword [0x1005b4f0], 1
jg 0x10022139
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 5
lea edi, [esi + 0x3c]
cmp dword [edi + 0x14], 8
jb 0x10021f68
mov edi, dword [edi]
cmp dword [esi + 0x34], 8
lea ebx, [esi + 0x20]
jb 0x10021f73
mov ebx, dword [ebx]
test al, 1
jne 0x10021faa
or eax, 1
mov dword [0x1005b56c], eax
mov byte [ebp - 4], 6
push 0x40
push 0
push 0x1005b4d0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.1000b0b0
push 0x10047c40
call fcn.1003edeb
add esp, 4
mov byte [ebp - 4], 5
push edi
push ebx
push dword [esi + 0x18]
lea eax, [ebp - 0x28]
push dword [esi + 0x14]
push 0x1004b8ac
push eax
call fcn.10028420
add esp, 0x18
mov dword [ebp - 0x248], 0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x244], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10022004
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.10003250
mov byte [ebp - 4], 7
mov eax, dword [0x1005b56c]
test al, 1
jne 0x10022060
or eax, 1
mov dword [0x1005b56c], eax
mov byte [ebp - 4], 8
push 0x40
push 0
push 0x1005b4d0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.1000b0b0
push 0x10047c40
call fcn.1003edeb
add esp, 4
mov byte [ebp - 4], 7
push 0xbf
push str.RC::RCWndUtils::FindWindowW
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softinstaller_rcwndutils.cpp
lea eax, [ebp - 0x258]
mov ecx, 0x1005b4d0
push eax
push 1
call fcn.1000be40
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x100220c8
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100220be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100220be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003ee00
add esp, 8
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10022125
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002211b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002211b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003ee00
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0xb
mov ecx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 4]
call fcn.10022b40
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x30]
mov dword [eax], esi
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 8], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebp - 0x30]
call fcn.1003ee00
mov eax, dword [ebp - 0x23c]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003ea51
mov esp, ebp
pop ebp
ret