Function at 0x2759a4f0
Capabilities:
Check os version
Contain obfuscated stackstrings
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275ac690
mov eax, dword fs:[0]
push eax
sub esp, 0xcbc
mov eax, dword [0x275ba2ec]
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 [0x275bc8c4]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x275bc8c4
mov dword [ebp - 0xc60], edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0xc3c], esi
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x117]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc50], ebx
mov dword [ebp - 0xc38], ebx
mov byte [ebp - 0x118], bl
call fcn.2757fdd0
push 0x110
lea ecx, [ebp - 0xc30]
push ebx
push ecx
mov dword [ebp - 0xc34], ebx
call fcn.2757fdd0
add esp, 0x18
mov dword [ebp - 0xc64], ebx
mov dword [ebp - 0xc58], ebx
mov dword [ebp - 0xc48], ebx
mov dword [ebp - 0xc4c], ebx
mov edx, dword [0x275bc8c4]
xor eax, eax
mov dword [ebp - 0xc78], eax
mov dword [ebp - 0xc74], eax
mov dword [ebp - 0xc70], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 4
mov dword [ebp - 0xc7c], ebx
call eax
add eax, 0x10
mov dword [ebp - 0xc68], eax
cmp dword [edi + 0x6c], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0xc8c], ebx
mov dword [ebp - 0xc88], 0x27530d74
mov dword [ebp - 0xc84], 0x27530d6c
mov dword [ebp - 0xc98], 0x27530d60
mov dword [ebp - 0xc94], 0x27530d54
mov dword [ebp - 0xc90], 0x27530d48
mov dword [ebp - 0xca4], 0xb
mov dword [ebp - 0xca0], 0xa
mov dword [ebp - 0xc9c], 8
jne 0x2759a67d
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759a650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2759a673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80048008
jmp 0x2759b4a5
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0xc40]
push ecx
push 1
push ebx
push 0x27530cb8
push SysReAllocString
mov dword [ebp - 0xc38], 0x104
mov dword [ebp - 0xc40], ebx
call esi
cmp eax, ebx
jne 0x2759a6b9
mov edx, dword [ebp - 0xc40]
mov dword [ebp - 0xc64], edx
lea eax, [ebp - 0xc40]
push eax
push 1
push ebx
push 0x27530cb8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc40], ebx
call esi
cmp eax, ebx
jne 0x2759a6e5
mov ecx, dword [ebp - 0xc40]
mov dword [ebp - 0xc58], ecx
lea edx, [ebp - 0xc40]
push edx
push 1
push ebx
push 0x27530c20
push SysReAllocString
mov dword [ebp - 0xc40], ebx
call esi
cmp eax, ebx
jne 0x2759a711
mov eax, dword [ebp - 0xc40]
mov dword [ebp - 0xc48], eax
lea ecx, [ebp - 0xc40]
push ecx
push 1
push ebx
push 0x27530c20
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc40], ebx
call esi
cmp eax, ebx
jne 0x2759a73d
mov edx, dword [ebp - 0xc40]
mov dword [ebp - 0xc4c], edx
mov eax, dword [ebp - 0xc58]
mov ecx, dword [ebp - 0xc64]
mov edx, dword [ebp - 0xc4c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc7c], eax
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xc78], ecx
mov dword [ebp - 0xc74], edx
mov dword [ebp - 0xc70], eax
xor esi, esi
cmp dword [ebp - 0xc48], 0xffffffff
je 0x2759a7cb
lea ecx, [ebp - 0xc38]
push ecx
mov ecx, dword [ebp + esi*4 - 0xc8c]
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0xc48]
lea eax, [ebp - 0xc50]
push eax
push ebx
push ecx
push edx
mov dword [ebp - 0xc38], 0x104
call edi
test eax, eax
jne 0x2759a7cb
mov eax, dword [ebp - 0xc38]
cmp eax, 1
jbe 0x2759a7cb
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x118]
push eax
jmp 0x2759a831
cmp dword [ebp - 0xc4c], 0xffffffff
je 0x2759a821
lea ecx, [ebp - 0xc38]
push ecx
mov ecx, dword [ebp + esi*4 - 0xc8c]
lea edx, [ebp - 0x118]
push edx
mov edx, dword [ebp - 0xc4c]
lea eax, [ebp - 0xc50]
push eax
push ebx
push ecx
push edx
mov dword [ebp - 0xc38], 0x104
call edi
test eax, eax
jne 0x2759a821
mov eax, dword [ebp - 0xc38]
cmp eax, 1
jbe 0x2759a821
add eax, 0xffffffff
push eax
lea eax, [ebp - 0x118]
push eax
jmp 0x2759a831
mov ecx, dword [ebp + esi*4 - 0xca4]
mov edx, dword [ebp + esi*4 - 0xc98]
push ecx
push edx
lea ecx, [ebp - 0xc3c]
call fcn.27549080
cmp esi, ebx
mov eax, 0x27530c18
je 0x2759a84a
mov eax, 0x27530c14
push 2
push eax
lea ecx, [ebp - 0xc3c]
call fcn.27549080
add esi, 1
cmp esi, 3
jl 0x2759a775
mov dword [ebp - 0xc6c], ebx
mov eax, dword [ebp - 0xc58]
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x2759aa42
lea ecx, [ebp - 0xc40]
push ecx
push 1
push ebx
push 0x27530c00
push eax
mov dword [ebp - 0xc40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x2759aa42
mov edi, dword [ebp - 0xc40]
cmp edi, ebx
mov dword [ebp - 0xc6c], edi
je 0x2759aa42
mov dword [ebp - 0xc44], ebx
lea edx, [ebp - 0xc40]
push edx
push 1
push ebx
push 0x27530b88
push SysReAllocString
mov byte [ebp - 4], 7
mov dword [ebp - 0xc40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x2759aa29
mov eax, dword [ebp - 0xc40]
cmp eax, ebx
mov dword [ebp - 0xc44], eax
je 0x2759aa29
lea ecx, [ebp - 0xc38]
push ecx
lea edx, [ebp - 0x320]
push edx
lea ecx, [ebp - 0xc50]
push ecx
push ebx
push 0x27530b7c
push eax
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2759aa29
cmp dword [ebp - 0xc38], 1
jbe 0x2759aa29
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0xc38]
push edx
lea eax, [ebp - 0x118]
push eax
push ebx
push edi
mov dword [ebp - 0xc38], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, 1
cmp eax, ebx
je 0x2759a973
cmp eax, 0xea
jne 0x2759aa29
mov ebx, dword [ebp - 0xc38]
test ebx, ebx
je 0x2759a9f7
push ebx
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x21b]
push edx
mov byte [ebp - 0x21c], 0x20
call fcn.2757fff0
mov cx, word [0x27530c14]
mov dl, byte [0x27530c16]
lea eax, [ebp + ebx - 0x21b]
mov word [eax], cx
mov byte [eax + 2], dl
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x320]
push ecx
call fcn.2758c630
add esp, 0x14
test eax, eax
je 0x2759a9f7
mov edx, dword [ebp - 0xc38]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xc3c]
call fcn.27549080
push 2
push 0x27530c14
lea ecx, [ebp - 0xc3c]
call fcn.27549080
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc38]
push ecx
lea edx, [ebp - 0x118]
push edx
push esi
push edi
mov dword [ebp - 0xc38], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
xor ebx, ebx
jmp 0x2759a964
cmp dword [ebp - 0xc44], ebx
mov byte [ebp - 4], 6
je 0x2759aa42
mov eax, dword [ebp - 0xc44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0xc44], esi
jmp 0x2759aa52
xor ebx, ebx
mov eax, dword [ebp + esi*4 - 0xc7c]
cmp eax, ebx
je 0x2759ab3d
xor ebx, ebx
lea ecx, [ebp - 0xc40]
push ecx
push 1
push ebx
push 0x27530b60
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0xc40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2759ab2e
mov ebx, dword [ebp - 0xc40]
push eax
push eax
push eax
push eax
lea edx, [ebp - 0xc38]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
push ebx
mov dword [ebp - 0xc54], ebx
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, 1
test eax, eax
je 0x2759aacc
cmp eax, 0xea
jne 0x2759ab28
mov eax, dword [ebp - 0xc38]
test eax, eax
je 0x2759aafb
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0xc3c]
call fcn.27549080
push 2
push 0x27530c14
lea ecx, [ebp - 0xc3c]
call fcn.27549080
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc38]
push edx
lea eax, [ebp - 0x118]
push eax
push esi
push ebx
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
jmp 0x2759aac1
mov esi, dword [ebp - 0xc44]
test ebx, ebx
mov byte [ebp - 4], 6
je 0x2759ab3d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 1
cmp esi, 4
mov dword [ebp - 0xc44], esi
jl 0x2759aa50
mov eax, dword [ebp - 0xc48]
cmp eax, 0xffffffff
je 0x2759aba1
lea ecx, [ebp - 0xc38]
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0xc50]
push ecx
push 0
push 0x27530b54
push eax
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2759aba1
mov edx, dword [ebp - 0xc38]
add edx, 0xffffffff
push edx
lea eax, [ebp - 0x118]
push eax
jmp 0x2759aced
mov eax, dword [ebp - 0xc4c]
cmp eax, 0xffffffff
je 0x2759abf3
lea ecx, [ebp - 0xc38]
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0xc50]
push ecx
push 0
push 0x27530b54
push eax
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2759abf3
mov edx, dword [ebp - 0xc38]
add edx, 0xffffffff
push edx
lea eax, [ebp - 0x118]
push eax
jmp 0x2759aced
lea ecx, [ebp - 0xc34]
push ecx
mov dword [ebp - 0xc34], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2759ae37
cmp dword [ebp - 0xc24], 2
jne 0x2759acba
lea edx, [ebp - 0xcc8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xcc8]
cmp ax, 9
je 0x2759ac78
cmp ax, 6
je 0x2759ac78
test ax, ax
jne 0x2759ac7f
push 0x27517014
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x27530b38
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x2759ac7f
push 0x104
lea ecx, [ebp - 0x320]
push ecx
call eax
test eax, eax
je 0x2759ac7f
mov eax, 0x27530b30
jmp 0x2759ac84
mov eax, 0x27530b28
jmp 0x2759ac84
mov eax, 0x27510d2e
mov edx, dword [ebp - 0xc2c]
push eax
mov eax, dword [ebp - 0xc30]
push edx
push eax
push 0x27530b1c
lea ecx, [ebp - 0xc68]
push 0x27530b10
push ecx
call fcn.2754f790
mov edx, dword [ebp - 0xc68]
add esp, 0x18
test edx, edx
jne 0x2759acd7
xor eax, eax
jmp 0x2759aceb
mov eax, dword [ebp - 0xc2c]
cmp eax, 0xa
jb 0x2759ae2d
cmp eax, 0x5a
jb 0x2759ae23
mov edx, 0x27530af8
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x2759ace0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xc3c]
call fcn.27549080
xor esi, esi
mov dword [ebp - 0xc44], esi
mov eax, dword [ebp + esi*4 - 0xc7c]
test eax, eax
je 0x2759ae50
xor ebx, ebx
mov dword [ebp - 0xc5c], ebx
lea edx, [ebp - 0xc40]
push edx
push 1
push ebx
push 0x27530adc
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0xc40], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2759ad50
mov ebx, dword [ebp - 0xc40]
cmp ebx, 0xffffffff
mov dword [ebp - 0xc5c], ebx
je 0x2759ae41
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc38]
push eax
lea ecx, [ebp - 0x118]
push ecx
push 0
push ebx
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0xc40], 1
test eax, eax
je 0x2759ad92
cmp eax, 0xea
jne 0x2759ae41
cmp dword [ebp - 0xc38], 0
je 0x2759ade1
cmp esi, 1
jg 0x2759adb6
mov edi, 0x27530ad4
lea esi, [ebp - 0x118]
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x2759ade1
push 2
push 0x27530c14
lea ecx, [ebp - 0xc3c]
call fcn.27549080
mov eax, dword [ebp - 0xc38]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0xc3c]
call fcn.27549080
mov esi, dword [ebp - 0xc40]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0xc38]
push edx
lea eax, [ebp - 0x118]
push eax
push esi
push ebx
mov dword [ebp - 0xc38], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
mov dword [ebp - 0xc40], esi
mov esi, dword [ebp - 0xc44]
jmp 0x2759ad83
mov edx, 0x27530ac8
jmp 0x2759acd7
mov edx, 0x27530abc
jmp 0x2759acd7
mov edx, 0x27530ab4
jmp 0x2759acd7
test ebx, ebx
mov byte [ebp - 4], 6
je 0x2759ae50
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
shl edi, cl
mov dh, 0x6c
inc byte [ecx + ecx*4]
mov ch, 0xbc
invalid
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.2757f388
mov esp, ebp
pop ebp
ret