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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe44
mov eax, dword [0x627fe8]
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.00574fa0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00574fa0
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.00574fa0
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.00574fa0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00574fa0
push 0x208
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.00574fa0
mov ax, word [0x638998]
add esp, 0x48
cmp ax, 1
jne 0x4373c4
lea ecx, [ebp - 0x20c]
call fcn.004352a0
jmp 0x4373d5
cmp ax, 2
jne 0x4373e2
lea ecx, [ebp - 0x20c]
call fcn.00435310
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.00436f20
push 0x104
lea eax, [ebp - 0xe3c]
push eax
push 0xffffffffffffffff
push 0x6381bc
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.0057db4f
add esp, 0x14
mov dword [ebp - 0xe44], 0x208
lea eax, [ebp - 0xe40]
push eax
push 0x20019
push 0
push 0x5ffa04
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4374fe
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 0x43748a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4374fe
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 0x4374a0
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x4374d8
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4374c4
mov eax, dword [0x6010bc]
mov dword [edi], eax
pop edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4374fe
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.0057d663
add esp, 0xc
cmp word [0x638998], 3
jne 0x43757f
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.0057db4f
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0057d663
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0057c2d2
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.0057d663
add esp, 0x38
mov ecx, 0x6011cc
mov eax, 0x638198
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4375b0
test dl, dl
je 0x4375ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4375b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x437590
xor eax, eax
jmp 0x4375b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x437617
lea ecx, [ebp - 0x20c]
call fcn.00437120
test eax, eax
je 0x4375f1
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.0057d663
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056f596
mov esp, ebp
pop ebp
ret
push 0x200000
push 0x5ffa64
push 0x6011e8
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.0056f596
mov esp, ebp
pop ebp
ret