Function at 0x10054040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab10f
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x100d703c]
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 ebx, ecx
mov dword [ebp - 0x2f8], ebx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
test eax, eax
je 0x100543b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [ebp - 0x2f0], eax
call esi
push str.RegCloseKey
push dword [ebx]
mov dword [ebp - 0x2f4], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2fc], ecx
test eax, eax
je 0x100543b1
mov ebx, dword [ebp - 0x2f4]
test ebx, ebx
je 0x100543b1
test ecx, ecx
je 0x100543b1
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x74], 0x790053
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], 0x740073
push ecx
push 0x80000002
mov dword [ebp - 0x6c], 0x6d0065
mov dword [ebp - 0x68], 0x43005c
mov dword [ebp - 0x64], 0x720075
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x74006e
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x53006c
mov dword [ebp - 0x48], 0x740065
mov dword [ebp - 0x44], 0x43005c
mov dword [ebp - 0x40], 0x6e006f
mov dword [ebp - 0x3c], 0x720074
mov dword [ebp - 0x38], 0x6c006f
mov dword [ebp - 0x34], 0x4b005c
mov dword [ebp - 0x30], 0x790065
mov dword [ebp - 0x2c], 0x6f0062
mov dword [ebp - 0x28], 0x720061
mov dword [ebp - 0x24], 0x200064
mov dword [ebp - 0x20], 0x61004c
mov dword [ebp - 0x1c], 0x6f0079
mov dword [ebp - 0x18], 0x740075
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x2ec], 0
call eax
test eax, eax
jne 0x100543b1
push 0x208
push eax
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x27c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x280], 0x104
lea eax, [ebp - 0x280]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push dword [ebp - 0x2ec]
call ebx
test eax, eax
jne 0x100543a5
push 0x10
lea eax, [ebp - 0x27c]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov esi, eax
add esp, 0xc
movzx ebx, si
cmp ebx, 0x804
jne 0x10054363
lea ecx, [ebp - 0x2e8]
call fcn.10053f50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2f8]
push eax
push esi
call fcn.10054660
test al, al
je 0x10054330
mov ecx, str.00000000_0000_0000_0000_000000000000
mov dword [ebp - 0x2b4], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10054262
sub ecx, edx
sar ecx, 1
push ecx
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x2b0]
call fcn.10003a60
mov eax, str.00000000_0000_0000_0000_000000000000
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10054290
sub eax, edx
lea ecx, [ebp - 0x298]
sar eax, 1
push eax
push str.00000000_0000_0000_0000_000000000000
call fcn.10003a60
mov esi, dword [edi + 4]
cmp dword [edi + 8], esi
je 0x10054321
mov eax, dword [ebp - 0x2e8]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x2e4]
push eax
mov dword [ebp - 0x300], esi
call fcn.100037e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [esi + 0x1c]
call fcn.100037e0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.100037e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x298]
push eax
lea ecx, [esi + 0x50]
call fcn.100037e0
mov byte [ebp - 4], 0
add dword [edi + 4], 0x68
jmp 0x10054330
lea eax, [ebp - 0x2e8]
mov ecx, edi
push eax
push esi
call fcn.10057330
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x298]
call fcn.10003a00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2b0]
call fcn.10003a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.1002c110
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x280]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
call dword [ebp - 0x2f4]
test eax, eax
je 0x10054202
push dword [ebp - 0x2ec]
call dword [ebp - 0x2fc]
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.1009ea6c
mov esp, ebp
pop ebp
ret 4