Function at 0x4fac40
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b9ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 1
push 0x800fd8
call fcn.005f1030
mov dword [ebp - 4], 0
mov dword [edi], vtable.juce::AlertWindowEx.0
mov dword [edi + 0x90], 0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 1
call fcn.004030d0
lea ecx, [edi + 0x1f0]
mov byte [ebp - 4], 2
call fcn.004030d0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
push 0x583670
mov byte [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp - 0x10]
mov ecx, edi
call fcn.005f16b0
push 0x10c
push 0x190
push 0
mov ecx, edi
call fcn.005f0c00
mov dword [ebp - 0x34], vtable.juce::MemoryInputStream.0
mov dword [ebp - 0x30], 0x6de468
mov dword [ebp - 0x2c], 0x223b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0056df10
test eax, eax
je 0x4fad2f
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call edx
jmp 0x4fad36
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
mov dword [ebp - 0x34], vtable.juce::MemoryInputStream.0
call fcn.004c2bdc
mov ecx, dword [edi + 0x90]
add esp, 4
mov eax, dword [ebp - 0x10]
or esi, 0xffffffff
mov dword [edi + 0x90], eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4fad7b
lea eax, [ecx + 4]
mov edx, esi
lock xadd dword [eax], edx
lea eax, [edx - 1]
test eax, eax
jne 0x4fad7b
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x40
call fcn.004a7e6f
movss xmm0, dword [0x7b9978]
add esp, 4
movaps xmm2, xmm0
movss dword [ebp - 0x18], xmm0
mov ecx, eax
push 0
call fcn.0042a1d0
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4fadb3
lea eax, [ebx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0x98]
call fcn.00402040
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4fade4
mov eax, esi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4fade4
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
lea ebx, [edi + 0x98]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x154], 0x40800000
push 0x62ad5c
call fcn.0041d340
add esp, 4
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004f3360
push eax
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.005f8a90
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fae42
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fae42
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fae67
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fae67
push ecx
call fcn.004a8172
add esp, 4
mov dword [ebp - 0x10], 0xff0079f6
mov ecx, ebx
push dword [ebp - 0x10]
push 0x1000100
call fcn.005fa670
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
push dword [ebp - 0x10]
push 0x1000103
call fcn.005fa670
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
push dword [ebp - 0x10]
push 0x1000102
call fcn.005fa670
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x2c]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.005fb040
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
lea ecx, [edi + 0x128]
call fcn.0040e710
push 0x40
call fcn.004a7e6f
movss xmm2, dword [ebp - 0x18]
add esp, 4
mov ecx, eax
push 0
call fcn.0042a1d0
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4faefb
lea eax, [ebx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0x1f0]
call fcn.00402040
mov byte [ebp - 4], 3
test ebx, ebx
je 0x4faf2c
mov eax, esi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
add eax, 0xffffffff
jne 0x4faf2c
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
lea ebx, [edi + 0x1f0]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x154], 0x40800000
push str.msgbox_cancel
call fcn.0041d340
add esp, 4
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004f3360
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.005f8a90
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4faf8a
mov eax, esi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4faf8a
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x4fafac
lock xadd dword [eax], esi
test esi, esi
jne 0x4fafac
push eax
call fcn.004a8172
add esp, 4
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
push dword [ebp - 0x10]
push 0x1000100
call fcn.005fa670
mov dword [ebp - 0x10], 0xff020100
mov ecx, ebx
push dword [ebp - 0x10]
push 0x1000103
call fcn.005fa670
mov dword [ebp - 0x10], 0xff020100
mov ecx, ebx
push dword [ebp - 0x10]
push 0x1000102
call fcn.005fa670
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x2c]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.005fb040
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea ecx, [edi + 0x280]
call fcn.0040e870
mov eax, dword [edi + 0x24]
sub eax, 0x118
cdq
sub eax, edx
mov esi, eax
push 0x26
sar esi, 1
push 0x78
push 0xd5
lea ecx, [esi + 0xa0]
push ecx
lea ecx, [edi + 0x98]
call fcn.005fb170
push 0x26
push 0x78
push 0xd5
push esi
mov ecx, ebx
call fcn.005fb170
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4