Function at 0x100442de
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x100c4c99
call fcn.10098eaa
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call sym.storarc.dll_public:_void___thiscall_osFileWriter::constructor_void_
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call sym.storarc.dll_public:_void___thiscall_osFileWriter::constructor_void_
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call sym.storarc.dll_public:_void___thiscall_osFileWriter::constructor_void_
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 3
call sym.storarc.dll_public:_void___thiscall_osFileWriter::constructor_void_
lea ecx, [esi + 0x50]
call fcn.100195cc
lea ecx, [esi + 0x6c]
call fcn.100195cc
lea ecx, [esi + 0x88]
call fcn.100195cc
lea ecx, [esi + 0xa4]
call fcn.100195cc
cmp dword [esi + 8], ebx
mov byte [ebp - 4], 8
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], 0x1000001
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
jne 0x100443d0
push 0x18
mov byte [ebp - 4], 9
call fcn.1000ea70
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xa
je 0x100443b1
call sym.storarc.dll_public:_void___thiscall_osThreadLocker::constructor_void_
jmp 0x100443b3
xor eax, eax
push 8
pop edi
mov dword [esi + 8], eax
mov dword [ebp - 4], edi
jmp 0x100443d3
push 8
pop edi
cmp dword [ebp + 8], 7
jne 0x10044406
push edi
mov byte [ebp - 4], 0xc
call fcn.1000ea70
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0xd
je 0x10044431
push ebx
push 0x200
jmp 0x1004442a
cmp dword [ebp + 8], 0xc
jne 0x1004444d
push edi
mov byte [ebp - 4], 0xf
call fcn.1000ea70
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov byte [ebp - 4], 0x10
je 0x10044431
push ebx
push 0x700
call sym.storarc.dll_public:_void___thiscall_WinLocker::constructor_enum_EnumAdapterType__char__
jmp 0x10044433
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], edi
jmp 0x1004444d
mov eax, dword [esi]
cmp eax, 0xf
jge 0x1004445e
cmp eax, 3
je 0x1004445e
cmp eax, 4
jne 0x10044460
mov dword [esi], ebx
push 0x210
push ebx
mov edi, 0x1012be90
push edi
call fcn.10098fe0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0x20019
push ebx
push str.SOFTWAREAdaptecRAIDController
push 0x80000002
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [ebp - 0x18], 0x20f
mov dword [ebp - 0x1c], ebx
jne 0x100444fd
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.userLogDir
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100444d7
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
push str.LogDir
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100444f1
push edi
call fcn.100985d0
cmp eax, ebx
pop ecx
je 0x100444f1
lea eax, [eax + 0x1012be90]
cmp byte [eax - 1], 0x5c
je 0x100444f1
mov byte [eax], 0x5c
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
mov eax, dword [esi]
mov ebx, dword [eax*4 + 0x10129af8]
lea ecx, [esi + 0x50]
push edi
call fcn.10009370
push ebx
lea ecx, [esi + 0x50]
call fcn.10019c19
push str.error.txt
lea ecx, [esi + 0x50]
call fcn.10019c19
lea ecx, [esi + 0x6c]
push edi
call fcn.10009370
push ebx
lea ecx, [esi + 0x6c]
call fcn.10019c19
push str.trace.txt
lea ecx, [esi + 0x6c]
call fcn.10019c19
lea ecx, [esi + 0x88]
push edi
call fcn.10009370
push ebx
lea ecx, [esi + 0x88]
call fcn.10019c19
push str.config.xml
lea ecx, [esi + 0x88]
call fcn.10019c19
lea ecx, [esi + 0xa4]
push edi
call fcn.10009370
lea edi, [esi + 0xa4]
push ebx
mov ecx, edi
call fcn.10019c19
push str.events.txt
mov ecx, edi
call fcn.10019c19
mov eax, esi
call fcn.10098f4f
ret 8