joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413000
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x41314a
test edx, edx
jle 0x41314a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040e390
lea ecx, [ebp - 0x94]
call fcn.0040e460
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040e530
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4130a8
mov eax, dword [esi]
jmp 0x4130aa
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x4130f7
cmp ecx, 0x10
jb 0x4130ba
mov edx, dword [esi]
jmp 0x4130bc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x4130f7
cmp ecx, 0x10
jb 0x4130d1
mov ecx, dword [esi]
jmp 0x4130d3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0040de80
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x413108
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00408ac0
cmp dword [esi + 0x14], 0x10
jb 0x413112
mov eax, dword [esi]
jmp 0x413114
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004963d0
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x413132
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x414570
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5e95
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5094d8]
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 esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 4
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x4145c2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xd0], 0
lea edx, [esi + 0x78]
lea ecx, [ebp - 0x28]
call fcn.0040fa50
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x41461a
cmp byte [esi + 0xc8], 0
je 0x4145fd
mov al, byte [eax + 0x1c]
test al, al
jne 0x41461a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 2
push eax
lea ecx, [esi + 0xc4]
mov dword [ebp - 0x2c], 0
call fcn.00416340
cmp dword [ebp - 0x14], 8
jb 0x41462b
push dword [ebp - 0x28]
call fcn.00470760
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [esi + 0xc4]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edx, edx
je 0x41466d
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41466d
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x414665
mov eax, dword [ecx]
push edx
jmp 0x41466b
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
cmp dword [esi + 0xbc], 8
jb 0x414684
push dword [esi + 0xa8]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esi + 0xbc], 7
mov dword [esi + 0xb8], 0
mov word [esi + 0xa8], ax
cmp dword [esi + 0xa4], 8
jb 0x4146b8
push dword [esi + 0x90]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esi + 0xa4], 7
mov dword [esi + 0xa0], 0
mov word [esi + 0x90], ax
cmp dword [esi + 0x8c], 8
jb 0x4146e9
push dword [esi + 0x78]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], 0
mov ecx, esi
mov word [esi + 0x78], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0040b5b0
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.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x415b20
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c610a
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5094d8]
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 esi, ecx
lea edi, [esi + 0x78]
mov dword [ebp - 0x60], 0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.0040fb70
mov ebx, eax
add esi, 0x90
cmp esi, ebx
je 0x415b98
cmp dword [esi + 0x14], 8
jb 0x415b7d
push dword [esi]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00407930
cmp dword [ebp - 0x2c], 8
jb 0x415ba9
push dword [ebp - 0x40]
call fcn.00470760
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x415bb1
mov esi, dword [esi]
push esi
push str.rootpath__s
push 0xc0
push str.SimulatorFileCleaner::_removeSetupDir
call fcn.004209c0
push 0x4eab98
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00411cd0
add esp, 0x14
mov dword [ebp - 4], 0
mov ebx, 1
push eax
mov dword [ebp - 0x60], ebx
call fcn.00424fc0
add esp, 4
test al, al
je 0x415c22
push str._system.vmdk
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00411cd0
add esp, 4
mov dword [ebp - 4], ebx
mov ebx, 3
push eax
mov dword [ebp - 0x60], ebx
call fcn.00424fc0
add esp, 4
mov byte [ebp - 0x59], 1
test al, al
jne 0x415c26
mov byte [ebp - 0x59], 0
test bl, 2
je 0x415c53
and ebx, 0xfffffffd
cmp dword [ebp - 0x2c], 8
jb 0x415c3f
push dword [ebp - 0x40]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x415c70
cmp dword [ebp - 0x44], 8
jb 0x415c70
push dword [ebp - 0x58]
call fcn.00470760
add esp, 4
cmp byte [ebp - 0x59], 0
je 0x415d04
cmp dword [edi + 0x14], 8
jb 0x415c84
mov edx, dword [edi]
jmp 0x415c86
mov edx, edi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x415ca3
xor ecx, ecx
jmp 0x415cbf
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x415cb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415cb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407a10
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.0040fbe0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x415cf0
push dword [ebp - 0x28]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [edi + 0x14], 8
jb 0x415d0e
mov eax, dword [edi]
jmp 0x415d10
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415d42
cmp dword [edi + 0x14], 8
jb 0x415d23
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.remove_install_dir___s__failed__last_error___d.
push 0xca
push str.SimulatorFileCleaner::_removeSetupDir
call fcn.004209c0
add esp, 0x14
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.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x415ef0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6190
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x78]
lea ecx, [ebp - 0x40]
call fcn.0040fb70
push 0xd
push str.fyservice.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004116d0
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 7
push str.__uninstall
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407a10
push 0xbb8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00429130
add esp, 0x10
cmp dword [ebp - 0x14], 8
jb 0x415f88
push dword [ebp - 0x28]
call fcn.00470760
add esp, 4
lea eax, [ebp - 0x44]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415fb7
push str.LDNews
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 8
jb 0x415fc8
push dword [ebp - 0x40]
call fcn.00470760
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x416100
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c61cb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x416188
xor ecx, ecx
jmp 0x4161a0
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416191
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.00407a10
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.004162c0
cmp eax, 0xffffffff
je 0x416247
push eax
push 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x238]
call fcn.00411140
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x416230
cmp dword [ebp - 0x224], 8
jb 0x416207
push dword [ebp - 0x238]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.00407930
cmp dword [ebp - 0x23c], 8
jb 0x416247
push dword [ebp - 0x250]
call fcn.00470760
add esp, 4
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], 8
jb 0x416279
push dword [ebp - 0x238]
call fcn.00470760
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret

