joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8d93
Capabilities:
Get file version info

Disassembly:
push 0x2cc
mov eax, 0x6032f0
call fcn.004e1c06
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edi, dword [ebp + 0x10]
push 0x653c34
mov dword [ebp - 0x2c0], eax
call fcn.0040aaa9
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2bc]
push esi
push eax
call fcn.004a8a26
test al, al
je 0x4a8f96
cmp dword [ebp - 0x2bc], ebx
je 0x4a8f96
push dword [ebp - 0x2bc]
mov esi, 0x104
lea eax, [ebp - 0x218]
push edi
push esi
push eax
call fcn.004a8c0b
test al, al
je 0x4a8f8a
cmp word [ebp - 0x218], bx
je 0x4a8f8a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4a8f8a
push dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0043d7ee
test eax, eax
js 0x4a8f8a
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4a8f8a
push edi
call fcn.00422fd8
mov esi, eax
pop ecx
test esi, esi
je 0x4a8f8a
push esi
push edi
push ebx
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4a8f83
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0x653c04
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4a8f83
push 0x98
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.0041ab50
add esp, 0xc
lea ecx, [ebp - 0x2b4]
push 1
call fcn.0045805d
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], ebx
movzx eax, word [eax + 0xa]
push eax
call fcn.00412630
mov edi, 0x61d2b8
lea eax, [ebp - 0x2b4]
push edi
push eax
call fcn.00414600
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 8]
push eax
call fcn.00412630
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.00414600
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xe]
push eax
call fcn.00412630
push edi
lea eax, [ebp - 0x2b4]
push eax
call fcn.00414600
mov eax, dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2b4]
movzx eax, word [eax + 0xc]
push eax
call fcn.00412630
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004134b6
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2d8]
push eax
call fcn.00412933
lea ecx, [ebp - 0x2d8]
call fcn.00405a95
lea ecx, [ebp - 0x2b4]
mov bl, 1
call fcn.0045821e
push esi
call fcn.00422c50
pop ecx
push dword [ebp - 0x2bc]
call fcn.00422c50
pop ecx
mov al, bl
call fcn.004e1bb5
ret 0x18
Function at 0x4ab6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x420
mov eax, 0x603990
call fcn.004e1c06
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0x653c34
mov dword [ebp - 0x42c], eax
call fcn.0040aaa9
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov edi, 0x80004004
call fcn.004aae49
mov dword [ebp - 0x428], eax
cmp eax, dword [esi]
je 0x4ab7f4
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x410]
mov esi, 0x400
mov ebx, 0x2001b
push esi
push 0
push eax
call fcn.0041ab50
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.004ab048
mov eax, dword [ebp - 0x420]
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
cmp esi, eax
je 0x4ab7e4
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 0x4ab783
mov ecx, dword [ecx]
cmp dword [esi], 8
lea eax, [esi - 0x14]
jb 0x4ab78d
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 0x4ab7d0
add esi, 0x38
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0x428]
jne 0x4ab76a
jmp 0x4ab7e9
mov ecx, dword [ebp - 0x42c]
lea eax, [ebp - 0x410]
push eax
call fcn.0040aaa9
jmp 0x4ab7e9
mov edi, 0x80004004
lea ecx, [ebp - 0x424]
call fcn.0048842f
mov eax, edi
call fcn.004e1bb5
ret 8
Function at 0x4b0902
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x68d008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 8
pop esi
cmp dword [0x6a57a8], esi
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
mov eax, 0x6a5794
xorps xmm0, xmm0
cmovae eax, dword [0x6a5794]
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 0x4b099e
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 0x4b098d
cmp dword [ebp - 0x14], 0xb
je 0x4b0995
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.004192c5
leave
ret

Function at 0x4b3672
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x68d008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6a57a8], 8
lea ecx, [ebp - 0x10]
push esi
mov eax, 0x6a5794
cmovae eax, dword [0x6a5794]
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 0x4b36f1
push esi
call fcn.004e54f4
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.004192c5
leave
ret

Function at 0x4b5e02
Capabilities:
Delete file

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x68d008]
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 0x495b11
mov eax, dword [esi]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x495b52
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x495b33
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x495b52
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.004192c5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x495aeb

Function at 0x4b5e52
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00495ebb

Function at 0x4b5ea2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004963d3
Function at 0x4b5f72
Capabilities:
Get common file path

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x68d008]
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.0041ab50
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 0x4973eb
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040aaa9
jmp 0x4973ff
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.004192c5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x497388

Function at 0x4b5fc2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x68d008]
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 0x49792b
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 0x4979d3
cmp dword [edi + 0x14], 8
jb 0x497968
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 0x4979c7
cmp dword [ebp - 0x828], 1
je 0x4979b7
cmp dword [ebp - 0x828], 2
je 0x4979b7
mov esi, 0x8007065d
jmp 0x4979c7
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
xor esi, esi
call fcn.0040aaa9
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.004192c5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x4978f3
Function at 0x4b5fe2
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x34
mov eax, 0x600f2d
call fcn.004e1c06
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x497b03
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.00497a0e
mov edi, eax
test edi, edi
js 0x497c1a
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 0x497b6c
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 0x497bfa
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 0x497bfa
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 0x497bf4
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x3d]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.0041484a
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 0x497c1a
jmp 0x497c10
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 0x497c1a
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 0x497c62
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x497c59
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405a41
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.00419529
pop ecx
pop ecx
mov eax, edi
call fcn.004e1bb5
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x497aea

Function at 0x4b6082
Capabilities:
Get common file path

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

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x68d008]
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
push esi
push eax
call fcn.0041ab50
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Version
push str.SoftwareMicrosoftOneDrive
call fcn.00498337
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x498aa7
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040aaa9
jmp 0x498aac
mov esi, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004192c5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x498a23

Function at 0x4b61e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00498c00

Function at 0x4b61f2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00498cda

Function at 0x4b63c2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68d008]
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 0x49b1ea
mov eax, dword [eax]
push eax
push str.SoftwareMicrosoftOneDriveAccounts
lea eax, [ebp - 0x28]
push eax
call fcn.004a3c32
cmp dword [eax + 0x14], 8
jb 0x49b201
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.00405a95
test esi, esi
pop esi
jne 0x49b237
cmp dword [ebp - 8], 1
sete bl
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004192c5
leave
ret 4
push ebp
mov ebp, esp
pop ebp
jmp 0x49b1be

Function at 0x4b6592
Capabilities:
Enumerate gui resources

Disassembly:
push 0x6c
mov eax, 0x60194d
call fcn.004e1c06
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.0048669d
xor ebx, ebx
lea ecx, [ebp - 0x48]
inc ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0040ada4
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040ada4
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x78]
push eax
push 0x49c6e0
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x49c9a9
cmp dword [ebp - 0x18], 0
ja 0x49c9ab
xor bl, bl
lea ecx, [ebp - 0x78]
call 0x494d1f
mov al, bl
call fcn.004e1bb5
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x49c944
Function at 0x4b6712
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x68d008]
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 0x49ecd4
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 0x49ed16
cmp dword [esi + 0x10], eax
jne 0x49ecf2
xor esi, esi
jmp 0x49ecfa
cmp dword [esi + 0x14], 8
jb 0x49ecfa
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.004192c5
leave
ret 0x14
push ebp
mov ebp, esp
pop ebp
jmp 0x49ec9b

Function at 0x4b6722
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049ee3f

Function at 0x4b6742
Capabilities:
Set registry value

Disassembly:
nop
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x68d008]
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 0x49f046
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 0x49f09e
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jb 0x49f06d
mov ebx, dword [ebx]
movzx eax, byte [ebp + 0x1c]
inc eax
cmp dword [esi + 0x10], 0
jne 0x49f07c
xor esi, esi
jmp 0x49f084
cmp dword [esi + 0x14], 8
jb 0x49f084
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.004192c5
leave
ret 0x18
push ebp
mov ebp, esp
pop ebp
jmp 0x49f00d

Function at 0x4b6752
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 0x49f0d6
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x49f0e1
mov eax, dword [eax]
push edx
push ecx
push 2
push eax
push 0x627350
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 0x49f0bc
Function at 0x4b67c2
Capabilities:
Query or enumerate registry value

Disassembly:
nop
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x68d008]
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 0x653c34
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x240], eax
call fcn.0040aaa9
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.0041ab50
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 0x49f8ce
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 [0x68df18]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
js 0x49f8ce
push esi
lea eax, [ebp - 0x11c]
push eax
call fcn.0049f473
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004192c5
leave
ret 0x10
push ebp
mov ebp, esp
pop ebp
jmp 0x49f7e9

Function at 0x4b9fe4
Capabilities:
Accept command line arguments

Disassembly:
push 0x230
mov eax, 0x605f22
call fcn.004e1c06
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.004a2b5c
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0x1f0]
mov ecx, esi
call dword [0x6147a0]
mov ecx, edi
call esi
mov byte [ebp - 0x234], al
test al, al
jne 0x4ba0c4
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0041ab50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4ba0c4
lea eax, [ebp - 0x218]
push 0x638bf4
push eax
call fcn.004e4b0d
pop ecx
pop ecx
test eax, eax
je 0x4ba0c4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040ab57
push esi
push str._allusers
lea ecx, [ebp - 0x230]
call fcn.00412898
cmp eax, 0xffffffff
lea ecx, [ebp - 0x230]
setne byte [ebp - 0x234]
call fcn.00405a95
push ebx
push dword [ebp - 0x234]
call fcn.0049830c
push 0x631040
mov ecx, ebx
call fcn.0040a742
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004ba22b
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004475ff
mov dword [ebp - 0x238], 3
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.00412915
lea ecx, [ebp - 0x230]
call fcn.00405a95
mov eax, ebx
call fcn.004e1bb5
ret 0xc
Function at 0x4d356e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004d354a
pop esi
leave
ret 8

Function at 0x4e1b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e1b9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e1b9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4f14ac
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x68d008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x63d3e8
push esi
call fcn.004307aa
pop ecx
pop ecx
test eax, eax
jne 0x4f14da
xor al, al
jmp 0x4f1557
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004f11e3
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4f1514
push dword [ebp - 0x210]
call fcn.00422c50
xor al, al
jmp 0x4f1555
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4f151a
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4f153a
push edx
call fcn.004f13e2
pop ecx
test al, al
je 0x4f1505
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4f1548
mov bl, 1
push dword [ebp - 0x210]
call fcn.00422c50
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004192c5
leave
ret

Function at 0x4f4ad4
Capabilities:
Read file on windows

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

Function at 0x4f4adf
Capabilities:
Read file on windows

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