joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52f260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0008
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.00435810
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x52f2d4
push 0x80004005
call fcn.004356b0
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 0x52f3cf
mov edx, dword [ebp - 0x18]
test edx, edx
jns 0x52f31c
push 0x80070057
call fcn.004356b0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x52f339
push edx
lea ecx, [ebp - 0x14]
call fcn.00436840
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 0x52f39d
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jns 0x52f365
push 0x80070057
call fcn.004356b0
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x52f382
push ecx
lea ecx, [ebp - 0x14]
call fcn.00436840
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 0x52f3c6
cmp dword [ebp - 0x18], 0
jbe 0x52f3c6
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 0x52f3c6
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 0x52f3ee
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.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x530fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0207
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.0042ba10
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [esi + 0x14], 0
call fcn.0042ba10
mov dword [esi + 0x18], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [esi + 0x20], 0
call fcn.0042ba10
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [esi + 0x2c], 0
call fcn.0042ba10
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 5
lea edi, [esi + 0x34]
cmp dword [0x65640c], 0
mov dword [ebp - 0x10], edi
jne 0x531094
call fcn.005531c0
mov dword [0x65640c], 0x548910
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.004f17d0
mov ecx, 8
call fcn.004ef050
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 0x5310f1
call fcn.005531c0
mov dword [0x65640c], 0x548910
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.004f17d0
mov ecx, 8
call fcn.004ef050
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 0x531580
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 0x53159f
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 0x5315d5
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
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.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x5336d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d05d8
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 0x5337fe
cmp byte [ebx + 0x3d], 0
je 0x5337fe
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x533729
xor al, al
jmp 0x533800
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 0x53378f
sub eax, 1
je 0x533793
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x5337e6
xor bl, bl
jmp 0x5337e8
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 0x5337c8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005a980b
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x53378b
cmp byte [ebx + 0x3d], 0
je 0x5337e6
test esi, esi
jne 0x533751
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00409e50
jmp 0x53374e
mov bl, 1
cmp ecx, 0x10
jb 0x5337fa
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408df0
mov al, bl
jmp 0x533800
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.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x533de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce5a8
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 0x533e7d
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 0x533f3a
inc ecx
push ecx
jmp 0x533f2f
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 0x621a88
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x533efe
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x533efe
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00576a65
mov edi, eax
add esp, 4
test edi, edi
je 0x533efe
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push 0x621a88
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x533ef5
push edi
lea ecx, [ebp - 0x2c]
call fcn.004089c0
push edi
call fcn.00576861
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 0x533f3a
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.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x535930
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 0x5359bb
nop word [eax + eax]
mov eax, dword [ebp - 8]
cmp eax, esi
ja 0x5359bb
jae 0x535a55
call ecx
add ebx, dword [ebp - 8]
mov edx, eax
sub esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, 0xbb8
jg 0x535a03
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 0x535970
call ecx
mov ecx, dword [0x656c44]
mov edx, eax
test ecx, ecx
je 0x535a68
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 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.005765b2
mov esp, ebp
pop ebp
ret
mov eax, dword [0x656c44]
test eax, eax
je 0x535a42
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 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.005765b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535a8e
push edi
push edx
push str.Number_of_retries_to_write_to_pipe_exhausted_with_last_error___lu._Aborting_write_on_pipe__p
jmp 0x535a79
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005765b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535a8e
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.005765b2
mov esp, ebp
pop ebp
ret
Function at 0x5371d0
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 0x537273
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x537273
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x537209
shr eax, 4
pop esi
and eax, 1
pop ebx
pop ebp
ret 4
push edi
push esi
call fcn.005aae36
mov edi, eax
push 0x5c
push edi
call fcn.0059050a
add esp, 0xc
push edi
test eax, eax
je 0x537262
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
call fcn.005371d0
push edi
test al, al
jne 0x537244
call fcn.00599281
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.00599281
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x53726a
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
call fcn.00599281
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 0x537280
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 0x5372ca
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005765b2
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 0x53733d
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 0x53733d
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 0x53733d
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.005765b2
mov esp, ebp
pop ebp
ret 8
Function at 0x537590
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 0x5375ac
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push 8
call fcn.005765c3
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 0x537620
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 0x5375fe
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00576ea2
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 0x53760e
mov dword [ecx], eax
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x537d50
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x537d60
mov eax, dword [esi]
jmp 0x537d62
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 0x537da7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x537d8a
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 0x53b8e0
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.0x53b96f.66
cmp eax, 0x204
je case.0x53b96f.66
cmp eax, 0x205
je case.0x53b96f.66
cmp eax, 0x20a
jne 0x53b920
cmp word [esi + 8], 8
je case.0x53b96f.66
cmp eax, 0x100
jb 0x53b92e
cmp eax, 0x109
jbe 0x53b93c
cmp eax, 0x200
jb 0x53b9ab
cmp eax, 0x20e
ja 0x53b9ab
cmp eax, 0x100
jne 0x53b97c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x53b96f.65
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne case.0x53b96f.65
mov eax, dword [esi + 8]
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x53b96f.66
movzx eax, byte [eax + 0x53b9c4]
jmp dword [eax*4 + 0x53b9bc]
cmp dword [esi + 8], 0x74
je case.0x53b96f.66
push dword [ebx + 0x21c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x53b9ab
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 0x53ba00
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, fcn.00440db0
test eax, eax
je 0x53ba35
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.00440db0
add esp, 0x20
test dword [ebp + 0x20], 0x40030
jne 0x53ba64
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 0x53f920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0fba
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.na0e_acc.services.adobe.com
lea ecx, [ebx + 4]
call fcn.0040c4b0
push 0x62375c
lea ecx, [ebx + 0x1c]
call fcn.004089c0
push 0
push 0
mov ecx, ebx
call fcn.0053e7b0
push 0x5c
call fcn.005765c3
mov esi, eax
mov dword [ebp + 8], esi
push 0x5c
push 0
push esi
mov dword [ebp - 4], 0
call fcn.005903b0
add esp, 0x10
lea ecx, [esi + 8]
call fcn.00544720
mov byte [ebp - 4], 1
mov dword [esi + 4], 0
mov dword [esi], 4
call fcn.00537360
mov dword [esi + 0x58], eax
lea eax, [esi + 0x54]
push eax
push 0
push esi
push 0x544580
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 0x541410
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 0x54148a
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 0x541440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x543220
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x54322b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00543240
Function at 0x5443a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf830
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 edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5443dc
mov eax, dword [ecx]
push str.Waiting_for_the_async_thread_to_get_the_task_completed
push ecx
call dword [eax + 0x14]
add esp, 8
mov ecx, dword [edi + 0x58]
mov dword [edi], 3
call fcn.00537400
push 0xffffffffffffffff
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x54441d
mov edx, dword [edi + 4]
test edx, edx
je 0x544412
mov ecx, dword [edx]
push eax
push dword [edi + 0x4c]
push str.Forcing_the_thread___d__to_terminate_forcibly._Thread_seem_to_get_hanged_or_timeout_occurs._Error____d
push edx
call dword [ecx + 0x14]
add esp, 0x10
push 0
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 4]
mov dword [edi + 0x4c], 0
test ecx, ecx
je 0x544442
mov eax, dword [ecx]
push str.Cleaning_up_the_event_queue
push ecx
call dword [eax + 0xc]
add esp, 8
mov ecx, dword [edi + 0x58]
call fcn.00537500
lea ebx, [edi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x18], 0
je 0x544478
nop word [eax + eax]
add dword [edi + 0x18], 0xffffffff
jne 0x54446f
mov dword [edi + 0x14], 0
jmp 0x544472
inc dword [edi + 0x14]
cmp dword [edi + 0x18], 0
jne 0x544460
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [edi + 8]
mov dword [edi + 0x50], 0
call fcn.005447e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x544cc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov edx, ecx
mov dword [esp + 0x14], 7
xor eax, eax
mov dword [esp + 0x10], 0
push ebx
push esi
mov word [esp + 8], ax
cmp word [edx], ax
je 0x544cff
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x544cf0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00408a10
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
cmp eax, 8
jb 0x544d3c
inc eax
lea ecx, [esp + 8]
push eax
push dword [esp + 0xc]
call fcn.00409510
test bl, bl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret