Function at 0x100388c0
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.100398a0
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.100060e0
mov ebp, dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, 0x6020000
jb 0x1003897f
push 0
push 0
push 0
push 0
mov edi, 0x3e8
call ebp
mov esi, eax
test esi, esi
je 0x1003898f
mov ecx, edi
dec edi
test ecx, ecx
je 0x1003898f
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100386e0
test eax, eax
je 0x1003898f
push 0
push 0
push esi
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x10038958
jmp 0x1003898f
lea eax, [esp + 0x18]
push eax
push fcn.100386e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10038ace
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 0x10038c01
test eax, eax
je 0x10038beb
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 0x10038beb
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
jae 0x10038a39
mov edx, dword [0x10055faa]
nop
movzx eax, word [ecx]
test ax, ax
je 0x10038a39
cmp eax, 0x20
je 0x10038a32
cmp ax, dx
jne 0x10038a39
add ecx, ebp
cmp ecx, 0xffffffff
jb 0x10038a20
sub ecx, dword [esp + 0x3c]
sar ecx, 1
cmp ecx, esi
jae 0x10038beb
lea ecx, [esi - 1]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10038a85
mov esi, dword [sym.imp.msvcrt.dll_wcsncmp]
jmp 0x10038a60
mov eax, dword [esp + 0x3c]
push 3
push 0x10058224
lea eax, [eax + ecx*2]
push eax
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x10038a85
sub ecx, 1
mov dword [esp + 0x30], ecx
jne 0x10038a60
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.100386e0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10038ac0
mov edi, eax
jmp 0x10038beb
mov eax, dword [esp + 0x28]
test eax, eax
cmovne edi, eax
jmp 0x10038beb
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x10038b95
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push fcn.100386e0
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 0x10038beb
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10038b4a
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.100386e0
test eax, eax
je 0x10038b3e
push esi
call edi
mov esi, eax
test esi, esi
jne 0x10038b26
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x10038beb
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push fcn.100386e0
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 0x10038beb
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 0x10038be3
mov ecx, ebx
dec ebx
test ecx, ecx
je 0x10038be3
lea eax, [esp + 0x18]
push eax
push fcn.100386e0
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
test eax, eax
je 0x10038be3
push 0
push str.ApplicationFrameWindow
push esi
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x10038bb5
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 0x10038c07
push ecx
call esi
add esp, 4
jmp 0x10038c07
mov esi, dword [sym.imp.msvcrt.dll_free]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10038c15
push eax
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret