Function at 0x10008070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 8
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xa
idiv ecx
lea eax, [edx + 1]
mov dword [ebp - 8], eax
cmp edx, 9
ja case.default.0x100080a1
jmp dword [edx*4 + 0x10008340]
mov al, 0x4d
mov cl, 0x83
jmp 0x100080e8
mov al, 0xe7
mov cl, 0x64
jmp 0x100080e8
mov al, 0x4b
mov cl, 0x79
jmp 0x100080e8
mov al, 0x35
mov cl, 0x57
jmp 0x100080e8
mov al, 0xc7
mov cl, 0x93
jmp 0x100080e8
mov al, 0x34
mov cl, 0x27
jmp 0x100080e8
mov al, 0xd1
mov cl, 0xa7
jmp 0x100080e8
mov al, 0xa6
mov cl, 0x34
jmp 0x100080e8
mov al, 0x72
mov cl, 0x6d
jmp 0x100080e8
mov al, 0x91
mov cl, 0x30
jmp 0x100080e8
mov al, 0xe2
mov cl, 0x76
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov byte [ebp - 0x16], al
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0xea91e1
mov byte [ebp - 0x18], 0x35
mov byte [ebp - 0x17], cl
mov word [ebp - 0x15], 0
mov dword [ebp - 4], 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x18]
push 0
push 5
push eax
push 0xea91e1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0xea91e1
call ebx
mov eax, dword [ebp - 8]
mov dword [0x10019490], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x11d9ec0
mov dword [ebp - 0xc], 0x5c8165ca
mov dword [ebp - 4], 0
call ebx
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x11d9ec0
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push 0x11d9ec0
call ebx
lea eax, [ebp - 4]
mov dword [ebp - 0x10], 0x4523ecf8
push eax
push 0x40
push 4
push 0x11da2c0
mov dword [ebp - 4], 0
call ebx
push 0
push 4
lea eax, [ebp - 0x10]
push eax
push 0x11da2c0
call edi
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push 0x11da2c0
call ebx
call fcn.100110e0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.100115b0
push 0x10007810
push 0x10018668
call fcn.10010b70
call fcn.10011140
test eax, eax
jne 0x10008335
call fcn.100110e0
call esi
push eax
call fcn.100115b0
push 0x10007860
push 0x100185bc
call fcn.10010b70
call fcn.10011140
call fcn.100110e0
call esi
push eax
call fcn.100115b0
push 0x100070a0
push 0x100185b8
call fcn.10010b70
call fcn.10011140
test eax, eax
jne 0x10008335
call fcn.100110e0
call esi
push eax
call fcn.100115b0
push 0x10007490
push 0x10018670
call fcn.10010b70
call fcn.10011140
test eax, eax
jne 0x10008335
call fcn.100110e0
call esi
push eax
call fcn.100115b0
push 0x10006e80
push 0x1001866c
call fcn.10010b70
call fcn.10011140
test eax, eax
jne 0x10008335
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100194e4
push str.DeleteFileA
push str.kernel32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edx, 0x10007680
mov ecx, eax
call fcn.1000e9d0
add esp, 4
push 0x100194fc
push 0x10014a38
push 0x10014a58
call edi
push eax
call esi
mov edx, 0x10007b20
mov ecx, eax
call fcn.1000e9d0
add esp, 4
push 0x100194f4
push str.ShellExecuteA
push str.Shell32.dll
call edi
push eax
call esi
mov edx, 0x100073c0
mov ecx, eax
call fcn.1000e9d0
add esp, 4
push 0x10019498
push str.send
push str.ws2_32.dll
call edi
push eax
call esi
mov edx, 0x10007aa0
mov ecx, eax
call fcn.1000e9d0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop dword [eax]
test al, 0x80
add byte [eax], dl
scasb al, byte es:[edi]
add byte [eax], 16
mov ah, 0x80
add byte [eax], dl
mov edx, 0xc0100080
add byte [eax], 16
mov byte [eax - 0x7f33f000], 0
adc dl, dl
add byte [eax], 0x10
fadd dword [eax - 0x7f21f000]
add byte [eax], dl
int3