Function at 0x180007050
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 [0x18010f050]
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 + 0x111578], 0
je 0x1800070a6
lea rax, [r13 + 0x111560]
add rax, rdi
mov qword [rdx], rax
mov al, 1
jmp 0x18000752b
mov rcx, qword [0x180119870]
lea r8, [0x1800f541c]
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 0x180007511
mov rcx, qword [0x180119870]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x180007511
mov rcx, qword [0x180119870]
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 0x1800074c3
lea rcx, [rbp - 0x50]
call fcn.18007d420
test eax, eax
je 0x180007511
mov rax, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
lea rdx, [0x18007d710]
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, [0x18007d800]
mov qword [rcx + 0x138], rax
lea rcx, [rbp - 0x50]
call fcn.18008ab80
test eax, eax
je 0x180007511
mov eax, dword [rbp - 0x3c]
lea r14d, [rbx + 1]
test al, 8
je 0x1800071c0
mov ecx, r14d
mov eax, r14d
jmp 0x1800071cf
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 0x1800074a0
mov r8d, dword [rbp - 0x3c]
mov r10d, r8d
and r10d, 8
je 0x1800071ff
mov ecx, r14d
jmp 0x180007207
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 0x180007477
imul ecx, edx
mov r9d, ecx
neg r9d
test ecx, ecx
cmovns r9d, ecx
cmp qword [rbp - 0x50], rbx
je 0x180007450
test rsi, rsi
je 0x180007450
cmp r9d, ecx
jb 0x180007450
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 0x180007426
test r10d, r10d
je 0x18000729f
cmp rbx, 0x3f
jae 0x1800074e4
movzx eax, byte [rbx + r13 + 0xfa6d8]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0xfa6d8], 0
jne 0x180007275
jmp 0x1800074e4
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, [0x18007e2d0]
mov dword [rsp + 0x74], ebx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rbx
call fcn.18008ab80
mov rcx, qword [rbp - 0x50]
mov r14d, eax
test rcx, rcx
je 0x18000730e
cmp qword [rcx + 0x10], rbx
jne 0x18000730e
lea r8, [rbp - 0x50]
lea rdx, [0x1800830b0]
lea rcx, [rbp - 0x50]
call fcn.18008ab80
mov qword [rbp - 0x50], rbx
test r14d, r14d
je 0x180007511
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 [0x180119808]
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 0x180007511
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + Ordinal_26]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x180007511
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 0x180007511
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 0x180007511
mov eax, dword [rbp - 0x44]
mov dword [rdi + r13 + 0x111570], eax
mov eax, dword [rbp - 0x40]
mov dword [rdi + r13 + 0x111574], eax
mov rax, qword [rsp + 0x30]
mov qword [rdi + r13 + 0x111578], rax
lea rax, [r13 + 0x111560]
add rax, rdi
mov qword [rdi + r13 + 0x111568], rsi
mov dword [rax], r15d
mov qword [r12], rax
mov al, 1
jmp 0x180007513
cmp rbx, 0x3f
jae 0x1800074e4
movzx eax, byte [rbx + r13 + 0xfa6b0]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0xfa6b0], 0
jne 0x180007426
jmp 0x1800074e4
cmp rbx, 0x3f
jae 0x1800074e4
movzx eax, byte [rbx + r13 + 0xfa738]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0xfa738], 0
jne 0x180007450
jmp 0x1800074e4
cmp rbx, 0x3f
jae 0x1800074e4
movzx eax, byte [rbx + r13 + 0xfa708]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0xfa708], 0
jne 0x180007477
jmp 0x1800074e4
cmp rbx, 0x3f
jae 0x1800074e4
movzx eax, byte [rbx + r13 + 0xfa760]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0xfa760], 0
jne 0x1800074a0
jmp 0x1800074e4
cmp rbx, 0x3f
jae 0x1800074e4
movzx eax, byte [rbx + r13 + 0xfa550]
mov byte [rbp + rbx - 0x2c], al
inc rbx
cmp byte [rbx + r13 + 0xfa550], 0
jne 0x1800074c3
mov byte [rbp + rbx - 0x2c], 0
or dword [rbp - 0x30], 2
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x180007511
cmp qword [rax + 0x10], 0
jne 0x180007511
lea r8, [rbp - 0x50]
lea rdx, [0x1800830b0]
lea rcx, [rbp - 0x50]
call fcn.18008ab80
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.1800d2550
add rsp, 0x170
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret