joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a60
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x50c4d8]
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 0x413ab2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xd0], 0
lea edx, [esi + 0x78]
lea ecx, [ebp - 0x28]
call fcn.0040f100
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 0x413b0a
cmp byte [esi + 0xc8], 0
je 0x413aed
mov al, byte [eax + 0x1c]
test al, al
jne 0x413b0a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 2
push eax
lea ecx, [esi + 0xc4]
mov dword [ebp - 0x2c], 0
call fcn.00415b70
cmp dword [ebp - 0x14], 8
jb 0x413b1b
push dword [ebp - 0x28]
call fcn.00473460
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 0x413b5d
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x413b5d
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x413b55
mov eax, dword [ecx]
push edx
jmp 0x413b5b
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
cmp dword [esi + 0xbc], 8
jb 0x413b74
push dword [esi + 0xa8]
call fcn.00473460
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 0x413ba8
push dword [esi + 0x90]
call fcn.00473460
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 0x413bd9
push dword [esi + 0x78]
call fcn.00473460
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.0040ac60
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.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x415350
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8d9a
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x50c4d8]
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.0040f220
mov ebx, eax
add esi, 0x90
cmp esi, ebx
je 0x4153c8
cmp dword [esi + 0x14], 8
jb 0x4153ad
push dword [esi]
call fcn.00473460
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.00407020
cmp dword [ebp - 0x2c], 8
jb 0x4153d9
push dword [ebp - 0x40]
call fcn.00473460
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4153e1
mov esi, dword [esi]
push esi
push str.rootpath__s
push 0xd0
push str.SimulatorFileCleaner::_removeSetupDir
call fcn.004204c0
push 0x4edcb8
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00411240
add esp, 0x14
mov dword [ebp - 4], 0
mov ebx, 1
push eax
mov dword [ebp - 0x60], ebx
call fcn.00424b00
add esp, 4
test al, al
je 0x415452
push str._system.vmdk
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.00411240
add esp, 4
mov dword [ebp - 4], ebx
mov ebx, 3
push eax
mov dword [ebp - 0x60], ebx
call fcn.00424b00
add esp, 4
mov byte [ebp - 0x59], 1
test al, al
jne 0x415456
mov byte [ebp - 0x59], 0
test bl, 2
je 0x415483
and ebx, 0xfffffffd
cmp dword [ebp - 0x2c], 8
jb 0x41546f
push dword [ebp - 0x40]
call fcn.00473460
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 0x4154a0
cmp dword [ebp - 0x44], 8
jb 0x4154a0
push dword [ebp - 0x58]
call fcn.00473460
add esp, 4
cmp byte [ebp - 0x59], 0
je 0x415534
cmp dword [edi + 0x14], 8
jb 0x4154b4
mov edx, dword [edi]
jmp 0x4154b6
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 0x4154d3
xor ecx, ecx
jmp 0x4154ef
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4154e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4154e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407100
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.0040f290
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x415520
push dword [ebp - 0x28]
call fcn.00473460
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 0x41553e
mov eax, dword [edi]
jmp 0x415540
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415572
cmp dword [edi + 0x14], 8
jb 0x415553
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 0xda
push str.SimulatorFileCleaner::_removeSetupDir
call fcn.004204c0
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.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x415720
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e20
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50c4d8]
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.0040f220
push 0xd
push str.fyservice.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00410c40
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.00407100
push 0xbb8
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00428c80
add esp, 0x10
cmp dword [ebp - 0x14], 8
jb 0x4157b8
push dword [ebp - 0x28]
call fcn.00473460
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 0x4157e7
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 0x4157f8
push dword [ebp - 0x40]
call fcn.00473460
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.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x415930
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x50c4d8]
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.0049a790
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 0x4159b8
xor ecx, ecx
jmp 0x4159d0
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4159c1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.00407100
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00415af0
cmp eax, 0xffffffff
je 0x415a77
push eax
push 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x238]
call fcn.004106b0
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x415a60
cmp dword [ebp - 0x224], 8
jb 0x415a37
push dword [ebp - 0x238]
call fcn.00473460
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.00407020
cmp dword [ebp - 0x23c], 8
jb 0x415a77
push dword [ebp - 0x250]
call fcn.00473460
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 0x415aa9
push dword [ebp - 0x238]
call fcn.00473460
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.00491c63
mov esp, ebp
pop ebp
ret

