joyce8/EMBER2024-capa huggingface dataset:
Function at 0x510d80
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0800
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [edx + 0x51], 0
mov dword [edx + 0x58], 0x10
cmp byte [edx + 0x51], 0
jne 0x510dd0
mov byte [edx + 0x51], 1
lea ecx, [edx + 0x10]
jmp 0x510dd2
xor ecx, ecx
mov dword [edx + 0x5c], ecx
mov byte [edx + 0xa1], 0
mov dword [edx + 0xa8], 0x10
cmp byte [edx + 0xa1], 0
jne 0x510dfb
mov byte [edx + 0xa1], 1
lea ecx, [edx + 0x60]
jmp 0x510dfd
xor ecx, ecx
mov dword [edx + 0xac], ecx
mov eax, edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x511e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x60a070]
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, ecx
mov dword [ebp - 0x14], esi
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push 0x20019
push 0
push str.SoftwareAdobeALCID
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x511efd
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00413e10
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x511fba
inc ecx
push ecx
jmp 0x511faf
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], 0
push eax
push 0
push str.CCLangPref
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x511f7e
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x511f7e
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055f6c6
mov edi, eax
add esp, 4
test edi, edi
je 0x511f7e
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push str.CCLangPref
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x511f75
push edi
lea ecx, [ebp - 0x2c]
call fcn.00413710
push edi
call fcn.0055eec5
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00413e10
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x511fba
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00414580
mov eax, esi
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.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x512650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 4], ecx
test edi, edi
jne 0x51266c
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push 8
call fcn.0055f301
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp + 8], esi
push 0
push 0
push esi
push 0x512740
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
jne 0x5126be
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0055f798
add esp, 8
mov al, bl
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov bl, 1
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5126ce
mov dword [ecx], eax
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x517400
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a12a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0x5c0f50
push edx
push eax
call fcn.004146b0
push esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00445980
mov eax, dword [ebp - 0x2c]
add esp, 0x18
cmp eax, 8
jb 0x517468
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00414580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x517497
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414580
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.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x51a8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x51a8c9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x51a906
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x51a902
nop word [eax + eax]
cmp esi, edx
jae 0x51a906
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x51a8f0
cmp esi, edx
jb 0x51a90d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x51aee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a15b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
cmp dword [esi + 0x10], 0
sete al
test al, al
jne 0x51aff5
cmp dword [esi + 0x14], 8
jb 0x51af27
mov eax, dword [esi]
jmp 0x51af29
mov eax, esi
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
je 0x51aff5
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00414130
mov dword [ebp - 4], 0
test bl, bl
je 0x51afbd
push 0
push 0x5c450c
lea ecx, [ebp - 0x28]
call fcn.0043e160
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x51af82
push 0x5c450c
jmp 0x51af8f
mov eax, dword [ebp - 0x18]
dec eax
cmp ecx, eax
je 0x51af97
push 0x5c4510
lea ecx, [ebp - 0x28]
call fcn.00413760
push str.mvproductmv2accc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004146b0
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00413810
lea ecx, [ebp - 0x40]
call fcn.004137d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x51aff1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414580
mov al, 1
jmp 0x51aff7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x51b3f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x60a070]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0x20
mov bl, cl
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x51b447
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x51b459
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0
test bl, bl
mov dword [esp + 0x18], 1
push 0
cmovne eax, ecx
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 8]
test eax, eax
je 0x51b441
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x24]
mov al, 1
pop ebx
xor ecx, esp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x51df80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
mov edi, ecx
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 8]
mov eax, edx
push ecx
push esi
push eax
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x51e009
nop word [eax + eax]
mov eax, dword [ebp - 8]
cmp eax, esi
ja 0x51e009
jae 0x51e0a3
call ecx
add ebx, dword [ebp - 8]
mov edx, eax
sub esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, 0x32
jg 0x51e051
inc eax
push 0xa
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push esi
add eax, ebx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x51dfc0
call ecx
mov ecx, dword [0x615408]
mov edx, eax
test ecx, ecx
je 0x51e0b6
push edx
push edi
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x28
call ecx
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov eax, dword [0x615408]
test eax, eax
je 0x51e090
push edi
push edx
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
add esp, 0x20
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51e0dc
push edi
push edx
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
jmp 0x51e0c7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51e0dc
push edx
push edi
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
mov eax, dword [ecx]
push str.CommBridge
push 0x5c0ec0
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x51efe0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x51eff0
mov eax, dword [esi]
jmp 0x51eff2
mov eax, esi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [esi + 0x18], eax
test eax, eax
je 0x51f036
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x51f019
mov byte [esi + 0x1c], 1
mov bl, 1
jmp 0x51f036
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
test bl, bl
sete bl
test bl, bl
jne 0x51f066
cmp byte [esi + 0x1c], bl
je 0x51f066
mov eax, dword [esi + 0x18]
test eax, eax
je 0x51f05b
push eax
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
pop esi
mov al, bl
pop ebx
ret
Function at 0x520040
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
je 0x5200e3
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
test eax, eax
je 0x5200e3
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x520079
shr eax, 4
pop esi
and eax, 1
pop ebx
pop ebp
ret 4
push edi
push esi
call fcn.0057d2e6
mov edi, eax
push 0x5c
push edi
call fcn.005630bd
add esp, 0xc
push edi
test eax, eax
je 0x5200d2
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
call fcn.00520040
push edi
test al, al
jne 0x5200b4
call fcn.00571f41
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.00571f41
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x5200da
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
call fcn.00571f41
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x5200f0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
test esi, esi
jne 0x520135
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x52019f
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x52019f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x52019f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
cmp eax, 1
sete bl
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 8
Function at 0x5218f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [esi + 4]
cmp eax, 0x206
je case.0x52197f.66
cmp eax, 0x204
je case.0x52197f.66
cmp eax, 0x205
je case.0x52197f.66
cmp eax, 0x20a
jne 0x521930
cmp word [esi + 8], 8
je case.0x52197f.66
cmp eax, 0x100
jb 0x52193e
cmp eax, 0x109
jbe 0x52194c
cmp eax, 0x200
jb 0x5219bb
cmp eax, 0x20e
ja 0x5219bb
cmp eax, 0x100
jne 0x52198c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x52197f.65
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne case.0x52197f.65
mov eax, dword [esi + 8]
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x52197f.66
movzx eax, byte [eax + 0x5219d4]
jmp dword [eax*4 + 0x5219cc]
cmp dword [esi + 8], 0x74
je case.0x52197f.66
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5219bb
push esi
push 0
push 0x37f
push dword [ebx + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 4
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x521a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, fcn.00420d90
test eax, eax
je 0x521a45
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.EvaluateNewWindow_for_url:__s_name:__s
push 0x5c0ec0
push 0x5c0ec0
push str.BrowserHost
push str.Bootstrapper
push 0xa
call fcn.00420d90
add esp, 0x20
test dword [ebp + 0x20], 0x40030
jne 0x521a74
mov eax, dword [ebp + 8]
push 1
push 0
push 0
push dword [ebp + 0xc]
push str.open
push dword [eax + 0x138]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop ebp
ret 0x20
mov eax, 0x80004005
pop ebp
ret 0x20
Function at 0x526ad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1eff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.0055f301
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [esi], xmm0
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004296a0
push 0
push 0
push esi
push 0x526660
push 0
push 0
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x526b96
mov eax, dword [esi]
mov ecx, edi
push eax
push dword [eax]
call fcn.005272f0
mov eax, dword [esi]
mov ecx, esi
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00423d90
push dword [esi]
call fcn.0047e070
push 8
push esi
call fcn.0055f798
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x102
jne 0x526b61
mov eax, dword [0x615408]
test eax, eax
je 0x526bd9
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push 0x5c0ec0
push 0x5c0ec0
push str.HardwareUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x526bfd
mov eax, dword [ecx]
push str.In_CPUUtils::GetCPUDetails._Timed_out___
push str.HardwareUtils
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x527410
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, edx
cmp dword [esi + 0x14], 8
jb 0x527433
mov eax, dword [esi]
jmp 0x527435
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5274a4
cmp dword [esi + 0x14], 8
mov dword [ebp - 8], 0
jb 0x527451
mov eax, dword [esi]
jmp 0x527453
mov eax, esi
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x5274a4
push eax
mov ecx, edi
call fcn.00527b30
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
cmp dword [esi + 0x14], 8
jb 0x527479
mov esi, dword [esi]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
movzx ecx, bl
pop edi
mov edx, 1
cmovne ecx, edx
pop esi
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x529bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, ecx
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
push ebx
push esi
mov word [ebp - 0x18], ax
cmp word [edx], ax
je 0x529bff
mov eax, edx
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x529bf0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00413c10
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 4]
sete bl
cmp eax, 8
jb 0x529c35
inc eax
lea ecx, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
call fcn.00414580
test bl, bl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x529c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2430
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x616428]
cmp eax, dword [ecx + 4]
jle 0x529cc6
push 0x616428
call fcn.0055effe
add esp, 4
cmp dword [0x616428], 0xffffffff
jne 0x529cc6
xor eax, eax
mov dword [0x61645c], 7
push 0x5a5ad0
mov dword [0x616458], 0
mov word [0x616448], ax
call fcn.0055f5a7
push 0x616428
call fcn.0055efbf
add esp, 8
cmp dword [0x61645c], 8
mov eax, 0x616448
mov dword [0x616458], 0
cmovae eax, dword [0x616448]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x616458], ecx
sete al
test al, al
je 0x529dcf
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00500c60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x529d36
push ecx
lea ecx, [ebp - 0x28]
call fcn.00500fb0
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00500c60
test al, al
je 0x529d4f
push str.OOBE
lea ecx, [ebp - 0x28]
call fcn.00413760
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x529d71
push ecx
lea ecx, [ebp - 0x28]
call fcn.00500fb0
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x616448
push eax
call fcn.00414130
push str.temp_lbs_wid
lea ecx, [ebp - 0x40]
call fcn.00413890
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov ecx, 0x616448
call fcn.00500ee0
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x529dba
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00414580
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x529dcf
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00414580
mov eax, 0x616448
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret
Function at 0x52bce0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov dword [ebp - 4], edx
mov al, byte [ebx]
test al, al
je 0x52bd5a
push esi
push edi
mov edi, dword [edx + 4]
mov esi, 0x34567890
nop
mov ecx, dword [edx]
lea ebx, [ebx + 1]
movsx eax, al
xor eax, dword [edx]
mov edx, dword [ebp + 8]
movzx eax, al
shr ecx, 8
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov dword [edx], eax
movzx eax, al
add eax, edi
imul edi, eax, 0x8088405
inc edi
mov eax, edi
mov dword [edx + 4], edi
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [ecx + eax*4]
mov dword [edx + 8], esi
mov al, byte [ebx]
test al, al
jne 0x52bd10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52e760
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x52e76b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.0052e780