Function at 0x97d750
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x97d759
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00409208
xor eax, eax
push ebp
push 0x97db90
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0xffffffff
mov dl, 1
mov eax, dword [0x4446a4]
call fcn.004531b0
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [0xa4a794], eax
mov eax, dword [0xa4a62c]
movzx eax, byte [eax + 0x470]
mov byte [0xa4a798], al
mov eax, dword [0xa4a62c]
mov eax, dword [eax + 0x474]
mov dword [0xa4a79c], eax
mov eax, dword [0xa4a62c]
mov eax, dword [eax + 0x478]
mov dword [0xa4a7a0], eax
cmp byte [ebp + 0xc], 0
je 0x97d8a6
mov ecx, esi
mov dl, 1
mov eax, dword [0x778c50]
call fcn.0077ad78
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
push ebx
push 0x97d508
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x97d892
inc eax
mov dword [ebp - 0x20], eax
xor esi, esi
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov ecx, 0
call fcn.00409d88
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
call fcn.0077b6d8
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00409d88
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.0077b064
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0077b38c
test eax, eax
jl 0x97d885
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0x30]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.00409504
jmp 0x97d892
push 1
call sub.KERNEL32.DLL_Sleep
inc esi
dec dword [ebp - 0x20]
jne 0x97d815
mov eax, ebx
call fcn.00407470
mov eax, dword [ebp - 0x1c]
call fcn.00407470
jmp 0x97db55
mov esi, dword [ebp - 4]
test esi, esi
je 0x97d8b2
sub esi, 4
mov esi, dword [esi]
mov edi, dword [ebp - 4]
test edi, edi
je 0x97d8be
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0040a6b4
mov eax, dword [ebp - 0x34]
mov edx, 0x97dbb0
call fcn.0040a67c
jne 0x97da2b
mov esi, dword [ebp - 4]
test esi, esi
je 0x97d8ed
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a6b4
mov eax, dword [ebp - 4]
test eax, eax
je 0x97d90d
sub eax, 4
mov eax, dword [eax]
inc eax
call fcn.00425904
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.00425600
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.user32.dll_FindWindowW
test eax, eax
jbe 0x97d974
cmp dword [0xa4a794], 2
jl 0x97d95f
cmp dword [0xa4a794], 2
jl 0x97da1e
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.user32.dll_FindWindowW
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x97da1e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00409504
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x97da1e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
push ebx
push 0x97d508
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x14], 0xffffffff
jmp 0x97d9ef
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00422c98
mov eax, dword [ebp - 0x38]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00422c98
mov eax, dword [ebp - 0x40]
pop edx
call fcn.0040a860
test eax, eax
jle 0x97d9d5
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x97d9d6
inc esi
mov eax, dword [0xa403fc]
mov eax, dword [eax]
call fcn.00548840
cmp byte [ebp + 8], 0
je 0x97d9ef
push 1
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp - 0x10]
dec eax
cmp esi, eax
jge 0x97da02
cmp dword [ebp - 0x14], 1
sbb eax, eax
inc eax
cmp al, 1
je 0x97d99b
cmp esi, dword [ebp - 0x10]
jge 0x97da1e
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.00409504
mov eax, dword [ebp - 0x18]
call fcn.00425954
jmp 0x97db36
mov eax, dword [ebp - 4]
test eax, eax
je 0x97da37
sub eax, 4
mov eax, dword [eax]
inc eax
call fcn.00425904
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.00425600
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.user32.dll_FindWindowW
test eax, eax
jbe 0x97da9e
cmp dword [0xa4a794], 2
jl 0x97da89
cmp dword [0xa4a794], 2
jl 0x97db2e
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.user32.dll_FindWindowW
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x97db2e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00409504
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x97db2e
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
push ebx
push 0x97d508
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x14], 0xffffffff
jmp 0x97daff
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0040a67c
jne 0x97dae5
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x97dae6
inc esi
mov eax, dword [0xa403fc]
mov eax, dword [eax]
call fcn.00548840
cmp byte [ebp + 8], 0
je 0x97daff
push 1
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp - 0x10]
dec eax
cmp esi, eax
jge 0x97db12
cmp dword [ebp - 0x14], 1
sbb eax, eax
inc eax
cmp al, 1
je 0x97dac5
cmp esi, dword [ebp - 0x10]
jge 0x97db2e
lea ecx, [ebp - 0x4c]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00409504
mov eax, dword [ebp - 0x18]
call fcn.00425954
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, ebx
call fcn.00407470
mov eax, dword [ebp - 0x14]
cmp eax, 1
sbb eax, eax
neg eax
neg al
sbb eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x97db97
lea eax, [ebp - 0x4c]
mov edx, 8
call fcn.00409184
lea eax, [ebp - 0x2c]
call fcn.00409148
lea eax, [ebp - 0x28]
call fcn.00409124
lea eax, [ebp - 0x24]
call fcn.00409148
lea eax, [ebp - 4]
call fcn.00409124
ret