Function at 0x41e310
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58ac74
mov eax, dword fs:[0]
push eax
sub esp, 0x6f8
mov eax, dword [0x61c948]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x708]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp byte [edi + 0x50], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x34], edi
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ebx
jne 0x41f384
lea ecx, [edi - 0xc]
test ecx, ecx
je 0x41e38b
add edi, 8
jmp 0x41e38d
xor edi, edi
push edi
mov dword [esp + 0x48], edi
mov dword [esp + 0xa4], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
mov dword [esp + 0x710], 0
jne 0x41e3bf
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004003
jmp 0x41f2ca
test ebx, ebx
je 0x41e3ae
push esi
lea ecx, [esp + 0x90]
call fcn.0040a190
mov ecx, eax
mov byte [esp + 0x710], 1
call fcn.00408710
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00409dc0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x40], esi
mov byte [esp + 0x710], 3
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e41f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp dword [esi - 0xc], ebx
jg 0x41e42b
or eax, 0xffffffff
jmp 0x41e443
push 0x3a
push esi
call fcn.00473372
add esp, 8
cmp eax, ebx
jne 0x41e43f
or eax, 0xffffffff
jmp 0x41e443
sub eax, esi
sar eax, 1
add eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x48]
call fcn.00407f50
mov edi, eax
mov byte [esp + 0x710], 4
call fcn.00425070
mov ecx, eax
call fcn.00407eb0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00409dc0
add eax, 0x10
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x710], 6
mov eax, dword [esp + 0x9c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e4ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x50]
call fcn.0040a190
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x718], 7
call fcn.004083b0
mov byte [esp + 0x710], 9
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xa
mov dword [esp + 0x58], vtable.CFGFilterList.0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
mov byte [esp + 0x72c], al
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x3c], edi
mov dword [esp + 0x50], ebx
je 0x41e584
push ebx
lea ecx, [esp + 0x54]
push ecx
push 0x200
lea edx, [esp + 0x300]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x41e63b
lea ecx, [esp + 0x2c]
push 0x5eac04
push ecx
call fcn.00416670
add esp, 8
test al, al
je 0x41e63b
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x70]
cmp esi, ebx
je 0x41e63b
lea ecx, [ecx]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41e6b9
mov eax, esi
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x2c]
mov esi, dword [esi]
add eax, 0xfffffff0
push eax
call fcn.00409dc0
lea ebx, [eax + 0x10]
add esp, 4
lea eax, [edi + 0x40]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00429010
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 0
je 0x41e631
push 0
push 0
push 0
push edi
lea ecx, [esp + 0x68]
push ecx
call fcn.0042d740
test esi, esi
jne 0x41e5c0
mov edi, dword [esp + 0x3c]
xor ebx, ebx
cmp edi, 0xffffffff
je 0x41e79b
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x70]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x41e79b
mov eax, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41e6b9
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0x70]
test esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
je 0x41e78e
mov edi, edi
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41e6b9
mov eax, esi
mov edi, dword [eax + 8]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov esi, dword [esi]
sub edi, 0x10
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x41e6c3
cmp eax, dword [edi]
jne 0x41e6c3
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41e6fe
push 0x80004005
call fcn.0040a460
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41e9b2
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0047255c
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x28], ebx
mov byte [esp + 0x710], 0xb
mov ecx, dword [esp + 0x50]
push ebx
push ecx
lea edx, [esp + 0x2fc]
push edx
call fcn.0041be00
add esp, 0xc
test eax, eax
je 0x41e755
lea eax, [ebx - 0x10]
mov byte [esp + 0x710], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e74b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x41e680
jmp 0x41e78e
mov ecx, dword [esp + 0x14]
push 0
push 0
push 1
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.0042d740
lea eax, [ebx - 0x10]
mov byte [esp + 0x710], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e78e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
jne 0x41e657
xor ebx, ebx
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], ebx
je 0x41e82a
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x70]
cmp esi, ebx
je 0x41e82a
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41e6b9
mov eax, esi
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x30]
mov esi, dword [esi]
add eax, 0xfffffff0
push eax
call fcn.00409dc0
lea ebx, [eax + 0x10]
add esp, 4
lea eax, [edi + 0x58]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.00429010
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e80c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 0
je 0x41e824
push 0
push 0
push 2
push edi
lea ecx, [esp + 0x68]
push ecx
call fcn.0042d740
test esi, esi
jne 0x41e7b3
xor ebx, ebx
mov edx, dword [esp + 0x34]
mov esi, dword [edx + 0x70]
cmp esi, ebx
je 0x41e86d
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x41e6b9
mov eax, esi
mov eax, dword [eax + 8]
cmp dword [eax + 0x48], ebx
mov esi, dword [esi]
jne 0x41e869
cmp dword [eax + 0x78], ebx
jne 0x41e869
cmp dword [eax + 0x60], ebx
jne 0x41e869
push ebx
push ebx
push 3
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0042d740
cmp esi, ebx
jne 0x41e835
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
cmp eax, 1
mov edi, 0x100
jle 0x41eb04
lea ecx, [esp + 0x2c]
push 0x5eac04
push ecx
call fcn.00416670
add esp, 8
test al, al
je 0x41eb04
mov dword [esp + 0x18], ebx
push 0x20019
push esi
push SysReAllocString
lea ecx, [esp + 0x24]
mov byte [esp + 0x71c], 0xc
call fcn.00409ec0
test eax, eax
jne 0x41eaa8
mov dword [esp + 0x20], ebx
push 0x20019
mov byte [esp + 0x714], 0xd
mov edx, dword [esp + 0x1c]
push str.Extensions
push edx
lea ecx, [esp + 0x2c]
call fcn.00409ec0
test eax, eax
jne 0x41e9d2
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], edi
call fcn.0040a640
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xf8]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00409e40
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.004b29a0
test bl, bl
je 0x41e9d2
push 0x90
call fcn.0044ff38
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x710], 0xe
je 0x41e9b7
push ecx
lea eax, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0040a190
lea ecx, [esp + 0xe8]
push ecx
call fcn.00560740
mov ecx, dword [eax + 4]
mov edx, dword [eax]
add esp, 8
push 0x20
mov dword [esp + 0xbc], ecx
push 0x10000
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push esi
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], eax
call fcn.0042c8b0
jmp 0x41e9b9
call fcn.00408a40
xor eax, eax
push 1
push 0
push 4
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x724], 0xd
call fcn.0042d740
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xf8]
push ecx
push str.Source_Filter
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edi
call fcn.00409e40
test eax, eax
jne 0x41ea95
push 0x90
call fcn.0044ff38
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x710], 0xf
je 0x41ea7a
push ecx
lea edx, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0040a190
lea eax, [esp + 0xe8]
push eax
call fcn.00560740
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 8
push 0x20
mov dword [esp + 0xb8], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 0xc]
push 0x10000
lea eax, [esp + 0xbc]
push eax
push esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
call fcn.0042c8b0
jmp 0x41ea7c
xor eax, eax
push 1
push 0
push 5
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x724], 0xd
call fcn.0042d740
lea ecx, [esp + 0x20]
mov byte [esp + 0x710], 0xc
call fcn.00409f10
xor ebx, ebx
push 0x90
call fcn.0044ff38
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x710], 0x10
je 0x41ead9
push 0x20
push 0x10000
push 0x59de04
push eax
call fcn.0042c8b0
jmp 0x41eadb
xor eax, eax
push 1
push ebx
push 6
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x724], 0xc
call fcn.0042d740
lea ecx, [esp + 0x18]
mov byte [esp + 0x710], 0xa
call fcn.00409f10
cmp dword [esp + 0x3c], 0xffffffff
je 0x41ee78
mov dword [esp + 0x20], ebx
push 0x20019
push str.Media_Type
push SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x71c], 0x11
call fcn.00409ec0
test eax, eax
jne 0x41ee61
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esp + 0x14], ebx
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x108]
push edx
push eax
push ecx
mov dword [esp + 0x3c], 0x100
call edi
test eax, eax
jne 0x41ee61
lea edx, [esp + 0xe4]
push edx
push ecx
lea eax, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0040a190
call fcn.00560820
add esp, 8
cmp eax, ebx
jl 0x41ee57
mov dword [esp + 0x24], ebx
push 0x20019
lea ecx, [esp + 0xf8]
mov byte [esp + 0x714], 0x12
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00409ec0
test eax, eax
mov esi, dword [esp + 0x24]
jne 0x41ee44
mov dword [esp + 0x28], ebx
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x108]
push edx
push eax
push esi
mov dword [esp + 0x3c], 0x100
call edi
test eax, eax
jne 0x41ee44
lea ecx, [esp + 0xd4]
push ecx
push ecx
lea edx, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0040a190
call fcn.00560820
add esp, 8
cmp eax, ebx
jl 0x41ee30
mov dword [esp + 0x18], ebx
push 0x20019
lea eax, [esp + 0xf8]
mov byte [esp + 0x714], 0x13
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00409ec0
test eax, eax
mov edi, dword [esp + 0x18]
jne 0x41ee1d
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xf8]
push eax
push str.Source_Filter
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0x100
call fcn.00409e40
test eax, eax
je 0x41ecb7
lea ecx, [esp + 0x18]
mov byte [esp + 0x710], 0x12
call fcn.00409f10
add dword [esp + 0x28], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [esp + 0x24]
jmp 0x41ebdc
push ecx
lea edx, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.0040a190
lea eax, [esp + 0xa8]
push eax
call fcn.00560740
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xc0], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0xbc]
push 0x59b9b0
push eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x58], 0x200
xor esi, esi
call fcn.00409f40
add esp, 0x10
test eax, eax
jne 0x41ee1d
mov edi, edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x510]
push edx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41ee1d
push ecx
lea eax, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.0040a190
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0041c060
add esp, 8
test al, al
jne 0x41edb7
lea edx, [esp + 0xb4]
push 0x59b9b0
push edx
add esi, 1
mov dword [esp + 0x24], 0x100
mov dword [esp + 0x50], 0x200
call fcn.00409f40
add esp, 8
test eax, eax
je 0x41ed30
jmp 0x41ee1d
push 0x90
call fcn.0044ff38
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebx
mov byte [esp + 0x710], 0x14
je 0x41eded
push 0x20
push 0x10000
lea ecx, [esp + 0xbc]
push ecx
push eax
call fcn.0042c8b0
mov esi, eax
jmp 0x41edef
xor esi, esi
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0xe8]
mov ecx, esi
mov byte [esp + 0x714], 0x13
call fcn.0042c310
push 1
push ebx
push 7
push esi
lea eax, [esp + 0x68]
push eax
call fcn.0042d740
cmp edi, ebx
mov byte [esp + 0x710], 0x12
je 0x41ee30
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [esp + 0x28], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [esp + 0x24]
jmp 0x41ebdc
cmp esi, ebx
mov byte [esp + 0x710], 0x11
je 0x41ee57
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [esp + 0x14], 1
jmp 0x41eb45
mov byte [esp + 0x710], 0xa
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41ee78
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x30]
cmp dword [eax - 0xc], ebx
je 0x41f14e
mov dword [esp + 0x18], 0
add eax, 0xfffffff0
push eax
mov byte [esp + 0x714], 0x15
call fcn.00409dc0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push str.Media_TypeExtensions_
push edx
mov byte [esp + 0x71c], 0x16
call fcn.0040f160
mov eax, dword [eax]
add esp, 0xc
push 0x20019
push eax
push SysReAllocString
lea ecx, [esp + 0x24]
call fcn.00409ec0
test eax, eax
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x710], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41f137
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xf8]
push edx
mov edi, 0x100
push str.Source_Filter
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edi
call fcn.00409e40
test eax, eax
jne 0x41f137
push ecx
lea eax, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040a190
lea ecx, [esp + 0xa8]
push ecx
call fcn.00560740
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov esi, dword [0x59b9bc]
mov dword [esp + 0xdc], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xe0], ecx
mov ecx, dword [0x59b9b4]
mov dword [esp + 0xe4], edx
mov edx, dword [0x59b9b8]
add esp, 8
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xd0], edx
lea edx, [esp + 0xf8]
mov dword [esp + 0xe4], eax
mov eax, dword [0x59b9b0]
push edx
push str.Media_Type
lea ecx, [esp + 0x24]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0x30], edi
call fcn.00409e40
test eax, eax
jne 0x41f062
push ecx
lea eax, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040a190
lea ecx, [esp + 0xa8]
push ecx
call fcn.00560740
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xbc], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 8
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xf8]
push edx
push str.Subtype
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edi
call fcn.00409e40
test eax, eax
jne 0x41f0d0
push ecx
lea eax, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040a190
lea ecx, [esp + 0xa8]
push ecx
call fcn.00560740
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xcc], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 8
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], eax
push 0x90
call fcn.0044ff38
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x710], 0x17
je 0x41f106
push 0x20
push 0x10000
lea ecx, [esp + 0xdc]
push ecx
push eax
call fcn.0042c8b0
mov esi, eax
jmp 0x41f108
xor esi, esi
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0xb8]
mov ecx, esi
mov byte [esp + 0x714], 0x15
call fcn.0042c310
push 1
push 0
push 8
push esi
lea eax, [esp + 0x68]
push eax
call fcn.0042d740
mov byte [esp + 0x710], 0xa
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41f14e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x41f15e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x90
call fcn.0044ff38
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x710], 0x18
je 0x41f191
push 0x20
push 0x10000
push 0x59ddf4
push eax
call fcn.0042c8b0
mov esi, eax
jmp 0x41f193
xor esi, esi
push 0x59b9b0
mov eax, 0x59dbf4
mov ecx, esi
mov byte [esp + 0x714], 0xa
call fcn.0042c310
push 1
push 0
push 9
push esi
lea ecx, [esp + 0x68]
push ecx
call fcn.0042d740
lea edx, [esp + 0x58]
push edx
call fcn.0042d8e0
mov esi, eax
test esi, esi
je 0x41f220
mov edi, dword [esp + 0x34]
cmp byte [edi + 0x50], 0
jne 0x41f2f0
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x41e6b9
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [esi]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
lea ebx, [edi - 0xc]
mov edx, eax
call fcn.0041c680
mov ebx, eax
test ebx, ebx
jge 0x41f38e
test esi, esi
jne 0x41f1d1
mov esi, dword [esp + 0x3c]
sub esi, 0xffffffff
neg esi
sbb esi, esi
and esi, 0x2b
lea ecx, [esp + 0x58]
add esi, 0x80040216
mov byte [esp + 0x710], 9
call fcn.0042d640
mov byte [esp + 0x710], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f26d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x710], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f295
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x710], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f2bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x708]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f0]
xor ecx, esp
call fcn.004721e8
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x58]
mov byte [esp + 0x710], 9
call fcn.0042d640
mov byte [esp + 0x710], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f329
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x710], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x710], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f379
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x41f2ca
lea ecx, [esp + 0x58]
mov byte [esp + 0x710], 9
call fcn.0042d640
mov byte [esp + 0x710], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f3c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x710], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f3ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x710], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f417
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x41f2ca