Function at 0x669a1ec9
Capabilities:
Get cpu information
Get hostname
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x414
push dword [ebp + 0x10]
xor edi, edi
push dword [ebp + 0xc]
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x10], ebx
jne 0x669a1eff
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x669a2473
push esi
lea eax, [ebp - 8]
push eax
push 0xf003f
push edi
push 0x669a1464
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
je 0x669a1f34
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
jmp 0x669a2472
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push 0x669a1458
push dword [ebp - 8]
mov dword [ebp - 4], 4
call esi
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x669a1f71
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
jmp 0x669a2472
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 4], edi
mov edi, 0x669a144c
push edi
push dword [ebp - 8]
call esi
cmp eax, 0xea
je 0x669a1f98
test eax, eax
jne 0x669a208e
mov eax, dword [ebp - 4]
test eax, eax
je 0x669a208e
inc eax
push eax
push 8
push dword [0x669a8000]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x669a208e
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x669a208e
inc eax
cmp dword [ebp - 0xc], eax
jne 0x669a208e
cmp dword [ebp - 4], 0
je 0x669a208e
mov edi, dword [sym.imp.msvcrt.dll_strtok]
push 0x669a1448
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x669a2008
inc dword [ebp - 0x14]
push 0x669a1448
push 0
call edi
test eax, eax
pop ecx
pop ecx
jne 0x669a1ffe
push dword [ebp - 0x1c]
call dword [sym.imp.msvcrt.dll_atoi]
test eax, eax
pop ecx
je 0x669a208e
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x408], eax
shl eax, 2
push eax
mov byte [ebx + 0x404], 6
call sub.snmpapi.dll_SnmpUtilMemAlloc
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x40c], eax
jbe 0x669a207b
push edi
call dword [sym.imp.msvcrt.dll_atoi]
mov edx, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebx + 0x40c]
mov dword [ecx + edx*4], eax
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x669a2063
sub eax, ecx
inc dword [ebp - 0x18]
lea edi, [edi + eax + 1]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jb 0x669a204a
push dword [ebp - 0x1c]
push 0
push dword [0x669a8000]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x669a20a0
call sub.snmpapi.dll_SnmpSvcGetEnterpriseOID
push eax
lea eax, [ebx + 0x408]
push eax
call sub.snmpapi.dll_SnmpUtilOidCpy
lea ecx, [ebp - 4]
push ecx
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a1440
push dword [ebp - 8]
mov edi, 0x100
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x669a20f1
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 4]
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x669a20f1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x669a2472
lea ecx, [ebp - 4]
push ecx
lea eax, [ebx + 0x204]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a1434
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x669a211a
mov byte [ebx + 0x204], 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], edi
lea edi, [ebx + 0x304]
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a1428
push dword [ebp - 8]
call esi
test eax, eax
je 0x669a213f
mov byte [edi], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [ebx + 0x104]
mov esi, 0x669a141c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
push eax
push 9
push 0
movsw word es:[edi], word [esi]
push 0x669a13ec
push 0x80000002
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x669a21e5
lea eax, [ebp - 4]
push eax
lea esi, [ebx + 0x10e]
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a13e0
push dword [ebp - 8]
mov dword [ebp - 4], 0xf6
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x669a21c3
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add ebx, 9
lea eax, [eax + ebx + 0x104]
inc ebx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x669a21b0
mov edi, eax
mov esi, 0x669a13dc
movsw word es:[edi], word [esi]
jmp 0x669a21da
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x669a21c4
mov edi, esi
mov esi, 0x669a13cc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x16
movsb byte es:[edi], byte [esi]
pop ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x669a2200
lea edi, [ebx + 0x10e]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x669a21ec
mov esi, 0x669a13cc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x16
movsb byte es:[edi], byte [esi]
pop ebx
lea eax, [ebp - 8]
push eax
push 9
push 0
push 0x669a13b0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x669a2293
mov edi, dword [ebp - 0x10]
mov eax, 0x100
sub eax, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea esi, [edi + ebx + 0x104]
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a13e0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x669a2270
mov eax, dword [ebp - 4]
lea ebx, [ebx + eax - 1]
lea eax, [edi + ebx + 0x104]
inc ebx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x669a225d
mov edi, eax
mov esi, 0x669a13dc
movsw word es:[edi], word [esi]
jmp 0x669a2288
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x669a2271
mov edi, esi
push 5
pop ecx
mov esi, 0x669a139c
rep movsd dword es:[edi], dword [esi]
add ebx, 0x13
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x669a22b3
mov eax, dword [ebp - 0x10]
lea edi, [eax + ebx + 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x669a229e
push 5
pop ecx
mov esi, 0x669a139c
rep movsd dword es:[edi], dword [esi]
add ebx, 0x13
mov eax, dword [ebp - 0x10]
lea edi, [eax + ebx + 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x669a22be
push 8
pop ecx
mov esi, 0x669a1378
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
push eax
push 9
push 0
push 0x669a1348
push 0x80000002
movsw word es:[edi], word [esi]
add ebx, 0x21
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x669a244e
mov edi, dword [ebp - 0x10]
mov eax, 0x100
sub eax, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea esi, [edi + ebx + 0x104]
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a1338
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x669a2349
mov eax, dword [ebp - 4]
lea ebx, [ebx + eax - 1]
lea eax, [edi + ebx + 0x104]
inc ebx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x669a2336
mov edi, eax
mov esi, 0x669a13dc
movsw word es:[edi], word [esi]
jmp 0x669a235f
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x669a234a
mov edi, esi
mov esi, 0x669a132c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
add ebx, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + ebx + 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x669a236a
mov esi, 0x669a1324
movsd dword es:[edi], dword [esi]
add ebx, 7
movsd dword es:[edi], dword [esi]
mov eax, 0x100
sub eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
lea esi, [eax + ebx + 0x104]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a1310
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x669a23d3
mov eax, dword [ebp - 4]
lea ebx, [ebx + eax - 1]
mov eax, dword [ebp - 0x10]
lea eax, [eax + ebx + 0x104]
inc ebx
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x669a23c0
mov edi, eax
mov esi, 0x669a13dc
movsw word es:[edi], word [esi]
jmp 0x669a23e9
dec esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x669a23d4
mov edi, esi
mov esi, 0x669a132c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
add ebx, 8
mov edi, dword [ebp - 0x10]
mov eax, 0x100
sub eax, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea esi, [edi + ebx]
lea eax, [esi + 0x104]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x669a1304
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x669a243c
mov eax, dword [ebp - 4]
add eax, edi
lea ebx, [eax + ebx + 0x103]
dec ebx
mov edi, ebx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x669a242b
mov esi, 0x669a1300
movsw word es:[edi], word [esi]
jmp 0x669a2443
mov byte [esi + 0x103], 0x29
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x669a2468
mov eax, dword [ebp - 0x10]
lea edi, [eax + ebx + 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x669a2459
mov esi, 0x669a12f8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0xc