Function at 0x10003180
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
jmp 0x10003180
sub esp, 0x22c
mov eax, dword [0x10061404]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
xor esi, esi
push edi
push str.LoadJackCfgValues_Entering....
mov edi, 0x100
push 3
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], esi
call fcn.10001433
add esp, 8
lea eax, [esp + 0x18]
push eax
push str.SoftwareAnalog_DevicesSMWDMIFSettings
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100031f1
mov dword [esp + 0x18], esi
mov eax, dword [0x10070088]
push ebp
xor ebp, ebp
cmp dword [eax + 0xc], esi
jbe 0x1000334d
xor edi, edi
mov dword [esp + 0xc], esi
mov esi, dword [eax + 0x10]
add esi, edi
mov byte [esi + 0x10], 0xff
cmp dword [0x1006ff80], 1
jne 0x10003226
mov dword [esi + 0x20], 0
jmp 0x10003332
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10003288
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x24], 0x100
mov edx, dword [esi + 8]
mov ecx, dword [edx*4 + 0x10061048]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10003288
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push str._d___d___d___d___d
push ecx
call fcn.100140ba
add esp, 0x1c
cmp dword [0x100700b0], 0
je 0x100032f9
mov eax, dword [esi + 8]
mov ecx, dword [eax*4 + 0x10061048]
push 0x10070538
push 0x100
lea edx, [esp + 0x13c]
push edx
push 0x1004d83e
push ecx
push 0x100700d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x100032cb
mov dword [esi + 0x20], 0xf
jmp 0x100032f9
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x148]
push str._d___d___d___d___d
push ecx
call fcn.100140ba
add esp, 0x1c
cmp dword [esp + 0xc], 0
je 0x10003332
mov edx, dword [esp + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xc]
shr eax, 1
and eax, 1
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xc]
shr ecx, 4
mov dword [esi + 0x38], ecx
mov eax, dword [0x10070088]
add ebp, 1
add edi, 0x64
xor esi, esi
cmp ebp, dword [eax + 0xc]
jb 0x10003204
mov edi, 0x100
test byte [0x100700a8], 0x20
pop ebp
je 0x10003421
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
je 0x100033b6
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [str.SPDIFJackPos]
lea edx, [esp + 0x2c]
push edx
push esi
push ecx
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100033b6
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3c]
push str._d___d___d
push edx
call fcn.100140ba
add esp, 0x14
cmp dword [0x100700b0], esi
je 0x1000340b
mov ecx, dword [str.SPDIFJackPos]
push 0x10070538
push edi
lea eax, [esp + 0x138]
push eax
push 0x1004d83e
push ecx
push 0x100700d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1000340b
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x13c]
push str._d___d___d
push edx
call fcn.100140ba
add esp, 0x14
cmp dword [esp + 8], esi
je 0x10003421
mov eax, dword [esp + 0x10]
shl eax, 0x10
or eax, dword [esp + 0xc]
mov dword [0x10070048], eax
test dword [0x100700a8], 0x2000
je 0x100034f7
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
je 0x1000348c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
mov edx, dword [str.SPDIFInJackPos]
lea ecx, [esp + 0x2c]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000348c
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push str._d___d___d
push eax
call fcn.100140ba
add esp, 0x14
cmp dword [0x100700b0], esi
je 0x100034e1
mov edx, dword [str.SPDIFInJackPos]
push 0x10070538
push edi
lea ecx, [esp + 0x138]
push ecx
push 0x1004d83e
push edx
push 0x100700d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x100034e1
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x13c]
push str._d___d___d
push eax
call fcn.100140ba
add esp, 0x14
cmp dword [esp + 8], esi
je 0x100034f7
mov eax, dword [esp + 0x10]
shl eax, 0x10
or eax, dword [esp + 0xc]
mov dword [0x1007004c], eax
mov eax, dword [esp + 0x18]
pop edi
cmp eax, esi
pop esi
je 0x10003508
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.LoadJackCfgValues_Exiting....
push 3
call fcn.10001433
mov ecx, dword [esp + 0x230]
add esp, 8
xor ecx, esp
call fcn.100140fa
add esp, 0x22c
ret