Function at 0x4086cb
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42158f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x12b4
call fcn.0040a858
mov eax, dword [0x422b3c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12b8], eax
test eax, eax
jne 0x408718
mov eax, 0x80070057
jmp 0x408f52
xor esi, esi
mov dword [ebp - 0x12b4], esi
lea eax, [ebp - 0x12c0]
mov dword [ebp - 4], esi
push eax
push 0x4055b6
mov dword [ebp - 0x12c0], esi
mov byte [ebp - 0x12bc], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x12c0]
test eax, eax
jne 0x408756
mov edi, 0x80004005
jmp 0x408f3f
lea ecx, [ebp - 0x12b4]
push ecx
push 0
push 0x4063f4
push eax
push method.Ofc::TMap_unsigned_long_int__void__.virtual_8
call fcn.0040535b
mov esi, dword [ebp - 0x12b4]
mov edi, eax
test edi, edi
js 0x408f3f
push esi
call fcn.00406224
test al, al
je 0x4087a4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40879a
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, 0x80004005
jmp 0x408f52
mov dword [ebp - 0x12a0], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x12a0]
push ecx
push esi
mov byte [ebp - 4], 1
call dword [eax + 0x78]
mov edi, eax
test edi, edi
js 0x408f2c
mov dword [ebp - 0x129c], 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x12a0]
lea eax, [ebp - 0x129c]
mov byte [ebp - 4], 2
push eax
call fcn.004146e3
test eax, eax
js 0x408f18
mov eax, dword [ebp - 0x129c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x408f95
mov eax, dword [ebp - 0x129c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
cmp eax, 1
jne 0x408f95
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 0x102
mov dword [ebp - 0x128], 0x42b220
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 0x102
xor eax, eax
mov word [ebp - 0x118], ax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x12a0]
call fcn.0040518f
mov dword [ebp - 0x12a4], 0
push 0x17
push 0
push str.QyPs
lea ecx, [ebp - 0x12a4]
mov byte [ebp - 4], 6
call fcn.0040810a
mov edi, eax
test edi, edi
js 0x408ef2
mov eax, dword [ebp - 0x12a4]
push dword [ebp - 0x124]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jns 0x40890a
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 7
test eax, eax
je 0x4088c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x4088e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x4088f8
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
jmp 0x408f50
mov dword [ebp - 0x12a8], 0
mov eax, dword [ebp - 0x12a4]
lea edx, [ebp - 0x12a8]
push edx
push eax
mov byte [ebp - 4], 8
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
jns 0x40899b
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 9
test eax, eax
je 0x408945
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x408959
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408978
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408989
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
jmp 0x408f50
mov dword [ebp - 0x12b0], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x12b0]
push ecx
push esi
mov byte [ebp - 4], 0xb
call dword [eax + 0x74]
mov ebx, eax
test ebx, ebx
jns 0x408a37
mov eax, dword [ebp - 0x12b0]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x4089cf
push eax
call edi
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4089e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4089f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408a16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408a23
push ecx
call edi
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
mov eax, ebx
jmp 0x408f52
push dword [0x42b3bc]
mov ebx, dword [ebp - 0x12a8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x12ac], edi
push dword [ebp - 0x12b0]
mov eax, dword [ebx]
push edi
push ebx
mov byte [ebp - 4], 0xe
call dword [eax + 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x12ac], eax
test edi, edi
je 0x408a7b
push edi
call ebx
mov eax, dword [ebp - 0x12ac]
test eax, eax
jns 0x408af8
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408a8c
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x408aa0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x408ab4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408ad3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408ae0
push ecx
call ebx
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
mov eax, dword [ebp - 0x12ac]
jmp 0x408f52
lea eax, [ebp - 0x1288]
mov dword [ebp - 0x128c], 0x104a
mov dword [ebp - 0x1298], 0x42b220
mov dword [ebp - 0x1294], eax
mov dword [ebp - 0x1290], 0x104a
xor eax, eax
mov word [ebp - 0x1288], ax
push 3
push dword [ebp - 0x12a0]
mov byte [ebp - 4], 0x12
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
je 0x408c45
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x102
mov dword [ebp - 0x23c], 0x42b220
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0x102
xor eax, eax
mov word [ebp - 0x22c], ax
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x12a0]
call fcn.0040b66f
push dword [ebp - 0x238]
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0x3a000000
lea eax, [ebp - 0x1298]
push eax
push dword [ebp - 0x238]
call fcn.00405cc4
lea ecx, [ebp - 0x23c]
mov edi, eax
call fcn.0040142d
test edi, edi
jns 0x408d49
lea ecx, [ebp - 0x1298]
call fcn.00403bc0
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408bdf
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x408bf3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x12a4]
test eax, eax
je 0x408c07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408c26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x12a0]
test ecx, ecx
je 0x408c33
push ecx
call ebx
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [ecx + 8]
jmp 0x408f50
mov eax, dword [ebp - 0x129c]
lea edx, [ebp - 0x12ac]
push 0
push edx
push 0
mov dword [ebp - 0x12ac], 0
mov ecx, dword [eax]
push 0x1f
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jns 0x408ca3
lea ecx, [ebp - 0x1298]
call fcn.00403bc0
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408c86
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x408c9a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x18
jmp 0x408bf7
mov ecx, dword [ebp - 0x12ac]
add ecx, 1
jns 0x408cb4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, 2
mul ecx
mov edi, eax
test edx, edx
jne 0x408cae
cmp edi, 0xffffffff
ja 0x408cae
cmp edi, 0x7fffffff
jbe 0x408cd4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp edi, dword [ebp - 0x1290]
jle 0x408cf1
mov eax, dword [ebp - 0x1298]
lea edx, [ebp - 0x1298]
push 0
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x129c]
lea edx, [ebp - 0x12ac]
push 0
push edx
push dword [ebp - 0x1294]
mov ecx, dword [eax]
push 0x1f
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jns 0x408d49
lea ecx, [ebp - 0x1298]
call fcn.00403bc0
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408d2c
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x408d40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1a
jmp 0x408bf7
mov eax, dword [ebp - 0x12a8]
push dword [ebp - 0x1294]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x12ac], eax
call ebx
mov edi, eax
mov dword [ebp - 0x12c4], edi
push dword [0x42b3b8]
call ebx
mov ebx, eax
mov dword [ebp - 0x12bc], ebx
mov ecx, dword [ebp - 0x12ac]
push edi
push ebx
push ecx
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1c
call dword [eax + 0x20]
mov dword [ebp - 0x12ac], eax
test ebx, ebx
je 0x408da2
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
jmp 0x408da8
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x408daf
push edi
call ebx
mov edi, dword [ebp - 0x12ac]
test edi, edi
jns 0x408dee
lea ecx, [ebp - 0x1298]
call fcn.00403bc0
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408dd1
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x408de5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1e
jmp 0x408bf7
push dword [0x42b3b4]
mov ebx, dword [ebp - 0x12a8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x12bc], edi
push dword [ebp - 0x12b0]
mov eax, dword [ebx]
push edi
push ebx
mov byte [ebp - 4], 0x1f
call dword [eax + 0x20]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x12ac], eax
test edi, edi
je 0x408e2c
push edi
call ebx
mov edi, dword [ebp - 0x12ac]
test edi, edi
jns 0x408eae
lea ecx, [ebp - 0x1298]
call fcn.00403bc0
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408e4e
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x408e62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0x21
test eax, eax
je 0x408e76
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408e95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a0]
test eax, eax
je 0x408ea2
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x408f4a
mov ecx, dword [ebp - 0x12b8]
mov eax, dword [ebp - 0x12a4]
mov dword [ebp - 0x12a4], 0
mov dword [ecx], eax
lea ecx, [ebp - 0x1298]
call fcn.00403bc0
mov eax, dword [ebp - 0x12b0]
test eax, eax
je 0x408ede
push eax
call ebx
mov eax, dword [ebp - 0x12a8]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x408ef2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a4]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x408f06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x128]
call fcn.0040142d
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408f2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a0]
test eax, eax
je 0x408f3f
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x408f50
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040951f
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x129c]
mov byte [ebp - 4], 1
test eax, eax
je 0x408fa9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x12a0]
test eax, eax
je 0x408fba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 8]
mov eax, 0x80004005
jmp 0x408f52