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

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
mov eax, dword [ebp + 0x1f8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1fc]
push ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x200]
push esi
mov esi, ecx
mov dword [ebp - 0x30], eax
lea ebx, [esi + 0x50]
mov eax, dword [ebx]
shr eax, 0x1f
not al
test al, 1
jne 0x413c25
cmp dword [0x547040], 1
jbe 0x413c25
xor eax, eax
jmp 0x413dda
push edi
call fcn.00412dde
xor edi, edi
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x413dd3
cmp word [eax], di
je 0x413dd3
xor eax, eax
push 0x208
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x1e]
push edi
push eax
call fcn.004dbcc0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
push str.hao123JuziBrowser
mov dword [ebp - 0x28], edi
push str.Software_sdbg
mov ecx, 0x105
lea edi, [ebp - 0x20]
mov dword [ebp - 0x40], 4
call fcn.0040299a
add esp, 0x14
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Minidump
mov eax, edi
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x413cb0
cmp dword [ebp - 0x2c], 0
je 0x413cb0
mov dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x24]
push 0x7ffffffe
mov ecx, 0x105
lea edx, [ebp - 0x20]
call fcn.00402ae0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..dmp
push 0x104
lea edi, [ebp - 0x20]
call fcn.00402968
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 - 0x30]
push 0xb
pop ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], 0x24e8
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 0x413d1d
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 0x413d3a
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 dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x413dd3
lea eax, [ebp - 0x80]
mov dword [ebp - 0x58], 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 - 0x28]
mov dword [ebp - 0x5c], 3
push dword [ebp - 0x24]
mov dword [ebp - 0x54], esi
push dword [esi + 0x324]
mov dword [ebp - 0x50], ebx
push dword [esi + 0x31c]
call dword [0x547358]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x24]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x413dd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [ebp + 0x1ec]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5a7d
add ebp, 0x1f0
leave
ret