Function at 0x180047030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2968]
mov eax, 0x2a68
call fcn.1800514e0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x18027ceb0]
xor rax, rsp
mov qword [rbp + 0x2950], rax
mov rdi, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov edx, 0x68
mov r8d, 0x2349
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
jne 0x18004709e
mov rcx, rdi
call fcn.180046ad0
test eax, eax
jne 0x1800470f8
jmp 0x180047747
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1800470d2
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Cant_load_dll_from_Res_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x180047747
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x18028ca18], rax
test rax, rax
je 0x1800470af
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rdi], rax
mov rax, qword [0x18028ca18]
add rax, 0xffffffffffffd9a8
add rax, qword [rdi]
mov rcx, rbx
mov edx, 0x4c
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
dec rdx
jne 0x180047110
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x804021
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 8
imul ecx, ecx, 0x1ff
sub r8d, ecx
mov dword [0x18028c8a0], r8d
mov dword [rbp + 0x25b0], 0x60302814
mov dword [rbp + 0x25b4], 0x124530c8
mov dword [rbp + 0x25b8], 0xe6118
mov dword [rbp + 0x25bc], 0x200022
mov dword [rbp + 0x25c0], 0xe6690
mov dword [rbp + 0x25c4], 0x3a7f02e8
mov dword [rbp + 0x25c8], 0x2036236b
mov dword [rbp + 0x25cc], 0x306080
mov edx, 0x64
lea rcx, [rbx + 0x128]
mov r9d, 0x4cc
lea r8, [rbp + 0x25b0]
call fcn.18002b060
xor r14d, r14d
lea ecx, [r14 + 0x28]
call fcn.18004f478
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18004724d
mov rcx, rax
call fcn.1800485d0
mov rdi, rax
jmp 0x18004724f
xor edi, edi
mov byte [rbp + 0x2740], 0
xor edx, edx
mov r8d, 0x207
lea rcx, [rbp + 0x2741]
call fcn.180050a30
lea rcx, [rbp + 0x2740]
call fcn.180046f60
lea rcx, [rsp + 0x50]
mov rax, rbx
mov edx, 0x4c
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
dec rdx
jne 0x180047290
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
nop
mov rdx, rbx
lea rax, [rsp + 0x50]
mov ecx, 0x4c
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
dec rcx
jne 0x180047320
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
mov rcx, qword [rax + 0x50]
mov qword [rdx + 0x50], rcx
mov edx, r14d
mov rcx, rdi
cmp byte [rbx + 0x570], 1
jne 0x1800473cd
lea r8, [rbp + 0x2630]
call fcn.180048a40
mov esi, eax
lea rdx, [rbp + 0x2630]
mov rcx, rdi
call fcn.18004a8c0
jmp 0x1800473ee
lea rax, [rbp + 0x2630]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 0x560]
mov r8d, dword [rbx + 0x564]
call fcn.180048af0
mov esi, eax
test esi, esi
je 0x180047435
cmp byte [rbx + 0x558], 1
jne 0x1800476ec
cmp dword [0x18028c9d0], 0
jne 0x1800476ec
mov dword [0x18028c9d0], 1
lea rdx, [rbp + 0x2740]
mov rcx, rbx
call fcn.180046980
test eax, eax
je 0x1800476ec
xor r14d, r14d
jmp 0x180047310
lea r8, [rbp + 0x2630]
mov edx, 0x10
lea rcx, [rbx + 0x118]
call fcn.18002b100
test eax, eax
je 0x1800476e4
lea r8, [rbp + 0x2630]
mov edx, 0x118
mov rcx, rbx
call fcn.18002b100
test eax, eax
je 0x1800476e4
lea r8, [rbx + 0x5f4]
mov edx, 0x118
mov rcx, rbx
call fcn.18002b520
cmp byte [rbx + 4], 0
jne 0x180047498
cmp byte [rbx + 0x558], 1
jne 0x180047591
lea r8, [rbp + 0x2630]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.180048fa0
test eax, eax
jne 0x1800476e4
mov byte [rbp + 0x25f0], al
xor eax, eax
mov qword [rbp + 0x25f1], rax
mov qword [rbp + 0x25f9], rax
lea r8, [rbp + 0x2630]
lea rdx, [rbp + 0x25f0]
mov rcx, rdi
call fcn.180048d70
test eax, eax
jne 0x1800476e4
lea rcx, [rbx + 0x105]
lea rdx, [rbp + 0x25f0]
call fcn.180063a30
test eax, eax
jne 0x1800476e4
cmp byte [rbx + 0x126], 1
jne 0x180047591
cmp dword [0x18028c8a4], eax
jne 0x180047539
mov dword [0x18028c8a4], 1
lea rdx, [rbp + 0x2740]
mov rcx, rbx
call fcn.180046980
test eax, eax
je 0x1800476ec
mov byte [rbp + 0x2608], 0
xor eax, eax
mov qword [rbp + 0x2609], rax
mov qword [rbp + 0x2611], rax
mov qword [rbp + 0x2619], rax
mov qword [rbp + 0x2621], rax
lea r8, [rbp + 0x2630]
lea rdx, [rbp + 0x2608]
mov rcx, rdi
call fcn.180048e00
test eax, eax
jne 0x1800476e4
lea rcx, [rbp + 0x2608]
call qword [0x18028c9d8]
test eax, eax
jne 0x1800476e4
cmp byte [rbx + 0x570], 3
jne 0x1800475dc
cmp byte [rbx + 0x2a], 0
je 0x1800475dc
lea rdx, [rbp + 0x2630]
mov rcx, rdi
call fcn.18004a8c0
lea rax, [rbp + 0x2630]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbx + 0x568]
mov r8d, dword [rbx + 0x56c]
mov edx, r14d
mov rcx, rdi
call fcn.180048b30
test eax, eax
jne 0x1800476e4
cmp byte [rbx + 0x570], 1
jne 0x1800475eb
cmp byte [rbx + 0x29], 0
jmp 0x1800475ef
cmp byte [rbx + 0x2a], 0
je 0x180047608
lea rdx, [rbp + 0x2630]
mov rcx, rbx
call fcn.1800421a0
test eax, eax
je 0x1800476e4
cmp byte [rbx + 0x2b], 0
je 0x180047625
lea rdx, [rbp + 0x2630]
mov rcx, rbx
call fcn.180041ea0
test eax, eax
je 0x1800476e4
cmp byte [rbx + 0x570], 1
je 0x18004764b
cmp byte [rbx + 0x29], 0
je 0x18004764b
lea rdx, [rbp + 0x2630]
mov rcx, rbx
call fcn.180042060
test eax, eax
je 0x1800476e4
cmp dword [0x18028c8a4], 0
je 0x18004765a
call qword [0x18028c9c8]
mov r8d, dword [rbx + 0x118]
lea rdx, [0x180067f7c]
lea rcx, [rbp + 0x25e0]
call qword [sym.imp.USER32.dll_wsprintfA]
mov r8d, dword [rbx + 0x11c]
lea rdx, [0x180067f7c]
lea rcx, [rbp + 0x25d0]
call qword [sym.imp.USER32.dll_wsprintfA]
xor r8d, r8d
lea rax, [rbp + 0x2630]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x25d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x25e0]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18004ac00
test eax, eax
jne 0x1800476e4
lea r9, [rbp + 0x2630]
lea r8, [rbp + 0x25d0]
lea rdx, [rbp + 0x25e0]
mov rcx, rbx
call fcn.180042660
test eax, eax
jne 0x18004770a
inc r14d
jmp 0x180047310
test rdi, rdi
je 0x1800476fe
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, rbx
call fcn.180046940
xor eax, eax
jmp 0x180047747
lea rdx, [rbp + 0x2630]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [rbx + 0x2b], 0
je 0x180047730
lea rdx, [rbp + 0x2630]
mov rcx, rbx
call qword [0x18028c8e0]
test rdi, rdi
je 0x180047742
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov eax, 1
mov rcx, qword [rbp + 0x2950]
xor rcx, rsp
call fcn.18004fba0
add rsp, 0x2a68
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret