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

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x3ac
push 0xffffffffffffffff
push 0x1007a680
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x40]
call fcn.10010020
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x14], 0
jbe 0x10013824
mov dword [ebp - 0x24], 0
jmp 0x100137b4
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x14]
jae 0x10013824
mov dword [ebp - 0x58], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp + 0x14c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10013822
lea eax, [ebp + 0x14c]
push eax
lea ecx, [ebp]
call fcn.10005810
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x40]
call fcn.1001bf40
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10005960
jmp 0x100137ab
mov eax, 1
shl eax, 0
mov byte [ebp + eax + 0x394], 0x72
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx + 0x394], 0x6d
mov edx, 1
shl edx, 1
mov byte [ebp + edx + 0x394], 0x6f
mov eax, 1
imul eax, eax, 0xc
mov byte [ebp + eax + 0x394], 0x50
mov ecx, 1
imul ecx, ecx, 7
mov byte [ebp + ecx + 0x394], 0x49
mov edx, 1
imul edx, edx, 9
mov byte [ebp + edx + 0x394], 0x61
mov eax, 1
imul eax, eax, 0xf
mov byte [ebp + eax + 0x394], 0x68
mov ecx, 1
imul ecx, ecx, 3
mov byte [ebp + ecx + 0x394], 0x66
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx + 0x394], 0x67
mov eax, 1
imul eax, eax, 6
mov byte [ebp + eax + 0x394], 0x65
mov ecx, 1
imul ecx, ecx, 0xb
mov byte [ebp + ecx + 0x394], 0x65
mov edx, 1
imul edx, edx, 5
mov byte [ebp + edx + 0x394], 0x6c
mov eax, 1
shl eax, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x11
jae 0x100138f6
jmp 0x100138fb
call fcn.1005a87f
mov ecx, dword [ebp - 0x38]
mov byte [ebp + ecx + 0x394], 0
mov edx, 1
imul edx, edx, 0
mov byte [ebp + edx + 0x394], 0x50
mov eax, 1
imul eax, eax, 0xe
mov byte [ebp + eax + 0x394], 0x74
mov ecx, 1
imul ecx, ecx, 0xd
mov byte [ebp + ecx + 0x394], 0x61
mov edx, 1
shl edx, 2
mov byte [ebp + edx + 0x394], 0x69
mov eax, 1
imul eax, eax, 0x3a
mov byte [ebp + eax + 0x354], 0x73
mov ecx, 1
imul ecx, ecx, 0x1e
mov byte [ebp + ecx + 0x354], 0x54
mov edx, 1
imul edx, edx, 0x35
mov byte [ebp + edx + 0x354], 0x69
mov eax, 1
shl eax, 4
mov byte [ebp + eax + 0x354], 0x6f
mov ecx, 1
imul ecx, ecx, 0x2d
mov byte [ebp + ecx + 0x354], 0x6f
mov edx, 1
imul edx, edx, 0xb
mov byte [ebp + edx + 0x354], 0x69
mov eax, 1
imul eax, eax, 0xe
mov byte [ebp + eax + 0x354], 0x6f
mov ecx, 1
imul ecx, ecx, 0x37
mov byte [ebp + ecx + 0x354], 0x65
mov edx, 1
imul edx, edx, 0xa
mov byte [ebp + edx + 0x354], 0x4d
mov eax, 1
imul eax, eax, 3
mov byte [ebp + eax + 0x354], 0x54
mov ecx, 1
imul ecx, ecx, 0xd
mov byte [ebp + ecx + 0x354], 0x72
mov edx, 1
imul edx, edx, 0x39
mov byte [ebp + edx + 0x354], 0x69
mov eax, 1
imul eax, eax, 0x12
mov byte [ebp + eax + 0x354], 0x74
mov ecx, 1
imul ecx, ecx, 0x1f
mov byte [ebp + ecx + 0x354], 0x5c
mov edx, 1
shl edx, 2
mov byte [ebp + edx + 0x354], 0x57
mov eax, 1
imul eax, eax, 0xf
mov byte [ebp + eax + 0x354], 0x73
mov ecx, 1
imul ecx, ecx, 6
mov byte [ebp + ecx + 0x354], 0x52
mov edx, 1
imul edx, edx, 0x15
mov byte [ebp + edx + 0x354], 0x57
mov eax, 1
imul eax, eax, 0x1d
mov byte [ebp + eax + 0x354], 0x4e
mov ecx, 1
imul ecx, ecx, 0x1b
mov byte [ebp + ecx + 0x354], 0x73
mov edx, 1
imul edx, edx, 0x18
mov byte [ebp + edx + 0x354], 0x64
mov eax, 1
imul eax, eax, 0x30
mov byte [ebp + eax + 0x354], 0x5c
mov ecx, 1
imul ecx, ecx, 0
mov byte [ebp + ecx + 0x354], 0x53
mov edx, 1
imul edx, edx, 0x2f
mov byte [ebp + edx + 0x354], 0x5c
mov eax, 1
imul eax, eax, 0x2c
mov byte [ebp + eax + 0x354], 0x69
mov ecx, 1
imul ecx, ecx, 0x19
mov byte [ebp + ecx + 0x354], 0x6f
mov edx, 1
imul edx, edx, 0x11
mov byte [ebp + edx + 0x354], 0x66
mov eax, 1
imul eax, eax, 0x1a
mov byte [ebp + eax + 0x354], 0x77
mov ecx, 1
imul ecx, ecx, 0x34
mov byte [ebp + ecx + 0x354], 0x66
mov edx, 1
imul edx, edx, 0x1c
mov byte [ebp + edx + 0x354], 0x20
mov eax, 1
imul eax, eax, 0x17
mov byte [ebp + eax + 0x354], 0x6e
mov ecx, 1
imul ecx, ecx, 0x3b
mov byte [ebp + ecx + 0x354], 0x74
mov edx, 1
imul edx, edx, 0x16
mov byte [ebp + edx + 0x354], 0x69
mov eax, 1
imul eax, eax, 0x21
mov byte [ebp + eax + 0x354], 0x43
mov ecx, 1
imul ecx, ecx, 0x24
mov byte [ebp + ecx + 0x354], 0x72
mov edx, 1
imul edx, edx, 0x13
mov byte [ebp + edx + 0x354], 0x5c
mov eax, 1
imul eax, eax, 0x22
mov byte [ebp + eax + 0x354], 0x75
mov ecx, 1
imul ecx, ecx, 0x2e
mov byte [ebp + ecx + 0x354], 0x6e
mov edx, 1
imul edx, edx, 0x3c
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x3d
jae 0x10013bb9
jmp 0x10013bbe
call fcn.1005a87f
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax + 0x354], 0
mov ecx, 1
imul ecx, ecx, 9
mov byte [ebp + ecx + 0x354], 0x5c
mov edx, 1
imul edx, edx, 0x33
mov byte [ebp + edx + 0x354], 0x6f
mov eax, 1
imul eax, eax, 0x28
mov byte [ebp + eax + 0x354], 0x56
mov ecx, 1
imul ecx, ecx, 0x29
mov byte [ebp + ecx + 0x354], 0x65
mov edx, 1
imul edx, edx, 0x2b
mov byte [ebp + edx + 0x354], 0x73
mov eax, 1
imul eax, eax, 0x26
mov byte [ebp + eax + 0x354], 0x6e
mov ecx, 1
imul ecx, ecx, 7
mov byte [ebp + ecx + 0x354], 0x45
mov edx, 1
imul edx, edx, 5
mov byte [ebp + edx + 0x354], 0x41
mov eax, 1
imul eax, eax, 0x25
mov byte [ebp + eax + 0x354], 0x65
mov ecx, 1
imul ecx, ecx, 0x23
mov byte [ebp + ecx + 0x354], 0x72
mov edx, 1
imul edx, edx, 0xc
mov byte [ebp + edx + 0x354], 0x63
mov eax, 1
imul eax, eax, 0x27
mov byte [ebp + eax + 0x354], 0x74
mov ecx, 1
shl ecx, 5
mov byte [ebp + ecx + 0x354], 0x5c
mov edx, 1
imul edx, edx, 0x31
mov byte [ebp + edx + 0x354], 0x50
mov eax, 1
shl eax, 1
mov byte [ebp + eax + 0x354], 0x46
mov ecx, 1
imul ecx, ecx, 0x14
mov byte [ebp + ecx + 0x354], 0x5c
mov edx, 1
imul edx, edx, 0x2a
mov byte [ebp + edx + 0x354], 0x72
mov eax, 1
imul eax, eax, 0x38
mov byte [ebp + eax + 0x354], 0x4c
mov ecx, 1
imul ecx, ecx, 0x32
mov byte [ebp + ecx + 0x354], 0x72
mov edx, 1
imul edx, edx, 0x36
mov byte [ebp + edx + 0x354], 0x6c
mov eax, 1
shl eax, 0
mov byte [ebp + eax + 0x354], 0x4f
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx + 0x354], 0x5c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
lea eax, [ebp + 0x354]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10013f5d
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x14], 0
jbe 0x10013f53
mov dword [ebp - 0x20], 0
jmp 0x10013dbb
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x14]
jae 0x10013f53
mov dword [ebp - 0x50], 0x104
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp + 0x250]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10013f4e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 1
push 0
lea ecx, [ebp + 0x250]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10013f4e
mov dword [ebp - 0x5c], 0x104
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 0x48]
push ecx
lea edx, [ebp - 0x68]
push edx
push 0
lea eax, [ebp + 0x394]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10013f44
lea edx, [ebp + 0x48]
push edx
lea ecx, [ebp + 0x30]
call fcn.10005810
mov byte [ebp - 4], 2
push fcn.1005af9d
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp + 0x30]
call fcn.10019e90
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp + 0x30]
call fcn.1001b0b0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp + 0x30]
call fcn.10019e90
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.1000f560
add esp, 0x14
push 0
push str.users_
lea ecx, [ebp + 0x30]
call fcn.1001b270
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [0x100924cc]
je 0x10013f38
lea edx, [ebp + 0x250]
push edx
lea ecx, [ebp + 0x18]
call fcn.10005810
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.1001b110
push eax
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x40]
call fcn.1001b110
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10019ef0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.1000f500
add esp, 0x10
mov ecx, eax
call fcn.100110f0
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x10013f2c
lea edx, [ebp + 0x18]
push edx
mov ecx, dword [ebp + 0x3b4]
call fcn.1001bf80
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.10005960
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x30]
call fcn.10005960
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10013db2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10010960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x3a8]
xor ecx, ebp
call fcn.1005c9a6
add ebp, 0x3ac
mov esp, ebp
pop ebp
ret