Function at 0x441400
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
lea eax, [esp + 0x22c]
lea ecx, [esp + 4]
push esi
mov esi, dword [0x5565e4]
push edi
push eax
push ecx
mov ecx, 0x5565e0
call fcn.00442ae0
cmp dword [esp + 0xc], esi
je 0x44150a
mov edx, dword [0x547570]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x234]
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], edx
call fcn.004334f0
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, 0x5565e0
call fcn.00443040
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004f7560
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
call fcn.004330a0
lea ecx, [esp + 0xc]
call fcn.00405700
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x230]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4414a7
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4414ca
mov edx, dword [0x547570]
mov dword [edi], edx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4414ba
xor eax, eax
jmp 0x4414c1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
mov ecx, edi
call fcn.00405870
mov eax, dword [esp + 0x234]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4414ff
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4414ff
mov edx, dword [esp + 0x234]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret
mov eax, dword [0x547570]
mov ecx, str.application_unknown
test ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
je 0x44155e
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x44155e
push esi
lea ecx, [esp + 0xc]
call fcn.00405530
test eax, eax
je 0x44155e
mov edx, dword [esp + 8]
inc esi
push esi
push str.application_unknown
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 8]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [esp + 0x234]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4415ea
mov ecx, 0x7f
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], ax
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x10], 0x200
push eax
push 0
push 0
push str.Content_Type
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4415df
lea edx, [esp + 0x2c]
test edx, edx
je 0x4415d0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00405870
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x547570]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x234]
push ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.004334f0
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5565e0
call fcn.00443040
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004f7560
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.004330a0
lea ecx, [esp + 0xc]
call fcn.00405700
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 8]
add esi, 0x10
cmp eax, ecx
je 0x441694
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x441664
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x44166b
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x441679
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, esi
call fcn.00405870
jmp 0x441694
mov ecx, esi
call fcn.004124c0
mov ecx, dword [esp + 8]
mov dword [esi], ecx
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x230]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00405440
mov eax, dword [esp + 8]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4416d6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4416d6
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x234]
call fcn.00405700
mov eax, esi
pop edi
pop esi
add esp, 0x224
ret