Function at 0x1400d3b50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov r14, r8
mov qword [rsp + 0x48], r8
mov rbp, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0xa8], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea rcx, [rsp + 0x3b0]
mov edx, 0x104
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
lea rcx, [rsp + 0x2a0]
mov edx, 0x104
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
xor ecx, ecx
mov edx, 0x244
lea r8d, [rcx + 0x1d]
mov r15, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
movzx ecx, al
mov qword [rsp + 0x90], rax
shl cl, 2
lea r12d, [rcx + rax]
add r12b, r12b
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor ecx, ecx
lea r8d, [rcx + 5]
mov edx, 0x149
mov r13, rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, qword [r14 + 0x28]
or rsi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rsi
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400d3c34
imul ecx, ebp
lea eax, [r15 + r15*4]
lea ecx, [rcx + rax*2]
sub ecx, dword [rsp + 0x58]
add ecx, 4
mov dword [rsp + 0xf0], ecx
call qword [sym.imp.USER32.dll_GetActiveWindow]
movsx edx, r12b
mov qword [rsp + 0x100], rax
mov rax, qword [r14 + 8]
mov dword [rsp + 0x78], edx
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400d3c72
mov r14d, dword [rsp + 0x58]
mov eax, edx
imul eax, dword [rsp + 0x90]
imul r14d, dword [rsp + 0x88]
add eax, ebp
add eax, ecx
add r14d, eax
add r14d, r13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x60]
imul bl
movzx r13d, al
add r13b, byte [rsp + 0xf0]
cmp r12b, r13b
je 0x1400d3cfc
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x140
call fcn.1400e27d0
lea rdx, [rsp + 0x160]
lea rcx, str.ocelot
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessorNumber]
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 8]
movsx r9, r13b
mov r10, rax
mov qword [rsp + 0x80], rax
mov rcx, rsi
mov qword [rsp + 0xb8], r9
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400d3d47
mov r8, qword [rsp + 0x70]
sub ebp, r9d
mov rax, rsi
sub ebp, r8d
sub ebp, edi
add ebp, dword [rsp + 0x98]
add ebp, ebx
add ebp, r14d
add ebp, r15d
sub ebp, ecx
add ebp, 0x15
inc rax
cmp byte [rdx + rax], 0
jne 0x1400d3d74
imul eax, edi
movsx ecx, r13b
mov r13, qword [rsp + 0x50]
imul ecx, dword [rsp + 0x40]
imul eax, dword [rsp + 0x60]
movsx rdx, r12b
mov r12, qword [rsp + 0x48]
lea r14d, [r13 - 9]
mov qword [rsp + 0xa0], rdx
imul ecx, r15d
sub ecx, eax
lea eax, [r8 + r8*4]
shl eax, 3
sub ecx, eax
sub ecx, r10d
add r14d, ecx
mov rcx, qword [rsp + 0x58]
imul eax, edx, 7
inc ecx
lea rdx, str.c1a1
imul ecx, r13d
add ecx, eax
lea eax, [rdi - 0x4b]
add ecx, dword [r12 + 0x10]
sub ecx, r9d
movsxd r9, dword [rsp + 0x44]
add ecx, r8d
xor r8d, r8d
add eax, ecx
xor ecx, ecx
mov dword [rsp + 0x40], eax
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov r9d, dword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], rax
lea rax, str.c0a3
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
lea rcx, [rsp + 0x128]
mov r8d, r14d
mov edx, ebp
mov dword [rsp + 0x20], eax
call fcn.1400da770
mov ecx, dword [rsp + 0x50]
mov edx, 0x104
imul ecx, r14d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsp + 0xd0], xmm1
mov eax, ebx
imul eax, dword [rsp + 0x70]
add ecx, eax
mov eax, r15d
imul eax, dword [rsp + 0x60]
movups xmmword [rsp + 0xe0], xmm0
add ecx, eax
mov rax, qword [rsp + 0x80]
sub ecx, dword [r12]
add eax, 0xffffffeb
sub ecx, ebp
add ecx, dword [rsp + 0xa0]
add ecx, r13d
add eax, ecx
lea rcx, [rsp + 0x160]
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov r8d, dword [rsp + 0x48]
mov rdx, rax
mov qword [rsp + 0xb0], rax
cmp r8d, ebp
jne 0x1400d3ef8
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x30], r14d
xor r9d, r9d
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x78]
mov r8, rax
mov dword [rsp + 0x20], ecx
mov rcx, r15
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x48]
mov rax, qword [rsp + 0xc8]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400d3f00
imul edi, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0xa0]
add eax, eax
shl r15d, 4
imul edi, dword [rsp + 0x88]
imul r14d, ebp
shl edi, 2
sub eax, edx
sub edi, ebx
mov rbx, qword [rsp + 0xa8]
lea eax, [rax + rax*4]
imul edi, ecx
add edi, eax
mov rax, qword [rsp + 0x98]
mov qword [rbx + 8], rcx
imul eax, dword [rsp + 0x68]
sub edi, eax
add edi, r14d
add edi, dword [r12 + 0x20]
add edi, r15d
sub edi, dword [rsp + 0xb8]
sub edi, dword [rsp + 0x100]
sub edi, dword [rsp + 0x44]
sub edi, dword [rsp + 0x40]
sub edi, dword [rsp + 0x80]
sub edi, dword [rsp + 0x70]
sub edi, dword [rsp + 0x90]
add edi, r13d
add edi, dword [rsp + 0x50]
add edi, r8d
sub edi, esi
sub edi, 0x15
mov dword [rbx], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rbx + 0x10], rax
mov rax, rbx
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1400dd340
mov rbx, qword [rsp + 0x510]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret