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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe44
mov eax, dword [0x626fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.00573e40
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00573e40
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00573e40
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.00573e40
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00573e40
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.00573e40
mov ax, word [0x637998]
add esp, 0x48
cmp ax, 1
jne 0x436374
lea ecx, [ebp - 0x20c]
call fcn.00434250
jmp 0x436385
cmp ax, 2
jne 0x436392
lea ecx, [ebp - 0x20c]
call fcn.004342c0
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.00435ed0
push 0x104
lea eax, [ebp - 0xe3c]
push eax
push 0xffffffffffffffff
push 0x6371bc
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
lea eax, [ebp - 0xe3c]
push 0
push eax
call fcn.0057c95f
add esp, 0x14
mov dword [ebp - 0xe44], 0x208
lea eax, [ebp - 0xe40]
push eax
push 0x20019
push 0
push 0x5fe9bc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4364ae
lea eax, [ebp - 0xe44]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0xe40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xe40]
test eax, eax
je 0x43643a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4364ae
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436450
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x436488
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x436474
mov eax, dword [0x600014]
mov dword [edi], eax
pop edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4364ae
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.0057c473
add esp, 0xc
cmp word [0x637998], 3
jne 0x43652f
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0057c95f
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0057c473
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0057b0e4
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.0057c473
add esp, 0x38
mov ecx, 0x600174
mov eax, 0x637198
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x436560
test dl, dl
je 0x43655c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x436560
add eax, 2
add ecx, 2
test dl, dl
jne 0x436540
xor eax, eax
jmp 0x436565
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4365c7
lea ecx, [ebp - 0x20c]
call fcn.004360d0
test eax, eax
je 0x4365a1
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.0057c473
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056e545
mov esp, ebp
pop ebp
ret
push 0x200000
push 0x5fea1c
push 0x600180
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.0056e545
mov esp, ebp
pop ebp
ret