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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x21c], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
shr eax, 0x1f
not al
test al, 1
jne 0x430f1d
cmp dword [0x5d1620], 1
jbe 0x430f1d
xor eax, eax
jmp 0x431156
push edi
call fcn.0042f8b8
xor edi, edi
mov dword [ebp - 0x22c], eax
cmp eax, edi
je 0x43114f
cmp word [eax], di
je 0x43114f
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00537010
push 0x57d2fc
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x230], edi
push str.Software_sdbg
mov ebx, 0x104
mov dword [ebp - 0x214], edi
push ebx
lea edi, [ebp - 0x210]
mov dword [ebp - 0x220], 4
call fcn.00403d4f
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
push str.Minidump
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x430fd0
cmp dword [ebp - 0x218], 0
je 0x430fd0
mov dword [ebp - 0x214], 2
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.00408533
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebp - 0x228]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..dmp
mov eax, ebx
lea ecx, [ebp - 0x210]
call fcn.00413a2b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x26c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x21c]
push 0xb
pop ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x26c], 0x2568
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], eax
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x43105e
sub eax, edx
sar eax, 1
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x250], eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x431087
push 0
push 0x80
push 2
sub eax, ecx
push 0
sar eax, 1
push 2
mov dword [ebp - 0x254], eax
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43114f
lea eax, [ebp - 0x270]
mov dword [ebp - 0x248], eax
lea eax, [esi + 0x50]
mov dword [ebp - 0x240], eax
xor eax, eax
lea edi, [ebp - 0x238]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x328]
and dword [ebp - 0x234], 0
mov dword [ebp - 0x23c], eax
push 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x24c], 3
push ebx
push dword [esi + 0x324]
mov dword [ebp - 0x244], esi
push dword [esi + 0x31c]
call dword [0x5d2984]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x431155
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret