Function at 0x10012320
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0xa8
push 0xffffffffffffffff
push 0x1007a5e0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
imul eax, eax, 0x74
mov byte [ebp + eax], 0x73
mov ecx, 1
imul ecx, ecx, 0x53
mov byte [ebp + ecx], 0x50
mov edx, 1
imul edx, edx, 0x63
mov byte [ebp + edx], 0x2e
mov eax, 1
imul eax, eax, 6
mov byte [ebp + eax], 0x72
mov ecx, 1
imul ecx, ecx, 0x6c
mov byte [ebp + ecx], 0x2e
mov edx, 1
shl edx, 0
mov byte [ebp + edx], 0x6f
mov eax, 1
imul eax, eax, 0x66
mov byte [ebp + eax], 0x65
mov ecx, 1
imul ecx, ecx, 0xb
mov byte [ebp + ecx], 0x63
mov edx, 1
imul edx, edx, 0x7a
mov byte [ebp + edx], 0x69
mov eax, 1
imul eax, eax, 0x25
mov byte [ebp + eax], 0x45
mov ecx, 1
imul ecx, ecx, 0x3b
mov byte [ebp + ecx], 0x20
mov edx, 1
imul edx, edx, 0x60
mov byte [ebp + edx], 0x69
mov eax, 1
imul eax, eax, 0x21
mov byte [ebp + eax], 0x72
mov ecx, 1
imul ecx, ecx, 0x56
mov byte [ebp + ecx], 0x69
mov edx, 1
imul edx, edx, 0x52
mov byte [ebp + edx], 0x20
mov eax, 1
shl eax, 3
mov byte [ebp + eax], 0x5c
mov ecx, 1
shl ecx, 4
mov byte [ebp + ecx], 0x66
mov edx, 1
imul edx, edx, 0x2e
mov byte [ebp + edx], 0x65
mov eax, 1
imul eax, eax, 0x2f
mov byte [ebp + eax], 0x63
mov ecx, 1
imul ecx, ecx, 0x71
mov byte [ebp + ecx], 0x72
mov edx, 1
imul edx, edx, 0x67
mov byte [ebp + edx], 0x65
mov eax, 1
imul eax, eax, 0x4a
mov byte [ebp + eax], 0x20
mov ecx, 1
imul ecx, ecx, 0x6f
mov byte [ebp + ecx], 0x2f
mov edx, 1
imul edx, edx, 0x29
mov byte [ebp + edx], 0x20
mov eax, 1
imul eax, eax, 0x61
mov byte [ebp + eax], 0x66
mov ecx, 1
imul ecx, ecx, 0x13
mov byte [ebp + ecx], 0x49
mov edx, 1
imul edx, edx, 0x2a
mov byte [ebp + edx], 0x50
mov eax, 1
imul eax, eax, 0x38
mov byte [ebp + eax], 0x20
mov ecx, 1
imul ecx, ecx, 0x28
mov byte [ebp + ecx], 0x50
mov edx, 1
imul edx, edx, 0x68
mov byte [ebp + edx], 0x20
mov eax, 1
imul eax, eax, 0x3a
mov byte [ebp + eax], 0x73
mov ecx, 1
imul ecx, ecx, 0x47
mov byte [ebp + ecx], 0x20
mov edx, 1
imul edx, edx, 0x7d
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x7e
jae 0x10012509
jmp 0x1001250e
call fcn.1005a87f
mov eax, dword [ebp - 0x34]
mov byte [ebp + eax], 0
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx], 0x77
mov edx, 1
imul edx, edx, 0x14
mov byte [ebp + edx], 0x6e
mov eax, 1
shl eax, 1
mov byte [ebp + eax], 0x66
mov ecx, 1
imul ecx, ecx, 0x6a
mov byte [ebp + ecx], 0x6b
mov edx, 1
imul edx, edx, 0x3e
mov byte [ebp + edx], 0x76
mov eax, 1
imul eax, eax, 0x72
mov byte [ebp + eax], 0x6f
mov ecx, 1
imul ecx, ecx, 0xa
mov byte [ebp + ecx], 0x69
mov edx, 1
imul edx, edx, 0x6b
mov byte [ebp + edx], 0x61
mov eax, 1
imul eax, eax, 0xe
mov byte [ebp + eax], 0x73
mov ecx, 1
imul ecx, ecx, 0x37
mov byte [ebp + ecx], 0x74
mov edx, 1
imul edx, edx, 3
mov byte [ebp + edx], 0x74
mov eax, 1
imul eax, eax, 9
mov byte [ebp + eax], 0x4d
mov ecx, 1
imul ecx, ecx, 0x78
mov byte [ebp + ecx], 0x6f
mov edx, 1
imul edx, edx, 0x16
mov byte [ebp + edx], 0x65
mov eax, 1
imul eax, eax, 0x65
mov byte [ebp + eax], 0x53
mov ecx, 1
imul ecx, ecx, 0x73
mov byte [ebp + ecx], 0x77
mov edx, 1
shl edx, 5
mov byte [ebp + edx], 0x6f
mov eax, 1
imul eax, eax, 0x77
mov byte [ebp + eax], 0x70
mov ecx, 1
imul ecx, ecx, 0x27
mov byte [ebp + ecx], 0x50
mov edx, 1
imul edx, edx, 0xd
mov byte [ebp + edx], 0x6f
mov eax, 1
imul eax, eax, 0x46
mov byte [ebp + eax], 0x6e
mov ecx, 1
imul ecx, ecx, 0x35
mov byte [ebp + ecx], 0x20
mov edx, 1
imul edx, edx, 0x58
mov byte [ebp + edx], 0x79
mov eax, 1
imul eax, eax, 0x39
mov byte [ebp + eax], 0x69
mov ecx, 1
imul ecx, ecx, 0x51
mov byte [ebp + ecx], 0x73
mov edx, 1
imul edx, edx, 0x5b
mov byte [ebp + edx], 0x6f
mov eax, 1
imul eax, eax, 0x3c
mov byte [ebp + eax], 0x61
mov ecx, 1
imul ecx, ecx, 0
mov byte [ebp + ecx], 0x53
mov edx, 1
imul edx, edx, 0x7c
mov byte [ebp + edx], 0x79
mov eax, 1
imul eax, eax, 0x57
mov byte [ebp + eax], 0x63
mov ecx, 1
imul ecx, ecx, 0x48
mov byte [ebp + ecx], 0x6f
mov edx, 1
imul edx, edx, 0x5d
mov byte [ebp + edx], 0x6d
mov eax, 1
imul eax, eax, 0x5a
mov byte [ebp + eax], 0x74
mov ecx, 1
imul ecx, ecx, 0x34
mov byte [ebp + ecx], 0x2d
mov edx, 1
imul edx, edx, 0x1d
mov byte [ebp + edx], 0x78
mov eax, 1
imul eax, eax, 0x11
mov byte [ebp + eax], 0x74
mov ecx, 1
imul ecx, ecx, 0x2c
mov byte [ebp + ecx], 0x6f
mov edx, 1
imul edx, edx, 0x2b
mov byte [ebp + edx], 0x72
mov eax, 1
imul eax, eax, 0x43
mov byte [ebp + eax], 0x74
mov ecx, 1
imul ecx, ecx, 0xf
mov byte [ebp + ecx], 0x6f
mov edx, 1
imul edx, edx, 0x59
mov byte [ebp + edx], 0x20
mov eax, 1
imul eax, eax, 0x19
mov byte [ebp + eax], 0x65
mov ecx, 1
imul ecx, ecx, 0x41
mov byte [ebp + ecx], 0x6c
mov edx, 1
imul edx, edx, 0xc
mov byte [ebp + edx], 0x72
mov eax, 1
imul eax, eax, 0x6d
mov byte [ebp + eax], 0x6d
mov ecx, 1
imul ecx, ecx, 0x1b
mov byte [ebp + ecx], 0x20
mov edx, 1
imul edx, edx, 0x3f
mov byte [ebp + edx], 0x69
mov eax, 1
shl eax, 6
mov byte [ebp + eax], 0x6f
mov ecx, 1
imul ecx, ecx, 0x15
mov byte [ebp + ecx], 0x74
mov edx, 1
imul edx, edx, 0x50
mov byte [ebp + edx], 0x77
mov eax, 1
imul eax, eax, 0x31
mov byte [ebp + eax], 0x65
mov ecx, 1
imul ecx, ecx, 0x36
mov byte [ebp + ecx], 0x49
mov edx, 1
imul edx, edx, 0x6e
mov byte [ebp + edx], 0x73
mov eax, 1
imul eax, eax, 0x1e
mov byte [ebp + eax], 0x70
mov ecx, 1
imul ecx, ecx, 0x33
mov byte [ebp + ecx], 0x20
mov edx, 1
imul edx, edx, 0x4f
mov byte [ebp + edx], 0x6f
mov eax, 1
imul eax, eax, 0x12
mov byte [ebp + eax], 0x5c
mov ecx, 1
imul ecx, ecx, 0x1a
mov byte [ebp + ecx], 0x74
mov edx, 1
imul edx, edx, 0x23
mov byte [ebp + edx], 0x72
mov eax, 1
imul eax, eax, 5
mov byte [ebp + eax], 0x61
mov ecx, 1
imul ecx, ecx, 0x32
mov byte [ebp + ecx], 0x64
mov edx, 1
imul edx, edx, 0x1c
mov byte [ebp + edx], 0x45
mov eax, 1
imul eax, eax, 0x7b
mov byte [ebp + eax], 0x63
mov ecx, 1
imul ecx, ecx, 0x3d
mov byte [ebp + ecx], 0x20
mov edx, 1
imul edx, edx, 0x4b
mov byte [ebp + edx], 0x57
mov eax, 1
imul eax, eax, 0x70
mov byte [ebp + eax], 0x62
mov ecx, 1
imul ecx, ecx, 0x5e
mov byte [ebp + ecx], 0x6f
mov edx, 1
imul edx, edx, 0x79
mov byte [ebp + edx], 0x6c
mov eax, 1
imul eax, eax, 7
mov byte [ebp + eax], 0x65
mov ecx, 1
imul ecx, ecx, 0x22
mov byte [ebp + ecx], 0x65
mov edx, 1
imul edx, edx, 0x18
mov byte [ebp + edx], 0x6e
mov eax, 1
imul eax, eax, 0x5f
mov byte [ebp + eax], 0x64
mov ecx, 1
imul ecx, ecx, 0x75
mov byte [ebp + ecx], 0x65
mov edx, 1
imul edx, edx, 0x24
mov byte [ebp + edx], 0x5c
mov eax, 1
imul eax, eax, 0x2d
mov byte [ebp + eax], 0x74
mov ecx, 1
imul ecx, ecx, 0x55
mov byte [ebp + ecx], 0x6c
mov edx, 1
imul edx, edx, 0x54
mov byte [ebp + edx], 0x6f
mov eax, 1
imul eax, eax, 0x4e
mov byte [ebp + eax], 0x64
mov ecx, 1
imul ecx, ecx, 0x76
mov byte [ebp + ecx], 0x72
mov edx, 1
imul edx, edx, 0x42
mov byte [ebp + edx], 0x61
mov eax, 1
imul eax, eax, 0x1f
mov byte [ebp + eax], 0x6c
mov ecx, 1
imul ecx, ecx, 0x30
mov byte [ebp + ecx], 0x74
mov edx, 1
imul edx, edx, 0x4c
mov byte [ebp + edx], 0x69
mov eax, 1
imul eax, eax, 0x44
mov byte [ebp + eax], 0x69
mov ecx, 1
imul ecx, ecx, 0x45
mov byte [ebp + ecx], 0x6f
mov edx, 1
imul edx, edx, 0x17
mov byte [ebp + edx], 0x72
mov eax, 1
imul eax, eax, 0x26
mov byte [ebp + eax], 0x55
mov ecx, 1
imul ecx, ecx, 0x4d
mov byte [ebp + ecx], 0x6e
mov edx, 1
imul edx, edx, 0x49
mov byte [ebp + edx], 0x66
mov eax, 1
imul eax, eax, 0x69
mov byte [ebp + eax], 0x61
mov ecx, 1
imul ecx, ecx, 0x62
mov byte [ebp + ecx], 0x79
mov edx, 1
imul edx, edx, 0x64
mov byte [ebp + edx], 0x20
mov eax, 1
imul eax, eax, 0x5c
mov byte [ebp + eax], 0x20
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx + 0x94], 0x6f
mov edx, 1
imul edx, edx, 0
mov byte [ebp + edx + 0x94], 0x44
mov eax, 1
imul eax, eax, 0xb
mov byte [ebp + eax + 0x94], 0x69
mov ecx, 1
imul ecx, ecx, 0xc
mov byte [ebp + ecx + 0x94], 0x6e
mov edx, 1
imul edx, edx, 6
mov byte [ebp + edx + 0x94], 0x73
mov eax, 1
shl eax, 1
mov byte [ebp + eax + 0x94], 0x4e
mov ecx, 1
imul ecx, ecx, 0xd
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0xe
jae 0x10012a40
jmp 0x10012a45
call fcn.1005a87f
mov edx, dword [ebp - 0x44]
mov byte [ebp + edx + 0x94], 0
mov eax, 1
imul eax, eax, 7
mov byte [ebp + eax + 0x94], 0x6b
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx + 0x94], 0x41
mov edx, 1
imul edx, edx, 9
mov byte [ebp + edx + 0x94], 0x67
mov eax, 1
imul eax, eax, 5
mov byte [ebp + eax + 0x94], 0x41
mov ecx, 1
imul ecx, ecx, 3
mov byte [ebp + ecx + 0x94], 0x6f
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx + 0x94], 0x61
mov eax, 1
shl eax, 2
mov byte [ebp + eax + 0x94], 0x74
mov ecx, 1
imul ecx, ecx, 0x13
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0x14
jae 0x10012ad3
jmp 0x10012ad8
call fcn.1005a87f
mov edx, dword [ebp - 0x4c]
mov byte [ebp + edx + 0x80], 0
mov eax, 1
imul eax, eax, 0xd
mov byte [ebp + eax + 0x80], 0x6f
mov ecx, 1
imul ecx, ecx, 0x12
mov byte [ebp + ecx + 0x80], 0x6d
mov edx, 1
shl edx, 1
mov byte [ebp + edx + 0x80], 0x2e
mov eax, 1
shl eax, 4
mov byte [ebp + eax + 0x80], 0x63
mov ecx, 1
imul ecx, ecx, 6
mov byte [ebp + ecx + 0x80], 0x72
mov edx, 1
imul edx, edx, 0x11
mov byte [ebp + edx + 0x80], 0x6f
mov eax, 1
shl eax, 2
mov byte [ebp + eax + 0x80], 0x65
mov ecx, 1
imul ecx, ecx, 0
mov byte [ebp + ecx + 0x80], 0x75
mov edx, 1
imul edx, edx, 0xc
mov byte [ebp + edx + 0x80], 0x68
mov eax, 1
imul eax, eax, 7
mov byte [ebp + eax + 0x80], 0x63
mov ecx, 1
imul ecx, ecx, 9
mov byte [ebp + ecx + 0x80], 0x2e
mov edx, 1
shl edx, 3
mov byte [ebp + edx + 0x80], 0x68
mov eax, 1
imul eax, eax, 5
mov byte [ebp + eax + 0x80], 0x61
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx + 0x80], 0x73
mov edx, 1
imul edx, edx, 3
mov byte [ebp + edx + 0x80], 0x73
mov eax, 1
imul eax, eax, 0xf
mov byte [ebp + eax + 0x80], 0x2e
mov ecx, 1
imul ecx, ecx, 0xb
mov byte [ebp + ecx + 0x80], 0x61
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx + 0x80], 0x79
mov eax, 1
imul eax, eax, 0xe
mov byte [ebp + eax + 0x80], 0x6f
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push 0
push str.DHP
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x58]
call fcn.10004cb0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.10003f40
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.100040e0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10012c75
mov dword [ebp - 0x40], 1
jmp 0x10012c7c
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x84]
call fcn.10004ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10004ee0
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x10012d7c
mov edx, dword [ebp + 0xb0]
mov byte [edx], 1
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
lea edx, [ebp + 0x94]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10012d72
cmp dword [ebp - 0x18], 0
jbe 0x10012d72
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.100598f8
add esp, 4
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
lea eax, [ebp + 0x94]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10012d60
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.10015ce0
add esp, 0xc
push 0
lea edx, [ebp + 0x80]
push edx
lea ecx, [ebp - 0x38]
call fcn.10003e30
test eax, eax
jl 0x10012d58
mov eax, dword [ebp + 0xb4]
mov byte [eax], 1
lea ecx, [ebp - 0x38]
call fcn.10004ee0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.1005c5b2
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
push ecx
push 0x20019
push 0
push str.DSP
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x5c]
call fcn.10004cb0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.10003f40
add esp, 0xc
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.100040e0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10012ddc
mov dword [ebp - 0x48], 1
jmp 0x10012de3
mov dword [ebp - 0x48], 0
mov al, byte [ebp - 0x48]
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x54]
call fcn.10004ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10004ee0
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x10012ee0
mov edx, dword [ebp + 0xb0]
mov byte [edx], 1
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
lea edx, [ebp + 0x94]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10012ed6
cmp dword [ebp - 0x14], 0
jbe 0x10012ed6
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100598f8
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0
lea eax, [ebp + 0x94]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10012ec4
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10015ce0
add esp, 0xc
push 0
lea edx, [ebp + 0x80]
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003e30
test eax, eax
jl 0x10012ebc
mov eax, dword [ebp + 0xb4]
mov byte [eax], 1
lea ecx, [ebp - 0x2c]
call fcn.10004ee0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.1005c5b2
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.1005c9a6
add ebp, 0xa8
mov esp, ebp
pop ebp
ret