joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444c0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x444c25
call fcn.0042f575
mov esi, dword [eax + 0xc]
push 0x56b5a0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x444c7b
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x444c7a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x444c5b
xor esi, esi
jmp 0x444c71
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00444c81
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4c3613
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x4c362d
mov edi, dword [esi + 0xc]
jmp 0x4c366d
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4c3646
call fcn.0042ff09
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4c365b
call fcn.0042ff09
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4c366d
call fcn.0042ff09
call fcn.0042f575
cmp dword [eax + 0x3c], 0
je 0x4c3682
push edi
mov ecx, ebx
call fcn.004c2f2f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004c3845
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4c36a5
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x4c36ae
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x50174b
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.005335e0
call fcn.0042f5c9
cmp dword [eax + 0x14], 0
jne 0x501766
mov ecx, esi
pop esi
jmp fcn.00500b6a
pop esi
ret

Function at 0x50f6a8
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004738aa
call fcn.0042f5c9
cmp dword [eax + 0x14], 0
jne 0x50f6c3
mov ecx, esi
pop esi
jmp fcn.0050ef9b
pop esi
ret

Function at 0x54276c
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
invalid
fild dword [edi - 0x97ebd3a]
dec edx
cmpsb byte [esi], byte es:[edi]
jl 0x542748
Function at 0x542b89
Capabilities:
Hash data using murmur3

Disassembly:
and esi, dword [edx]
pop ecx
sbb dword [ecx], eax
xor eax, 0x5c9740

Function at 0x543023
Capabilities:
Hash data using murmur3

Disassembly:
pop eax
rol ecx, 0x33
rol byte [ecx - 0x376b491f], 1
dec dword [edx + 3]
cli
xor ebx, 0xc4eaaf03
xor edi, dword [0x5c9e4d]
dec ebx
or dword [0x5c9a04], edi
neg eax
call fcn.004797a9
xor dword [0x5c99f3], edi
add edi, esp
or ecx, dword [0x5c9ce1]
xor eax, 0xc9e94a05
and dword [0x5c9465], ecx
call fcn.0047ff8b
xor eax, dword [0x5c9b74]
add esi, ebx
or dword [0x5c9948], 0xa59ccac2
add dword [0x5c99e8], edi
not edx
xor dword [0x5c984c], 0x7580d5c8
add dword [0x5c98c5], 0x3a9596c4
not edx
add dword [0x5c990a], eax
xor dword [0x5c99ce], 0x5e449990
sub esi, ebx
sub dword [0x5c94fe], ecx
xor eax, 0xc9e94a05
sub edi, esp
or dword [0x5c97fb], edx
neg eax
add dword [0x5c95ad], edx
inc ebx
xor ebx, 0xc4eaaf03
sub edi, edx
inc edx
xor ecx, 0xa36f6cfc
neg edi
or eax, dword [0x5c9b9a]
call fcn.004555fc
sub eax, 0x58b21807
or edi, dword [0x5c9c1e]
sub dword [0x5c9593], edi
not edi
rol esi, 7
sub dword [0x5c9903], 0x2e6e80ab
xor edi, dword [0x5c9ca0]
xor dword [0x5c9910], 0xb7136ddf
call fcn.00451333
call fcn.00465f6b
ror esi, 7
not edi
or dword [0x5c98fb], edx
add eax, 0x58b21807
call fcn.004cc1cb
neg edi
push ecx
sub eax, 0xb0f0b085
add eax, dword [0x5c9cc2]
inc edx
rol esi, 0x17
not ebx
xor eax, 0xd4d47ce
call fcn.005404db
rol esi, 4
dec eax
mov dword [0x5c976b], edx
dec ecx
add dword [0x5c9828], edi
call fcn.0052b3b0
call fcn.0048116d
add dword [0x5c94ab], eax
inc ecx
and dword [0x5c97db], ebx
inc eax
ror esi, 4
call fcn.0053f638
xor eax, 0xd4d47ce
not ebx
ror esi, 0x17
dec edx
add eax, 0xb0f0b085
mov ebx, 0x8e4a525b
not edx
xor dword [0x5c9679], eax
or esi, dword [0x5c9bfb]
xor dword [0x5c99e9], ebx
rol eax, 0x1d
call fcn.004255f9
neg eax
xchg ecx, eax
mov dword [0x5c964e], esi
call fcn.0047074f
rol ecx, 0x1f
or dword [0x5c9561], ecx
sub ecx, dword [0x5c9d80]
and dword [0x5c97b7], 0x44af4388
rol edx, 0xc
sub eax, 0xed5c07e5
and dword [0x5c9912], edi
inc eax
call fcn.004b7bfa
dec eax
add eax, 0xed5c07e5
ror edx, 0xc
mov dword [0x5c9749], 0x31c5e9a2
mov dword [0x5c9944], edi
ror ecx, 0x1f
call fcn.00461dfd
sub dword [0x5c955e], ebx
xchg ecx, eax
neg eax
ror eax, 0x1d
not edx
sub ebx, 0x57038464
neg esi
sub edx, dword [0x5c9b17]
neg ecx
add eax, dword [0x5c9dde]
xchg eax, edx
inc eax
not eax
add edi, edx
ror edx, 0x14
dec ecx
ror ebx, 0x17
invalid
invalid
invalid

