joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bd430
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583c08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5df3f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4bd46a
mov byte [esi + 0xc], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ebx, [esi + 8]
push ebx
push 0x58ba80
push 1
push 0
push 0x58bb50
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x4bd515
cmp dword [ebx], 0
je 0x4bd4ef
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.004bd180
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x4bd4c3
mov edi, dword [eax]
jmp 0x4bd4c5
xor edi, edi
mov ecx, dword [ebx]
lea eax, [esi + 4]
push eax
push 0
push 0
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push edi
push ecx
call dword [edx + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.004bd8d0
test edi, edi
js 0x4bd515
mov eax, dword [esi + 4]
test eax, eax
je 0x4bd511
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x4bd54b
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4bd522
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4bd52e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [esi + 0xc], 0
je 0x4bd53a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 4], 0
mov dword [ebx], 0
mov byte [esi + 0xc], 0
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 0x4bdd51
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x583a68
call fcn.0050bbf1
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x30]
push eax
lea esi, [edi + 0x18]
push esi
call fcn.004be6d3
add esp, 0xc
test al, al
jne 0x4bdd91
push 0xa
pop esi
jmp 0x4bdedb
lea eax, [ebp - 0x28]
push eax
call fcn.004be639
pop ecx
test al, al
jne 0x4bddc6
lea eax, [ebp - 0x28]
push eax
call fcn.004be7cd
pop ecx
test al, al
je 0x4bddb5
xor esi, esi
inc esi
jmp 0x4bdedb
push esi
call fcn.004bdbb9
mov esi, eax
pop ecx
test esi, esi
jne 0x4bdedb
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
push dword [ebp + 8]
cmovae eax, dword [ebp - 0x28]
lea esi, [edi + 4]
push esi
push eax
call fcn.004c5110
add esp, 0x10
test eax, eax
je 0x4bddf6
push eax
mov dword [esi], ebx
call fcn.004bdc33
pop ecx
mov esi, eax
jmp 0x4bdedb
push 0x7d0
push dword [esi]
call fcn.004c3d6e
cmp byte [edi + 0x4c], 0
mov esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x4bdedb
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
sub eax, ebx
je 0x4bde43
sub eax, 1
je 0x4bde3e
sub eax, 1
jne 0x4bde43
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 1
push 3
jmp 0x4bde45
xor ebx, ebx
inc ebx
jmp 0x4bde46
push 2
pop ebx
push str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_version
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.004be2f2
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bde8e
push dword [ebp - 0x34]
call fcn.0051e090
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
mov dword [esp], str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_compatibility_version
push eax
push edi
call fcn.004be2f2
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bde8e
push dword [ebp - 0x34]
call fcn.0051e090
pop ecx
jmp 0x4bde91
mov eax, dword [ebp - 0x30]
cmp ebx, eax
jge 0x4bde9a
push 0xd
pop esi
jmp 0x4bded2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jg 0x4bdece
push eax
mov ecx, edi
call fcn.004bdef0
mov esi, eax
test esi, esi
jne 0x4bdec3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jle 0x4bdea8
jmp 0x4bded9
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp eax, dword [ebp - 0x2c]
cmove esi, ecx
test esi, esi
je 0x4bded9
mov ecx, edi
call fcn.004bdd23
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044aab0
mov eax, esi
call fcn.0050bbac
ret 4

Function at 0x4be40e
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x583cd8
call fcn.0050bbf1
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push 4
pop edi
push esi
push eax
call fcn.0050a9da
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.004be7cd
add esp, 0xc
test al, al
jne 0x4be456
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0044d370
mov eax, edi
call fcn.0050bbac
ret
Function at 0x4be469
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x583d08
call fcn.0050bbf1
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x4be50e
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4be4fe
cmp word [ebp - 0x218], 0
jne 0x4be4dc
xor eax, eax
jmp 0x4be4e9
lea eax, [ebp - 0x218]
push eax
call fcn.005299f5
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044d430
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x4be54e
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4be54e
cmp word [ebp - 0x218], di
jne 0x4be52c
mov eax, edi
jmp 0x4be539
lea eax, [ebp - 0x218]
push eax
call fcn.005299f5
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0044d430
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x4be5c4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x4be584
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.004beb94
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0050aa92
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00451350
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.0044aab0
mov edi, 0x590fa4
push edi
call fcn.00529930
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0044ab10
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0044d370
mov al, bl
call fcn.0050bbac
ret

Function at 0x4be5db
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0050a9da
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4be61a
test al, 0x10
jbe 0x4be61a
mov bl, 1
jmp 0x4be61c
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0044d370
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0050ad85
mov esp, ebp
pop ebp
ret
Function at 0x4be7cd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5df3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0050a9da
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0044d370
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0050ad85
mov esp, ebp
pop ebp
ret

Function at 0x4bed20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
pop ebp
ret
Function at 0x4e6588
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e659d
xor eax, eax
jmp 0x4e667c
push ebx
mov ebx, dword [ebp + 8]
push edi
push 8
push ebx
call fcn.004e2e73
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
pop ecx
test edi, edi
je 0x4e65e8
test byte [ebp + 0x10], 1
mov eax, dword [esi]
mov dword [edi], eax
jne 0x4e65cc
xor eax, eax
inc eax
cmp dword [esi], eax
jle 0x4e65cc
add eax, eax
cmp eax, dword [esi]
jl 0x4e65c6
imul eax, eax, 0x18
push eax
push ebx
call fcn.004e2e73
mov dword [edi + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x4e65ef
push edi
push ebx
call fcn.004e2e16
pop ecx
pop ecx
xor eax, eax
jmp 0x4e667a
and dword [ebp - 8], 0
cmp dword [esi], 0
mov ecx, dword [esi + 4]
mov dword [ebp + 0xc], ecx
jle 0x4e6678
lea edx, [eax + 0x10]
sub eax, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov dword [ebp - 0xc], eax
push 0
push dword [ebp + 0x10]
push dword [ecx]
push ebx
call fcn.004d07ee
mov ecx, dword [ebp + 0xc]
mov dword [edi + ecx], eax
push dword [ecx + 4]
push ebx
call fcn.004e305d
mov ecx, dword [ebp - 4]
mov dword [ecx - 0xc], eax
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.004e305d
mov edx, dword [ebp - 4]
add esp, 0x20
mov ecx, dword [ebp + 0xc]
mov dword [edx - 8], eax
mov al, byte [ecx + 0xc]
and dword [edx], 0xfffffffe
mov byte [edx - 4], al
mov eax, dword [ecx + 0x10]
xor eax, dword [edx]
and eax, 2
xor dword [edx], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [edx + 4], eax
add edx, 0x18
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, dword [esi]
jl 0x4e660b
mov edi, dword [ebp - 0x10]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x500e7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
test esi, esi
jle 0x500ea7
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
mov ecx, edi
shl ecx, 3
movzx edx, byte [eax + 0x592060]
xor edx, ecx
xor edi, edx
inc ebx
dec esi
test esi, esi
jg 0x500e8d
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x530811
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00530690

Function at 0x535a24
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00535392

Function at 0x535a2f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005355cd

Function at 0x53eff8
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5857f8
call fcn.0050bbf1
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x53f0f8
cmp byte [ebx + 0x3d], 0
je 0x53f0f8
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x53f032
xor al, al
jmp 0x53f0fa
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004590c0
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
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 0x53f090
sub eax, 1
je 0x53f094
dec eax
sub eax, 1
je 0x53f0e6
xor bl, bl
jmp 0x53f0e8
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 0x53f0cc
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00528ceb
add esp, 0x10
cmp esi, eax
jne 0x53f08c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x53f0e6
test esi, esi
jne 0x53f056
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00454960
jmp 0x53f050
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0044aab0
mov al, bl
jmp 0x53f0fa
mov al, 1
call fcn.0050bbac
ret
Function at 0x54145f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
push edi
call fcn.00541404
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x5414e4
push 1
push esi
call fcn.00541404
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x5414e7
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x5414b9
mov edx, edi
mov dword [ebp - 4], ecx
sub edx, esi
mov edi, esi
mov eax, dword [edx + edi]
xor eax, dword [edi]
lea edi, [edi + 4]
or ebx, eax
sub ecx, 1
jne 0x5414a1
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x5414c9
xor eax, eax
test ebx, ebx
sete al
jmp 0x5414ff
add edi, eax
add esi, eax
mov ecx, ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or bl, cl
jmp 0x5414e7
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x5414fa
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x5414ed
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x541506
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push ebx
call fcn.00541404
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x541589
push 1
push edi
call fcn.00541404
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x54158c
push 1
push esi
call fcn.00541404
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
test al, al
je 0x54158f
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x54157a
mov ecx, edi
mov dword [ebp - 8], edx
mov eax, ebx
sub ecx, esi
sub eax, esi
mov ebx, esi
mov edi, eax
mov eax, dword [ecx + ebx]
xor eax, dword [ebx]
mov dword [edi + ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x54155e
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
shl eax, 2
sub ecx, eax
je 0x5415a5
add ebx, eax
add edi, eax
add esi, eax
jmp 0x54158f
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x5415a5
sub edi, esi
sub ebx, esi
mov al, byte [esi + edi]
xor al, byte [esi]
mov byte [esi + ebx], al
inc esi
sub ecx, 1
jne 0x541597
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5415ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push esi
call fcn.00541404
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x541610
push 1
push edi
call fcn.00541404
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
test al, al
je 0x541613
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x541603
mov eax, edi
mov dword [ebp - 8], edx
push ebx
sub eax, esi
mov ebx, esi
mov esi, eax
mov eax, dword [esi + ebx]
xor dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x5415ef
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
pop ebx
shl eax, 2
sub ecx, eax
je 0x541624
add esi, eax
add edi, eax
jmp 0x541613
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x541624
sub edi, esi
mov al, byte [esi + edi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x541619
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x541ca1
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x541ccb
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x20
push 0x5a6010
push dword [ebp + 8]
call fcn.00510100
add esp, 0xc
pop ebp
ret
Function at 0x5473d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x547424
push 0xc
call fcn.0050ada4
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x547412
mov eax, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
pop esi
pop ebp
jmp 0x547480
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], eax
pop esi
pop ebp
jmp 0x547480
pop esi
pop ebp
ret
push esi
push 0xc
mov esi, ecx
call fcn.0050ada4
add esp, 4
mov dword [eax], esi
mov edx, dword [esi + 4]
push 0
push 4
push eax
push 0x547430
push 0
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
push 0
mov dword [eax + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
jmp dword [sym.imp.KERNEL32.dll_SwitchToThread]

Function at 0x548e29
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
push 1
push edi
mov dword [ebp - 4], eax
mov ebx, dword [eax + 4]
call fcn.00541404
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
jne 0x548e6e
test esi, esi
je 0x548e6e
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
push 1
xor ebx, dword [ecx*4 + 0x5a6ad0]
inc edi
push edi
dec esi
call fcn.00541404
jmp 0x548e46
cmp esi, 4
jb 0x548eb9
mov ecx, esi
shr ecx, 2
xor ebx, dword [edi]
sub esi, 4
movzx eax, bl
add edi, 4
shr ebx, 8
xor ebx, dword [eax*4 + 0x5a6ad0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x5a6ad0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x5a6ad0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x5a6ad0]
sub ecx, 1
jne 0x548e78
test esi, esi
je 0x548ed5
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x5a6ad0]
inc edi
sub esi, 1
jne 0x548ebd
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x54bdf3
Capabilities:
Inspect section memory permissions

Disassembly:
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x54be19
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp fcn.0054be21
cmp edx, ebx
jne 0x54bf6f

Function at 0x54be21
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x54be34
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x54be2f
mov ecx, dword [ebp + 8]
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x54bdf0
add eax, dword [eax + 4]
jmp 0x54bddd
mov dword [ebp + 0xc], ebx
jmp 0x54be3f
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x54be57
invalid
xchg ebp, eax
dec esp
Function at 0x54c019
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x17af0001], ebp
insb byte es:[edi], dx
idiv edi
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0054b745
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
invalid
test dword [eax - 4], ecx
invalid

Function at 0x54d77d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebx - 0x3a343]
inc dword [eax]
je 0x54d763
lea eax, [ebp - 0x714]
push eax
call fcn.0054b790
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0054b745
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x54d763
jmp 0x54d122
cmp dword [ebp - 0x37c], 0
je 0x54d771
jmp 0x54d826
push 0
push 0
push 2
push 0
push 2
push 0x40000000
add byte [eax], al
inc eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x54d7ca
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x54d7cf
jmp 0x54d122
invalid
movsd dword es:[edi], dword [esi]
Function at 0x560c11
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], edx
push edi
movzx edi, byte [edx + 0x5a8bf0]
mov eax, edi
mov dword [ebp - 8], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [ebp - 0x10], eax
and ebx, 2
shr edi, 7
and edx, 4
mov dword [ebp - 0xc], edx
mov edx, esi
lea eax, [ecx + ecx]
and esi, 1
xor eax, dword [ebp - 8]
and edx, 2
shl eax, 0x19
mov dword [ebp - 4], eax
imul eax, edi, 0x1b000000
shl ecx, 2
xor ecx, dword [ebp - 8]
shl ecx, 8
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x1b000000
xor dword [ebp - 4], eax
imul eax, ebx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, esi, 0x1b000000
xor dword [ebp - 4], eax
imul eax, edx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0xc], 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [ebp - 4]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b00
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b0000
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 3
xor ecx, dword [ebp - 8]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 2
xor ecx, dword [ebp - 8]
add ecx, ecx
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
mov ebx, dword [ebp - 8]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b
xor ecx, eax
xor eax, eax
xor ecx, ebx
or ebx, edx
or ecx, edx
mov edx, dword [ebp - 0x14]
or eax, ebx
mov dword [edx*8 + 0x5ef2c0], eax
mov dword [edx*8 + 0x5ef2c4], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x100
jl 0x560c1f
pop edi
pop esi
mov byte [0x5efac1], 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5658b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push esi
push 0x564040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
test eax, eax
jne 0x5658f2
call fcn.005629a0
push str.FileDownloadManager::runThisThread:_failed_to_create_a_new_thread._Fatal_Error
push 0x5b4948
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
add esp, 0xc
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x566360
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x5663b4
cmp eax, 0xb7
je 0x5663b4
cmp eax, 0x50
je 0x5663b4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.005629a0
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.failed_to_create_dir._Error____d
push 0x5b4948
push esi
call dword [edi + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
ret
mov al, 1
pop ebp
ret