Function at 0x140004b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4e8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x140020010]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov dword [rsp + 0x70], 3
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x4f0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x4f8]
mov qword [rsp + 0x60], rax
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140004c27
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140004c3d
call fcn.140002bf0
mov dword [rsp + 0x30], eax
jmp 0x140004dbc
mov r8, qword [rsp + 0x508]
mov rdx, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140004c73
call fcn.140002bf0
mov dword [rsp + 0x30], eax
jmp 0x140004dbc
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140004c9e
call fcn.140002bf0
mov dword [rsp + 0x30], eax
jmp 0x140004dbc
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x34]
inc eax
cmp eax, dword [rsp + 0x34]
jae 0x140004cd8
mov dword [rsp + 0x30], 0x8007000e
jmp 0x140004dbc
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.140002740
nop
jmp 0x140004cf2
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140004d14
mov dword [rsp + 0x30], 0x8007000e
jmp 0x140004dbc
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x88]
xor edx, edx
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140004d69
call fcn.140002bf0
mov dword [rsp + 0x30], eax
jmp 0x140004dbc
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x40]
xor ecx, ecx
mov rdx, qword [rsp + 0x90]
mov word [rdx + rax*2], cx
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x98], rax
mov r8d, dword [rsp + 0x510]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xa8]
call fcn.140004960
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x38], 0
je 0x140004dcf
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xc0], rax
je 0x140004df7
lea rcx, [rsp + 0xc0]
call fcn.140003350
nop
cmp qword [rsp + 0x48], 0
je 0x140004e28
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000c764
jmp 0x140004df7
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400086c0
add rsp, 0x4e8
ret