Function at 0x140022110
Capabilities:
Extract resource via kernel32 functions
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x448]
sub rsp, 0x530
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
mov rax, qword [0x1400890c0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov qword [0x14008cbb8], rcx
mov ecx, 0x140
call fcn.14002f20c
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x14007bdd0]
movdqa xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x38], 0
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
lea rcx, [0x1400220e0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, qword [0x14008cbb8]
mov rcx, rax
call fcn.1400287b0
nop
mov qword [0x14008cbd8], rax
mov byte [rax + 0x128], r14b
mov edi, r14d
mov esi, r14d
lea r8, [0x140073038]
mov edx, 0x81
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140022219
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140022219
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
movaps xmm0, xmmword [0x14007c1d0]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x28], r14
movss xmm12, dword [0x14007b99c]
movss dword [rsp + 0x20], xmm12
lea r9, [rsp + 0x60]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [0x14008cbd8]
call fcn.140029610
movaps xmm9, xmmword [0x14007bed0]
movaps xmm7, xmm9
movaps xmm8, xmm9
movaps xmm6, xmmword [0x14007c030]
mov rdi, qword [0x14008cbd8]
inc dword [rdi + 0x98]
mov ecx, 0xf8
call fcn.14002f20c
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rbx, qword [rdi + 0x10]
mov byte [rax], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], 7
mov word [rax + 0x10], r14w
mov qword [rax + 0x30], r14
mov word [rax + 0x40], 0
mov qword [rax + 0x48], r14
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], r14d
xor eax, eax
mov qword [rsi + 0x5c], rax
movups xmmword [rsi + 0x64], xmm0
xorps xmm1, xmm1
movups xmmword [rsi + 0x74], xmm1
movups xmmword [rsi + 0x84], xmm0
movups xmmword [rsi + 0x94], xmm1
movups xmmword [rsi + 0xa4], xmm0
movups xmmword [rsi + 0xb4], xmm1
movups xmmword [rsi + 0xc4], xmm0
movups xmmword [rsi + 0xd4], xmm1
mov word [rsi + 0xe4], 1
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
lea r15, str.en_us
mov qword [rsp + 0x38], r15
movss xmm0, dword [0x14007b9f8]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], r14d
mov r9d, 0x2bc
xor r8d, r8d
lea rdx, [0x140073028]
call qword [rax + 0x78]
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x50], rax
movups xmmword [rsi + 0x64], xmm6
movups xmmword [rsi + 0x74], xmm7
movups xmmword [rsi + 0x84], xmm9
movups xmmword [rsi + 0x94], xmm9
mov qword [rsi + 8], r14
mov rax, qword [rbx + 0x170]
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rbx
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 1
lea rcx, [rdi + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400223c4
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x1400223ce
lea r8, [rsp + 0x60]
call fcn.14002b1f0
lea rdx, [0x14007304c]
mov rcx, rsi
call fcn.140024a30
movaps xmm9, xmmword [0x14007bed0]
movaps xmm7, xmm9
movaps xmm8, xmmword [0x14007bd60]
movaps xmm6, xmmword [0x14007c1c0]
mov rdi, qword [0x14008cbd8]
inc dword [rdi + 0x98]
mov ecx, 0xf8
call fcn.14002f20c
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rbx, qword [rdi + 0x10]
mov byte [rax], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], 7
mov word [rax + 0x10], r14w
mov qword [rax + 0x30], r14
mov word [rax + 0x40], 0
mov qword [rax + 0x48], r14
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], r14d
xor eax, eax
mov qword [rsi + 0x5c], rax
movups xmmword [rsi + 0x64], xmm0
xorps xmm1, xmm1
movups xmmword [rsi + 0x74], xmm1
movups xmmword [rsi + 0x84], xmm0
movups xmmword [rsi + 0x94], xmm1
movups xmmword [rsi + 0xa4], xmm0
movups xmmword [rsi + 0xb4], xmm1
movups xmmword [rsi + 0xc4], xmm0
movups xmmword [rsi + 0xd4], xmm1
mov word [rsi + 0xe4], 1
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
movss xmm0, dword [0x14007b9dc]
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], r14d
mov r9d, 0x320
xor r8d, r8d
lea rdx, [0x140073040]
call qword [rax + 0x78]
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x50], rax
movups xmmword [rsi + 0x64], xmm6
movups xmmword [rsi + 0x74], xmm7
movups xmmword [rsi + 0x84], xmm8
movups xmmword [rsi + 0x94], xmm9
mov qword [rsi + 8], r14
mov rax, qword [rbx + 0x170]
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rbx
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 1
lea rcx, [rdi + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x14002254c
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x140022556
lea r8, [rsp + 0x60]
call fcn.14002b1f0
mov qword [0x14008cbd0], rsi
lea rdx, [0x140073070]
mov rcx, rsi
call fcn.140024a30
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp - 0x50]
call fcn.14005f600
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x1b0]
call fcn.14005f600
lea rbx, str.yztime.ini
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0xff
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x50]
lea rdx, str.username
lea rcx, [0x140073098]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0xff
lea r9, [rbp + 0x1b0]
lea r8, [rbp + 0x1b0]
lea rdx, str.password
lea rcx, str.user
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movss xmm10, dword [0x14007b9c8]
movaps xmm8, xmmword [0x14007be00]
movaps xmm9, xmmword [0x14007bdc0]
movaps xmm6, xmmword [0x14007bed0]
movaps xmm7, xmmword [0x14007c140]
mov rbx, qword [0x14008cbd8]
inc dword [rbx + 0x98]
mov ecx, 0x4b8
call fcn.14002f20c
mov qword [rsp + 0x60], rax
movdqa xmmword [rsp + 0x70], xmm8
movdqa xmmword [rbp - 0x70], xmm6
movdqa xmmword [rbp - 0x60], xmm9
movdqa xmmword [rbp - 0x80], xmm7
mov qword [rsp + 0x58], rbx
lea rcx, [0x1400730a8]
mov qword [rsp + 0x50], rcx
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movsd qword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], 0x258
movss xmm11, dword [0x14007b9e8]
movss dword [rsp + 0x38], xmm11
lea rcx, [0x140073108]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x80]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.140026830
mov rdi, rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 2
lea rcx, [rbx + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400226e4
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x1400226ee
lea r8, [rsp + 0x60]
call fcn.14002b1f0
mov qword [0x14008cbc8], rdi
movaps xmm8, xmmword [0x14007be00]
movaps xmm9, xmmword [0x14007bdc0]
movaps xmm6, xmmword [0x14007bed0]
movaps xmm7, xmmword [0x14007c160]
mov rbx, qword [0x14008cbd8]
inc dword [rbx + 0x98]
mov ecx, 0x4b8
call fcn.14002f20c
mov qword [rsp + 0x60], rax
movdqa xmmword [rbp - 0x80], xmm8
movdqa xmmword [rbp - 0x60], xmm6
movdqa xmmword [rbp - 0x70], xmm9
movdqa xmmword [rsp + 0x70], xmm7
mov qword [rsp + 0x58], rbx
lea rcx, str._IN
mov qword [rsp + 0x50], rcx
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movsd qword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], 0x258
movss dword [rsp + 0x38], xmm11
lea rcx, [0x140073140]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.140026830
mov rdi, rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 2
lea rcx, [rbx + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400227d7
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x1400227e1
lea r8, [rsp + 0x60]
call fcn.14002b1f0
mov qword [0x14008cba8], rdi
movaps xmm8, xmmword [0x14007be00]
movaps xmm9, xmmword [0x14007bdc0]
movaps xmm6, xmmword [0x14007bed0]
movaps xmm7, xmmword [0x14007c170]
mov rbx, qword [0x14008cbd8]
inc dword [rbx + 0x98]
mov ecx, 0x4b8
call fcn.14002f20c
mov qword [rsp + 0x60], rax
movdqa xmmword [rbp - 0x80], xmm8
movdqa xmmword [rbp - 0x60], xmm6
movdqa xmmword [rbp - 0x70], xmm9
movdqa xmmword [rsp + 0x70], xmm7
mov qword [rsp + 0x58], rbx
lea rcx, [0x140073118]
mov qword [rsp + 0x50], rcx
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movsd qword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], 0x258
movss dword [rsp + 0x38], xmm11
lea rcx, [0x140073158]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.140026830
mov rdi, rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 2
lea rcx, [rbx + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400228ca
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x1400228d4
lea r8, [rsp + 0x60]
call fcn.14002b1f0
mov qword [0x14008cbb0], rdi
movaps xmm0, xmmword [0x14007c0e0]
movdqa xmmword [rbp - 0x80], xmm0
lea rax, [fcn.140021a80]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm12
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14008cbd8]
call fcn.140029610
mov qword [0x14008cba0], rax
movss xmm10, dword [0x14007b9b0]
movaps xmm8, xmmword [0x14007be00]
movaps xmm9, xmmword [0x14007bdc0]
movaps xmm6, xmmword [0x14007bed0]
movaps xmm7, xmmword [0x14007c0f0]
mov rbx, qword [0x14008cbd8]
inc dword [rbx + 0x98]
mov ecx, 0x4b8
call fcn.14002f20c
mov qword [rsp + 0x60], rax
movdqa xmmword [rbp - 0x80], xmm8
movdqa xmmword [rbp - 0x60], xmm6
movdqa xmmword [rbp - 0x70], xmm9
movdqa xmmword [rsp + 0x70], xmm7
mov qword [rsp + 0x58], rbx
lea rcx, [0x140073150]
mov qword [rsp + 0x50], rcx
movaps xmm0, xmm10
unpcklps xmm0, xmm10
movsd qword [rsp + 0x48], xmm0
mov dword [rsp + 0x40], 0x258
movss dword [rsp + 0x38], xmm11
lea rcx, [0x140073178]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
mov rdx, qword [rbx + 0x10]
mov rcx, rax
call fcn.140026830
mov rdi, rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 2
lea rcx, [rbx + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140022a01
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x140022a0b
lea r8, [rsp + 0x60]
call fcn.14002b1f0
mov qword [0x14008cbc0], rdi
mov rax, qword [0x14008cbc8]
mov dword [rax + 0xc], 0x12
mov rax, qword [0x14008cba8]
mov byte [rax + 0x4aa], 1
mov dword [rax + 0xc], 0x12
mov rax, qword [0x14008cbb0]
mov byte [rax + 0x4aa], 1
mov dword [rax + 0xc], 0x12
mov dword [rdi + 0xc], 5
mov rax, qword [0x14008cba0]
mov byte [rax + 0x74], 1
movaps xmm9, xmmword [0x14007bed0]
movaps xmm7, xmm9
movaps xmm8, xmm9
movaps xmm6, xmmword [0x14007c180]
mov rdi, qword [0x14008cbd8]
inc dword [rdi + 0x98]
mov ecx, 0xf8
call fcn.14002f20c
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rbx, qword [rdi + 0x10]
mov byte [rax], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], 7
mov word [rax + 0x10], r14w
mov qword [rax + 0x30], r14
mov word [rax + 0x40], 0
mov qword [rax + 0x48], r14
mov qword [rax + 0x50], r14
mov dword [rax + 0x58], r14d
xor eax, eax
mov qword [rsi + 0x5c], rax
movups xmmword [rsi + 0x64], xmm0
xorps xmm1, xmm1
movups xmmword [rsi + 0x74], xmm1
movups xmmword [rsi + 0x84], xmm0
movups xmmword [rsi + 0x94], xmm1
movups xmmword [rsi + 0xa4], xmm0
movups xmmword [rsi + 0xb4], xmm0
movups xmmword [rsi + 0xc4], xmm0
movups xmmword [rsi + 0xd4], xmm0
mov word [rsi + 0xe4], 1
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], r14
mov qword [rsp + 0x70], r14
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
movss dword [rsp + 0x30], xmm11
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], r14d
mov r9d, 0x258
xor r8d, r8d
lea rdx, [0x140073168]
call qword [rax + 0x78]
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x50], rax
movups xmmword [rsi + 0x64], xmm6
movups xmmword [rsi + 0x74], xmm7
movups xmmword [rsi + 0x84], xmm9
movups xmmword [rsi + 0x94], xmm9
lea rax, [0x140021b60]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x170]
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rbx
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 1
lea rcx, [rdi + 0x80]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x140022bc7
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
add qword [rcx + 8], 0x10
jmp 0x140022bd1
lea r8, [rsp + 0x60]
call fcn.14002b1f0
movaps xmm2, xmmword [0x14007bc50]
movaps xmm1, xmmword [0x14007be40]
movaps xmm0, xmmword [0x14007bcf0]
movups xmmword [rsi + 0xa4], xmm0
movups xmmword [rsi + 0xb4], xmm1
movups xmmword [rsi + 0xc4], xmm2
mov rcx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov edx, 2
call qword [rax + 0x18]
mov rcx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov edx, 2
call qword [rax + 0x20]
mov byte [rsi + 0xe5], 1
mov dword [rsi + 0x90], 0x3f000000
mov dword [rsi + 0xe8], 0x40000000
mov dword [rsi + 0xec], 0x40000000
lea rdx, [0x140073184]
mov rcx, rsi
call fcn.140024a30
mov byte [rsi + 0xe5], 0
mov dword [rsi + 0x90], 0x3f800000
mov rax, qword [0x14008cba0]
mov byte [rax + 0x74], 0
xor ecx, ecx
call fcn.140021a80
mov rax, qword [0x14008cbd8]
mov byte [rax + 0x128], 1
mov byte [rax + 0xf8], 1
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14002f100
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop rbp
ret