Function at 0x560520
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b01a9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c0
mov eax, dword [0x616040]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [0x621f14], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x79c], ebx
mov dword [ebp - 0x7a4], 0x621ed0
jne 0x5607ea
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp esi, 0xd07
jg 0x560814
je 0x5608f0
lea eax, [esi - 0xce4]
cmp eax, 0x20
ja case.0x5605a6.3301
movzx eax, byte [eax + 0x560b48]
jmp dword [eax*4 + 0x560b30]
push edi
push esi
push ecx
push 0
call fcn.0055e9d0
test al, al
jne 0x5605d6
push 0x60bae4
lea eax, [ebp - 0x7a8]
mov dword [ebp - 0x7a8], 0x31e
push eax
call fcn.0052d791
lea eax, [ebp - 0x790]
mov dword [ebp - 0x790], 0
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_77]
test ebx, ebx
jne 0x5605f5
xor edx, edx
jmp 0x5605f8
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebp - 0x790]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 0x2000000
push edi
call fcn.00567370
push eax
mov edx, edi
lea ecx, [ebp - 0x7bc]
call fcn.0058f590
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7ac]
push dword [eax]
call fcn.00405ac0
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x790]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x120]
lea ecx, [ebp - 0x7ac]
call fcn.00402b60
lea ecx, [ebp - 0x7bc]
mov byte [ebp - 4], 0
call fcn.00402b60
mov ecx, dword [ebp - 0x790]
push 0xd03
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [ebp - 0x790]
push 0xff0
mov eax, dword [ecx]
call dword [eax + 0x158]
push dword [ebp - 0x790]
call dword [0x62195c]
test al, al
lea eax, [ebp - 0x790]
push eax
jne 0x5607db
call dword [sym.imp.SUCMLIB.dll_Ordinal_79]
push 0x60bae4
lea eax, [ebp - 0x7c4]
mov dword [ebp - 0x7c4], 0x32a
push eax
call fcn.0052d791
push edi
push esi
push ecx
push 0
call fcn.0055e9d0
test al, al
jne 0x5606ef
push 0x60bae4
lea eax, [ebp - 0x7a0]
mov dword [ebp - 0x7a0], 0x337
push eax
call fcn.0052d791
lea eax, [ebp - 0x790]
mov dword [ebp - 0x790], 0
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_77]
test ebx, ebx
jne 0x56070e
xor edx, edx
jmp 0x560711
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebp - 0x790]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 0x2000000
push edi
call fcn.00567370
push eax
mov edx, edi
lea ecx, [ebp - 0x7b0]
call fcn.0058f590
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7b8]
push dword [eax]
call fcn.00405ac0
mov edx, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x790]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x120]
lea ecx, [ebp - 0x7b8]
call fcn.00402b60
lea ecx, [ebp - 0x7b0]
mov byte [ebp - 4], 0
call fcn.00402b60
mov ecx, dword [ebp - 0x790]
push 0xd04
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [ebp - 0x790]
push 0xff0
mov eax, dword [ecx]
call dword [eax + 0x158]
push dword [ebp - 0x790]
call dword [0x62195c]
test al, al
lea eax, [ebp - 0x790]
push eax
jne 0x5607db
call dword [sym.imp.SUCMLIB.dll_Ordinal_79]
push 0x60bae4
lea eax, [ebp - 0x7c0]
mov dword [ebp - 0x7c0], 0x343
push eax
call fcn.0052d791
call dword [sym.imp.SUCMLIB.dll_Ordinal_79]
sub esp, 8
push ebx
call fcn.0055e970
mov eax, 2
jmp 0x5608f5
push 1
push esi
push ebx
push edi
call fcn.00557460
cmp eax, 1
jne 0x5608f0
push edi
push esi
push ebx
call fcn.0055d3a0
jmp 0x5608f5
cmp esi, 0x1fb0
jg 0x5609e9
je case.0x5605a6.3300
cmp esi, 0xe30
je case.0x5605a6.3324
cmp esi, 0x1faa
jne case.0x5605a6.3301
push 0x20006
mov edx, edi
lea ecx, [ebp - 0x798]
call fcn.0058f590
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x798]
call fcn.0058be00
push 0x2000000
push edi
call fcn.00567370
push eax
mov edx, edi
lea ecx, [ebp - 0x794]
call fcn.0058f590
add esp, 4
mov dword [ebp - 0x790], 0
lea eax, [ebp - 0x790]
push str.w_ccsUTF_8
push dword [ebp - 0x798]
push eax
call fcn.005291b2
mov eax, dword [ebp - 0x790]
add esp, 0xc
test eax, eax
je 0x5608da
push dword [ebp - 0x794]
push 0x5ea8b4
push eax
call fcn.005292c1
add esp, 0xc
push dword [ebp - 0x790]
call fcn.005294d1
add esp, 4
mov dword [ebp - 0x790], 0
lea ecx, [ebp - 0x794]
call fcn.00402b60
lea ecx, [ebp - 0x798]
call fcn.00402b60
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x794]
mov dword [ebp - 0x794], 0
push eax
push 0x55dd10
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x794], 0
je 0x560946
mov edx, 0x98a02
mov ecx, ebx
call fcn.00547e40
jmp 0x5608f0
push ebx
push edi
lea ecx, [ebp - 0x28c]
call fcn.00595390
push ecx
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 7
call fcn.00595020
lea ecx, [ebp - 0x28c]
call fcn.005950a0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x790], eax
mov byte [ebp - 4], 0
call fcn.005951f0
mov eax, dword [ebp - 0x790]
jmp 0x5608f5
push ebx
lea ecx, [ebp - 0x78c]
call fcn.00555e50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78c]
push 0xce4
mov dword [ebp - 0x68c], edi
call fcn.005525c0
lea ecx, [ebp - 0x78c]
mov dword [ebp - 0x5d8], 0x23c1
call fcn.005559a0
lea ecx, [ebp - 0x78c]
mov dword [ebp - 0x790], eax
mov byte [ebp - 4], 0
call fcn.00555af0
mov eax, dword [ebp - 0x790]
jmp 0x5608f5
mov eax, esi
sub eax, 0x1fb3
je 0x5608f0
dec eax
je 0x5608f0
push 0
push esi
push ebx
push edi
call fcn.00557460
cmp eax, 1
jne 0x5608f0
mov dword [0x621f4c], 0
lea ebx, [ebx]
push edi
push esi
push ebx
call fcn.0055c220
mov ecx, dword [0x621edc]
sub ecx, dword [0x621ed8]
mov dword [ebp - 0x790], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x560a5c
push edi
push esi
push ebx
call fcn.00559840
cmp eax, 3
je 0x560a20
cmp esi, 0x1faf
je 0x560983
call fcn.005597d0
mov ebx, 0x621ed0
mov ecx, dword [ebx + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea ecx, [ebx + 0x2c]
mov byte [ebx + 0x72], 0
call fcn.00404190
mov ecx, dword [ebx + 0x34]
mov eax, 0x92492493
sub ecx, dword [ebx + 0x2c]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x80
jae 0x560983
push 0x80
lea ecx, [ebx + 0x2c]
call fcn.00404750
mov eax, dword [ebp - 0x790]
jmp 0x5608f5