Function at 0x402bb0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe88
mov eax, dword [0x664340]
xor eax, esp
mov dword [esp + 0xe84], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x4c]
push edi
push 0x6568a0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xf
mov byte [esp + 0x54], 0
call fcn.00403380
push 0x6568a0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xf
mov byte [esp + 0x3c], 0
call fcn.00403380
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SYSTEMControlSet001ControlCrashControl
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402df9
mov edi, dword [esp + 8]
test edi, edi
jne 0x402c58
push 0xd6
push str.d:opflpdfprotectjkprotect_selfprotecttoolslib_registry.cpp
push str.m_hKey
call fcn.00480734
add esp, 0xc
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0xc8
push eax
lea eax, [esp + 0x494]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.MinidumpDir
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402c95
lea eax, [esp + 0x490]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403380
test edi, edi
je 0x402ca0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x400
lea eax, [esp + 0x94]
push 0
push eax
call fcn.0046cf80
add esp, 0xc
lea ecx, [esp + 0x90]
cmp dword [esp + 0x4c], 0x10
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push dword [esp + 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x78]
call fcn.00402630
mov edi, eax
lea eax, [esp + 0x50]
cmp eax, edi
je 0x402d49
mov edx, dword [esp + 0x64]
cmp edx, 0x10
jb 0x402d28
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e9e
push edx
push ecx
call fcn.0044a315
add esp, 8
movq xmm1, qword [edi + 0x10]
movups xmm0, xmmword [edi]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movq qword [esp + 0x10], xmm1
mov byte [edi], 0
jmp 0x402d5a
movq xmm0, qword [esp + 0x60]
movq qword [esp + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x50]
mov edx, dword [esp + 0x8c]
movaps xmmword [esp + 0x20], xmm0
cmp edx, 0x10
jb 0x402d98
mov ecx, dword [esp + 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e9e
push edx
push ecx
call fcn.0044a315
add esp, 8
movaps xmm0, xmmword [esp + 0x20]
xor eax, eax
mov edx, dword [esp + 0x4c]
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x10]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x402de3
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402dd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push edx
push ecx
call fcn.0044a315
add esp, 8
mov ecx, dword [esp + 0xe8c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0044a851
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0
mov byte [esi], 0
call fcn.00403380
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
jb 0x402e50
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402e46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e99
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp edx, 0x10
jb 0x402de3
mov ecx, dword [esp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402dd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402dd9
call fcn.00470179
call fcn.00470179
int3