Function at 0x100369b0
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
call fcn.10037990
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
mov word [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 1
mov word [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x48], 0
call fcn.10006060
mov ebp, dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, 0x6020000
jb 0x10036a6f
push 0
push 0
push 0
push 0
mov edi, 0x3e8
call ebp
mov esi, eax
test esi, esi
je 0x10036a7f
mov ecx, edi
dec edi
test ecx, ecx
je 0x10036a7f
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100367d0
test eax, eax
je 0x10036a7f
push 0
push 0
push esi
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x10036a48
jmp 0x10036a7f
lea eax, [esp + 0x18]
push eax
push fcn.100367d0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10036bbe
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [sym.imp.msvcrt.dll_malloc]
add eax, 0x14
xor ecx, ecx
mov dword [esp + 0x44], eax
mov ebp, 2
mul ebp
seto cl
neg ecx
or ecx, eax
push ecx
call esi
mov dword [esp + 0x40], eax
xor ecx, ecx
mov eax, dword [esp + 0x48]
add esp, 4
mul ebp
seto cl
neg ecx
or ecx, eax
push ecx
call esi
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x10036cf1
test eax, eax
je 0x10036cdb
push dword [esp + 0x44]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x10036cdb
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
jae 0x10036b29
mov edx, dword [0x10053f02]
nop
movzx eax, word [ecx]
test ax, ax
je 0x10036b29
cmp eax, 0x20
je 0x10036b22
cmp ax, dx
jne 0x10036b29
add ecx, ebp
cmp ecx, 0xffffffff
jb 0x10036b10
sub ecx, dword [esp + 0x3c]
sar ecx, 1
cmp ecx, esi
jae 0x10036cdb
lea ecx, [esi - 1]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10036b75
mov esi, dword [sym.imp.msvcrt.dll_wcsncmp]
jmp 0x10036b50
mov eax, dword [esp + 0x3c]
push 3
push 0x10055dd4
lea eax, [eax + ecx*2]
push eax
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x10036b75
sub ecx, 1
mov dword [esp + 0x30], ecx
jne 0x10036b50
xor eax, eax
mov dword [esp + 0x28], 0
test ecx, ecx
mov dword [esp + 0x18], 0
cmovne eax, ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push fcn.100367d0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10036bb0
mov edi, eax
jmp 0x10036cdb
mov eax, dword [esp + 0x28]
test eax, eax
cmovne edi, eax
jmp 0x10036cdb
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x10036c85
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push fcn.100367d0
push ebx
mov dword [esp + 0x38], ebp
mov byte [esp + 0x40], 1
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x10036cdb
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10036c3a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100367d0
test eax, eax
je 0x10036c2e
push esi
call edi
mov esi, eax
test esi, esi
jne 0x10036c16
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x10036cdb
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push fcn.100367d0
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x18]
jmp 0x10036cdb
push 0
push str.ApplicationFrameWindow
push 0
push 0
mov ebx, 0x3e8
mov dword [esp + 0x3c], 0
call ebp
mov esi, eax
test esi, esi
je 0x10036cd3
mov ecx, ebx
dec ebx
test ecx, ecx
je 0x10036cd3
lea eax, [esp + 0x18]
push eax
push fcn.100367d0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
test eax, eax
je 0x10036cd3
push 0
push str.ApplicationFrameWindow
push esi
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x10036ca5
cmp dword [esp + 0x18], 0
cmovne edi, esi
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.msvcrt.dll_free]
test ecx, ecx
je 0x10036cf7
push ecx
call esi
add esp, 4
jmp 0x10036cf7
mov esi, dword [sym.imp.msvcrt.dll_free]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10036d05
push eax
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret