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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa08
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x2f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 1]
stosb byte es:[edi], al
lea edi, [ebp - 0x13]
mov byte [ebp - 0x30], 0x52
stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x43]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x3f]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x37]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x446484]
lea edi, [ebp - 0xd]
mov byte [ebp - 0xe], al
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x2f], 0x61
stosb byte es:[edi], al
mov byte [ebp - 0x2e], 0x69
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x62
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x77
mov byte [ebp - 0x29], 0x2e
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0x4c
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], bl
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], bl
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x4c
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x11], 0x49
mov byte [ebp - 0x10], 0x44
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x56
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x44], 0x2e
mov byte [ebp - 0x43], 0x31
mov byte [ebp - 0x42], bl
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0x73
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x72
lea eax, [ebp - 0x14]
mov esi, str._s_s_s
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push esi
push eax
mov byte [ebp - 0x3c], 0x73
mov byte [ebp - 0x3b], 0x74
mov byte [ebp - 0x3a], 0x37
mov byte [ebp - 0x39], bl
mov byte [ebp - 0x38], 0x73
mov byte [ebp - 0x37], 0x79
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0x70
mov byte [ebp - 0x34], 0x72
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x37
mov byte [ebp - 0x31], bl
mov dword [ebp - 0xc], ebx
call fcn.0040421a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040c43d
add esp, 0x1c
mov dword [ebp - 8], eax
call fcn.0040db6e
cmp dword [ebp - 8], ebx
jne 0x40bcb0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0040421a
call fcn.0040db6e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040c43d
add esp, 0x1c
mov edi, eax
call fcn.0040db6e
cmp edi, ebx
jne 0x40ba53
cmp dword [ebp - 0xc], 2
je 0x40ba53
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0040421a
push 0x200
call fcn.0040330c
add esp, 0x18
mov edi, 0x100
mov dword [ebp - 8], eax
push edi
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
push dword [ebp - 8]
call fcn.0040eb59
inc eax
push eax
lea eax, [ebp - 0x44c]
push dword [ebp - 8]
push edi
push eax
call fcn.0040eae1
push edi
lea eax, [ebp - 0x24c]
push ebx
push eax
call fcn.00403e70
lea eax, [ebp - 0x44c]
push eax
call fcn.00403ed0
dec eax
dec eax
push eax
lea eax, [ebp - 0x44b]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00404040
call fcn.0040db6e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040cc20
push dword [ebp - 8]
call fcn.0040320f
add esp, 0x40
call fcn.0040db6e
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0040421a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040c43d
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x40bcb3
call fcn.0040db6e
jmp 0x40bb0f
mov edi, 0x100
lea eax, [ebp - 0x14c]
push edi
push ebx
push eax
call fcn.00403e70
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0040421a
add esp, 0x20
lea eax, [ebp - 0x48]
push eax
push 0xf003f
lea eax, [ebp - 0x14c]
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x40bb0f
push edi
lea eax, [ebp - 0x54c]
push ebx
push eax
call fcn.00403e70
push edi
lea eax, [ebp - 0x24c]
push ebx
push eax
call fcn.00403e70
add esp, 0x18
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
push eax
lea eax, [ebp - 0x54c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x54c]
push eax
call fcn.00403ed0
dec eax
dec eax
push eax
lea eax, [ebp - 0x54b]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00404040
add esp, 0x10
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.00403f50
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0040e0cf
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.00403f50
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0040e0cf
add esp, 0x28
cmp dword [ebp - 8], ebx
jne 0x40bcb0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0040421a
lea eax, [ebp - 0x44]
mov esi, 0x427700
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.0040421a
call fcn.0040db6e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040cc20
call fcn.0040db6e
push dword [ebp + 0x1c]
lea eax, [ebp - 0xa08]
push dword [ebp + 0x18]
push dword [ebp + 0x20]
push str._d_s_s
push eax
call fcn.0040421a
add esp, 0x44
lea eax, [ebp - 0xa08]
push dword [ebp + 0x20]
push eax
call fcn.0040dfae
lea ecx, [ebp - 0x74c]
push 0xa
push ecx
push eax
call fcn.0040a6b7
lea eax, [ebp - 0x814]
push 0xc8
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x20]
call fcn.0040deff
lea eax, [ebp - 0x74c]
push eax
lea eax, [ebp - 0x814]
push dword [ebp + 0x1c]
push eax
call fcn.0040e0cf
lea eax, [ebp - 0x74c]
push eax
push 0x41d63c
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0040421a
add esp, 0x40
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040c43d
pop ecx
mov dword [ebp - 8], eax
pop ecx
call fcn.0040db6e
call fcn.0040d92e
cmp dword [ebp - 8], ebx
jne 0x40bcb0
call fcn.0040d92e
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.0040ccc3
mov dword [ebp - 8], eax
call fcn.0040d92e
lea eax, [ebp - 0x34c]
push ebx
push eax
call fcn.0040c4de
lea eax, [ebp - 0x34c]
push 1
push eax
call fcn.0040c4de
lea eax, [ebp - 0x64c]
push ebx
push eax
call fcn.0040c4de
add esp, 0x20
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret