joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c9900
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.005baea0
add esp, 4
test al, al
jne 0x5c9ae5
push str._nocrashdialog
call fcn.005baea0
add esp, 4
test al, al
jne 0x5c9ae5
call fcn.005c8200
test al, al
jne 0x5c994b
call fcn.005bbf00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.005baea0
add esp, 4
test al, al
je 0x5c9965
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x68c320], 0
je 0x5c9ae5
mov esi, dword [0x6daf70]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x6daf70
test esi, esi
je 0x5c9a16
lea ebx, [ebx]
mov edi, dword [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.005e54f4
add esp, 8
test eax, eax
jne 0x5c9a03
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x5c99c1
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
cmp ebx, ecx
jl 0x5c99cd
cmp ebx, dword [esi + 0x204]
jle 0x5c99d1
test al, al
jne 0x5c9a03
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x5c9ae5
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x5c9ae5
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.005d1105
add esp, 8
jmp 0x5c9a0c
lea eax, [esi + 0x20c]
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jne 0x5c9990
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x6daf74], edi
mov dword [0x6daf78], ebx
mov dword [0x6daf7c], esi
mov byte [0x6daf6a], 0
mov dword [0x6daf80], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5c98c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x6daf80]
test eax, eax
jne 0x5c9ac3
push esi
push ebx
push edi
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00455ab0
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x5c9aab
pop edi
pop esi
mov byte [0x6daf6a], 1
mov al, byte [0x6daf6a]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x5c9ad9
mov al, byte [0x6daf6a]
pop edi
pop esi
mov byte [0x68c320], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x5c9520
push eax
push 0x65
push dword [0x6daf6c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x6daf6a]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ca040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.005c9c10
test al, al
je 0x5ca1d1
push ebx
push edi
call fcn.005c9bf0
mov edi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005d2a30
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x6daf88
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x5ca16a
lea esp, [esp]
push 0
push dword [0x6dafc0]
lea eax, [ebp - 0x118]
push dword [0x6dafbc]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x6dafa4]
test eax, eax
je 0x5ca16a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x5ca16a
cmp edi, dword [ebp + 0x10]
jle 0x5ca165
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x5ca165
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, ebx
jl 0x5ca100
push 0x6daf88
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x5ca1cf
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x5ca1a0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5ca210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd3cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.005c0c10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x5ca296
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x5ca401
lea eax, [edi + 4]
mov dword [ebp - 0x24], 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.005d10d5
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 4]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
fld dword [edi]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x5ca2fc
fadd dword [0x601da0]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test ebx, ebx
jns 0x5ca312
fadd dword [0x601da0]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x5ca392
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.005d5f80
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ecx, 8
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
cmova ecx, eax
fldcw word [ebp + 0xe]
cmp ebx, ecx
jae 0x5ca374
cmp ebx, 0x200
jae 0x5ca372
shl ebx, 3
cmp ebx, ecx
jae 0x5ca374
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.005ca7f0
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005c0c10
mov edx, dword [eax]
jmp 0x5ca399
mov edx, dword [ebp - 0x18]
fstp st(0)
fstp st(0)
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x5ca3cb
mov dword [ecx + eax*8], esi
jmp 0x5ca3da
cmp edi, edx
jne 0x5ca3d4
mov dword [ecx + eax*8], esi
jmp 0x5ca3de
cmp dword [ecx + eax*8 + 4], ebx
jne 0x5ca3de
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.005d0a76
int3
Function at 0x5ca600
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fd473
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x70cf64]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x6daff0]
cmp eax, dword [edx + 0x480]
jg 0x5ca77d
mov dword [ebp - 0x10], 0x6dafd0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x6dafd0
cmp edx, dword [0x6dafd0]
je 0x5ca678
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x5ca678
pause
push edx
mov ecx, esi
call fcn.005c7930
jmp 0x5ca67f
lock inc dword [0x6dafd4]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x5ca697
mov eax, dword [edi + 0x24]
jmp 0x5ca74f
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005c0c10
mov eax, dword [eax + 4]
test eax, eax
je 0x5ca701
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x5ca707
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x5ca74f
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x5ca710
sub esi, ecx
inc esi
push esi
call fcn.005e293a
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.005d2b90
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005ca210
mov eax, dword [esi]
mov esi, 0x6dafd0
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x6dafd4]
cmp dword [0x6dafd4], 0
pop ebx
jne 0x5ca76b
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6daff0
call fcn.005d1548
add esp, 4
cmp dword [0x6daff0], 0xffffffff
jne 0x5ca63f
mov dword [ebp - 4], 0
mov ecx, 0x6dafd8
mov dword [0x6dafd0], 0
mov dword [0x6dafd4], 0
call fcn.005c74f0
mov byte [ebp - 4], 0
push 0x5fde70
call fcn.005d13b9
mov dword [ebp - 4], 0xffffffff
push 0x6daff0
call fcn.005d14f7
add esp, 8
jmp 0x5ca63f
Function at 0x5ca7f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd48d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x5ca981
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.005c6360
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x5ca93c
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x14], edx
cmp edi, esi
jne 0x5ca8c2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x5ca932
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x5ca8fc
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x5ca8f4
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
jmp 0x5ca92f
cmp edi, edx
je 0x5ca90c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x5ca95d
cmp edi, edx
jne 0x5ca900
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x5ca871
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x5ca92f
push str.invalid_hash_bucket_count
call fcn.005d0a76
int3
Function at 0x5ca990
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd21d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x5cab3d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.005d1105
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x5caa7e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x5caa40
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x5cab2d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x5cab2d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x5caa90
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x5caa93
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x5cab2d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.005d1105
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x5cab11
cmp edi, esi
je 0x5cab28
mov eax, dword [ebp + 0xc]
jmp 0x5caae7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x5cab2d
mov edx, dword [ebp - 0x10]
jmp 0x5caaa0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5d0530
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
movzx edi, byte [ebp + 0x14]
shr ecx, 2
dec edi
mov dword [ebp - 4], ecx
or edi, 0xdfdfdfdf
lea ebx, [eax + ecx*4]
neg ecx
mov dword [ebp + 0x14], ebx
je 0x5d05ee
test bl, 3
jne 0x5d0599
jmp 0x5d0570
mov eax, dword [ebx + ecx*4]
and eax, edi
imul eax, eax, 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor edx, eax
ror edx, 0x13
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
add ecx, 1
jne 0x5d0570
jmp 0x5d05ee
lea esi, [ebx + 2]
mov ebx, dword [ebp - 4]
lea esi, [esi + ecx*4]
movzx ecx, byte [esi + 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl ecx, 8
or ecx, eax
and ecx, edi
imul eax, ecx, 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor edx, eax
ror edx, 0x13
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
sub ebx, 1
jne 0x5d05a2
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov eax, esi
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x5d0614
sub eax, 1
je 0x5d060b
sub eax, 1
jne 0x5d062c
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
movzx eax, byte [ebx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [ebx]
xor eax, ecx
and eax, edi
imul eax, eax, 0xcc9e2d51
ror eax, 0x11
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, esi
mov eax, edx
shr eax, 0x10
xor eax, edx
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x5d1840
Capabilities:
Terminate process

Disassembly:
test byte [0x68c510], 0x20
jne 0x5d1850
vcvttss2usi eax, xmm0
ret
movd eax, xmm0
shl eax, 1
jb 0x5d1873
cmp eax, 0x9e000000
jae 0x5d1864
cvttss2si eax, xmm0
ret
cmp eax, 0x9f000000
jae 0x5d187a
shl eax, 7
bts eax, 0x1f
ret
cmp eax, 0x7f000000
jb 0x5d185f
cvttss2si ecx, dword [0x66da98]
cmc
sbb eax, eax
ret

Function at 0x5d2606
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5d2645
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5d2645
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5d2645
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5d2645
cmp dword [ecx + 0x74], 0xe
jbe 0x5d2645
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x5ecfbb
Capabilities:
Read file on windows

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

Function at 0x5f4bf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5f4c1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5f4c1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403590
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x63d360]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403760
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call sym.runtime.morestack_noctxt
jmp sym.internal_chacha8rand.setup
Function at 0x40ca00
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x63d360]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cbcb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ca29
mov eax, 0x7000000
jmp 0x40ca31
test eax, eax
je 0x40cba6
mov dword [esp + 0x34], eax
mov ecx, dword [0x63d360]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call sym.runtime.uint32tofloat64
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x5ebd20]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40cbbe
cmp edx, 0x21
jae 0x40cbb2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x549a60]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x549aa8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40cb81
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x549ad8]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicIndexU
mov eax, edx
mov ecx, 0x21
call sym.runtime.panicExtendIndexU
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.fastexprand