Function at 0x43e1a0
Capabilities:
Get common file path
Get disk information
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aded3
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
mov dword [ebp - 0x438], edi
jne 0x43e20e
push 0x1a0
call fcn.0048fbae
add esp, 4
mov dword [ebp - 0x430], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x43e203
push 1
push eax
call fcn.00424e20
jmp 0x43e205
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi], eax
mov eax, dword [edi]
lea esi, [ebp - 0x428]
call fcn.004260b0
mov esi, 1
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x428]
cmp dword [eax - 0xc], 0
je 0x43e259
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e252
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x43e585
cmp dword [edi], 0
jne 0x43e28a
push 0x1a0
call fcn.0048fbae
add esp, 4
mov dword [ebp - 0x430], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x43e282
push esi
push eax
call fcn.00424e20
jmp 0x43e284
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi], eax
mov eax, dword [edi]
xor ecx, ecx
push 0x206
lea edx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], cx
push edx
cmp dword [eax + 0x14], ecx
je 0x43e42d
call fcn.00493520
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x424]
push edx
push 0x4ba358
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsStormplayer9.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x42c], 0x102
mov dword [ebp - 0x424], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43e496
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x218]
call fcn.00402b20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x424]
cmp dword [eax - 4], esi
jle 0x43e32c
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.00402bc0
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004907a5
add esp, 8
test eax, eax
js 0x43e6a0
mov ecx, dword [ebp - 0x424]
cmp eax, dword [ecx - 8]
jg 0x43e6a0
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x424]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x43e3ab
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x218]
lea edi, [ebp - 0x428]
call fcn.00402ae0
jmp 0x43e405
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov word [ebp - 0x420], ax
call fcn.00493520
add esp, 0xc
push esi
push 0x26
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x420]
lea edi, [ebp - 0x428]
call fcn.00402ae0
mov edx, 0x4bc1fc
mov eax, edi
call fcn.0040ae90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e496
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43e496
call fcn.00493520
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e460
sub eax, edx
lea edx, [ebp - 0x218]
sar eax, 1
push edx
lea ecx, [ebp - 0x428]
push ecx
mov ebx, eax
call fcn.00402a30
push 0x1a
push 0x4bc1fc
lea ebx, [ebp - 0x428]
call fcn.00409bd0
mov ebx, dword [ebp - 0x428]
add ebx, 0xfffffff0
mov eax, ebx
mov dword [ebp - 0x424], 0
call fcn.004050f0
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
mov byte [ebp - 4], 4
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43e4e7
mov eax, 0x104
lea ecx, [ebp - 0x42c]
call fcn.00402c80
mov esi, dword [ebp - 0x42c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004907a5
add esp, 8
test eax, eax
js 0x43e6a0
cmp eax, dword [esi - 8]
jg 0x43e6a0
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
lea eax, [ebp - 0x424]
push eax
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x430], esp
mov eax, esi
mov edi, esp
mov dword [ebp - 0x430], esi
call fcn.004050f0
add eax, 0x10
mov dword [edi], eax
call fcn.004217a0
add esp, 8
test eax, eax
jne 0x43e5a1
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e563
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43e583
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x424], 0x64
jge 0x43e67b
lea ecx, [ebp - 0x424]
push ecx
mov ecx, 0x4ba358
call fcn.00402b20
lea edx, [ebp - 0x424]
push edx
mov byte [ebp - 4], 5
call fcn.00421840
add esp, 4
test eax, eax
jne 0x43e605
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e546
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43e546
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x434]
push edx
mov ebx, 0x4bc1fc
call fcn.00404f20
add esp, 8
lea edi, [ebp - 0x428]
mov byte [ebp - 4], 6
call fcn.00405000
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e67b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x428]
push ecx
mov eax, 1
lea ecx, [ebp - 0x434]
call fcn.00405e40
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x43e6b4
test ecx, ecx
jns 0x43e6aa
push 0x80070057
call fcn.004035c0
cmp word [eax], 0x5c
jne 0x43e6b4
xor bl, bl
jmp 0x43e6b6
mov bl, 1
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e6d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43e6e9
push 0x5c
lea edi, [ebp - 0x428]
call fcn.00420af0
mov esi, dword [ebp - 0x438]
call fcn.0043e120
mov esi, dword [ebp - 0x428]
mov edx, esi
call fcn.00426000
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x430]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x43e585