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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe44
mov eax, dword [0x623fe8]
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.00571ca0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.00571ca0
mov ax, word [0x634d14]
add esp, 0x48
cmp ax, 1
jne 0x434404
lea ecx, [ebp - 0x20c]
call fcn.00432050
jmp 0x434415
cmp ax, 2
jne 0x434422
lea ecx, [ebp - 0x20c]
call fcn.004320c0
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.00433f60
push 0x104
lea eax, [ebp - 0xe3c]
push eax
push 0xffffffffffffffff
push 0x634334
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.0057a2ef
add esp, 0x14
mov dword [ebp - 0xe44], 0x208
lea eax, [ebp - 0xe40]
push eax
push 0x20019
push 0
push 0x5fc94c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43453e
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 0x4344ca
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43453e
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 0x4344e0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x434518
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x434504
mov eax, dword [0x5fce54]
mov dword [edi], eax
pop edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43453e
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.00579e03
add esp, 0xc
cmp word [0x634d14], 3
jne 0x4345bf
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.0057a2ef
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00579e03
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.00579e03
add esp, 0x38
mov ecx, 0x5fe0ac
mov eax, 0x634310
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4345f0
test dl, dl
je 0x4345ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4345f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4345d0
xor eax, eax
jmp 0x4345f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434657
lea ecx, [ebp - 0x20c]
call fcn.00434160
test eax, eax
je 0x434631
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.00579e03
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
push 0x200000
push 0x5fc9ac
push 0x5fe0c8
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.0056c3d1
mov esp, ebp
pop ebp
ret