joyce8/EMBER2024-capa huggingface dataset:
Function at 0x528440
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf408
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64a070]
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 0x528555
cmp dword [esi + 0x14], 8
jb 0x528487
mov eax, dword [esi]
jmp 0x528489
mov eax, esi
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
je 0x528555
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.00408f10
mov dword [ebp - 4], 0
test bl, bl
je 0x52851d
push 0
push 0x5f1838
lea ecx, [ebp - 0x28]
call fcn.00428450
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x5284e2
push 0x5f1838
jmp 0x5284ef
mov eax, dword [ebp - 0x18]
dec eax
cmp ecx, eax
je 0x5284f7
push 0x5f83b0
lea ecx, [ebp - 0x28]
call fcn.0040c4b0
push str.mvproductmv2accc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ee80
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.0040d2b0
lea ecx, [ebp - 0x40]
call fcn.004087d0
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 0x528551
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
mov al, 1
jmp 0x528557
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.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x529620
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x529671
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x529682
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
test eax, eax
je 0x52966b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x52bf40
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf758
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x64a070]
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 0x5fd130
push edx
push eax
call fcn.0041ee80
push esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.00410a90
mov eax, dword [ebp - 0x2c]
add esp, 0x18
cmp eax, 8
jb 0x52bfa8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
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 0x52bfd7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
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.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x52ea80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf968
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x64a070]
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 edi, ecx
lea ebx, [edi + 4]
mov dword [edi], 0
mov dword [ebx], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x1c], 0
call fcn.00435530
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x52eaf4
push 0x80004005
call fcn.004353d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52ebef
mov edx, dword [ebp - 0x18]
test edx, edx
jns 0x52eb3c
push 0x80070057
call fcn.004353d0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x52eb59
push edx
lea ecx, [ebp - 0x14]
call fcn.00436560
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
push 0
push 0
push str.svcVersion
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x52ebbd
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jns 0x52eb85
push 0x80070057
call fcn.004353d0
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x52eba2
push ecx
lea ecx, [ebp - 0x14]
call fcn.00436560
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
push 0
push 0
push str.Version
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x52ebe6
cmp dword [ebp - 0x18], 0
jbe 0x52ebe6
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
push ebx
push edi
push str._d._d._d._d
push esi
call fcn.0040c800
add esp, 0x18
cmp eax, 4
je 0x52ebe6
mov dword [edi], 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x52ec0e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x530800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfb67
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x64a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ecx, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
call fcn.0042b780
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [esi + 0x14], 0
call fcn.0042b780
mov dword [esi + 0x18], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [esi + 0x20], 0
call fcn.0042b780
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [esi + 0x2c], 0
call fcn.0042b780
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 5
lea edi, [esi + 0x34]
cmp dword [0x65640c], 0
mov dword [ebp - 0x10], edi
jne 0x5308b4
call fcn.00552a00
mov dword [0x65640c], 0x548150
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.004f1560
mov ecx, 8
call fcn.004eede0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov byte [ebp - 4], 6
lea edi, [esi + 0x48]
cmp dword [0x65640c], 0
mov dword [ebp - 0x10], edi
jne 0x530911
call fcn.00552a00
mov dword [0x65640c], 0x548150
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.004f1560
mov ecx, 8
call fcn.004eede0
mov dword [edi + 0xc], eax
mov ecx, eax
mov dword [edi + 0x10], 0
mov eax, esi
mov dword [ecx + 4], 0
mov ecx, dword [edi + 0xc]
mov dword [ecx], 0
mov byte [esi + 0x5c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x530da0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
cmp dword [ecx + 0x14], 8
jb 0x530dbf
mov ecx, dword [ecx]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x530df5
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
mov ecx, 4
push esi
cmove edi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov eax, edi
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x532ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cff38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x64a070]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x53301e
cmp byte [ebx + 0x3d], 0
je 0x53301e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x532f49
xor al, al
jmp 0x533020
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00409d80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x532faf
sub eax, 1
je 0x532fb3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x533006
xor bl, bl
jmp 0x533008
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x532fe8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005a931c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x532fab
cmp byte [ebx + 0x3d], 0
je 0x533006
test esi, esi
jne 0x532f71
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00409e50
jmp 0x532f6e
mov bl, 1
cmp ecx, 0x10
jb 0x53301a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408df0
mov al, bl
jmp 0x533020
mov al, 1
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.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x533600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdfc8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x64a070]
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 0x53369d
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.0040c680
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x53375a
inc ecx
push ecx
jmp 0x53374f
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 0x6218b0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53371e
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x53371e
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0057653d
mov edi, eax
add esp, 4
test edi, edi
je 0x53371e
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push 0x6218b0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x533715
push edi
lea ecx, [ebp - 0x2c]
call fcn.004089c0
push edi
call fcn.00576339
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.0040c680
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x53375a
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00409510
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.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x535160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x64a070]
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 0x5351eb
nop word [eax + eax]
mov eax, dword [ebp - 8]
cmp eax, esi
ja 0x5351eb
jae 0x535285
call ecx
add ebx, dword [ebp - 8]
mov edx, eax
sub esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, 0xbb8
jg 0x535233
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 0x5351a0
call ecx
mov ecx, dword [0x656c44]
mov edx, eax
test ecx, ecx
je 0x535298
push edx
push edi
push str.Write_failed_or_else__No_of_bytes_written___data_._Aborting_write_on_pipe__p___errno:__lu
push 0x5f8398
push 0x5f8398
push str.CommBridge
push 0x61c4f4
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.0057608a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x656c44]
test eax, eax
je 0x535272
push edi
push edx
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
push 0x5f8398
push 0x5f8398
push str.CommBridge
push 0x61c4f4
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.0057608a
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5352be
push edi
push edx
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
jmp 0x5352a9
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5352be
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 0x5f8398
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.0057608a
mov esp, ebp
pop ebp
ret
Function at 0x536a00
Capabilities:
Check if file exists
Create directory
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 0x536aa3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x536aa3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x536a39
shr eax, 4
pop esi
and eax, 1
pop ebx
pop ebp
ret 4
push edi
push esi
call fcn.005aa916
mov edi, eax
push 0x5c
push edi
call fcn.0059003a
add esp, 0xc
push edi
test eax, eax
je 0x536a92
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
call fcn.00536a00
push edi
test al, al
jne 0x536a74
call fcn.0058f17b
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.0058f17b
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x536a9a
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
call fcn.0058f17b
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 0x536ab0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0x2c], 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 0x536afa
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x536b6d
lea eax, [esp + 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 0x536b6d
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x536b6d
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
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 [esp + 0x34]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 8
Function at 0x536dc0
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 0x536ddc
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push 8
call fcn.0057609b
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 0x536e50
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 0x536e2e
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0057697a
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 0x536e3e
mov dword [ecx], eax
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x537580
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x537590
mov eax, dword [esi]
jmp 0x537592
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 0x5375d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5375ba
mov byte [esi + 0x1c], 1
mov al, 1
pop esi
pop ebx
ret
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
pop esi
mov al, bl
pop ebx
ret
Function at 0x53b110
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.0x53b19f.66
cmp eax, 0x204
je case.0x53b19f.66
cmp eax, 0x205
je case.0x53b19f.66
cmp eax, 0x20a
jne 0x53b150
cmp word [esi + 8], 8
je case.0x53b19f.66
cmp eax, 0x100
jb 0x53b15e
cmp eax, 0x109
jbe 0x53b16c
cmp eax, 0x200
jb 0x53b1db
cmp eax, 0x20e
ja 0x53b1db
cmp eax, 0x100
jne 0x53b1ac
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x53b19f.65
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne case.0x53b19f.65
mov eax, dword [esi + 8]
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x53b19f.66
movzx eax, byte [eax + 0x53b1f4]
jmp dword [eax*4 + 0x53b1ec]
cmp dword [esi + 8], 0x74
je case.0x53b19f.66
push dword [ebx + 0x21c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53b1db
push esi
push 0
push 0x37f
push dword [ebx + 0x21c]
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 0x53b230
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, fcn.00440ae0
test eax, eax
je 0x53b265
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.EvaluateNewWindow_for_url:__s_name:__s
push 0x5f8398
push 0x5f8398
push str.BrowserHost
push 0x5f8398
push 0xa
call fcn.00440ae0
add esp, 0x20
test dword [ebp + 0x20], 0x40030
jne 0x53b294
mov eax, dword [ebp + 8]
push 1
push 0
push 0
push dword [ebp + 0xc]
push str.open
push dword [eax + 0x218]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop ebp
ret 0x20
mov eax, 0x80004005
pop ebp
ret 0x20
Function at 0x53f150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d091a
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x64a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebx + 4]
push 0
push 0x5f8398
mov dword [ebx + 0x64], edi
call fcn.00408a10
push str.na1e_acc.services.adobe.com
lea ecx, [ebx + 4]
call fcn.0040c4b0
push 0x623598
lea ecx, [ebx + 0x1c]
call fcn.004089c0
push 0
push 0
mov ecx, ebx
call fcn.0053dfe0
push 0x5c
call fcn.0057609b
mov esi, eax
mov dword [ebp + 8], esi
push 0x5c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0058fee0
add esp, 0x10
lea ecx, [esi + 8]
call fcn.00543f60
mov byte [ebp - 4], 1
mov dword [esi + 4], 0
mov dword [esi], 4
call fcn.00536b90
mov dword [esi + 0x58], eax
lea eax, [esi + 0x54]
push eax
push 0
push esi
push 0x543dc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esi + 0x50], ebx
mov dword [ebx + 0x68], esi
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x540c40
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 0x540cba
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 0x540c70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x542a60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x542a6b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00542a80