Function at 0x4bdc70
Capabilities:
Get file version info
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524833
mov eax, dword fs:[0]
push eax
mov eax, 0x184c
call fcn.004fc970
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x184c]
mov dword [ebp - 0x1848], 0
mov dword [ebp - 0x1858], eax
mov dword [ebp - 0x1858], 0x58e0c8
mov dword [0x58e0c8], 0x80000002
mov dword [0x58e0dc], 0
mov dword [0x58e0e0], 0xf
mov byte [0x58e0cc], 0
mov dword [ebp - 4], 0
mov dword [0x58e0f4], 0
mov dword [0x58e0f8], 0xf
mov byte [0x58e0e4], 0
mov dword [0x58e10c], 0
mov dword [0x58e110], 0xf
mov byte [0x58e0fc], 0
mov dword [0x58e124], 0
mov dword [0x58e128], 0xf
mov byte [0x58e114], 0
mov dword [0x58e13c], 0
mov dword [0x58e140], 0xf
mov byte [0x58e12c], 0
mov dword [0x58e154], 0
mov dword [0x58e158], 0xf
mov byte [0x58e144], 0
push 0x58e170
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58e160
push str.FirstRun
xorps xmm0, xmm0
push ecx
movlpd qword [0x58e160], xmm0
call fcn.004aba00
mov eax, dword [0x58e160]
or eax, dword [0x58e164]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4bde31
push 0x58e160
call fcn.0050b83e
mov eax, dword [0x58e164]
add esp, 4
mov ecx, dword [0x58e160]
mov dword [ebp - 0x184c], eax
lea eax, [ebp - 0x1844]
mov dword [ebp - 0x1848], ecx
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMadeForNetGCT
push dword [0x58e0c8]
mov dword [ebp - 0x1844], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4bde31
push 4
lea eax, [ebp - 0x1848]
push eax
push 4
push 0
push str.FirstRun
push dword [ebp - 0x1844]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x1844]
call ebx
push 2
push 0x574c08
mov ecx, 0x58e0cc
call fcn.004a4bf0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x1844]
push eax
push 0xf003f
push 0
push str.SOFTWAREMadeForNetGCT
push dword [0x58e0c8]
mov dword [ebp - 0x1844], 0
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4bdee6
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004ffc00
add esp, 0xc
mov dword [ebp - 0x1848], 0x400
lea eax, [ebp - 0x1848]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push str.DeviceId
push dword [ebp - 0x1844]
call esi
test eax, eax
jne 0x4bdede
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdec3
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, 0x58e0e4
call fcn.004a4bf0
push dword [ebp - 0x1844]
call ebx
cmp dword [0x58e0f4], 0
jne 0x4be015
lea eax, [ebp - 0x1844]
mov byte [ebp - 4], 6
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
mov dword [ebp - 0x1848], 1
mov dword [ebp - 0x1844], 0
call edi
test eax, eax
jne 0x4bdfc6
push 0x400
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004ffc00
add esp, 0xc
mov dword [ebp - 0x1854], 0x400
lea eax, [ebp - 0x1854]
mov dword [ebp - 0x184c], 0
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x184c]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x1844]
call esi
test eax, eax
jne 0x4bdfbe
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdfa2
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x1828]
call fcn.004a4bf0
push dword [ebp - 0x1844]
call ebx
lea eax, [ebp - 0x1828]
mov ecx, 0x58e0e4
push eax
call fcn.004a4d20
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x4be015
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be00b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be5f8
push edx
push ecx
call fcn.004fbca6
add esp, 8
push 0x1000
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1810]
push 0
push eax
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
mov dword [ebp - 0x1848], 2
call fcn.004ffc00
add esp, 0xc
lea eax, [ebp - 0x1810]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.GCT_UI.EXE
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1810]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x4be10f
push edi
call fcn.004fc235
add esp, 4
mov esi, eax
lea eax, [ebp - 0x1810]
push esi
push edi
push dword [ebp - 0x184c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4be106
lea eax, [ebp - 0x1844]
push eax
lea eax, [ebp - 0x1854]
push eax
push str.StringFileInfo040904e4FileVersion
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4be106
mov edx, dword [ebp - 0x1854]
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be0f0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x1828]
call fcn.004a4bf0
push esi
call fcn.004fc23e
add esp, 4
lea eax, [ebp - 0x1828]
mov ecx, 0x58e0fc
push eax
call fcn.004a4d20
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x4be15e
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be154
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be5fd
push edx
push ecx
call fcn.004fbca6
add esp, 8
push 0x55
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLocaleName]
test eax, eax
jle 0x4be2bd
xor eax, eax
mov dword [ebp - 0x1818], 0
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x1814], 7
mov word [ebp - 0x1828], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4be1a0
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1828]
call fcn.004c3110
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1828]
cmp dword [ebp - 0x1814], 8
lea ebx, [ebp - 0x1828]
mov eax, dword [ebp - 0x1818]
lea ecx, [ebp - 0x1840]
cmovae edx, dword [ebp - 0x1828]
cmovae ebx, dword [ebp - 0x1828]
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
lea esi, [edx + eax*2]
mov byte [ebp - 0x1840], 0
mov eax, esi
sub eax, ebx
sar eax, 1
push eax
call fcn.004a4600
push dword [ebp - 0x184c]
lea ecx, [ebp - 0x1840]
push esi
push ebx
call fcn.004c2850
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1814]
cmp edx, 8
jb 0x4be274
mov ecx, dword [ebp - 0x1828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4be26a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be602
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1840]
mov ecx, 0x58e114
push eax
call fcn.004a4d20
mov edx, dword [ebp - 0x182c]
cmp edx, 0x10
jb 0x4be2f6
mov ecx, dword [ebp - 0x1840]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be2ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be607
jmp 0x4be2ec
push 0
push 0x572bc3
lea ecx, [ebp - 0x1840]
mov dword [ebp - 0x1830], 0
mov dword [ebp - 0x182c], 0xf
mov byte [ebp - 0x1840], 0
call fcn.004a4bf0
jmp 0x4be27a
push edx
push ecx
call fcn.004fbca6
add esp, 8
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004ffc00
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x1848]
add esp, 0xc
mov dword [ebp - 0x184c], 0x400
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4be3a6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x574c9c
push dword [ebp - 0x1848]
call esi
push dword [ebp - 0x1848]
call ebx
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1828], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be388
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x1828]
call fcn.004a4bf0
jmp 0x4be3d9
push 7
push str.Unknown
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
call fcn.004a4bf0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1828]
mov ecx, 0x58e12c
push eax
call fcn.004a4d20
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x4be424
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be41a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be60c
push edx
push ecx
call fcn.004fbca6
add esp, 8
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004ffc00
push 0x400
lea eax, [ebp - 0xc10]
push 0
push eax
call fcn.004ffc00
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004ffc00
add esp, 0x24
mov dword [ebp - 0x1844], 0x400
lea eax, [ebp - 0x1848]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4be543
lea eax, [ebp - 0x1844]
push eax
lea eax, [ebp - 0xc10]
push eax
push 0
push 0
push str.CurrentBuild
push dword [ebp - 0x1848]
call esi
mov ecx, dword [ebp - 0x1844]
test eax, eax
lea eax, [ebp - 0x1844]
mov edx, 0x400
push eax
lea eax, [ebp - 0x810]
cmove ecx, edx
push eax
push 0
push 0
push str.CurrentVersion
push dword [ebp - 0x1848]
mov dword [ebp - 0x1844], ecx
call esi
test eax, eax
jne 0x4be4e9
push dword [ebp - 0x1848]
call ebx
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push str.Build__s._Version__s
push eax
call fcn.004c3370
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x1818], 0
add esp, 0x10
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be530
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x4be565
push 0xe
mov dword [ebp - 0x1818], 0
mov dword [ebp - 0x1814], 0xf
mov byte [ebp - 0x1828], 0
push str.Build._Version
lea ecx, [ebp - 0x1828]
call fcn.004a4bf0
lea eax, [ebp - 0x1828]
mov ecx, 0x58e144
push eax
call fcn.004a4d20
mov edx, dword [ebp - 0x1814]
cmp edx, 0x10
jb 0x4be5b7
mov ecx, dword [ebp - 0x1828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4be5ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4be611
push edx
push ecx
call fcn.004fbca6
add esp, 8
push 0x58e168
push str.RunCountApp
push ecx
call fcn.004aba00
push 0x58e16c
push str.RunDaysApp
push ecx
call fcn.004aba00
mov eax, 0x58e0c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret
call fcn.00501cb1
call fcn.00501cb1
call fcn.00501cb1
call fcn.00501cb1
call fcn.00501cb1
call fcn.00501cb1
int3