Function at 0x9b76fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x9b7704
push ecx
push ebx
push esi
mov eax, 0x9a304c
call fcn.0040cc98
mov esi, dword [0x9f20c8]
xor eax, eax
push ebp
push 0x9b7d4b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004052a0
cmp eax, 2
jl 0x9b78f0
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.00405300
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00420f18
mov edx, dword [ebp - 0x14]
mov eax, 0x9fbbb8
call fcn.00408b28
mov edx, 0x9fbbbc
mov eax, 2
call fcn.00405300
lea edx, [ebp - 0x1c]
mov eax, 0x9b7d68
call fcn.00420f18
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x9fbbb8]
call fcn.00409aec
jne 0x9b77d9
mov eax, dword [0x9fbbbc]
call fcn.0092db08
test al, al
jne 0x9b77ab
xor ecx, ecx
mov edx, 0x9b7d90
mov eax, 0x9b7db8
call fcn.0042d328
jmp 0x9b77cd
lea eax, [ebp - 0x20]
mov ecx, dword [0x9fbbbc]
mov edx, 0x9b7e58
call fcn.00409954
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 0x9b7ec4
call fcn.0042d260
mov eax, dword [esi]
call fcn.005ea0a4
jmp 0x9b79ac
lea edx, [ebp - 0x24]
mov eax, 0x9b7ef8
call fcn.00420f18
mov edx, dword [ebp - 0x24]
mov eax, dword [0x9fbbb8]
call fcn.00409aec
jne 0x9b7844
mov eax, dword [0x9fbbbc]
call fcn.0092dd00
test al, al
jne 0x9b7816
xor ecx, ecx
mov edx, 0x9b7f28
mov eax, 0x9b7f50
call fcn.0042d328
jmp 0x9b7838
lea eax, [ebp - 0x28]
mov ecx, dword [0x9fbbbc]
mov edx, 0x9b7ff0
call fcn.00409954
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, 0x9b805c
call fcn.0042d260
mov eax, dword [esi]
call fcn.005ea0a4
jmp 0x9b79ac
lea edx, [ebp - 0x2c]
mov eax, 0x9b8090
call fcn.00420f18
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x9fbbb8]
call fcn.00409aec
jne 0x9b7898
mov eax, dword [0x9fbbbc]
call fcn.0092df38
lea eax, [ebp - 0x30]
mov ecx, dword [0x9fbbbc]
mov edx, 0x9b80bc
call fcn.00409954
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov edx, 0x9b8130
call fcn.0042d260
mov eax, dword [esi]
call fcn.005ea0a4
jmp 0x9b79ac
lea edx, [ebp - 0x34]
mov eax, 0x9b8164
call fcn.00420f18
mov edx, dword [ebp - 0x34]
mov eax, dword [0x9fbbb8]
call fcn.00409aec
jne 0x9b79ac
mov eax, dword [0x9fbbbc]
call fcn.0092e0d4
lea eax, [ebp - 0x38]
mov ecx, dword [0x9fbbbc]
mov edx, 0x9b819c
call fcn.00409954
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, 0x9b8210
call fcn.0042d260
mov eax, dword [esi]
call fcn.005ea0a4
jmp 0x9b79ac
call fcn.004052a0
dec eax
jne 0x9b79ac
lea edx, [ebp - 0x40]
mov eax, 1
call fcn.00405300
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00420f18
mov edx, dword [ebp - 0x3c]
mov eax, 0x9fbbb8
call fcn.00408b28
lea edx, [ebp - 0x44]
mov eax, 0x9b8244
call fcn.00420f18
mov edx, dword [ebp - 0x44]
mov eax, dword [0x9fbbb8]
call fcn.00409aec
jne 0x9b7973
call fcn.0092da18
test al, al
jne 0x9b7959
xor ecx, ecx
mov edx, 0x9b8270
mov eax, 0x9b8298
call fcn.0042d328
jmp 0x9b796a
xor ecx, ecx
mov edx, 0x9b8338
mov eax, 0x9b836c
call fcn.0042d260
mov eax, dword [esi]
call fcn.005ea0a4
jmp 0x9b79ac
lea edx, [ebp - 0x48]
mov eax, 0x9b83bc
call fcn.00420f18
mov edx, dword [ebp - 0x48]
mov eax, dword [0x9fbbb8]
call fcn.00409aec
jne 0x9b79ac
call fcn.0092d9bc
xor ecx, ecx
mov edx, 0x9b83ec
mov eax, 0x9b8420
call fcn.0042d260
mov eax, dword [esi]
call fcn.005ea0a4
push 0x9b846c
push 0
push 0
call fcn.00410e68
mov edx, dword [0x9f1dbc]
mov dword [edx], eax
mov eax, dword [0x9f1dbc]
cmp dword [eax], 0
je 0x9b79dc
call sub.kernel32.dll_GetLastError_2
cmp eax, 0xb7
jne 0x9b7a93
push 0x1f4
call sub.kernel32.dll_Sleep_2
lea edx, [ebp - 0x4c]
mov eax, 1
call fcn.00405300
cmp dword [ebp - 0x4c], 0
je 0x9b7a8e
xor eax, eax
mov dword [0x9fbbc0], eax
push 0
push 0x9a2ea0
call sub.user32.dll_EnumWindows
cmp dword [0x9fbbc0], 0
je 0x9b7a8e
mov edx, 0x9fbbc4
mov eax, 1
call fcn.00405300
mov eax, dword [0x9fbbc0]
push eax
call sub.user32.dll_SetForegroundWindow
mov eax, dword [0x9fbbc4]
test eax, eax
je 0x9b7a41
sub eax, 4
mov eax, dword [eax]
mov edx, eax
add edx, edx
mov eax, 0x9fbbc4
call fcn.0040987c
xor eax, eax
mov dword [0x9fbbc8], eax
mov eax, dword [0x9fbbc4]
test eax, eax
je 0x9b7a64
sub eax, 4
mov eax, dword [eax]
add eax, eax
mov dword [0x9fbbcc], eax
mov eax, dword [0x9fbbc4]
call fcn.004096e8
mov dword [0x9fbbd0], eax
push 0x9fbbc8
push 0
push 0x4a
mov eax, dword [0x9fbbc0]
push eax
call sub.user32.dll_SendMessageW
call fcn.00408434
call fcn.004052a0
dec eax
jle 0x9b7af9
lea edx, [ebp - 0x54]
mov eax, 1
call fcn.00405300
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00423050
mov edx, dword [ebp - 0x50]
mov eax, 0x9fbbc4
call fcn.00408b28
mov dl, 1
mov eax, 0x9b84b0
call fcn.0094d9a0
test al, al
je 0x9b7af9
mov dl, 1
mov eax, dword [0x9fbbc4]
call fcn.0042269c
test al, al
je 0x9b7af9
mov eax, dword [0x9f1f38]
mov edx, dword [0x9fbbc4]
call fcn.00408b28
mov eax, dword [0x9f1f38]
mov byte [eax + 4], 1
mov eax, dword [0x9f24c0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esi]
call fcn.005e9e10
mov eax, dword [esi]
mov dl, 1
call fcn.005eba34
mov ecx, dword [0x9f1c50]
mov eax, dword [esi]
mov edx, dword [0x97b2dc]
call fcn.005e9e28
mov ecx, dword [0x9f1ea8]
mov eax, dword [esi]
mov edx, dword [0x944444]
call fcn.005e9e28
mov eax, dword [0x9f24c0]
cmp dword [eax], 0
jne 0x9b7b55
mov ecx, dword [0x9f24c0]
mov eax, dword [esi]
mov edx, dword [0x930144]
call fcn.005e9e28
mov ecx, dword [0x9f1fe0]
mov eax, dword [esi]
mov edx, dword [0x935fd4]
call fcn.005e9e28
mov eax, dword [0x9f1bd0]
cmp dword [eax], 0
je 0x9b7ba0
mov eax, dword [0x9f23bc]
mov eax, dword [eax + 0x90]
mov dl, 1
call fcn.0042269c
test al, al
je 0x9b7ba0
mov edx, dword [0x9f23bc]
mov edx, dword [edx + 0x90]
mov eax, dword [0x9f1bd0]
mov eax, dword [eax]
call fcn.006273a0
mov eax, dword [0x9f1c50]
mov eax, dword [eax]
call fcn.00987c58
mov eax, dword [0x9f1fe0]
mov eax, dword [eax]
call fcn.009382dc
mov eax, dword [0x9f2490]
cmp dword [eax], 0
je 0x9b7bce
mov eax, dword [0x9f2490]
mov eax, dword [eax]
call fcn.0082bb90
mov eax, dword [0x9f22f8]
cmp dword [eax], 0
je 0x9b7be4
mov eax, dword [0x9f22f8]
mov eax, dword [eax]
call fcn.0082c840
mov eax, dword [0x9f2488]
cmp dword [eax], 0
je 0x9b7bfa
mov eax, dword [0x9f2488]
mov eax, dword [eax]
call fcn.00905d18
mov eax, dword [0x9f2118]
cmp dword [eax], 0
je 0x9b7c10
mov eax, dword [0x9f2118]
mov eax, dword [eax]
call fcn.00925d20
mov eax, dword [0x9f24c0]
mov eax, dword [eax]
call fcn.0093063c
mov eax, dword [0x9f1ea8]
mov eax, dword [eax]
call fcn.009462fc
mov eax, dword [0x9f2478]
cmp dword [eax], 0
je 0x9b7c3e
mov eax, dword [0x9f2478]
mov eax, dword [eax]
call fcn.00920fbc
mov eax, dword [0x9f1b8c]
cmp dword [eax], 0
je 0x9b7c54
mov eax, dword [0x9f1b8c]
mov eax, dword [eax]
call fcn.00930bb0
mov eax, dword [0x9f19f4]
cmp dword [eax], 0
je 0x9b7c6a
mov eax, dword [0x9f19f4]
mov eax, dword [eax]
call fcn.00935ddc
mov eax, dword [0x9f1f38]
cmp byte [eax + 4], 0
je 0x9b7d29
mov eax, dword [0x9f1c50]
mov eax, dword [eax]
mov eax, dword [eax + 0x450]
mov edx, dword [eax]
call dword [edx + 0x158]
test eax, eax
jle 0x9b7d29
mov edx, dword [0x9f1f38]
mov edx, dword [edx]
mov eax, dword [0x9f1c50]
mov eax, dword [eax]
call fcn.00996954
mov ebx, eax
test ebx, ebx
jl 0x9b7d29
call fcn.00948ca0
mov eax, dword [0x9f1c50]
mov eax, dword [eax]
mov eax, dword [eax + 0x450]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1ec]
mov eax, dword [0x9f2488]
mov eax, dword [eax]
mov eax, dword [eax + 0x6a0]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [0x9f2488]
mov eax, dword [eax]
mov eax, dword [eax + 0x6a0]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [0x9f2488]
mov eax, dword [eax]
call fcn.005e5248
mov eax, dword [0x9f2488]
mov eax, dword [eax]
mov edx, ebx
call fcn.00906cd4
mov eax, dword [0x9f1c50]
mov eax, dword [eax]
call fcn.005e5248
mov eax, dword [0x9f1c50]
mov eax, dword [eax]
call fcn.009944d4
mov eax, dword [esi]
call fcn.005e9f84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9b7d52
lea eax, [ebp - 0x54]
mov edx, 0x11
call fcn.004087a8
ret