Function at 0x54324f
Capabilities:
Hash data using murmur3

Disassembly:
wait
pop esp
add byte [ecx + 0x5c95382d], al
add byte [esi], ch
mov edi, 0xc203c8c7

Function at 0x543279
Capabilities:
Hash data using murmur3

Disassembly:
sub edx, esi
call fcn.004bee82
call fcn.004bc780
add edx, esi
neg ecx
neg edi
add eax, 0x17a873d0
sub dword [0x5c99ec], edx
call fcn.004d1f3f
sub eax, edx
invalid
invalid
push ds
xchg esi, eax
pop esp
Function at 0x54e586
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c0020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0054025f
mov dword [ebp - 0x14], eax
cmp dword [0x5c80e0], edi
jne 0x54e677
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x54e604
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x54e757
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x54e757
push 0x593860
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x54e757
push eax
call ebx
push 0x59386c
push esi
mov dword [0x5c80e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x59387c
push esi
mov dword [0x5c80e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x5c80e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5c80f0], eax
test eax, eax
je 0x54e674
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5c80ec], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x54e69c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x54e68f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x54e6b1
push 4
pop eax
jmp 0x54e759
cmp dword [ebp - 0x14], edi
je 0x54e6b1
push dword [0x5c80e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54e696
mov eax, dword [0x5c80ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x54e70f
cmp dword [0x5c80f0], esi
je 0x54e70f
push eax
call ebx
push dword [0x5c80f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x54e70f
test eax, eax
je 0x54e70f
call ecx
test eax, eax
je 0x54e704
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x54e704
test byte [ebp - 8], 1
jne 0x54e70f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x54e73f
mov eax, dword [0x5c80e4]
cmp eax, esi
je 0x54e73c
push eax
call ebx
test eax, eax
je 0x54e73c
call eax
mov edi, eax
test edi, edi
je 0x54e73c
mov eax, dword [0x5c80e8]
cmp eax, esi
je 0x54e73c
push eax
call ebx
test eax, eax
je 0x54e73c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5c80e0]
call ebx
test eax, eax
je 0x54e757
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x54e759
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053786f
leave
ret
Function at 0x6ed745
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0xcb1ec9
jmp 0xcb1fd9
push ecx
sub esp, 4
mov dword [esp], esp
add dword [esp], 4
pop ecx
add ecx, 4
sub ecx, 4
xchg dword [esp], ecx
mov esp, dword [esp]
mov dword [esp], ebp
jmp 0xcb1fff
jmp 0xcd593e
jmp fcn.00cb2062
jmp 0xcc2d22
push 0x25964b36
mov dword [esp], ebp
mov dword [esp], ebx
push esp
pop ebx
add ebx, 4
sub ebx, 0x14
jmp 0xcc2de5
xchg dword [esp], ebx
mov esp, dword [esp]
jmp 0xcc2df0
jmp 0xcb2004
jmp 0xcd5998
push dword [esp]
pop ebp
add esp, 4
jmp 0xcd5a64
push edi
mov dword [esp], 0x7ee8826
mov dword [esp], esp
add dword [esp], 4
jmp 0xcd5989
jmp 0xcc2cbb
Function at 0x101326c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x101328a4
pushal
mov esi, section.UPX1
lea edi, [esi - 0xfb000]
push edi
or ebp, 0xffffffff
jmp 0x101326ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x101326f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x101326e0
mov eax, 1
add ebx, ebx
jne 0x10132703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10132714
jne 0x10132733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10132733
dec eax
add ebx, ebx
jne 0x10132720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x101326f8
add ebx, ebx
jne 0x1013272f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10132785
xor ecx, ecx
sub eax, 3
jb 0x1013274b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x101327ba
sar eax, 1
mov ebp, eax
jmp 0x10132756
add ebx, ebx
jne 0x10132756
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10132724
inc ecx
add ebx, ebx
jne 0x10132764
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10132724
add ebx, ebx
jne 0x10132771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10132766
jne 0x10132782
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10132766
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x101327a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10132796
jmp 0x101326e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x101327a4
add edi, ecx
jmp 0x101326e6
pop esi
mov edi, esi
mov ecx, 0xd5c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x101327c2
cmp byte [edi], 0x16
jne 0x101327c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x101327c7
lea edi, [esi + 0x12e000]
mov eax, dword [edi]
or eax, eax
je 0x10132836
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x132000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x132028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x101327f4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13202c]
or eax, eax
je 0x10132830
mov dword [ebx], eax
add ebx, 4
jmp 0x10132811
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10132867
cmp al, 0xef
ja 0x1013285a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1013283c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10132849
mov ebp, dword [esi + 0x132030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1013289b
sub esp, 0xffffff80
jmp 0x10095a78
Function at 0x6405b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x584015
lea edi, [esi - 0x183015]
push edi
or ebp, 0xffffffff
jmp 0x6405d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6405d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6405c8
mov eax, 1
add ebx, ebx
jne 0x6405eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6405fc
jne 0x64061b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64061b
dec eax
add ebx, ebx
jne 0x640608
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6405e0
add ebx, ebx
jne 0x640617
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x64066d
xor ecx, ecx
sub eax, 3
jb 0x640633
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6406a2
sar eax, 1
mov ebp, eax
jmp 0x64063e
add ebx, ebx
jne 0x64063e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64060c
inc ecx
add ebx, ebx
jne 0x64064c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64060c
add ebx, ebx
jne 0x640659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x64064e
jne 0x64066a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x64064e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x64068c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x64067e
jmp 0x6405ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x64068c
add edi, ecx
jmp 0x6405ce
pop esi
mov edi, esi
mov ecx, 0x5a9b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6406aa
cmp byte [edi], 0x1b
jne 0x6406aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6406af
lea edi, [esi + 0x238000]
mov eax, dword [edi]
or eax, eax
je 0x64071e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x267568]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x267590]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6406dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x267598]
or eax, eax
je 0x640718
mov dword [ebx], eax
add ebx, 4
jmp 0x6406f9
call dword [esi + 0x267594]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x64074f
cmp al, 0xef
ja 0x640742
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x640724
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x640731
mov ebp, dword [esi + 0x26759c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x640783
sub esp, 0xffffff80
jmp 0x466df0
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x481f48e2
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5dfe46cd
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403470
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5999e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403640
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 0x40ce30
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5999e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cffb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40ce59
mov eax, 0x7000000
jmp 0x40ce61
test eax, eax
je 0x40cfd6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5999e8]
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, [0x54bce0]
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 0x40cfee
cmp edx, 0x21
jae 0x40cfe2
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 [0x4dd73c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4dd784]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40cfb1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4dd7bc]
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