Function at 0x416ed0
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.SoftwareXuanZhiLDPlayer9
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 0x416f14
push str.LDPlayer9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.SoftwareXuanZhiLDPlayer9
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer9
push SysReAllocString
call esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallLDPlayer9
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419e30
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c9598
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x50c4d8]
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.0040d530
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00419d50
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x419ead
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00496eeb
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x419ed6
push dword [esp + 0x10]
call fcn.00473460
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.00491c63
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41aa60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c974b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x50c4d8]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x5151b8]
lea ecx, [edi + 0x2c]
push 0
push dword [eax + 0x6c]
call fcn.00450580
push 0x100
lea eax, [esp + 0x150]
push 0
push eax
call fcn.0049a790
add esp, 0xc
lea eax, [esp + 0x14c]
push 0x80
push str.uninstall_window
push 0x80
push eax
push 0
call fcn.0049271b
add esp, 0x14
lea eax, [esp + 0x14c]
push eax
call fcn.0044a720
mov edx, eax
add esp, 4
test edx, edx
jne 0x41ab21
lea eax, [esp + 0x14c]
push eax
push eax
call fcn.00449910
lea eax, [esp + 0x154]
push eax
call fcn.0044a720
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [edx], ax
je 0x41ab57
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ab46
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00407100
mov dword [esp + 0x260], 0
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov ecx, edi
cmovae eax, dword [esp + 0x14]
push eax
call fcn.0047ffe0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.titleLabel
lea ecx, [edi + 0x2c]
call fcn.00449c40
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
push str.remoteOption
lea ecx, [edi + 0x2c]
call fcn.00449c40
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe0]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x41abf0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push dword [esp + 0x30]
push str.windows_os_dwMajorVersion___d
push 0x686
push str.isWin7OS
call fcn.004204c0
add esp, 0x10
cmp dword [esp + 0x30], 6
jb 0x41ac2b
push 1
lea ecx, [edi + 0x2c]
call fcn.0044f110
push str.root_shadow.png
lea ecx, [edi + 0x2c]
call fcn.0044f270
jmp 0x41ac70
sub esp, 8
mov ecx, esp
push 0x1a4
push 0x28a
call fcn.00445ce0
mov ecx, edi
call fcn.0047ffe0
mov ecx, eax
call fcn.0041db00
add esp, 8
lea ecx, [edi + 0x2c]
push str.rootContainer
call fcn.00449c40
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, eax
call dword [edx + 0x68]
cmp dword [esp + 0x28], 8
jb 0x41ac83
push dword [esp + 0x14]
call fcn.00473460
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x41c160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c99c3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x50c4d8]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x50c4d8]
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.00407100
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.00407ae0
mov byte [esp + 0x90], 0
mov bl, al
cmp dword [esp + 0x20], 8
jb 0x41c244
push dword [esp + 0xc]
call fcn.00473460
add esp, 4
test bl, bl
je 0x41c251
lea ecx, [esp + 0x24]
call fcn.00407c60
lea ecx, [esp + 0x24]
call fcn.0040aff0
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.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x41fdb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca120
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x50c4d8]
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 0x4e9c80
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407100
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.00407100
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00408b20
cmp edi, eax
je 0x41fe4f
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00407870
cmp dword [ebp - 0x14], 8
jb 0x41fe60
push dword [ebp - 0x28]
call fcn.00473460
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 0x41fe85
push dword [ebp - 0x40]
call fcn.00473460
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x41fe8d
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.00491c63
mov esp, ebp
pop ebp
ret 8

Function at 0x4237f0
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 0x42382d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x423a00
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 0x42383f
mov dword [ebp - 8], 1
jmp 0x423846
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x424640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca41b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x50c4d8]
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 0x4246e2
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00422620
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.00407290
push eax
push 0x4ea378
push 0x3e
push 0x4ea3b8
call fcn.004204c0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00407ab0
or eax, 0xffffffff
jmp 0x424764
mov ecx, dword [ebp + 8]
call fcn.004070f0
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.004080a0
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 0x424743
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00411800
jmp 0x42475e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4ea3d4
push 0x51
push str.utility::RegKey::RegRead
call fcn.004204c0
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.00491c63
mov esp, ebp
pop ebp
ret 8

Function at 0x4247e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], ecx
mov eax, dword [ebp - 0x80c]
cmp dword [eax], 0
jne 0x42482c
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
push 0x4ea6dc
push 0xcb
push 0x4ea71c
call fcn.004204c0
add esp, 0x10
or eax, 0xffffffff
jmp 0x4248b1
mov ecx, dword [ebp + 8]
call fcn.004070f0
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.00407290
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 0x42488d
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004055c0
jmp 0x4248ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_reg_lastError___d
push 0xde
push str.utility::RegKeyEx::RegRead
call fcn.004204c0
add esp, 0x10
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret 8
Function at 0x428770
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x50c4d8]
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.0049a790
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 0x4287d5
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x4287e2
mov al, 1
jmp 0x4287e4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret

Function at 0x428800
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4e9fbe
lea ecx, [ebp - 0x28]
call fcn.0040d780
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x428932
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x428885
mov eax, dword [ebp - 0x34]
push eax
call fcn.004443b9
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x428868
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x428920
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x4eb974
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x428920
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.004984a3
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00411800
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00473460
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00423320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040d7e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret