Function at 0x413bac
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
push eax
push ebx
push 0x1fffff
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_OpenThread]
mov dword [0x43b948], eax
call fcn.00413d0d
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapSetInformation]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
push eax
push 0x20019
push ebx
push 0x402570
push 0x80000001
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x41f9bc
lea eax, [ebp - 0x19]
mov byte [0x42d624], 1
mov edx, 0x42d610
mov dword [0x42d620], eax
call fcn.00413dc9
dec eax
neg eax
sbb al, al
and byte [0x42d624], al
call fcn.00413d88
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004133df
cmp dword [ebp - 0x20], 1
je 0x41f9ec
mov edi, 0xff
test eax, eax
je 0x41fa50
push ebx
push 0x43b8c8
call sub.msvcrt.dll__setjmp3
pop ecx
pop ecx
mov ecx, dword [0x443cdc]
test eax, eax
jne 0x41fa13
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x413cc0
mov esi, ebx
mov edx, dword [ebp + esi*4 - 0x14]
test edx, edx
jne 0x413cdb
inc esi
cmp esi, 3
jl 0x413c8b
call fcn.0040fa30
call dword [sym.imp.api_ms_win_core_console_l1_1_0.dll_GetConsoleOutputCP]
push 0x433850
push eax
mov dword [0x433864], eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_1.dll_GetCPInfo]
call fcn.00413d0d
mov ecx, dword [0x443cdc]
test ecx, ecx
je 0x41fa4a
push ebx
call fcn.00413eb0
test eax, eax
je 0x413cc8
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_exit]
push dword [0x443ce8]
xor ecx, ecx
inc ecx
call fcn.0040e350
cmp eax, 1
je 0x41fa39
cmp eax, 0xffffffff
je 0x41fa29
mov edx, eax
xor ecx, ecx
call fcn.0040fd30
test eax, eax
je 0x413c93
mov dword [ebp - 0x18], eax
jmp 0x413c93
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push 0x403a4c
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x413c13
push ebx
push 0x40002729
call fcn.00415469
pop ecx
pop ecx
push ebx
call fcn.00423fb0
push ebx
call fcn.00413eb0
test eax, eax
je 0x41f9ff
push 0xff
jmp 0x413cd5
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x413c85
mov dword [ebp - 0x18], edi
jmp 0x413c85
push ebx
call fcn.00413eb0
test eax, eax
je 0x41fa29
push ebx
jmp 0x413cd5
push ebx
call fcn.00413eb0
test eax, eax
je 0x41fa39
push 1
jmp 0x413cd5
mov dword [0x448470], ebx
push ebx
push 0x43b8c8
call sub.msvcrt.dll__setjmp3
mov dword [ebp - 0x18], eax
pop ecx
pop ecx
push 2
pop esi
test eax, eax
je 0x41fa77
cmp eax, esi
jne 0x41fa77
push ebx
call fcn.00413eb0
test eax, eax
je 0x41fa6b
jmp 0x41fa33
cmp dword [ebp - 0x20], esi
jne 0x41fa9f
push ebx
push 0x40002729
call fcn.00415469
pop ecx
pop ecx
push ebx
call fcn.00423fb0
push ebx
call fcn.00413eb0
test eax, eax
je 0x41fa8f
push edi
jmp 0x413cd5
xor ecx, ecx
call fcn.0040f521
test eax, eax
jne 0x41fabb
push 3
pop esi
push 0x8000
push ebx
call dword [sym.imp.msvcrt.dll__setmode]
pop ecx
pop ecx
push ebx
call fcn.00405f50
push dword [0x433868]
mov byte [0x42d598], bl
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
push dword [0x433868]
mov dword [0x42d54c], ebx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
push ebx
xor edx, edx
mov ecx, esi
call fcn.0040e350
mov edi, eax
cmp edi, 1
je 0x41fac1
cmp edi, 0xffffffff
je 0x41fb6a
push dword [0x433868]
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
push dword [0x433868]
mov dword [0x42d54c], ebx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
call dword [sym.imp.api_ms_win_core_console_l1_1_0.dll_GetConsoleOutputCP]
push 0x433850
push eax
mov dword [0x433864], eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_1.dll_GetCPInfo]
call fcn.00413d0d
mov edx, edi
xor ecx, ecx
call fcn.0040fd30
mov byte [0x42d5a4], bl
call fcn.0040fa30
call dword [sym.imp.api_ms_win_core_console_l1_1_0.dll_GetConsoleOutputCP]
push 0x433850
push eax
mov dword [0x433864], eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_1.dll_GetCPInfo]
call fcn.00413d0d
jmp 0x41fac1
push ebx
call fcn.00413eb0
test eax, eax
je 0x41fb6a
jmp 0x41fa33