Function at 0x1000998f
Capabilities:
Enumerate gui resources
Set current directory

Disassembly:
push 0x10
push 0x308
mov eax, 0x1015d981
call fcn.1015d14a
cmp byte [0x1032208c], 0
jne 0x1000a00a
push 8
pop ecx
xor eax, eax
mov byte [0x1032208c], 1
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x90]
call fcn.10047310
push 0x1024d282
lea ecx, [ebp - 0x38]
call fcn.1000b13e
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x90]
call fcn.100499c0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x2d9], al
call fcn.1000bb0f
cmp byte [ebp - 0x2d9], 0
je 0x10009a58
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10049f50
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1004a0c0
lea ecx, [ebp - 0x2c]
call fcn.1004a070
jmp 0x10009a43
lea eax, [ebp - 0x2d8]
push 0x64
push eax
call fcn.100588a0
push dword [eax + 4]
push dword [eax]
call fcn.100588e0
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.1004a050
cmp eax, 2
je 0x10009a28
lea ecx, [ebp - 0x2c]
call fcn.10049f70
lea ecx, [ebp - 0x90]
call fcn.10047650
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x58]
push 7
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x48], 0
mov edi, 0x1000
push eax
push edi
mov dword [ebp - 0x44], esi
mov word [ebp - 0x58], ax
call fcn.1000ba3e
call fcn.1000925e
push ecx
push 2
mov ecx, eax
call fcn.1002de6f
call fcn.1000925e
push ecx
push 4
mov ecx, eax
call fcn.1002de6f
cmp dword [ebp - 0x44], esi
lea eax, [ebp - 0x58]
push edi
cmova eax, dword [ebp - 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [ebp - 0x2e8], 0
lea eax, [ebp - 0xb0]
fld1
lea ecx, [ebp - 0x2ec]
fstp qword [ebp - 0xb0]
fld qword [0x1028a310]
xor esi, esi
mov dword [ebp - 0x2ec], eax
inc esi
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2e4], esi
push eax
fstp qword [ebp - 0x2d8]
mov dword [ebp - 0x2e0], esi
call fcn.1000a02d
fld qword [0x1028a318]
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, eax
fstp qword [ebp - 0x2d8]
call fcn.1000a02d
fld qword [0x1028a328]
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, eax
fstp qword [ebp - 0x2d8]
call fcn.1000a02d
fld qword [0x1028a330]
lea eax, [ebp - 0x40]
and dword [ebp - 0x2e8], 0
lea ecx, [ebp - 0x2ec]
fstp qword [ebp - 0x40]
fld qword [0x1028a338]
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2d8]
push eax
fstp qword [ebp - 0x2d8]
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e0], esi
call fcn.1000a02d
fld qword [0x1028a340]
lea ecx, [ebp - 0x2d8]
push ecx
fstp qword [ebp - 0x2d8]
mov ecx, eax
call fcn.1000a02d
fld qword [0x1028a348]
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, eax
fstp qword [ebp - 0x2d8]
call fcn.1000a02d
and dword [ebp - 0x2e8], 0
lea eax, [ebp - 0x90]
fld1
lea ecx, [ebp - 0x2ec]
fstp qword [ebp - 0x90]
fld qword [0x1028a310]
mov dword [ebp - 0x2ec], eax
lea eax, [ebp - 0x2d8]
push eax
fstp qword [ebp - 0x2d8]
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e0], esi
call fcn.1000a02d
fld qword [0x1028a310]
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, eax
fstp qword [ebp - 0x2d8]
call fcn.1000a02d
fld qword [0x1028a318]
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, eax
fstp qword [ebp - 0x2d8]
call fcn.1000a02d
push 2
lea eax, [ebp - 0x1f0]
fldz
pop ecx
fst qword [eax]
fst qword [eax + 8]
add eax, 0x10
sub ecx, 1
jne 0x10009c34
xor eax, eax
lea ecx, [ebp - 0x210]
mov word [ebp - 0x1d0], ax
or edi, 0xffffffff
mov byte [ebp - 0x130], al
fstp st(0)
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x90]
push esi
push eax
mov dword [ebp - 0x118], edi
call fcn.1002a053
cmp dword [ebp - 0x44], 7
lea edx, [ebp - 0x58]
mov esi, dword [ebp - 0x48]
cmova edx, dword [ebp - 0x58]
test esi, esi
je 0x10009cab
lea eax, [esi - 1]
mov ecx, edi
cmp eax, edi
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x10009ca0
cmp ecx, edx
je 0x10009cab
sub ecx, 2
cmp word [ecx], ax
jne 0x10009c99
sub ecx, edx
sar ecx, 1
jmp 0x10009cad
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
cmp esi, ecx
cmovb ecx, esi
cmp dword [ebp - 0x44], 7
push ecx
cmova eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x38]
push eax
call fcn.10025d91
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000afc2
lea ecx, [ebp - 0x38]
call fcn.1000ba10
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x10009dec
push 0xa
pop ecx
lea edi, [ebp - 0xd8]
mov dword [ebp - 0x8c], eax
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x88], eax
inc ecx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], al
push ecx
mov dword [ebp - 4], eax
call fcn.100806ce
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebp - 0x2d4], eax
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x2d8]
push eax
push 0x10285964
call fcn.10058e50
push 0x20
push 0x258
push 0x320
lea ecx, [ebp - 0x2c]
call fcn.1005b3d0
lea ecx, [ebp - 0x8c]
mov esi, eax
push ecx
push 7
lea ecx, [ebp - 0xa8]
push ecx
sub esp, 0xc
lea ecx, [ebp - 0xd8]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1005a2f0
lea ecx, [ebp - 0xa8]
call fcn.1000b9e4
lea ecx, [ebp - 0x2d8]
call fcn.10002965
jmp 0x10009dd2
cmp dword [ebp - 0x34], 0
jne 0x10009dbf
lea ecx, [ebp - 0xd8]
call fcn.1005a4a0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd8]
call fcn.1005aa90
test al, al
jne 0x10009dae
lea ecx, [ebp - 0xd8]
call fcn.1005aa80
test al, al
jne 0x10009dbf
lea ecx, [ebp - 0xd8]
call fcn.1005a3a0
push 0x10285944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x10009e57
push 0x10285964
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 0x24], eax
call fcn.1000c2a8
push 0
push ecx
push 3
push 0x10285968
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.1002570e
mov al, byte [ebp - 0x270]
test al, al
je 0x10009e85
lea ecx, [ebp - 0x2d0]
call fcn.10003a66
cmp byte [ebp - 0x28], 0
jne 0x10009e57
push dword [ebp - 0x24]
call fcn.10084473
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x60], esi
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x5c], eax
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], esi
cmp eax, 1
jb 0x1000a013
jmp 0x10009eb6
xor cl, cl
mov byte [ebp - 0x26d], cl
test al, al
jne 0x10009e3d
test cl, cl
jne 0x10009e39
call fcn.10002e54
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [ebp - 0x270]
test al, al
jne 0x10009e3d
mov cl, byte [ebp - 0x26d]
jmp 0x10009e91
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push 1
cmova eax, dword [ebp - 0x58]
push ecx
push dword [ebp - 0x48]
push eax
push ecx
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0xa8]
call fcn.10029105
push str.pluginsupdate.wav
lea ecx, [ebp - 0xa8]
call fcn.1000bad1
push eax
lea ecx, [ebp - 0x38]
call fcn.1000aff9
lea ecx, [ebp - 0xa8]
call fcn.1000ba10
cmp dword [ebp - 0x24], 7
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x310]
cmova eax, dword [ebp - 0x38]
push eax
call fcn.1000b034
push ecx
push ecx
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x2e8]
call fcn.100098fd
and dword [ebp - 0x2f0], esi
mov edi, eax
lea eax, [ebp - 0x64]
pop ecx
pop ecx
cmp eax, edi
je 0x10009f5b
mov ecx, eax
call fcn.1000b232
mov eax, dword [edi + 8]
mov esi, dword [edi]
mov dword [ebp - 0x2f8], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x2f0], esi
lea ecx, [ebp - 0x2e8]
call fcn.1000b232
lea ecx, [ebp - 0x310]
call fcn.1000ba10
push 0x10285928
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x2504
push 0
lea edi, [eax + 0x1000]
push edi
mov dword [ebp - 0x2d4], edi
call fcn.10086ae0
mov edi, dword [ebp - 0x2f0]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2f4], eax
lea edx, [eax + edi]
mov cl, 0xb7
movzx eax, al
imul eax, eax, 0x58
sub cl, al
mov eax, dword [ebp - 0x2f4]
add byte [edx], cl
inc eax
mov ecx, 0x2504
mov dword [ebp - 0x2f4], eax
cmp eax, ecx
jb 0x10009fa6
mov edi, dword [ebp - 0x2d4]
push ecx
push esi
push edi
call fcn.10086560
add esp, 0xc
push 0
push edi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [ebp - 0x38]
call fcn.1000ba10
test esi, esi
je 0x1000a002
mov eax, dword [ebp - 0x2f8]
sub eax, esi
push eax
push esi
call fcn.1002600e
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
call fcn.1000ba10
mov ecx, dword [ebp - 0x14]
call fcn.1015d128
ret
call fcn.10002923
int3