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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x54d713
push eax
mov eax, 0x1dac
mov dword fs:[0], esp
call fcn.004faf00
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], esi
call fcn.004b6e20
xor ebx, ebx
lea ecx, [esp + 0x1360]
mov dword [esp + 0x1dc4], ebx
call fcn.004c35f0
lea ecx, [esp + 0xd04]
mov byte [esp + 0x1dc4], 1
call fcn.004c35f0
mov ebp, dword [esi + 4]
mov byte [esp + 0x1dc4], 2
cmp ebp, ebx
je 0x4b763f
lea esi, [ebp + 8]
xor edi, edi
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
add esi, 0xccc
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4b761f
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x4b761a
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call fcn.005115f0
mov dword [esi + 0x14], ebx
mov ecx, dword [0x5b8cb4]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov edi, dword [esp + 0x1dd0]
test eax, eax
je 0x4b76cb
mov ebp, dword [edi + 0x748]
cmp ebp, ebx
je 0x4b76a2
lea esi, [ebp + 8]
xor edi, edi
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
add esi, 0x65c
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4b767b
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x4b7676
mov edi, dword [esp + 0x1dd0]
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x758]
mov dword [edi + 0x750], ebx
mov dword [edi + 0x754], ebx
mov dword [edi + 0x74c], ebx
mov dword [edi + 0x748], ebx
call fcn.005115f0
mov dword [edi + 0x758], ebx
test byte [0x5bc5bc], 0x80
jne 0x4b7705
mov ebp, dword [esp + 0x1dcc]
cmp dword [ebp + 0x760], ebx
je 0x4b7705
mov ecx, dword [0x5b8cb4]
mov edx, dword [ecx]
call dword [edx + 0x18]
test eax, eax
jne 0x4b76fc
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp + 0x38]
cmp eax, ecx
jb 0x4b7705
xor eax, eax
mov ebp, 1
jmp 0x4b770c
mov ebp, 1
mov eax, ebp
mov dword [esi + 0x1c], eax
mov ecx, dword [0x5bc5c0]
test ch, 2
jne 0x4b78dd
lea ecx, [esp + 0x1324]
mov byte [esp + 0x1dc4], 0xc
call fcn.00467880
lea ecx, [esp + 0xd70]
mov byte [esp + 0x1dc4], 0xb
call fcn.00510e5f
lea ecx, [esp + 0xd54]
mov byte [esp + 0x1dc4], 0xa
call fcn.0048ba80
lea ecx, [esp + 0xd38]
mov byte [esp + 0x1dc4], 9
call fcn.00511c40
lea ecx, [esp + 0xd34]
mov byte [esp + 0x1dc4], 8
call fcn.005128e4
lea ecx, [esp + 0xd30]
mov byte [esp + 0x1dc4], 7
call fcn.005128e4
lea ecx, [esp + 0xd14]
mov byte [esp + 0x1dc4], 6
call fcn.005128e4
lea ecx, [esp + 0xd10]
mov byte [esp + 0x1dc4], 5
call fcn.005128e4
lea ecx, [esp + 0xd0c]
mov byte [esp + 0x1dc4], 4
call fcn.005128e4
lea ecx, [esp + 0xd08]
mov byte [esp + 0x1dc4], 3
call fcn.005128e4
lea ecx, [esp + 0x1980]
mov byte [esp + 0x1dc4], 0x16
call fcn.00467880
lea ecx, [esp + 0x13cc]
mov byte [esp + 0x1dc4], 0x15
call fcn.00510e5f
lea ecx, [esp + 0x13b0]
mov byte [esp + 0x1dc4], 0x14
call fcn.0048ba80
lea ecx, [esp + 0x1394]
mov byte [esp + 0x1dc4], 0x13
call fcn.00511c40
lea ecx, [esp + 0x1390]
mov byte [esp + 0x1dc4], 0x12
call fcn.005128e4
lea ecx, [esp + 0x138c]
mov byte [esp + 0x1dc4], 0x11
call fcn.005128e4
lea ecx, [esp + 0x1370]
mov byte [esp + 0x1dc4], 0x10
call fcn.005128e4
lea ecx, [esp + 0x136c]
mov byte [esp + 0x1dc4], 0xf
call fcn.005128e4
lea ecx, [esp + 0x1368]
mov byte [esp + 0x1dc4], 0xe
call fcn.005128e4
lea ecx, [esp + 0x1364]
mov byte [esp + 0x1dc4], 0xd
call fcn.005128e4
lea ecx, [esp + 0x698]
mov dword [esp + 0x1dc4], 0x18
call fcn.00446520
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1dc4], 0x17
call fcn.00446520
xor eax, eax
jmp 0x4b8077
cmp eax, ebx
je 0x4b78e6
mov dword [esi + 0x20], ebx
jmp 0x4b78f8
mov ecx, dword [esp + 0x1dcc]
cmp dword [ecx + 0x8e0], ebx
je 0x4b78f8
mov dword [esi + 0x20], ebp
mov edx, dword [esp + 0x1dcc]
lea ecx, [esp + 0x3c]
add edx, 0xe8
push edx
call fcn.004c3a90
lea eax, [edi + 0xe8]
lea ecx, [esp + 0x698]
push eax
call fcn.004c3a90
cmp dword [esi + 0x20], ebx
jne 0x4b7975
mov eax, dword [esp + 0x6b0]
sub esp, 0xccc
lea edx, [esp + 0xd04]
mov ecx, esp
mov dword [esp + 0xcf0], esp
push edx
mov dword [esp + 0x19c4], eax
mov word [esp + 0x19c8], bx
mov word [esp + 0x19ca], bp
mov word [esp + 0x19cc], bp
call fcn.004b7200
mov ecx, esi
call fcn.004b0140
jmp 0x4b7d18
mov eax, dword [esp + 0x1dcc]
mov esi, dword [eax + 0x748]
cmp esi, ebx
je 0x4b7d14
jmp 0x4b7990
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.004b6eb0
mov ecx, dword [esi]
mov eax, esi
add eax, 8
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x40]
call fcn.004c3a90
cmp dword [esp + 0x64], ebx
je 0x4b7d0a
cmp dword [esp + 0x5c], ebx
je 0x4b8114
mov ecx, dword [esp + 0x4c]
cmp dword [ecx - 8], ebx
je 0x4b7d0a
mov eax, dword [edi + 0xf8]
push eax
push ecx
call fcn.004f9670
add esp, 8
cmp eax, ebx
je 0x4b7d0a
mov ecx, dword [0x5b8cb4]
mov edx, dword [ecx]
call dword [edx + 0x18]
test eax, eax
je 0x4b8092
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0xcf4], ebp
cmp word [esp + 0xcfc], bx
jne 0x4b7cd8
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x69c]
call fcn.004c3a90
mov ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x54]
cmp ecx, 2
mov dword [esp + 0xcf4], eax
mov word [esp + 0xcfa], bx
mov word [esp + 0xcfc], bp
mov word [esp + 0xcf8], bp
jne 0x4b7cd8
mov edx, dword [esp + 0x1dcc]
cmp dword [edx + 0x38], ebp
jne 0x4b7cbc
cmp eax, ebp
je 0x4b7cbc
mov eax, dword [0x5ab980]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [edi + 0xd8]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x59b600
push edx
mov byte [esp + 0x1dd4], 0x1b
call fcn.0050e6c7
lea eax, [esp + 0x40]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
push ebx
call fcn.00421c00
mov edi, eax
add esp, 0x24
cmp edi, ebx
jg 0x4b7c52
mov ecx, dword [0x5ab980]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x20]
push ebx
push edx
push str.CachePrimaryDomain
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov byte [esp + 0x1dd4], 0x1c
call fcn.0041efa0
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp dword [eax - 8], ebx
je 0x4b7b31
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
push eax
push 0x59b600
push edx
call fcn.0050e6c7
lea eax, [esp + 0x40]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
push ebx
call fcn.00421c00
add esp, 0x24
mov edi, eax
cmp edi, ebx
jg 0x4b7c3d
push 0x20019
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonDomainCache_
call fcn.0041e3a0
add esp, 8
lea ecx, [esp + 0x2c]
mov ebp, eax
lea edx, [esp + 0x19bc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x1bcc]
push ecx
push edx
push ebx
push ebp
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x4b7c2d
lea eax, [esp + 0x19bc]
lea ecx, [esp + 0x20]
push eax
call fcn.00512a6d
mov eax, 0x200
mov ecx, 0x80
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor eax, eax
lea edi, [esp + 0x1bbc]
mov edx, dword [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x19bc]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x10]
push ecx
push edx
push 0x59b600
push eax
call fcn.0050e6c7
lea ecx, [esp + 0x40]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
push ebx
call fcn.00421c00
mov edi, eax
add esp, 0x24
cmp edi, ebx
jg 0x4b7c2d
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x19bc]
push edx
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x1bcc]
mov eax, esi
push ecx
push edx
push eax
push ebp
inc esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
je 0x4b7b82
cmp ebp, ebx
je 0x4b7c38
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1dc4], 0x1b
call fcn.005128e4
cmp edi, ebx
jle 0x4b7c82
lea eax, [esp + 0x14]
lea ecx, [esp + 0x6a8]
push eax
call fcn.00512a1d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x6a4]
call fcn.00512a1d
mov dword [esp + 0x6b0], ebp
mov dword [esp + 0xcf4], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x1dc4], 0x1a
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x1dc4], 0x19
call fcn.005128e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x1dc4], 2
call fcn.005128e4
mov edi, dword [esp + 0x1dd0]
cmp dword [esp + 0xcf4], ebx
jne 0x4b7cd8
lea edx, [edi + 0xcc]
lea ecx, [esp + 0x6a0]
push edx
call fcn.00512a1d
mov eax, dword [edi + 0x38]
sub esp, 0xccc
lea edx, [esp + 0xd04]
mov ecx, esp
mov dword [esp + 0xce0], esp
push edx
mov dword [esp + 0x137c], eax
call fcn.004b7200
mov ecx, dword [esp + 0xce8]
call fcn.004b0140
cmp dword [esp + 0x34], ebx
jne 0x4b798c
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + 4]
cmp esi, ebx
je 0x4b7d45
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x38]
push eax
call fcn.004b70f0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1360]
push eax
call fcn.004c3a90
cmp esi, ebx
jne 0x4b7d1f
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0xc]
lea ecx, [esp + 0x1324]
mov byte [esp + 0x1dc4], 0x26
call fcn.00467880
lea ecx, [esp + 0xd70]
mov byte [esp + 0x1dc4], 0x25
call fcn.00510e5f
lea ecx, [esp + 0xd54]
mov byte [esp + 0x1dc4], 0x24
call fcn.0048ba80
lea ecx, [esp + 0xd38]
mov byte [esp + 0x1dc4], 0x23
call fcn.00511c40
lea ecx, [esp + 0xd34]
mov byte [esp + 0x1dc4], 0x22
call fcn.005128e4
lea ecx, [esp + 0xd30]
mov byte [esp + 0x1dc4], 0x21
call fcn.005128e4
lea ecx, [esp + 0xd14]
mov byte [esp + 0x1dc4], 0x20
call fcn.005128e4
lea ecx, [esp + 0xd10]
mov byte [esp + 0x1dc4], 0x1f
call fcn.005128e4
lea ecx, [esp + 0xd0c]
mov byte [esp + 0x1dc4], 0x1e
call fcn.005128e4
lea ecx, [esp + 0xd08]
mov byte [esp + 0x1dc4], 0x1d
call fcn.005128e4
lea ecx, [esp + 0x1980]
mov byte [esp + 0x1dc4], 0x30
call fcn.00467880
lea ecx, [esp + 0x13cc]
mov byte [esp + 0x1dc4], 0x2f
call fcn.00510e5f
lea ecx, [esp + 0x13b0]
mov byte [esp + 0x1dc4], 0x2e
call fcn.0048ba80
lea ecx, [esp + 0x1394]
mov byte [esp + 0x1dc4], 0x2d
call fcn.00511c40
lea ecx, [esp + 0x1390]
mov byte [esp + 0x1dc4], 0x2c
call fcn.005128e4
lea ecx, [esp + 0x138c]
mov byte [esp + 0x1dc4], 0x2b
call fcn.005128e4
lea ecx, [esp + 0x1370]
mov byte [esp + 0x1dc4], 0x2a
call fcn.005128e4
lea ecx, [esp + 0x136c]
mov byte [esp + 0x1dc4], 0x29
call fcn.005128e4
lea ecx, [esp + 0x1368]
mov byte [esp + 0x1dc4], 0x28
call fcn.005128e4
mov byte [esp + 0x1dc4], 0x27
lea ecx, [esp + 0x1364]
call fcn.005128e4
mov dword [esp + 0x1dc4], 0x31
lea edx, [esp + 0x698]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0xcb8]
mov byte [esp + 0x1dc4], 0x3c
call fcn.00467880
lea ecx, [esp + 0x704]
mov byte [esp + 0x1dc4], 0x3b
call fcn.00510e5f
lea ecx, [esp + 0x6e8]
mov byte [esp + 0x1dc4], 0x3a
call fcn.0048ba80
lea ecx, [esp + 0x6cc]
mov byte [esp + 0x1dc4], 0x39
call fcn.00511c40
lea ecx, [esp + 0x6c8]
mov byte [esp + 0x1dc4], 0x38
call fcn.005128e4
lea ecx, [esp + 0x6c4]
mov byte [esp + 0x1dc4], 0x37
call fcn.005128e4
lea ecx, [esp + 0x6a8]
mov byte [esp + 0x1dc4], 0x36
call fcn.005128e4
lea ecx, [esp + 0x6a4]
mov byte [esp + 0x1dc4], 0x35
call fcn.005128e4
lea ecx, [esp + 0x6a0]
mov byte [esp + 0x1dc4], 0x34
call fcn.005128e4
lea ecx, [esp + 0x69c]
mov byte [esp + 0x1dc4], 0x33
call fcn.005128e4
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x65c]
mov byte [esp + 0x1dc4], 0x46
call fcn.00467880
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1dc4], 0x45
call fcn.00510e5f
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1dc4], 0x44
call fcn.0048ba80
lea ecx, [esp + 0x70]
mov byte [esp + 0x1dc4], 0x43
call fcn.00511c40
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1dc4], 0x42
call fcn.005128e4
lea ecx, [esp + 0x68]
mov byte [esp + 0x1dc4], 0x41
call fcn.005128e4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1dc4], 0x40
call fcn.005128e4
mov byte [esp + 0x1dc4], 0x3f
lea ecx, [esp + 0x48]
call fcn.005128e4
lea ecx, [esp + 0x44]
mov byte [esp + 0x1dc4], 0x3e
call fcn.005128e4
lea ecx, [esp + 0x40]
mov byte [esp + 0x1dc4], 0x3d
call fcn.005128e4
mov eax, esi
mov ecx, dword [esp + 0x1dbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1db8
ret 8
mov esi, dword [edi + 0x748]
cmp esi, ebx
je 0x4b7d0a
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0xd04]
push eax
call fcn.004c3a90
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xd14]
push eax
push ecx
call fcn.004f9670
add esp, 8
cmp eax, ebx
je 0x4b80d6
cmp esi, ebx
jne 0x4b80a0
jmp 0x4b7d0a
lea edx, [esp + 0xd04]
lea ecx, [esp + 0x698]
push edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], ebp
call fcn.004c3a90
mov dword [esp + 0x6b8], ebx
mov dword [esp + 0x6b0], ebp
mov word [esp + 0xcfa], bp
mov dword [esp + 0xcf4], ebp
jmp 0x4b82b4
mov esi, dword [edi + 0x748]
cmp esi, ebx
jne 0x4b814e
mov ecx, dword [0x5b8cb4]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x4b7a09
lea eax, [edi + 0xe8]
lea ecx, [esp + 0x3c]
push eax
call fcn.004c56d0
test eax, eax
je 0x4b7a09
jmp 0x4b7d0a
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0xd04]
push eax
call fcn.004c3a90
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xd08]
push ecx
push edx
call fcn.004f9670
add esp, 8
cmp eax, ebx
jne 0x4b8258
cmp dword [esp + 0xd24], ebx
jne 0x4b7a09
cmp dword [esp + 0xd2c], ebx
je 0x4b7a09
lea eax, [edi + 0xe8]
lea ecx, [esp + 0xd04]
push eax
call fcn.004c56d0
test eax, eax
jne 0x4b7d0a
cmp dword [esp + 0x50], ebp
jne 0x4b81c7
cmp dword [esp + 0xd1c], ebp
je 0x4b8265
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xd0c]
push eax
push ecx
call fcn.004f9670
add esp, 8
cmp eax, ebx
je 0x4b828a
mov edx, dword [esp + 0x1dcc]
mov eax, dword [edx + 0xcc]
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.004f9670
add esp, 8
cmp eax, ebx
jne 0x4b8258
mov eax, dword [edi + 0xcc]
mov ecx, dword [esp + 0xd0c]
push eax
push ecx
call fcn.004f9670
add esp, 8
cmp eax, ebx
jne 0x4b8258
lea edx, [esp + 0xd04]
lea ecx, [esp + 0x698]
push edx
call fcn.004c3a90
mov eax, dword [esp + 0xd1c]
mov word [esp + 0xcfa], bp
mov dword [esp + 0xcf4], eax
mov word [esp + 0xcfc], bp
mov word [esp + 0xcf8], bp
cmp esi, ebx
jne 0x4b814e
jmp 0x4b7a09
lea ecx, [esp + 0xd04]
push ecx
lea ecx, [esp + 0x69c]
call fcn.004c3a90
mov word [esp + 0xcfa], bp
mov dword [esp + 0xcf4], ebp
jmp 0x4b82b4
lea edx, [esp + 0xd04]
lea ecx, [esp + 0x698]
push edx
call fcn.004c3a90
mov eax, dword [esp + 0xd1c]
mov word [esp + 0xcfa], bp
mov dword [esp + 0xcf4], eax
mov word [esp + 0xcfc], bp
mov word [esp + 0xcf8], bp
jmp 0x4b7cd8