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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000814d
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1000d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov al, 0x38
mov dword [ebp - 0x54], edi
mov dword [ebp - 0xa8], 0x6b0038
mov dword [ebp - 0xa4], 0x6b0061
mov dword [ebp - 0xa0], 0x7d006c
mov dword [ebp - 0x9c], 0x640075
mov dword [ebp - 0x98], 0x4d007b
mov dword [ebp - 0x94], 0x4a004a
mov dword [ebp - 0x90], 0x56005d
mov dword [ebp - 0x8c], 0x7b004c
mov dword [ebp - 0x88], 0x560057
mov dword [ebp - 0x84], 0x4a004c
mov dword [ebp - 0x80], 0x540057
mov dword [ebp - 0x7c], 0x5d006b
mov dword [ebp - 0x78], 0x64004c
mov dword [ebp - 0x74], 0x57007c
mov dword [ebp - 0x70], 0x4c0056
mov dword [ebp - 0x6c], 0x5d007c
mov dword [ebp - 0x68], 0x4d005a
mov dword [ebp - 0x64], 0x64005f
mov word [ebp - 0x60], cx
nop word [eax + eax]
cbw
xor word [ebp + ecx*2 - 0xa6], ax
inc ecx
cmp ecx, 0x23
jae 0x10003c38
mov al, byte [ebp - 0xa8]
jmp 0x10003c20
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], 1
push eax
push 0xf003f
push 0
lea eax, [ebp - 0xa6]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x10003c86
push 0
lea eax, [ebp - 0x48]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0xa6]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push edi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
cmp edi, 0x7fffffff
ja 0x10003eb9
cmp edi, 0xf
ja 0x10003cec
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
push 0
push eax
mov dword [ebp - 0x18], 0xf
call sub.VCRUNTIME140.dll_memset
mov byte [ebp + edi - 0x2c], 0
jmp 0x10003d67
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x10003d0e
mov eax, 0x80000000
mov edi, 0x7fffffff
push eax
call fcn.10002630
add esp, 4
mov ecx, eax
jmp 0x10003d45
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x10003d2f
push eax
call fcn.10002630
add esp, 4
mov ecx, eax
jmp 0x10003d45
test eax, eax
je 0x10003d43
push eax
call fcn.10006e78
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, eax
jmp 0x10003d48
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x5c]
push eax
push 0
push ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
mov byte [ecx + eax], 0
add esp, 0xc
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x4c]
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10003670
cmp dword [ebp - 0x30], 7
lea edx, [ebp - 0x44]
mov al, 0x73
mov word [ebp - 0x58], 0x73
cmova edx, dword [ebp - 0x44]
movsx cx, al
push edx
mov eax, ecx
mov word [ebp - 0x54], cx
xor eax, 0x56
mov word [ebp - 0x56], ax
xor eax, eax
mov word [ebp - 0x52], ax
lea eax, [ebp - 0x56]
push eax
push 0xff
push esi
call fcn.10006af0
add esp, 0x18
mov eax, str.delete
mov cx, word [esi]
cmp cx, word [eax]
jne 0x10003e09
test cx, cx
je 0x10003e05
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x10003e09
add esi, 4
add eax, 4
test cx, cx
jne 0x10003de3
xor eax, eax
jmp 0x10003e0e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10003e1c
push edi
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x10003e52
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003e48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e8c
push ecx
push edx
call fcn.10006ea8
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp ecx, 0xf
jbe 0x10003e9c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003e92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003e92
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10006ea8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007490
mov esp, ebp
pop ebp
ret
call fcn.10005890
int3