Function at 0x14000fd30
Capabilities:
Enumerate process modules
Extract resource via kernel32 functions

Disassembly:
push rbp
lea rbp, [rsp - 0x850]
sub rsp, 0x950
mov rcx, qword [0x14021c398]
test rcx, rcx
je 0x140010297
cmp qword [0x140227f10], 0
je 0x140010297
mov qword [rsp + 0x940], r13
lea r8, str.Modules_____:
xor r13d, r13d
mov edx, 0x100000
mov dword [0x140227f18], r13d
lea r9, [r13 - 1]
call fcn.14003e19c
call qword [sym.imp.dbghelp.dll_SymGetOptions]
or eax, 0x206
mov ecx, eax
call qword [sym.imp.dbghelp.dll_SymSetOptions]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [0x1401c1274]
mov rcx, rax
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
je 0x14001028f
mov qword [rsp + 0x930], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140010287
mov qword [rsp + 0x948], r12
lea rcx, [rbp - 0x3c]
xor edx, edx
mov r8d, 0x434
mov r12b, 1
call fcn.14014d290
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 0x438
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140010276
mov qword [rsp + 0x960], rbx
mov qword [rsp + 0x968], rsi
mov qword [rsp + 0x970], rdi
mov qword [rsp + 0x938], r14
nop dword [rax]
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x510]
mov qword [rsp + 0x30], r13
lea r8, [rbp + 0x1f0]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x14000fe96
jne 0x14000fe8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000fe8f
mov byte [rbp + 0x613], r13b
jmp 0x14000fe96
mov byte [rbp + 0x510], r13b
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_CharLowerW]
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x400]
mov qword [rsp + 0x30], r13
lea r8, [rbp - 0x10]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x14000fef6
jne 0x14000feef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000feef
mov byte [rbp + 0x503], r13b
jmp 0x14000fef6
mov byte [rbp + 0x400], r13b
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_CharLowerW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp + 0x400]
xor edx, edx
mov rcx, rax
lea r8, [rbp + 0x510]
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.dbghelp.dll_SymLoadModule64]
test rax, rax
je 0x140010256
mov r8, qword [0x140227f10]
test r8, r8
je 0x140010256
mov edx, dword [0x140227f18]
cmp edx, 0x100
jae 0x140010256
imul rcx, rdx, 0x220
add rcx, r8
je 0x14000ff8b
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x1f0]
mov edx, 0x100
call fcn.14003c218
mov edx, dword [0x140227f18]
mov r8, qword [0x140227f10]
mov ecx, edx
imul rax, rcx, 0x220
mov qword [rax + r8 + 0x200], rcx
mov eax, dword [0x140227f18]
mov rcx, qword [rbp - 0x28]
imul rdx, rax, 0x220
mov rax, qword [0x140227f10]
mov qword [rdx + rax + 0x208], rcx
mov eax, dword [0x140227f18]
mov edx, dword [rbp - 0x20]
add rdx, qword [rbp - 0x28]
imul rcx, rax, 0x220
mov rax, qword [0x140227f10]
mov qword [rcx + rax + 0x210], rdx
mov eax, dword [0x140227f18]
imul rdx, rax, 0x220
add rdx, qword [0x140227f10]
mov rax, qword [rdx + 0x208]
mov qword [rdx + 0x218], rax
test r12b, r12b
in al, 0x75
invalid
mov rcx, qword [0x14021c398]
lea r8, str.____________:
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e19c
jmp 0x14001002a
xor r12b, r12b
xorps xmm0, xmm0
mov word [rsp + 0x40], r13w
xor eax, eax
lea rcx, [rbp - 0x10]
xor edx, edx
mov qword [rbp - 0x4e], rax
movups xmmword [rsp + 0x42], xmm0
mov dword [rbp - 0x46], eax
lea r8d, [rax + 0x20]
mov word [rbp - 0x42], ax
movups xmmword [rsp + 0x52], xmm0
movups xmmword [rsp + 0x62], xmm0
movups xmmword [rsp + 0x72], xmm0
movups xmmword [rbp - 0x7e], xmm0
movups xmmword [rbp - 0x6e], xmm0
movups xmmword [rbp - 0x5e], xmm0
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400101d4
xor r9d, r9d
mov rcx, rax
lea edx, [r9 + 0x10]
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbx, rax
test rax, rax
jne 0x1400100ab
lea edx, [rax + 1]
mov rcx, rdi
lea r8d, [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
xor r14b, r14b
test rbx, rbx
je 0x140010172
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140010172
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea rcx, [rbx - 0x81]
cmp rcx, 0xff7e
ja 0x140010172
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
test rax, rax
je 0x140010172
cmp word [rax + 4], r13w
jne 0x140010172
movzx ecx, word [rax]
cmp rcx, rbx
ja 0x140010172
cmp word [rax + 2], 0x34
jne 0x140010172
mov rax, 0xffffffffffffffff
nop
cmp word [rdx + rax*2 + 8], r13w
lea rax, [rax + 1]
jne 0x140010120
movzx ecx, word [rdx + rax*2 + 0x20]
lea r8, [rdx + rax*2]
movzx edx, word [rdx + rax*2 + 0x1a]
lea r9, [0x1401c1278]
movzx eax, word [r8 + 0x1e]
movzx r8d, word [r8 + 0x1c]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edx
mov edx, 0x3f
mov dword [rsp + 0x20], r8d
lea r8, [rdx - 0x40]
call fcn.140003a90
mov r14b, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r14b, r14b
je 0x1400101d4
mov eax, dword [0x140227f18]
lea r9, str.__.16I64X__.8X__s___s__r_n
imul rcx, rax, 0x220
lea rax, [rsp + 0x40]
mov edx, 0x104
add rcx, qword [0x140227f10]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
mov eax, dword [rbp - 0x20]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x620]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140003a90
jmp 0x14001021c
mov eax, dword [0x140227f18]
lea r9, str.__.16I64X__.8X__s_r_n
imul rcx, rax, 0x220
mov eax, dword [rbp - 0x20]
mov edx, 0x104
add rcx, qword [0x140227f10]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x620]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
call fcn.140003a90
mov rcx, qword [0x14021c398]
lea r8, [rbp + 0x620]
mov r9, 0xffffffffffffffff
mov edx, 0x100000
call fcn.14003e19c
inc dword [0x140227f18]
lea rdx, [rbp - 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14000fe40
mov r14, qword [rsp + 0x938]
mov rbx, qword [rsp + 0x960]
mov rdi, qword [rsp + 0x970]
mov rsi, qword [rsp + 0x968]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0x948]
mov r15, qword [rsp + 0x930]
mov r13, qword [rsp + 0x940]
add rsp, 0x950
pop rbp
ret