Function at 0x4176a0
Capabilities:
Delete registry key
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.Softwareleidianldplayer9
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4176e4
push str.leidian9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.Softwareleidianldplayer9
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallleidian9
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallleidian9
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a500
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c68e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5094d8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5094d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040de80
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.0041a420
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x41a57d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00494194
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x41a5a6
push dword [esp + 0x10]
call fcn.00470760
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6d13
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5094d8]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x5094d8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov byte [esp + 0x74], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
lea ecx, [esp + 0xc]
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
call fcn.00407a10
push ecx
lea eax, [esp + 0x10]
mov byte [esp + 0x94], 1
push eax
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x30]
call fcn.004083f0
mov byte [esp + 0x90], 0
mov bl, al
cmp dword [esp + 0x20], 8
jb 0x41c984
push dword [esp + 0xc]
call fcn.00470760
add esp, 4
test bl, bl
je 0x41c991
lea ecx, [esp + 0x24]
call fcn.00408570
lea ecx, [esp + 0x24]
call fcn.0040b940
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x4202b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7450
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x4e6c88
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407a10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 5
xor eax, eax
mov dword [ebp - 0x14], 7
push str._path
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407a10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00409470
cmp edi, eax
je 0x42034f
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00408180
cmp dword [ebp - 0x14], 8
jb 0x420360
push dword [ebp - 0x28]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x420385
push dword [ebp - 0x40]
call fcn.00470760
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x42038d
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg 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.0048efb3
mov esp, ebp
pop ebp
ret 8

Function at 0x423cb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x423ced
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x423ec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x423cff
mov dword [ebp - 8], 1
jmp 0x423d06
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x424b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c774b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], ecx
mov eax, dword [ebp - 0x430]
cmp dword [eax], 0
jne 0x424ba2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00422b20
add esp, 8
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x434], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x434]
call fcn.00407ba0
push eax
push 0x4e7388
push 0x3e
push 0x4e73c8
call fcn.004209c0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.004083c0
or eax, 0xffffffff
jmp 0x424c24
mov ecx, dword [ebp + 8]
call fcn.00407a00
mov dword [ebp - 0x43c], 0x400
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.004089b0
push eax
mov edx, dword [ebp - 0x430]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x424c03
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004122a0
jmp 0x424c1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e73e4
push 0x51
push str.utility::RegKey::RegRead
call fcn.004209c0
add esp, 0x10
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 8

Function at 0x424ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov eax, dword [ebp - 0x80c]
cmp dword [eax], 0
jne 0x424cec
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
push 0x4e76ec
push 0xcb
push 0x4e772c
call fcn.004209c0
add esp, 0x10
or eax, 0xffffffff
jmp 0x424d71
mov ecx, dword [ebp + 8]
call fcn.00407a00
mov dword [ebp - 0x810], 0x800
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x814]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
mov edx, dword [ebp - 0x80c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x808], eax
cmp dword [ebp - 0x808], 0
jne 0x424d4d
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00405df0
jmp 0x424d6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_reg_lastError___d
push 0xde
push str.utility::RegKeyEx::RegRead
call fcn.004209c0
add esp, 0x10
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 8
Function at 0x428c20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00497a40
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x428c85
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x428c92
mov al, 1
jmp 0x428c94
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret

Function at 0x428cb0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7c08
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4e6fce
lea ecx, [ebp - 0x28]
call fcn.0040e0d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x428de2
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x428d35
mov eax, dword [ebp - 0x34]
push eax
call fcn.0044194a
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x428d18
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x428dd0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x4e8984
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x428dd0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049574c
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.004122a0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00470760
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004237e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x429040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407ba0
push eax
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
push str.shell_filename____s___param____s___runas___d__show___d
push 0xc
push 0x4e8c14
call fcn.004209c0
add esp, 0x1c
call fcn.00428c20
movzx edx, al
test edx, edx
je 0x429093
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x429093
mov dword [ebp - 8], 0x4e8c2c
jmp 0x42909a
mov dword [ebp - 8], 0x4e8cb0
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x4290ab
mov dword [ebp - 4], 5
jmp 0x4290b2
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00407ba0
push eax
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x4e8cf8
call fcn.004209c0
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x42911f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e8d10
push 0x1b
push str.utility::process::shell
call fcn.004209c0
add esp, 0x10
xor al, al
jmp 0x429121
mov al, 1
mov esp, ebp
pop ebp
ret