Function at 0x140058dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x140155040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, qword [0x140159210]
lea rax, [0x14013d7a8]
mov r14d, dword [rbp + 0x77]
lea r9, [rbp - 0x21]
mov edi, dword [rbp + 0x7f]
xor r12d, r12d
mov qword [rbp + 7], rdx
mov rcx, rbx
mov r8d, 3
mov qword [rbp - 0x29], r12
lea rdx, [rbp - 1]
mov qword [rbp - 0x31], r12
xor r15b, r15b
mov qword [rbp - 0x51], r12
mov esi, r12d
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x49], r12d
mov dword [rbp - 0x45], r12d
mov qword [rbp - 1], rax
mov qword [rbp + 0xf], r12
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14005915b
lfence
mov rdx, qword [rbp - 0x21]
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14005915b
call fcn.140058d20
mov rbx, rax
test rax, rax
je 0x14005915b
mov rcx, qword [rax]
lea rdx, [rbp - 0x31]
mov rax, qword [rcx + 0x70]
mov rcx, rbx
call qword [case.0x140071b98.0]
nop dword [rax]
test eax, eax
js 0x14005915b
mov rcx, qword ds:[rbp - 0x31]
mov r8d, dword [rbp - 0x59]
mov rdx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
lfence
mov rax, qword [rbx]
lea r9, [rbp - 0x39]
lea r8, [0x14013ea18]
mov rcx, rbx
lea rdx, [0x14013e9f8]
mov rax, qword [rax + 0x38]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rcx, qword [rbp - 0x39]
xor r8d, r8d
mov rdx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rcx, qword [rbp - 0x39]
lea r8, [rbp - 0x41]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rcx, qword [rbp - 0x41]
lea rdx, [rbp - 0x11]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rax, qword [rbp - 0x11]
cmp rax, qword [0x14013e9d8]
jne 0x140058f99
mov rax, qword [rbp - 9]
cmp rax, qword [0x14013e9e0]
jne 0x140058f99
mov rcx, qword [rbp - 0x41]
lea r8, [rbp - 0x51]
lea rdx, [0x1400e9020]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
jmp 0x14005902a
lfence
mov rax, qword [rbx]
lea rdx, [rbp - 0x59]
mov qword [rbp - 0x59], r12
mov rcx, rbx
mov rax, qword [rax + 0x50]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rcx, qword [rbp - 0x59]
lea r8, [0x14013e9d8]
mov rdx, qword [rbp - 0x41]
xorps xmm0, xmm0
mov dword [rsp + 0x30], r12d
xor r9d, r9d
movsd qword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
mov rax, qword [rax + 0x40]
call qword [case.0x140071b98.0]
mov rcx, qword [rbp - 0x59]
test eax, eax
mov rax, qword [rcx]
js 0x140059151
mov rax, qword [rax]
lea r8, [rbp - 0x51]
lea rdx, [0x1400e9020]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140071b98.0]
lea r8, [rbp - 0x29]
mov edx, edi
mov ecx, r14d
call fcn.140058c80
mov rsi, rax
test rax, rax
je 0x14005915b
mov rcx, qword ds:[rbp - 0x51]
lea r8, [rbp - 0x45]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x18]
lea rdx, [rbp - 0x49]
call qword [case.0x140071b98.0]
test eax, eax
js 0x1400590b6
cmp dword [rbp - 0x49], r14d
jne 0x1400590b6
cmp dword [rbp - 0x45], edi
jne 0x1400590b6
mov rdx, qword ds:[rbp - 0x29]
lea r8d, [r14*4]
mov rcx, qword [rbp - 0x51]
mov qword [rsp + 0x20], rdx
xor edx, edx
imul edi, r14d
mov rax, qword [rcx]
shl edi, 2
mov rax, qword [rax + 0x38]
mov r9d, edi
call qword [case.0x140071b98.0]
mov r15d, eax
shr r15d, 0x1f
xor r15b, 1
jmp 0x14005915b
lfence
mov rax, qword [rbx]
lea rdx, [rbp - 0x59]
mov qword [rbp - 0x59], r12
mov rcx, rbx
mov rax, qword [rax + 0x58]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005915b
mov rcx, qword ds:[rbp - 0x59]
mov r9d, edi
cmp dword [0x140155b08], 0x64
mov r8d, r14d
sbb edx, edx
mov rax, qword [rcx]
add edx, 4
mov dword [rsp + 0x20], edx
mov rdx, qword [rbp - 0x51]
mov rax, qword [rax + 0x40]
call qword [case.0x140071b98.0]
test eax, eax
js 0x14005914a
lfence
mov rdx, qword [rbp - 0x29]
lea r8d, [r14*4]
mov rcx, qword [rbp - 0x59]
mov qword [rsp + 0x20], rdx
xor edx, edx
imul edi, r14d
mov rax, qword [rcx]
shl edi, 2
mov rax, qword [rax + 0x38]
mov r9d, edi
call qword [case.0x140071b98.0]
movzx r15d, r15b
mov edx, 1
test eax, eax
cmovns r15d, edx
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140071b98.0]
mov rcx, qword ds:[rbp - 0x51]
test rcx, rcx
je 0x140059172
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140071b98.0]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140059188
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140071b98.0]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14005919e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140071b98.0]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400591b4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140071b98.0]
test r15b, r15b
jne 0x1400591cb
test rsi, rsi
je 0x1400591c7
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x1400591ce
mov rax, rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c6a20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret