Function at 0x1003a5d
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac4
mov eax, dword [0x100d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push ebx
push ebx
xor edi, edi
inc edi
push edi
push ebx
mov dword [ebp - 0xa40], eax
mov dword [ebp - 0xa28], esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xa44]
push eax
push ebx
mov dword [ebp - 0xa44], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
cmp dword [ebp - 0xa44], ebx
jne 0x1003b74
mov ecx, 0x10016cc
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1003aea
cmp dx, bx
je 0x1003ae6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1003aea
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1003ac4
xor eax, eax
jmp 0x1003aef
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1003b5c
xor eax, eax
push 0x7fe
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push ebx
push eax
mov dword [ebp - 0xa20], ebx
mov dword [ebp - 0xa1c], ebx
mov dword [ebp - 0xa18], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa20]
push eax
push 0x400
lea eax, [ebp - 0xa0c]
push eax
call fcn.010039a5
push edi
push 0x10016c8
push 0x100154c
lea ecx, [ebp - 0xa20]
call fcn.01003762
lea ecx, [ebp - 0xa20]
call fcn.01003630
call fcn.01002f65
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100611f
leave
ret 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x1003b61
call fcn.0100353d
test eax, eax
je 0x1003b95
call fcn.0100387a
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1003b61
call fcn.010033db
test eax, eax
jne 0x1003b8d
push 0x100d2d8
push 0x100d2e0
push 0x10037a5
push 0x1001470
mov dword [ebp - 0xa4c], ebx
mov dword [ebp - 0xa10], ebx
call fcn.010037fc
mov esi, 0x80000000
cmp dword [0x100d304], ebx
je 0x1003c26
mov al, byte [0x100d308]
cmp al, 4
jae 0x1003bdd
cmp al, bl
jne 0x1003c26
mov eax, dword [0x100d2f0]
mov ecx, dword [0x100d2f4]
mov edx, 0x10000
and eax, edx
and ecx, esi
or eax, ecx
je 0x1003c26
mov eax, dword [0x100d2f8]
mov edi, dword [0x100d2fc]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1003c26
cmp edx, edi
jne 0x1003c26
push 0x1001480
push dword [0x100d2dc]
push dword [0x100d2d8]
call fcn.01003859
mov edi, 0x100d310
push edi
call fcn.0100315f
push 0x10016ac
mov dword [0x100d330], 0x10014a0
mov dword [section..data], edi
call fcn.01003230
push 0x20019
push 0x1001690
push 0x80000002
lea ecx, [ebp - 0xa58]
mov dword [ebp - 0xa38], ebx
mov dword [ebp - 0xa58], ebx
mov dword [ebp - 0xa54], ebx
mov dword [ebp - 0xa50], ebx
call fcn.0100364e
test eax, eax
jne 0x1003ca2
lea eax, [ebp - 0xa38]
push eax
push 0x1001670
lea ecx, [ebp - 0xa58]
call fcn.0100368a
test eax, eax
je 0x1003ca2
mov dword [ebp - 0xa38], ebx
cmp dword [ebp - 0xa38], ebx
je 0x1003eae
lea ecx, [ebp - 0xac4]
call fcn.01006853
push 0x2001f
push 0x10015f0
push 0x80000001
lea ecx, [ebp - 0xa20]
mov dword [ebp - 0xa3c], ebx
mov dword [ebp - 0xa20], ebx
mov dword [ebp - 0xa1c], ebx
mov dword [ebp - 0xa18], ebx
call fcn.0100364e
test eax, eax
jne 0x1003e86
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0xa48]
push eax
push ebx
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0xa20]
mov dword [ebp - 0xa24], 0x104
mov dword [ebp - 0xa48], ebx
mov dword [ebp - 0xa14], ebx
mov dword [ebp - 0xa30], 4
mov dword [ebp - 0xa2c], 1
call edi
test eax, eax
jne 0x1003e86
test byte [ebp - 0xa14], 1
je 0x1003da0
lea eax, [ebp - 0x20c]
push eax
call fcn.01009359
cmp eax, ebx
je 0x1003da0
push eax
lea ecx, [ebp - 0xac4]
call fcn.01008efc
mov ecx, eax
call fcn.01008b01
cmp dword [ebp - 0xa14], ebx
je 0x1003dd7
push 4
lea eax, [ebp - 0xa34]
push eax
push 4
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa20]
mov dword [ebp - 0xa3c], 1
mov dword [ebp - 0xa34], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xa2c]
add esp, 0xc
inc dword [ebp - 0xa2c]
lea ecx, [ebp - 0xa30]
push ecx
lea ecx, [ebp - 0xa14]
push ecx
lea ecx, [ebp - 0xa48]
push ecx
push ebx
lea ecx, [ebp - 0xa24]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push eax
push dword [ebp - 0xa20]
mov dword [ebp - 0xa24], 0x104
mov dword [ebp - 0xa30], 4
call edi
test eax, eax
je 0x1003d74
cmp dword [ebp - 0xa3c], ebx
je 0x1003e86
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0100327e
push 0x100d2d8
call fcn.01003828
lea ecx, [ebp - 0xa20]
call fcn.01003630
lea ecx, [ebp - 0xac4]
call fcn.01006898
lea ecx, [ebp - 0xa58]
call fcn.01003630
mov eax, ebx
jmp 0x1003b63
lea ecx, [ebp - 0xac4]
call fcn.01008efc
mov ecx, eax
call fcn.01008dc3
lea ecx, [ebp - 0xa20]
call fcn.01003630
lea ecx, [ebp - 0xac4]
call fcn.01006898
xor edi, edi
inc edi
push edi
push 8
call fcn.010035ca
test eax, eax
jl 0x1003f79
push 2
call sub.DUI70.dll_InitThread
cmp eax, ebx
jl 0x1003f79
lea eax, [ebp - 0xa10]
push eax
push 4
push 0xc80000
push ebx
push esi
push esi
push esi
push esi
push edi
push dword [ebp - 0xa40]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push ebx
push 0x10016c8
call dword [sym.imp.DUI70.dll_public:_static_long_int___stdcall_DirectUI::NativeHWNDHost::Create_unsigned_short_int_const___struct_HWND_____struct_HICON_____int__int__int__int__int__int__unsigned_int__class_DirectUI::NativeHWNDHost___]
cmp dword [ebp - 0xa10], ebx
je 0x1003f89
lea eax, [ebp - 0xa28]
push eax
push ebx
push dword [ebp - 0xa28]
lea eax, [ebp - 0xa34]
push dword [ebp - 0xa40]
push eax
push dword [ebp - 0xa10]
call fcn.010041b7
test eax, eax
jl 0x1003f79
push dword [ebp - 0xa28]
mov ecx, dword [ebp - 0xa34]
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::Element::EndDefer_unsigned_long_int_]
mov ecx, dword [ebp - 0xa10]
push edi
push ebx
push ebx
push 0x64
push 0x64
push 0xffffffffffffffff
call dword [sym.imp.DUI70.dll_public:_struct_HWND______thiscall_DirectUI::NativeHWNDHost::GetHWND_void_]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0xa10]
push edi
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::NativeHWNDHost::ShowWindow_int_]
mov dword [ebp - 0xa4c], edi
call sub.DUI70.dll_StartMessagePump
mov ecx, dword [ebp - 0xa10]
cmp ecx, ebx
je 0x1003f89
call dword [sym.imp.DUI70.dll_public:_void___thiscall_DirectUI::NativeHWNDHost::Destroy_void_]
call sub.DUI70.dll_UnInitThread
push 0x1000000
call sub.DUI70.dll_UnInitProcessPriv
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0100327e
push 0x100d2d8
call fcn.01003828
mov ebx, dword [ebp - 0xa4c]
jmp 0x1003e74