Function at 0x140127630
Capabilities:
Create directory
Download url
Execute command
Move file
Receive data

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x1403452b0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameNimrod1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.netsh_advfirewall_firewall_delete_rule_nameNimrod
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.netsh_advfirewall_firewall_add_rule_nameNimrod_protocolTCP_dirout_remoteport18081_23946_27042_27043_10012_13004_13003_35000_10009_20000_10061_10446_10447_11443_20002_10013_10242_547_3013_10000_10050_18018_7889_35000_62448_14000_30000_35000_17000_18000_17500_actionblock_enableyes
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.netsh_advfirewall_firewall_add_rule_nameNimrod1_interfaceany_dirout_actionblock_remoteip_203.205.0.0_203.205.255.255_123.151.0.0_123.151.255.255_58.250.0.0_58.250.255.255_113.105.0.0_113.105.255.255_203.205.239.243_123.151.71.34_43.154.254.18_180.163.210.217
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.netsh_advfirewall_firewall_add_rule_nameNimrod_protocolTCP_dirin_localport18081_23946_27042_27043_10012_13004_13003_35000_10009_20000_10061_10446_10447_11443_20002_10013_10242_547_3013_10000_10050_18018_7889_35000_62448_14000_30000_35000_17000_18000_17500_actionblock_enableyes
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.netsh_advfirewall_firewall_add_rule_nameNimrod1_interfaceany_dirin_actionblock_remoteip_203.205.0.0_203.205.255.255_123.151.0.0_123.151.255.255_58.250.0.0_58.250.255.255_113.105.0.0_113.105.255.255_203.205.239.243_123.151.71.34_43.154.254.18_180.163.210.217
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.C:WindowsFonts_bold2.ttf
lea rcx, [rsp + 0xe0]
call fcn.14000d5c0
nop
lea rcx, [rsp + 0xe0]
call fcn.1401270b0
movzx eax, al
test eax, eax
jne 0x1401276ca
mov dword [rsp + 0x38], 1
jmp 0x1401276d2
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0xe0]
call fcn.14000d4b0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140127705
lea rdx, [0x140309f40]
lea rcx, [0x140309f18]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rdx, [0x140309ef0]
lea rcx, [rsp + 0x100]
call fcn.14000d5c0
nop
lea rcx, [rsp + 0x100]
call fcn.1401270b0
movzx eax, al
test eax, eax
jne 0x140127738
mov dword [rsp + 0x3c], 1
jmp 0x140127740
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x100]
call fcn.14000d4b0
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1401277c4
lea rdx, str.Download_Fonts_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.C:WindowsFonts_bold.ttf
lea rdx, str.https:__store.nimrod.live_bold.ttf
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x54], eax
lea rdx, [0x1402fff0c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x78], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1401277f4
lea rdx, str.Found_Fonts.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x80], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, str.C:_Windows_Flags
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x88]
call fcn.14011c270
test eax, eax
jne 0x140127826
mov dword [rsp + 0x40], 1
jmp 0x14012782e
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
jne 0x140127889
lea rdx, str.Create_Folder_Flags__:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
xor edx, edx
lea rcx, [0x140309fa8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [0x1402fff54]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x90], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1401278b9
lea rdx, str.Folder_Flags_Found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x98], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x14030a040]
lea rcx, [rsp + 0x120]
call fcn.14000d5c0
nop
lea rcx, [rsp + 0x120]
call fcn.1401270b0
movzx eax, al
test eax, eax
jne 0x1401278ec
mov dword [rsp + 0x44], 1
jmp 0x1401278f4
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x120]
call fcn.14000d4b0
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14012797e
lea rdx, str.Download_Flags_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14030a0b0]
lea rdx, str.https:__store.nimrod.live_Flags.zip
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x58], eax
lea rdx, [0x1403000a4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0xa0], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1401279ae
lea rdx, str.Found_Flags.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0xa8], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.C:WindowsFlagsG1.png
lea rcx, [rsp + 0x140]
call fcn.14000d5c0
nop
lea rcx, [rsp + 0x140]
call fcn.1401270b0
movzx eax, al
test eax, eax
jne 0x1401279e1
mov dword [rsp + 0x48], 1
jmp 0x1401279e9
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x140]
call fcn.14000d4b0
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x140127af4
lea rcx, [0x14030a128]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0xb0], rax
lea rcx, [0x14030a0f0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call fcn.140127100
mov edx, 8
lea rcx, [rsp + 0x1a8]
call fcn.140009e50
lea rdx, str.C:WindowsFlagsFlags.zip
lea rcx, [rsp + 0x1a8]
call fcn.14011d390
nop
mov edx, 8
lea rcx, [rsp + 0x1a0]
call fcn.140009e50
lea rdx, str.C:WindowsFlags
lea rcx, [rsp + 0x1a0]
call fcn.14011d390
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000c220
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x1a8]
call fcn.14000c220
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140127100
nop
lea rcx, [rsp + 0x1a0]
call fcn.14011d3f0
nop
lea rcx, [rsp + 0x1a8]
call fcn.14011d3f0
lea rdx, str.C:Config1.ini
lea rcx, [rsp + 0x160]
call fcn.14000d5c0
nop
lea rcx, [rsp + 0x160]
call fcn.1401270b0
movzx eax, al
test eax, eax
jne 0x140127b27
mov dword [rsp + 0x4c], 1
jmp 0x140127b2f
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x160]
call fcn.14000d4b0
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140127bb9
lea rdx, str.Download_Config_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14030a170]
lea rdx, str.https:__store.nimrod.live_Config1.ini
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x5c], eax
lea rdx, [0x140300134]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0xd0], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140127be9
lea rdx, str.Config_Found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0xd8], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x14030a1d0]
lea rcx, [rsp + 0x180]
call fcn.14000d5c0
nop
lea rcx, [rsp + 0x180]
call fcn.1401270b0
movzx eax, al
test eax, eax
jne 0x140127c1c
mov dword [rsp + 0x50], 1
jmp 0x140127c24
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x35], al
lea rcx, [rsp + 0x180]
call fcn.14000d4b0
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x140127ca8
lea rdx, str.Download_Gui_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14030a248]
lea rdx, str.https:__store.nimrod.live_gui.ini
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov dword [rsp + 0x60], eax
lea rdx, str.Done.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x68], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140127cd2
lea rdx, str.Gui_Found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140130420
mov qword [rsp + 0x70], rax
lea rdx, [0x140130850]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140246bf0
add rsp, 0x1f8
ret