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

Disassembly:
push ebp
push edi
mov eax, ecx
push esi
push ebx
add eax, 0x60
xor edx, edx
sub esp, 0x4fc
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [esp + 0x38], ecx
mov dword [ecx + 0x60], 0
add ecx, 0x64
mov dword [ecx + 0x18], 0
and ecx, 0xfffffffc
sub eax, ecx
add eax, 0x20
and eax, 0xfffffffc
mov dword [ecx + edx], 0
add edx, 4
cmp edx, eax
jb 0x415e8f
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, ecx
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x5c], 0
add ecx, 0x44
add eax, 0x40
and ecx, 0xfffffffc
sub eax, ecx
add eax, 0x20
and eax, 0xfffffffc
mov dword [ecx + edx], 0
add edx, 4
cmp edx, eax
jb 0x415ec4
lea eax, [esp + 0x48]
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0
mov dword [esp + 4], str.Config_ManagerEnum
mov dword [esp], 0x80000006
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x24], eax
call eax
sub esp, 0x14
xor eax, eax
mov dword [esp + 0x4c], 0x104
lea edi, [esp + 0x58]
lea esi, [esp + 0x4c]
lea ebp, [esp + 0xe0]
jmp 0x415f2c
mov dword [esp + 0x4c], 0x104
mov eax, ebx
mov dword [esp + 4], eax
lea ebx, [eax + 1]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
jne 0x415f22
cmp ebx, 0x1fffffff
ja 0x4166e2
shl ebx, 2
mov dword [esp], ebx
xor ebx, ebx
call fcn.0045fbd0
mov dword [esp + 0x4c], 0x104
mov dword [esp + 0x20], eax
jmp 0x415fc2
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp], eax
call fcn.0045fbd0
mov edx, dword [esp + 0x20]
mov dword [edx + ebx*4], eax
mov dword [esp + 4], ebp
add ebx, 1
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov dword [esp + 0x4c], 0x104
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
jne 0x415f95
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], eax
call eax
sub esp, 4
test ebx, ebx
je 0x416125
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
lea ebx, [eax + ebx*4]
mov esi, eax
jmp 0x41603b
add esi, 4
cmp ebx, esi
je 0x41610b
mov eax, dword [esi]
mov dword [ebp], 0x666e6f43
mov ecx, 0x5c
mov dword [ebp + 4], 0x4d206769
mov dword [ebp + 8], 0x67616e61
mov dword [ebp + 0xc], 0x455c7265
mov dword [ebp + 0x10], 0x6d756e
mov dword [esp + 4], eax
lea eax, [esp + 0xf4]
mov word [esp + 0xf3], cx
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x48]
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], 0x80000006
mov dword [esp + 0x10], eax
call dword [esp + 0x24]
sub esp, 0x14
test eax, eax
jne 0x416030
lea eax, [esp + 0x54]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Problem
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x28], eax
call eax
sub esp, 0x18
cmp dword [esp + 0x50], 3
je 0x416144
mov eax, dword [esp + 0x48]
add esi, 4
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 4
cmp ebx, esi
jne 0x41603b
mov ebx, dword [esp + 0x34]
nop
mov eax, dword [ebx]
test eax, eax
je 0x41611e
mov dword [esp], eax
call fcn.0045fba0
add ebx, 4
cmp esi, ebx
jne 0x416110
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.0045fbc0
add esp, 0x4fc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0045fbd0
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.Problem
mov dword [esp], eax
call dword [esp + 0x28]
sub esp, 0x18
test eax, eax
jne 0x416631
mov edi, dword [esp + 0x54]
test edi, edi
je 0x416683
mov ecx, dword [esp + 0x30]
xor edx, edx
mov eax, ecx
add edi, ecx
movzx ecx, byte [eax]
add eax, 1
or edx, ecx
cmp edi, eax
jne 0x4161a4
test edx, edx
sete byte [esp + 0x3f]
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x1e4]
mov dword [esp], eax
call fcn.0045fba0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.HardwareKey
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x28]
sub esp, 0x18
cmp dword [esp + 0x50], 1
jne 0x4160f2
cmp byte [esp + 0x3f], 0
je 0x4160f2
cmp byte [esp + 0x1e4], 0
je 0x4160f2
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x2c]
sub esp, 4
mov dword [ebp], 0x6d756e45
mov byte [ebp + 4], 0x5c
lea eax, [esp + 0xe5]
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x48]
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], 0x80000002
mov dword [esp + 0x10], eax
call dword [esp + 0x24]
sub esp, 0x14
test eax, eax
jne 0x416030
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x104
mov dword [esp + 8], 0
mov dword [esp + 4], str.PortName
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2e8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x28]
sub esp, 0x18
cmp dword [esp + 0x50], 1
je 0x4162d6
mov byte [esp + 0x2e8], 0
lea eax, [esp + 0x2e8]
mov dword [esp + 4], 0x47b059
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
je 0x416459
lea edx, [esp + 0x3ec]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2e8]
mov ecx, dword [edi]
add edi, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x41630e
mov ecx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 4], 0x47b059
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edi + 2]
mov edx, eax
cmove edi, ecx
add dl, al
lea eax, [esp + 0x2e8]
sbb edi, 3
mov dword [esp], eax
sub edi, eax
call sub.msvcrt.dll_strstr
lea ecx, [esp + 0x2e8]
mov edx, dword [esp + 0x30]
sub ecx, eax
add eax, 3
lea ecx, [ecx + edi - 2]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_strncpy
mov edx, dword [esp + 0x30]
mov dword [esp], edx
call sub.msvcrt.dll_atoi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x2c]
mov eax, dword [esi]
sub esp, 4
mov dword [ebp], 0x666e6f43
mov dword [ebp + 4], 0x4d206769
mov dword [ebp + 8], 0x67616e61
mov edx, 0x5c
mov dword [ebp + 0xc], 0x455c7265
mov dword [ebp + 0x10], 0x6d756e
mov dword [esp + 4], eax
lea eax, [esp + 0xf4]
mov word [esp + 0xf3], dx
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x48]
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], 0x80000006
mov dword [esp + 0x10], eax
call dword [esp + 0x24]
sub esp, 0x14
lea eax, [esp + 0x54]
lea edi, [esp + 0x60]
mov dword [esp + 0x54], pe_nt_image_headers32
mov dword [esp + 8], 0
mov dword [esp + 4], str.Allocation
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x28]
sub esp, 0x18
cmp dword [esp + 0x50], 3
mov ecx, dword [esp + 0x30]
je 0x41668d
lea eax, [esp + 0x2e8]
mov dword [esp + 4], 0x47b068
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
je 0x4160f2
lea edx, [esp + 0x3ec]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2e8]
mov ecx, dword [edi]
add edi, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x416491
mov ecx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 4], 0x47b068
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edi + 2]
mov edx, eax
cmove edi, ecx
add dl, al
lea eax, [esp + 0x2e8]
sbb edi, 3
mov dword [esp], eax
sub edi, eax
call sub.msvcrt.dll_strstr
lea ecx, [esp + 0x2e8]
mov edx, dword [esp + 0x30]
sub ecx, eax
add eax, 3
lea ecx, [ecx + edi - 2]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_strncpy
mov edx, dword [esp + 0x30]
mov dword [esp], edx
call sub.msvcrt.dll_atoi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x2c]
mov eax, 0x5c
sub esp, 4
mov dword [ebp], 0x666e6f43
mov dword [ebp + 4], 0x4d206769
mov dword [ebp + 8], 0x67616e61
mov dword [ebp + 0xc], 0x455c7265
mov dword [ebp + 0x10], 0x6d756e
mov word [esp + 0xf3], ax
mov eax, dword [esi]
mov dword [esp + 4], eax
lea eax, [esp + 0xf4]
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
lea eax, [esp + 0x48]
mov dword [esp + 0xc], 9
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp], 0x80000006
mov dword [esp + 0x10], eax
call dword [esp + 0x24]
sub esp, 0x14
lea eax, [esp + 0x54]
lea edi, [esp + 0x60]
mov dword [esp + 0x54], pe_nt_image_headers32
mov dword [esp + 8], 0
mov dword [esp + 4], str.Allocation
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x28]
sub esp, 0x18
cmp dword [esp + 0x50], 3
mov ecx, dword [esp + 0x30]
jne 0x4160f2
mov eax, 1
jmp 0x4165ef
add eax, 1
cmp eax, 0x40
je 0x4160f2
cmp word [edi + eax*2 - 2], 0xc
jne 0x4165e3
cmp ecx, 4
movzx edx, word [edi + eax*2]
jg 0x4165e3
test dx, dx
je 0x4165e3
mov edi, dword [esp + 0x38]
movzx eax, word [esp + eax*2 + 0x62]
lea ecx, [edi + ecx*8]
test eax, eax
mov dword [ecx + 0x58], edx
je 0x416624
cmp edx, eax
jg 0x416624
sub eax, edx
add eax, 1
mov dword [ecx + 0x5c], eax
mov eax, dword [esp + 0x38]
add dword [eax + 0x14], 1
jmp 0x4160f2
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0045fba0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x104
mov dword [esp + 8], 0
mov dword [esp + 4], str.HardwareKey
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1e4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dword [esp + 0x28]
sub esp, 0x18
jmp 0x4160f2
mov byte [esp + 0x3f], 1
jmp 0x4161b7
mov eax, 1
jmp 0x4166a0
add eax, 1
cmp eax, 0x40
je 0x416459
cmp word [edi + eax*2 - 2], 0xc
jne 0x416694
movzx edx, word [edi + eax*2]
test dx, dx
je 0x416694
cmp ecx, 4
jg 0x416694
mov edi, dword [esp + 0x38]
movzx eax, word [esp + eax*2 + 0x62]
lea ecx, [edi + ecx*8]
cmp edx, eax
mov dword [ecx + 0x38], edx
jg 0x4166d5
test eax, eax
je 0x4166d5
sub eax, edx
add eax, 1
mov dword [ecx + 0x3c], eax
mov eax, dword [esp + 0x38]
add dword [eax + 0x18], 1
jmp 0x416459
call fcn.004601a0
nop
nop
lea esi, [esi]