Function at 0x100224e0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057bc4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x56c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x18], 0
push 0x400
push 0
lea eax, [ebp - 0x578]
push eax
call fcn.10039570
add esp, 0xc
mov dword [ebp - 0x54], 0x400
push 0x80
push 0
lea ecx, [ebp - 0x178]
push ecx
call fcn.10039570
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.10016990
mov dword [ebp - 4], 0
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x47], 0x4f
mov byte [ebp - 0x46], 0x46
mov byte [ebp - 0x45], 0x54
mov byte [ebp - 0x44], 0x57
mov byte [ebp - 0x43], 0x41
mov byte [ebp - 0x42], 0x52
mov byte [ebp - 0x41], 0x45
mov byte [ebp - 0x40], 0x5c
mov byte [ebp - 0x3f], 0x4d
mov byte [ebp - 0x3e], 0x69
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x3c], 0x72
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x73
mov byte [ebp - 0x39], 0x6f
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x5c
mov byte [ebp - 0x35], 0x57
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x6e
mov byte [ebp - 0x32], 0x64
mov byte [ebp - 0x31], 0x6f
mov byte [ebp - 0x30], 0x77
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x54
mov byte [ebp - 0x2b], 0x5c
mov byte [ebp - 0x2a], 0x43
mov byte [ebp - 0x29], 0x75
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x56
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x72
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], 0x6e
lea ecx, [ebp - 0x49]
call fcn.10003870
push eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb0]
call fcn.1000d8e0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x78]
call fcn.1000d9a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.1000da60
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea ecx, [ebp - 0xa8]
call fcn.100343a0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.10004500
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10022684
mov dword [ebp - 0x50], 1
jmp 0x1002268b
mov dword [ebp - 0x50], 0
mov al, byte [ebp - 0x50]
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0xc8]
call fcn.10003c80
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x10022838
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x578]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0x1005bdf0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10022838
lea eax, [ebp - 0x578]
push eax
lea ecx, [ebp - 0x90]
call fcn.10024c90
nop
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x178]
push edx
lea eax, [ebp - 0x58]
push eax
push 0
push str.CurrentBuild
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100227a3
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea eax, [ebp - 0x178]
push eax
push 0x1005be0c
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0xe0]
push edx
call fcn.1000b7e0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000b7a0
add esp, 0xc
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.10003c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.1000e720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10003c80
nop
mov eax, dword [ebp + 8]
jmp 0x1002287e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea edx, [ebp - 0x178]
push edx
push 0x1005be10
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.1000b7e0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000b7a0
add esp, 0xc
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.10003c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.1000e720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10003c80
nop
mov eax, dword [ebp + 8]
jmp 0x1002287e
push 0x1005bdcb
mov ecx, dword [ebp + 8]
call fcn.1000d250
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.1000e720
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10003ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10003c80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret