joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100787e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae1cd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100c3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x1007891d
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10078867
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10078852
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002a050
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10078881
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x100788c6
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x100788b3
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x100788c6
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10032370
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x100788f5
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x100788e1
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x10078905
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10078918
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x1007891d
mov eax, dword [ebp - 0x14]
jmp 0x1007883e
mov edi, dword [edi + 0x18]
jmp 0x1007891f
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10078957
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007894d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007894d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100a63f4
add esp, 8
mov eax, edi
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.100a5f76
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10078980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae1cd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100c3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 1
xor edx, edx
mov eax, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], ecx
cmp edi, ecx
je 0x10078abd
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmp esi, edi
je 0x10078a07
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x100789f2
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002a050
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [edx - 3]
cmp esi, edx
ja 0x10078a21
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmova eax, ecx
mov byte [eax + esi], 0
jmp 0x10078a66
mov ecx, esi
sub eax, edx
sub ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
ja 0x10078a53
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], esi
lea esi, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
push ecx
add esi, edx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x10078a66
push 0
push ecx
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10032370
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x10078a95
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10078a81
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x10078aa5
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x10078ab8
dec esi
mov dword [ebp - 0x30], esi
add edi, 0x1c
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
je 0x10078abd
mov eax, dword [ebp - 0x14]
jmp 0x100789de
mov edi, dword [edi + 0x18]
jmp 0x10078abf
xor edi, edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x10078af7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10078aed
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10078aed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100a63f4
add esp, 8
mov eax, edi
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.100a5f76
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100792f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, 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 - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10079321
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], 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.10031ba0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1007942c
nop word [eax + eax]
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 - 0x10], edx
cmp edi, esi
jne 0x100793b1
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10079422
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100793eb
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100793e3
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1007941f
cmp edi, edx
je 0x100793fc
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10079435
cmp edi, edx
jne 0x100793f0
mov ebx, dword [eax + 4]
mov dword [ebp - 4], 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 - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10079360
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], 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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1007941f

Function at 0x1007a780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1007a7b2
push 0
push 0
push 0
push 0x1002e5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1007a7b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x1008bd00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1008bea8
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x1008bea8
mov eax, dword [0x1020e9a8]
cmp dword [eax + 0x174], 0xffffffff
je 0x1008bea8
cmp byte [0x10202c04], 0
je 0x1008bd4a
mov byte [0x101fb64b], 1
mov eax, dword [0x1020eccc]
add eax, 0xffffff7b
xor eax, 0x5a370201
cmp dword [eax + ebx], 0
mov eax, dword [0x1020ec90]
setle cl
add eax, 0xffffff8a
xor eax, 0x5a3701f2
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x1020ec84]
add eax, 0xffffff8d
xor eax, 0x5a3701ef
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x1020ec88]
add eax, 0xffffff8c
xor eax, 0x5a3701f0
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [case.0x10089e88.13]
lea eax, [ecx - 0x75]
xor eax, 0x5a3701f1
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x1008be00
lea eax, [ecx - 0x75]
xor eax, 0x5a3701f1
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x1008bdf8
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1008bdec
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x1008bde9
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [case.0x10089e88.13]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x1008bdb5
lea eax, [ecx - 0x75]
xor eax, 0x5a3701f1
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x1020e9bc]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1008be92
nop
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1008be56
xor edx, edx
test ecx, ecx
je 0x1008be7c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1008be63
cmp edi, 0x79705c5e
je 0x1008be87
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1008be92
mov ecx, dword [ebp - 4]
jmp 0x1008be40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x1008be94
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x1020eaa4]
mov byte [0x101fb64b], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10093490
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
jne 0x10093499
mov eax, edx
ret
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
jmp fcn.10093490
Function at 0x10098960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x100c3040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1020b6ec], 1
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
je 0x10098b34
mov ecx, dword [0x1020ec7c]
mov ebx, dword [ebp + 8]
add ecx, 0xffffff8f
xor ecx, 0x5a3701ed
mov eax, dword [ebx + 0x4c]
mov eax, dword [ecx + eax]
mov ecx, dword [0x1020e934]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov esi, eax
test esi, esi
je 0x10098b34
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6f8]
mov ecx, esi
call edx
test eax, eax
je 0x10098b34
mov eax, dword [0x1020e994]
movss xmm2, dword [0x100b84fc]
movss xmm1, dword [0x100b84c8]
mov ecx, dword [edi]
divss xmm2, dword [eax + 0x20]
mov eax, dword [0x1020ed08]
add ecx, 8
add eax, 0xffffff6c
xor eax, 0x5a370210
movaps xmm0, xmm2
mulss xmm0, dword [eax + esi]
addss xmm0, xmm1
cvttss2si esi, xmm0
movaps xmm0, xmm2
mulss xmm2, dword [edi + 0x3438]
mulss xmm0, dword [edi + 0x18]
addss xmm2, xmm1
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x168], eax
cvttss2si eax, xmm2
mov dword [ebp - 0x164], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x1020e930]
lea ebx, [ebp - 0x160]
push ebx
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov edx, dword [ebp - 0x168]
mov ebx, dword [ebp + 8]
mov word [edi + 0x3431], 0
mov byte [edi + 0x3433], 0
cmp esi, edx
jne 0x10098a98
cmp dword [edi + 0x10], 2
jg 0x10098a98
mov byte [edi + 0x3433], 1
mov byte [edi + 0x3431], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a5f76
mov esp, ebp
pop ebp
ret 8
cmp esi, dword [ebp - 0x164]
jle 0x10098ab1
cmp edx, esi
jle 0x10098b34
mov byte [edi + 0x3431], 1
jmp 0x10098ac5
jne 0x10098b34
lea eax, [esi + 1]
mov byte [edi + 0x3431], 1
cmp eax, edx
je 0x10098b34
mov al, 1
mov byte [edi + 0x3432], al
mov edx, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
movss xmm0, dword [0x100b85d0]
add esi, edx
cmp edx, esi
je 0x10098b2f
mov ecx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x38]
dec ecx
mov dword [ebp - 0x168], ecx
nop
mov eax, edx
shr eax, 1
and eax, ecx
mov ecx, edx
and ecx, 1
mov eax, dword [ebx + eax*4]
mov eax, dword [eax + ecx*8]
cmp eax, edi
je 0x10098b1d
cmp byte [eax + 0x14], 0
jne 0x10098b1d
cmp byte [eax + 0x3432], 0
jne 0x10098b1d
cmp byte [edi + 0x3433], 0
je 0x10098b2a
inc edx
cmp edx, esi
je 0x10098b2f
mov ecx, dword [ebp - 0x168]
jmp 0x10098af0
movss xmm0, dword [eax + 0x78]
movss dword [edi + 0x78], xmm0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a5f76
mov esp, ebp
pop ebp
ret 8
Function at 0x10009ab3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10009ac2
pop dword [ebp - 0x14]
mov eax, 0xae08ee7b
add eax, 0x61f7ac47
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xbd2d25cd
add dword [ebp - 0x24], 0x91251f7e
mov dword [ebp - 0x20], 0xf8fcafe0
add dword [ebp - 0x20], 0x39369c65
mov dword [ebp - 0x1c], 0x5f0e379b
sub dword [ebp - 0x1c], 0x12c1f36d
mov dword [ebp - 0x18], 0xf7a76aab
add dword [ebp - 0x18], 0x8589555
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4b57fce0
sub eax, 0x3b57ec1c
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x678a684d
sub dword [ebp - 0x24], 0xf317fef7
mov dword [ebp - 0x20], 0x63f64e30
sub dword [ebp - 0x20], 0x2289ecbb
mov dword [ebp - 0x1c], 0xf3b91576
add dword [ebp - 0x1c], 0x6fb656f6
mov dword [ebp - 0x18], 0xf068c3f6
add dword [ebp - 0x18], 0xf973c0a
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x9396d4a1
add eax, 0x7c693c63
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3df15
push 0
call eax
mov ecx, 0x5037
xor edx, edx
add edx, eax
mov edi, 0x5550ced1
add edi, 0xbab20b2f
add edi, dword [ebp - 0x14]
mov esi, 0xbe683cca
add esi, 0x65b7b792
mov ebx, dword [edi]
xor dword [ebp - 4], 0x708c73a3
add ebx, esi
sub dword [ebp - 0xc], esi
mov dword [edx], ebx
xor dword [ebp - 4], edi
add edx, 0x107ef6bc
add edx, 0xef810948
add edi, 0xa85cb465
add edi, 0x57a34b9f
loop 0x10009be0
add eax, 0x22035746
sub eax, 0x22022397
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, sym.msimp32.dll_Ordinal_5
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x10023d3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001b3c]
jne 0x1002420f
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10028d58], eax
mov dword [0x10028d54], ecx
mov dword [0x10028d50], edx
mov dword [0x10028d4c], ebx
mov dword [0x10028d48], esi
mov dword [0x10028d44], edi
mov word [0x10028d70], ss
mov word [0x10028d64], cs
mov word [0x10028d40], ds
mov word [0x10028d3c], es
mov word [0x10028d38], fs
mov word [0x10028d34], gs
pushfd
pop dword [0x10028d68]
mov eax, dword [ebp]
mov dword [0x10028d5c], eax
mov eax, dword [ebp + 4]
mov dword [0x10028d60], eax
lea eax, [ebp + 8]
mov dword [0x10028d6c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10028ca8], 0x10001
mov eax, dword [0x10028d60]
mov dword [0x10028c5c], eax
mov dword [0x10028c50], 0xc0000409
mov dword [0x10028c54], 1
mov eax, dword [0x10001b3c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10028390]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028ca0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028ca0], 0
jne 0x100242fb
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x32028bac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x32028bbb
pop dword [ebp - 0x28]
mov eax, 0x77725f05
sub eax, 0x456fd34a
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x24e990ae
sub dword [ebp - 0x38], 0xd6974b63
mov dword [ebp - 0x34], 0xbb4e88c
add dword [ebp - 0x34], 0x267e63b9
mov dword [ebp - 0x30], 0x3d8dfb93
add dword [ebp - 0x30], 0xebe489b
mov dword [ebp - 0x2c], 0xd0567dfe
add dword [ebp - 0x2c], 0x2fa98202
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x839383f
add dword [ebp - 0x38], 0x6c393117
mov dword [ebp - 0x34], 0x588c03a2
sub dword [ebp - 0x34], 0x171fa22d
mov dword [ebp - 0x30], 0x731ea617
add dword [ebp - 0x30], 0xf050c655
mov dword [ebp - 0x2c], 0xb3ea5e93
sub dword [ebp - 0x2c], 0xb3ea5e93
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x44d42
push 0
call eax
mov ecx, 0x3cde
mov edi, eax
mov esi, 0x3207a200
add esi, dword [ebp - 0x28]
mov ebx, 0xa5058d78
sub ebx, 0x5d7681fe
xor dword [ebp - 0x18], 0x13e2777c
mov edx, dword [esi]
add dword [ebp - 0x20], ecx
add edx, ebx
sub dword [ebp - 0x24], edi
mov dword [edi], edx
mov dword [ebp - 0x14], 0x1575405e
add edi, 4
add esi, 4
loop 0x32028cc7
add eax, 0xe64b
mov ebx, eax
add eax, 0xe72c55e6
sub eax, 0xe72c55e1
mov ecx, 0x63bc85ba
sub ecx, 0x31bc85ba
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x402db0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x54a7f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402f80
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 fcn.0045e830
jmp fcn.00402db0
Function at 0x40b910
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x54a7f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40badb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b939
mov eax, 0x7000000
jmp 0x40b941
test eax, eax
je 0x40bab6
mov dword [esp + 0x34], eax
mov ecx, dword [0x54a7f0]
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 fcn.0045fbd0
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, [0x507a20]
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 0x40bace
cmp edx, 0x21
jae 0x40bac2
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 fcn.0045abe0
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 fcn.0045acb0
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 [0x4ac664]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4ac6d4]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40ba91
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4ac70c]
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 fcn.0045fcb0
mov eax, edx
mov ecx, 0x21
call fcn.0045fd40
nop
call fcn.0045e830
jmp fcn.0040b910