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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x1009a340]
xor eax, esp
mov dword [esp + 0x88], eax
cmp byte [0x1009c634], 0
push ebx
push esi
push edi
jne 0x10001fcd
xor ebx, ebx
mov byte [0x1009c634], 1
push ebx
push ebx
push ebx
push 4
push 1
call sym.project.dll_caerDeviceOpen
add esp, 0x14
mov dword [esp + 0x8c], eax
push 1
push 1
push 0xfffffffffffffffe
push eax
call sym.project.dll_caerDeviceConfigSet
add esp, 0x10
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
push dword [esp + 0x8c]
call sym.project.dll_caerDeviceDataGet
pop ecx
test eax, eax
jne 0x10001c0f
lea eax, [esp + 0x8c]
push eax
call sym.project.dll_caerDeviceClose
pop ecx
lea ecx, [esp + 0x5c]
call fcn.10001ff2
xor eax, eax
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
lea ecx, [esp + 0x38]
push ebx
push 0x1000
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
call fcn.10002275
push ebx
push ebx
push 0x1008e1e0
call fcn.1002f360
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10001cdf
push ebx
push 2
mov ebx, str.32_bit_float_mono_audio
push ebx
push 0x1008e1fc
push edi
call fcn.1002f3f0
add esp, 0x14
mov esi, eax
push 0
push 2
push ebx
push 0x1008e200
push edi
call fcn.1002f3f0
add esp, 0x14
mov dword [esp + 0x90], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], esi
push eax
push 0x10001a39
push edi
call fcn.1002f420
add esp, 0xc
push edi
call fcn.1002f300
pop ecx
push edi
call fcn.1002f390
pop ecx
push edi
call fcn.1002f330
pop ecx
xor ebx, ebx
cmp dword [esp + 0x4c], 7
lea eax, [esp + 0x38]
push 0x1000
cmova eax, dword [esp + 0x3c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0x4c], 7
lea edx, [esp + 0x38]
mov esi, dword [esp + 0x48]
cmova edx, dword [esp + 0x38]
test esi, esi
je 0x10001d35
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
pop eax
lea ecx, [edx + ecx*2]
jmp 0x10001d2a
cmp ecx, edx
je 0x10001d35
sub ecx, 2
cmp word [ecx], ax
jne 0x10001d23
sub ecx, edx
sar ecx, 1
jmp 0x10001d38
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
cmp esi, ecx
cmovb ecx, esi
cmp dword [esp + 0x4c], 7
push ecx
stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
cmova eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.10002673
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
call fcn.100020c6
lea ecx, [esp + 0x5c]
call fcn.10002247
cmp dword [esp + 0x4c], 7
lea eax, [esp + 0x38]
cmova eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x10001e6b
push 4
call fcn.1002fce0
mov ebx, eax
mov dword [esp], 0x1008e204
call fcn.10030600
pop ecx
push eax
push ebx
call fcn.1002f5d0
lea eax, [esp + 0x18]
push eax
call fcn.100317b0
sub esp, 0x18
mov esi, eax
push 9
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.100304f0
add esp, 0x24
push eax
push ebx
call fcn.1002f5d0
lea eax, [esp + 0x18]
push str.2024
push eax
call fcn.10031200
sub esp, 0x14
mov esi, eax
push 9
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.100304a0
add esp, 0x24
push eax
push ebx
call fcn.1002f5d0
push ebx
call fcn.1002f610
add esp, 0xc
mov edx, eax
call fcn.1000240e
push eax
call fcn.100025ad
pop ecx
push ebx
call fcn.1002f810
mov dword [esp], 0x1008e210
call fcn.100326f0
pop ecx
mov esi, eax
push 4
push esi
call fcn.1002f9d0
pop ecx
pop ecx
test eax, eax
je 0x10001e4f
push 0x1008e214
push eax
call fcn.1002fee0
pop ecx
pop ecx
push esi
call fcn.1002f610
pop ecx
mov edx, eax
call fcn.1000240e
push eax
call fcn.100025ad
pop ecx
push esi
call fcn.1002f810
pop ecx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.fppdata9_x64.dll
call ebx
xor eax, eax
mov edi, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x48]
mov dword [esp + 0x50], edi
cmp eax, 1
jb 0x10001fe2
cmp dword [esp + 0x4c], 7
lea eax, [esp + 0x38]
push 1
cmova eax, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
push eax
push ecx
push dword [esp + 0xa0]
lea ecx, [esp + 0x74]
call fcn.10002bef
push 0xa
push str.remote.wav
lea ecx, [esp + 0x64]
call fcn.1000202d
push eax
lea ecx, [esp + 0x78]
call fcn.100020fd
lea ecx, [esp + 0x5c]
call fcn.10002247
cmp dword [esp + 0x88], 7
lea eax, [esp + 0x74]
lea ecx, [esp + 0x10]
cmova eax, dword [esp + 0x74]
push eax
call fcn.10002138
push ecx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x64]
call fcn.10001aee
and dword [esp + 0x94], edi
mov esi, eax
lea eax, [esp + 0x58]
pop ecx
pop ecx
cmp eax, esi
je 0x10001f4d
mov ecx, eax
call fcn.10002224
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x8c], edi
lea ecx, [esp + 0x5c]
call fcn.10002224
lea ecx, [esp + 0x10]
call fcn.10002247
push str.DesktopDock.dll
call ebx
push 0x2450
push 0
lea esi, [eax + 0x1000]
push esi
call fcn.10043ce0
mov ebx, dword [esp + 0x98]
add esp, 0xc
xor edx, edx
mov al, 0x15
lea ecx, [edx + ebx]
sub al, dl
movzx eax, al
imul eax, eax, 5
add byte [ecx], al
inc edx
mov eax, 0x2450
cmp edx, eax
jb 0x10001f85
push eax
push edi
push esi
call fcn.10043e40
add esp, 0xc
push 0
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0x74]
call fcn.10002247
lea ecx, [esp + 0x50]
call fcn.10002224
lea ecx, [esp + 0x38]
call fcn.10002247
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100424c3
mov esp, ebp
pop ebp
ret
call fcn.1000128b
int3