Function at 0x1800069d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x18012c070]
xor rax, rsp
mov qword [rbp + 0x50], rax
movsxd rdi, ecx
lea r13, [0x180000000]
shl rdi, 5
mov r12, rdx
mov r15d, ecx
cmp qword [rdi + r13 + 0x12e828], 0
je 0x180006a26
lea rax, [r13 + 0x12e810]
add rax, rdi
mov qword [rdx], rax
mov al, 1
jmp 0x180006eab
mov rcx, qword [0x180136b28]
lea r8, [0x18011252c]
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x168], rsi
movzx edx, r15w
mov qword [rsp + 0x160], r14
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x180006e91
mov rcx, qword [0x180136b28]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x180006e91
mov rcx, qword [0x180136b28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xorps xmm0, xmm0
xor ebx, ebx
mov r14d, eax
mov edx, 1
mov qword [rbp - 0x50], rbx
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x48], edx
mov dword [rbp - 0x3c], 3
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
test eax, eax
je 0x180006e43
lea rcx, [rbp - 0x50]
call fcn.18007d030
test eax, eax
je 0x180006e91
mov rax, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
lea rdx, [0x18007d320]
mov qword [rax + 0x18], rsi
mov rax, qword [rbp - 0x50]
mov qword [rax + 0x20], r14
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
lea rax, [rbp - 0x50]
mov qword [rcx + 0x140], rax
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
lea rax, [0x18007d410]
mov qword [rcx + 0x138], rax
lea rcx, [rbp - 0x50]
call fcn.18008a790
test eax, eax
je 0x180006e91
mov eax, dword [rbp - 0x3c]
lea r14d, [rbx + 1]
test al, 8
je 0x180006b40
mov ecx, r14d
mov eax, r14d
jmp 0x180006b4f
mov ecx, eax
and eax, 3
shr ecx, 2
and ecx, 1
inc ecx
inc eax
imul ecx, eax
imul ecx, dword [rbp - 0x44]
imul ecx, dword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
cmp dword [rbp - 0x48], 1
mov rsi, rax
jne 0x180006e20
mov r8d, dword [rbp - 0x3c]
mov r10d, r8d
and r10d, 8
je 0x180006b7f
mov ecx, r14d
jmp 0x180006b87
mov ecx, r8d
and ecx, 3
inc ecx
xor edx, edx
mov eax, 0x7fffffff
div ecx
mov edx, dword [rbp - 0x44]
cmp edx, eax
ja 0x180006df7
imul ecx, edx
mov r9d, ecx
neg r9d
test ecx, ecx
cmovns r9d, ecx
cmp qword [rbp - 0x50], rbx
je 0x180006dd0
test rsi, rsi
je 0x180006dd0
cmp r9d, ecx
jb 0x180006dd0
shr r8d, 2
mov eax, 0xffffffff
and r8d, 1
inc r8d
test r10d, r10d
cmovne r8d, r14d
xor edx, edx
div r8d
xor edx, edx
div r9d
cmp dword [rbp - 0x40], eax
ja 0x180006da6
test r10d, r10d
je 0x180006c1f
cmp rbx, 0x3f
jae 0x180006e64
movzx eax, byte [rbx + r13 + 0x117820]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0x117820], 0
jne 0x180006bf5
jmp 0x180006e64
xorps xmm0, xmm0
mov dword [rsp + 0x70], ecx
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x50]
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [0x18007dee0]
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rbx
call fcn.18008a790
mov rcx, qword [rbp - 0x50]
mov r14d, eax
test rcx, rcx
je 0x180006c8e
cmp qword [rcx + 0x10], rbx
jne 0x180006c8e
lea r8, [rbp - 0x50]
lea rdx, [0x180082cc0]
lea rcx, [rbp - 0x50]
call fcn.18008a790
mov qword [rbp - 0x50], rbx
test r14d, r14d
je 0x180006e91
mov ecx, dword [rbp - 0x44]
mov edx, 1
mov eax, dword [rbp - 0x40]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x20], ecx
lea eax, [rcx*4]
mov qword [rbp + 0x34], 1
mov rcx, qword [0x180136ab8]
mov qword [rbp + 0x44], rbx
mov dword [rbp + 0x28], edx
mov dword [rbp + 0x2c], edx
mov dword [rbp + 0x30], Ordinal_33
mov dword [rbp + 0x3c], ebx
mov dword [rbp + 0x40], 8
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
test rcx, rcx
je 0x180006e91
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + Ordinal_26]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180006e91
mov rax, qword [rcx]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x20]
call qword [rax + Ordinal_41]
test eax, eax
jne 0x180006e91
mov eax, dword [rbp + 0x28]
lea r9, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x48], Ordinal_33
mov qword [rsp + 0x4c], 4
mov dword [rsp + 0x54], eax
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
jne 0x180006e91
mov eax, dword [rbp - 0x44]
mov dword [rdi + r13 + 0x12e820], eax
mov eax, dword [rbp - 0x40]
mov dword [rdi + r13 + 0x12e824], eax
mov rax, qword [rsp + 0x30]
mov qword [rdi + r13 + 0x12e828], rax
lea rax, [r13 + 0x12e810]
add rax, rdi
mov qword [rdi + r13 + 0x12e818], rsi
mov dword [rax], r15d
mov qword [r12], rax
mov al, 1
jmp 0x180006e93
cmp rbx, 0x3f
jae 0x180006e64
movzx eax, byte [rbx + r13 + 0x1177f8]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0x1177f8], 0
jne 0x180006da6
jmp 0x180006e64
cmp rbx, 0x3f
jae 0x180006e64
movzx eax, byte [rbx + r13 + 0x117880]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0x117880], 0
jne 0x180006dd0
jmp 0x180006e64
cmp rbx, 0x3f
jae 0x180006e64
movzx eax, byte [rbx + r13 + 0x117850]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0x117850], 0
jne 0x180006df7
jmp 0x180006e64
cmp rbx, 0x3f
jae 0x180006e64
movzx eax, byte [rbx + r13 + 0x1178a8]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0x1178a8], 0
jne 0x180006e20
jmp 0x180006e64
cmp rbx, 0x3f
jae 0x180006e64
movzx eax, byte [rbx + r13 + 0x117698]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0x117698], 0
jne 0x180006e43
mov byte [rbp + rbx - 0x2c], 0
or dword [rbp - 0x30], 2
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x180006e91
cmp qword [rax + 0x10], 0
jne 0x180006e91
lea r8, [rbp - 0x50]
lea rdx, [0x180082cc0]
lea rcx, [rbp - 0x50]
call fcn.18008a790
xor al, al
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x160]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1800d2160
add rsp, 0x170
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret