joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d883c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xdc
mov eax, 0x62ae21
call fcn.00429e48
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x98
push ebx
mov dword [ebp - 0xb8], ebx
push eax
mov dword [edi], ebx
call fcn.0042af50
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
call fcn.00475592
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], bl
je 0x4d8896
push str.Wow6432Node_
lea eax, [ebp - 0xa8]
push eax
call fcn.00420e72
push str.LocalServer32
push esi
push 0x66f014
lea eax, [ebp - 0xa8]
push eax
call fcn.00420e72
push eax
call fcn.00420e72
push eax
call fcn.00420e72
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0041fd84
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xb0]
push 5
pop eax
push ecx
mov dword [ebp - 0xac], eax
mov esi, SysReAllocStringLen
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push 0x20019
push ebx
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4d895e
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0041fd84
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xb0]
push 0xf
pop eax
push ecx
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push 0x20119
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 0xb1], bl
test eax, eax
jne 0x4d8965
mov byte [ebp - 0xb1], 1
mov eax, dword [ebp - 0xac]
test al, 2
je 0x4d8989
and eax, 0xfffffffd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xac], eax
call fcn.0041395f
mov eax, dword [ebp - 0xac]
test al, 1
je 0x4d8998
lea ecx, [ebp - 0xe8]
call fcn.0041395f
cmp byte [ebp - 0xb1], 0
je 0x4d8a0c
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], ebx
push eax
push ebx
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4d8a00
push dword [ebp - 0xac]
call fcn.00434b9f
mov esi, eax
pop ecx
test esi, esi
je 0x4d8a00
lea eax, [ebp - 0xac]
push eax
push esi
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4d89f9
mov dword [edi], esi
mov bl, 1
jmp 0x4d8a00
push esi
call fcn.004336a3
pop ecx
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xa8]
call fcn.004757d3
mov al, bl
call fcn.00429df7
ret 0xc
Function at 0x4d8ba9
Capabilities:
Get file version info

Disassembly:
push 0x2cc
mov eax, 0x62ae5b
call fcn.00429e48
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 0x10]
push 0x68d3dc
mov dword [ebp - 0x2c0], eax
call fcn.00411a05
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2bc]
push esi
push eax
call fcn.004d883c
test al, al
je 0x4d8dac
cmp dword [ebp - 0x2bc], ebx
je 0x4d8dac
push dword [ebp - 0x2bc]
mov esi, 0x104
lea eax, [ebp - 0x218]
push edi
push esi
push eax
call fcn.004d8a21
test al, al
je 0x4d8da0
cmp word [ebp - 0x218], bx
je 0x4d8da0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4d8da0
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0044f23a
test eax, eax
js 0x4d8da0
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4d8da0
push edi
call fcn.00434b9f
mov esi, eax
pop ecx
test esi, esi
je 0x4d8da0
push esi
push edi
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d8d99
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x68d3d8
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4d8d99
push 0x98
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.0042af50
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push 1
call fcn.00475592
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0xa]
push eax
call fcn.0041f09e
mov edi, 0x68ff58
lea eax, [ebp - 0x2b4]
push edi
push eax
call fcn.00420e72
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 8]
push eax
call fcn.0041f09e
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.00420e72
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xe]
push eax
call fcn.0041f09e
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.00420e72
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xc]
push eax
call fcn.0041f09e
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0041fd84
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2d8]
push eax
call fcn.004117ff
lea ecx, [ebp - 0x2d8]
call fcn.0041395f
lea ecx, [ebp - 0x2b4]
mov bl, 1
call fcn.004757d3
push esi
call fcn.004336a3
pop ecx
push dword [ebp - 0x2bc]
call fcn.004336a3
pop ecx
mov al, bl
call fcn.00429df7
ret 0x18
Function at 0x4dccd2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 8
pop esi
cmp dword [0x6e78bc], esi
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
mov eax, 0x6e78a8
xorps xmm0, xmm0
cmovae eax, dword [0x6e78a8]
push 0
push eax
push reloc.WS2_32.dll_accept
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], esi
mov esi, 0x80070000
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4dcd6e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.LastUpdate
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, esi
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4dcd5d
cmp dword [ebp - 0x14], 0xb
je 0x4dcd65
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
mov edx, dword [ebp - 8]
pop esi
call fcn.00429dd5
leave
ret

Function at 0x4dfa42
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6e78bc], 8
lea ecx, [ebp - 0x10]
push esi
mov eax, 0x6e78a8
cmovae eax, dword [0x6e78a8]
xor esi, esi
push esi
push ecx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x4dfac1
push esi
call fcn.0043c033
pop ecx
push 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.LastUpdate
push dword [ebp - 0x10]
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00429dd5
leave
ret
Function at 0x4e1c30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x420
mov eax, 0x62c6f9
call fcn.00429e48
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0x68d3dc
mov dword [ebp - 0x42c], eax
call fcn.00411a05
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov edi, 0x80004004
call fcn.004a9b18
mov dword [ebp - 0x428], eax
cmp eax, dword [esi]
je 0x4e1d64
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x410]
mov esi, 0x400
mov ebx, 0x2001b
push esi
push 0
push eax
call fcn.0042af50
xor eax, eax
mov dword [ebp - 0x414], esi
lea edi, [ebp - 0x424]
add esp, 0xc
stosd dword es:[edi], eax
lea ecx, [ebp - 0x424]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x428]
add eax, 0x14
push eax
call fcn.004e15b3
mov eax, dword [ebp - 0x420]
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
cmp esi, eax
je 0x4e1d54
add esi, 0x18
mov eax, ebx
lea ecx, [esi + 4]
or eax, 0x10000
cmp byte [esi + 0x1c], 0
cmovne ebx, eax
cmp dword [esi + 0x18], 8
jb 0x4e1cf3
mov ecx, dword [ecx]
cmp dword [esi], 8
lea eax, [esi - 0x14]
jb 0x4e1cfd
mov eax, dword [eax]
lea edx, [ebp - 0x414]
push edx
lea edx, [ebp - 0x410]
push edx
lea edx, [ebp - 0x418]
push edx
push ebx
push ecx
push eax
push dword [esi - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x4e1d40
add esi, 0x38
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x428]
jne 0x4e1cda
jmp 0x4e1d59
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.00411a05
jmp 0x4e1d59
mov edi, 0x80004004
lea ecx, [ebp - 0x424]
call fcn.0048328f
mov eax, edi
call fcn.00429df7
ret 8
Function at 0x4e75a2
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
xor edi, edi
cmp dword [esi + 0x14], 8
jb 0x4c8f29
mov eax, dword [esi]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4c8f6a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x4c8f4b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4c8f6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00429dd5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4c8f03

Function at 0x4e75e2
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c92d3

Function at 0x4e7632
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c97eb

Function at 0x4e7702
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
xor esi, esi
mov dword [ebp - 0x210], 0x104
push esi
push eax
call fcn.0042af50
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x4ca801
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00411a05
jmp 0x4ca815
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00429dd5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4ca79e
Function at 0x4e7752
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
shl eax, 8
push esi
add eax, 0x20019
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 0x10]
jb 0x4caf1b
mov ecx, dword [ecx]
lea esi, [ebp - 0x830]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x82c], 0x820
test eax, eax
cmovle esi, eax
and dword [ebp - 0x828], 0
test esi, esi
js 0x4cafc3
cmp dword [edi + 0x14], 8
jb 0x4caf58
mov edi, dword [edi]
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x4cafb7
cmp dword [ebp - 0x828], 1
je 0x4cafa7
cmp dword [ebp - 0x828], 2
je 0x4cafa7
mov esi, 0x8007065d
jmp 0x4cafb7
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.00411a05
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429dd5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x4caee3
Function at 0x4e7772
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x34
mov eax, 0x6293f6
call fcn.00429e48
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x4cb0f3
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], ebx
push eax
call fcn.004caffe
mov edi, eax
test edi, edi
js 0x4cb20a
push 0xf0000040
push 0x18
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
setne cl
test eax, eax
je 0x4cb15c
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne cl
test cl, cl
je 0x4cb1ea
push 4
pop ecx
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4cb1ea
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
add eax, eax
push ebx
push eax
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne bl
test eax, eax
je 0x4cb1e4
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3d]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.004236bd
push 0
lea eax, [ebp - 0x18]
push eax
push dword [esi]
push 2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x14]
test eax, eax
setne bl
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x4cb20a
jmp 0x4cb200
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x4cb20a
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, 0x80004005
cmp eax, dword [esi + 4]
mov eax, dword [ebp - 0x28]
cmove edi, ecx
cmp eax, 8
jb 0x4cb252
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x4cb249
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00413aba
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.00429b68
pop ecx
pop ecx
mov eax, edi
call fcn.00429df7
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4cb0da

Function at 0x4e7802
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb970

Function at 0x4e7942
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
pop ebp
jmp 0x4cc0a5

Function at 0x4e7962
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cc282
Function at 0x4e7b32
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 4
xor ebx, ebx
cmp dword [eax + 0x14], 8
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
jb 0x4ce85a
mov eax, dword [eax]
push eax
push str.SoftwareMicrosoftOneDriveAccounts
lea eax, [ebp - 0x28]
push eax
call fcn.004c63c2
cmp dword [eax + 0x14], 8
jb 0x4ce871
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x10
push str.IsGoSov
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0041395f
test esi, esi
pop esi
jne 0x4ce8a7
cmp dword [ebp - 8], 1
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00429dd5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x4ce82e

Function at 0x4e7cb2
Capabilities:
Enumerate gui resources

Disassembly:
push 0x6c
mov eax, 0x629d30
call fcn.00429e48
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x70]
call fcn.004814fd
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00411873
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00411873
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x78]
push eax
push 0x4cfd70
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x4d0039
cmp dword [ebp - 0x18], 0
ja 0x4d003b
xor bl, bl
lea ecx, [ebp - 0x78]
call 0x4c81ad
mov al, bl
call fcn.00429df7
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x4cffd4

Function at 0x4e7e32
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x4d22c4
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4d2306
cmp dword [esi + 0x10], eax
jne 0x4d22e2
xor esi, esi
jmp 0x4d22ea
cmp dword [esi + 0x14], 8
jb 0x4d22ea
mov esi, dword [esi]
push 4
push ebx
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429dd5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x4d228b
Function at 0x4e7e52
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x20006
cmp byte [ebp + 0x18], 0
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, 0x102
cmovne ecx, edi
cmp dword [eax + 0x14], 8
jb 0x4d2636
mov eax, dword [eax]
lea edi, [ebp - 8]
push edi
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4d268e
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x4d265d
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x4d266c
xor esi, esi
jmp 0x4d2674
cmp dword [esi + 0x14], 8
jb 0x4d2674
mov esi, dword [esi]
push ecx
push ebx
push eax
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429dd5
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x4d25fd

Function at 0x4e7e62
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
lea edx, [eax*2 + 2]
jb 0x4d26c6
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4d26d1
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push 0x68dc1c
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
movzx ecx, ax
mov edx, 0x80070000
or ecx, edx
test eax, eax
cmovle ecx, eax
test ecx, ecx
cmovle edx, ecx
shr edx, 0x1f
xor dl, 1
mov al, dl
pop ebp
ret 0xc
push ebp
mov ebp, esp
pop ebp
jmp 0x4d26ac
Function at 0x4e7ed2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x6ce008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
push 0x68d3dc
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x240], eax
call fcn.00411a05
mov eax, dword [ebp - 0x240]
xor ecx, ecx
push 0x118
push ecx
mov dword [eax], ecx
lea eax, [ebp - 0x238]
mov dword [ebx], ecx
mov bl, cl
push eax
mov dword [edi], ecx
call fcn.0042af50
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d2ebe
mov ecx, dword [ebp - 0x120]
mov bl, 1
mov eax, dword [ebp - 0x238]
mov dword [edi], eax
mov eax, dword [ebp - 0x234]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x120], 0x118
mov dword [ecx], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 2
push str.BuildLab
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push dword [0x6cebb8]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
js 0x4d2ebe
push esi
lea eax, [ebp - 0x11c]
push eax
call fcn.004d2a63
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429dd5
leave
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x4d2dd9

Function at 0x4ec274
Capabilities:
Accept command line arguments

Disassembly:
push 0x230
mov eax, 0x62db7c
call fcn.00429e48
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x23c], ebx
xor eax, eax
mov dword [ebp - 0x238], ecx
mov dword [ebx], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x238], 1
call fcn.004c574b
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x1f0]
mov ecx, esi
call dword [0x63a7a0]
mov ecx, edi
call esi
mov byte [ebp - 0x234], al
test al, al
jne 0x4ec354
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0042af50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4ec354
lea eax, [ebp - 0x218]
push 0x673d1c
push eax
call fcn.0060277e
pop ecx
pop ecx
test eax, eax
je 0x4ec354
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x230]
call fcn.00411838
push esi
push str._allusers
lea ecx, [ebp - 0x230]
call fcn.004573ff
cmp eax, 0xffffffff
lea ecx, [ebp - 0x230]
setne byte [ebp - 0x234]
call fcn.0041395f
push ebx
push dword [ebp - 0x234]
call fcn.004cb8fc
push 0x68bdc0
mov ecx, ebx
call fcn.00411a7f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004ec4bb
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0048c9bb
mov dword [ebp - 0x238], 3
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00416812
lea ecx, [ebp - 0x230]
call fcn.0041395f
mov eax, ebx
call fcn.00429df7
ret 0xc