Function at 0x41f364
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
mov eax, dword [ebp + 0x1f8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1fc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x200]
push ebx
push esi
mov dword [ebp - 0x2c], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
shr eax, 0x1f
not al
test al, 1
jne 0x41f3ba
cmp dword [0x63805c], 1
jbe 0x41f3ba
xor eax, eax
jmp 0x41f568
push edi
call fcn.0041e495
xor edi, edi
mov dword [ebp - 0x3c], eax
cmp eax, edi
je 0x41f561
cmp word [eax], di
je 0x41f561
xor eax, eax
push 0x208
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x1e]
push edi
push eax
call fcn.00596530
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
push str.hao123JuziBrowser
mov ebx, 0x104
mov dword [ebp - 0x24], edi
push str.Software_sdbg
mov ecx, ebx
lea edi, [ebp - 0x20]
mov dword [ebp - 0x30], 4
call fcn.00405374
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Minidump
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41f447
cmp dword [ebp - 0x28], 0
je 0x41f447
mov dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x3c]
push 0x7ffffffe
mov ecx, ebx
lea edx, [ebp - 0x20]
call fcn.004054ba
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebp - 0x38]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..dmp
push ebx
lea edi, [ebp - 0x20]
call fcn.00405342
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
push 0xb
pop ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], 0x2568
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], eax
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x41f4ad
sub eax, edx
sar eax, 1
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x41f4ca
push 0
push 0x80
push 2
sub eax, ecx
push 0
sar eax, 1
push 2
mov dword [ebp - 0x64], eax
push 0x40000000
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f561
lea eax, [ebp - 0x80]
mov dword [ebp - 0x58], eax
lea eax, [esi + 0x50]
mov dword [ebp - 0x50], eax
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x328]
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], eax
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x5c], 3
push ebx
push dword [esi + 0x324]
mov dword [ebp - 0x54], esi
push dword [esi + 0x31c]
call dword [0x6393c0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x41f567
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [ebp + 0x1ec]
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f3cf
add ebp, 0x1f0
leave
ret