Function at 0x42a6f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf8dc
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4ea688]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
jne 0x42a730
xor eax, eax
jmp 0x42a79b
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
cmp ecx, 0x44484d52
ja 0x42a87d
je 0x42a86a
cmp ecx, 0x43484c53
ja 0x42a7fb
je 0x42a7e2
sub ecx, 0x1f4
je 0x42a7b9
sub ecx, 0x25
jne 0x42a97b
cmp dword [eax + 4], 0x1a
jne 0x42a796
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x42a796
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [eax + 4]
mov dword [ebp - 0x10c], ebx
mov eax, dword [eax]
push edx
push eax
push 0x219
push esi
call fcn.00429bb0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491db1
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 8], ebx
je 0x42a72c
cmp dword [eax + 4], 0xc48
jne 0x42a72c
lea ecx, [ebp - 0x10c]
push ecx
push eax
push ebx
mov dword [ebp - 0x10c], ebx
push 0x4a
jmp 0x42a790
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x42a796
mov eax, dword [eax]
lea edx, [ebp - 0x10c]
push edx
push ebx
push eax
push 0x41e
jmp 0x42a790
cmp ecx, 0x43524552
je 0x42a82a
cmp ecx, 0x44454c46
jne 0x42a97b
cmp dword [eax + 4], ebx
je 0x42a796
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x42a796
push eax
call fcn.0042cdb0
jmp 0x42a796
mov eax, dword [eax + 8]
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
cmp eax, ebx
je 0x42a796
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x110]
push edx
push ebx
push 0x20006
push 1
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x42a796
cmp dword [eax + 8], ebx
je 0x42a796
call fcn.004045f0
jmp 0x42a796
cmp ecx, 0x50536952
ja 0x42a967
je 0x42a93b
cmp ecx, 0x4c4f504c
je 0x42a8da
cmp ecx, 0x4d47534d
jne 0x42a97b
cmp dword [eax + 4], 4
jb 0x42a796
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x42a796
cmp dword [ecx], 0x52545642
jne 0x42a796
lea ecx, [ebp - 0x10c]
push ecx
push eax
push ebx
mov dword [ebp - 0x10c], ebx
push 0x4a
jmp 0x42a790
cmp dword [eax + 4], 0xf4
jb 0x42a72c
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x42a72c
cmp dword [eax], 0xf4
jne 0x42a72c
add eax, 4
push eax
lea edx, [ebp - 0x108]
push 0x78
push edx
call fcn.0049459c
add esp, 0xc
push 1
lea eax, [ebp - 0x108]
push eax
push ebx
push esi
xor ecx, ecx
call fcn.00429170
cmp eax, ebx
je 0x42a796
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
jmp 0x42a796
cmp dword [eax + 8], ebx
je 0x42a72c
cmp dword [eax + 4], 0x828
jne 0x42a72c
lea ecx, [ebp - 0x10c]
push ecx
push eax
push ebx
mov dword [ebp - 0x10c], ebx
push 0x4a
jmp 0x42a790
cmp ecx, 0x544f5749
je 0x42aabd
cmp ecx, 0x5457534c
je 0x42a99b
lea edx, [ebp - 0x110]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
add esi, 0x34
push esi
mov dword [ebp - 0x110], ebx
call fcn.00428b90
jmp 0x42a796
cmp dword [eax + 4], 0x40
jb 0x42a796
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x42a796
lea esi, [ebp - 0x130]
call fcn.0040b890
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], ebx
jb 0x42a9ce
mov eax, dword [eax + 4]
jmp 0x42a9d1
add eax, 4
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, eax
call fcn.004280e0
add esp, 4
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.00411e70
mov eax, dword [ebp - 0x10c]
push edi
call fcn.00427ab0
add esp, 4
cmp dword [edi + 0x38], 0
jbe 0x42aaad
lea esi, [ebp - 0x114]
call fcn.00425af0
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov edx, esi
push edx
call fcn.00427c30
add esp, 4
test eax, eax
je 0x42aa92
lea esi, [ebp - 0x14c]
call fcn.0040b890
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], ebx
jb 0x42aa47
mov eax, dword [eax + 4]
jmp 0x42aa4a
add eax, 4
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
mov esi, eax
call fcn.00427990
add esp, 8
lea esi, [ebp - 0x14c]
call fcn.00411e70
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x38]
push eax
mov eax, dword [ebp - 0x110]
push ecx
lea edx, [edi + 0x3c]
push edx
call fcn.00427cc0
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.004064a0
cmp dword [edi + 0x30], 0
je 0x42aaa2
add edi, 0x3c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x114]
call fcn.004064a0
lea ecx, [ebp - 0x10c]
call fcn.004064a0
jmp 0x42a796
cmp dword [eax + 4], 0xa08
jb 0x42a796
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x42a796
lea ecx, [eax + 0x208]
push ecx
push eax
call fcn.0042aed0
jmp 0x42a796