Function at 0x1001bd70
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf5de
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x10105230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], 4
mov edx, 8
mov dword [ebp - 0x11c], 0
xor ecx, ecx
mov dword [ebp - 0x118], 0x5b0008
mov dword [ebp - 0x114], 0x5b0051
mov dword [ebp - 0x110], 0x4d005c
mov dword [ebp - 0x10c], 0x540045
mov dword [ebp - 0x108], 0x7d004b
mov dword [ebp - 0x104], 0x7a007a
mov dword [ebp - 0x100], 0x66006d
mov dword [ebp - 0xfc], 0x4b007c
mov dword [ebp - 0xf8], 0x660067
mov dword [ebp - 0xf4], 0x7a007c
mov dword [ebp - 0xf0], 0x640067
mov dword [ebp - 0xec], 0x6d005b
mov dword [ebp - 0xe8], 0x54007c
mov dword [ebp - 0xe4], 0x6d005b
mov dword [ebp - 0xe0], 0x7e007a
mov dword [ebp - 0xdc], 0x6b0061
mov dword [ebp - 0xd8], 0x7b006d
mov dword [ebp - 0xd4], 0x710054
mov dword [ebp - 0xd0], 0x660061
mov dword [ebp - 0xcc], 0x62006f
mov dword [ebp - 0xc8], 0x690061
mov dword [ebp - 0xc4], 0x7d0066
mov dword [ebp - 0xc0], 0x67
nop
mov ax, word [ebp + ecx*2 - 0x116]
xor ax, dx
mov word [ebp + ecx*2 - 0xbc], ax
inc ecx
cmp ecx, 0x2c
jae 0x1001bec2
mov dx, word [ebp - 0x118]
jmp 0x1001bea0
xor eax, eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x120]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0xbc]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001c044
push ecx
lea ecx, [ebp - 0x1d8]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100efe50]
mov esi, eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x24392424
mov word [ebp - 0x48], 0x6c
mov byte [ebp - 4], 1
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x5b]
xor al, byte [ebp - 0x5c]
mov byte [ebp + ecx - 0x46], al
inc ecx
cmp ecx, 0x14
jb 0x1001bf50
lea edx, [ebp - 0x46]
mov byte [ebp - 0x32], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001bf88
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001bfcd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bfc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c433
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 0
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x1d8]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1001bff3
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001c034
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c02a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c438
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x1d8]
call fcn.10004400
jmp 0x1001c417
xor eax, eax
mov dword [ebp - 0x28], 0x3f002a
mov word [ebp - 0x20], ax
mov dword [ebp - 0x2c], 0xd005e
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov dword [ebp - 0x24], 0x2a002c
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov dword [ebp - 0x124], 4
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x26]
xor eax, ecx
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x24]
xor eax, ecx
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x22]
xor eax, ecx
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
lea eax, [ebp - 0x1e]
push eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1001c220
push ecx
lea ecx, [ebp - 0x1d8]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x1c8]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100f0140]
mov esi, eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x28353522
mov word [ebp - 0x48], 0x7d35
mov byte [ebp - 0x46], 0
mov byte [ebp - 4], 5
xor ecx, ecx
mov al, byte [ebp + ecx - 0x5b]
xor al, byte [ebp - 0x5c]
mov byte [ebp + ecx - 0x45], al
inc ecx
cmp ecx, 0x15
jb 0x1001c131
lea edx, [ebp - 0x45]
mov byte [ebp - 0x30], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001c169
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001c1ae
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c1a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c43d
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 4
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x1d8]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x1001c1d4
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001c215
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c20b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c442
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x1d8]
jmp 0x1001c406
cmp dword [ebp - 0x11c], 3
je 0x1001c40b
xor eax, eax
mov dword [ebp - 0x28], 0x4a005f
mov word [ebp - 0x20], ax
push dword [ebp - 0x124]
mov dword [ebp - 0x2c], 0x78002b
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov dword [ebp - 0x24], 0x5f0059
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov dword [ebp - 0x11c], 3
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x26]
xor eax, ecx
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x24]
xor eax, ecx
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x22]
xor eax, ecx
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x128]
lea eax, [ebp - 0x1e]
push eax
push 0
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x1001c40b
push ecx
lea ecx, [ebp - 0x118]
call fcn.100045c0
mov edx, str._TID:
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x108]
call fcn.10006770
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001ec80
mov edx, 0x100ec450
mov ecx, eax
call fcn.10006770
movaps xmm0, xmmword [0x100f0160]
mov esi, eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x273a3a2d
mov word [ebp - 0x48], 0x723a
mov byte [ebp - 0x46], 0
mov byte [ebp - 4], 9
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x5b]
xor al, byte [ebp - 0x5c]
mov byte [ebp + ecx - 0x45], al
inc ecx
cmp ecx, 0x15
jb 0x1001c320
lea edx, [ebp - 0x45]
mov byte [ebp - 0x30], 0
mov ecx, esi
call fcn.10006770
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.1001b030
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1001c358
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, esi
call fcn.10007140
mov byte [ebp - 4], 9
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001c39d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c393
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c447
push ecx
push edx
call fcn.1009517b
add esp, 8
mov byte [ebp - 4], 8
call fcn.100037a0
mov esi, eax
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x2c]
push eax
call fcn.100044d0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x1001c3c3
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003ef0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1001c400
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c3f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c44c
push ecx
push edx
call fcn.1009517b
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.10004400
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10094e23
mov esp, ebp
pop ebp
ret
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
call fcn.100a129f
int3