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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x719d78]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x719d7c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x719d80]
mov dword [ebp - 0x14], eax
mov eax, dword [0x719d84]
mov dword [ebp - 0x10], eax
mov eax, edx
cdq
and edx, 3
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
test eax, eax
jle 0x100093b4
push ebx
push edi
mov edi, dword [esi + edx*4 + 2]
mov ebx, dword [esi + edx*4 + 6]
mov esi, 0xc6ef3720
push 0x20
pop edx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x1c]
add eax, esi
add esi, 0x61c88647
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x1c]
add eax, esi
xor ecx, eax
sub edi, ecx
sub edx, 1
jne 0x10009351
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [esi + edx*4 + 2], edi
mov dword [esi + edx*4 + 6], ebx
add edx, 2
mov dword [ebp - 4], edx
cmp edx, dword [ebp - 0xc]
jl 0x10009341
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000a040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000a063
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x1000a11e
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1000a089
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000a08e
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1000a112
jg 0x1000a0a3
test esi, esi
je 0x1000a112
test ecx, ecx
jl 0x1000a0f4
jg 0x1000a0ad
test eax, eax
je 0x1000a0f4
cmp edi, ecx
jg 0x1000a0bf
jl 0x1000a0b7
cmp esi, eax
jae 0x1000a0bf
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
add edx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x1000a112
jg 0x1000a0f7
test esi, esi
je 0x1000a112
jmp 0x1000a0f7
mov edx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x1000a112
push dword [ebx + 0x4c]
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000a123
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jg 0x1000a145
jl 0x1000a13c
test edi, edi
jne 0x1000a145
xor eax, eax
xor edx, edx
jmp 0x1000a214
cmp dword [ecx + 0x38], 0
je 0x1000a15b
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x1000a214
mov eax, dword [ecx + 0x1c]
push esi
mov esi, edi
mov edx, dword [eax]
test edx, edx
je 0x1000a1a6
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1000a1a6
cmp eax, edi
jb 0x1000a17c
mov eax, edi
mov dword [ebp + 0x10], edi
mov esi, dword [ebp + 8]
push eax
push edx
push esi
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add esi, edx
mov dword [ebp + 8], esi
mov esi, edi
sub esi, edx
mov eax, dword [ecx + 0x2c]
sub dword [eax], edx
mov eax, dword [ecx + 0x1c]
add dword [eax], edx
jmp 0x1000a1ac
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ecx + 0x4c], 0
je 0x1000a20a
call fcn.1000a769
mov edx, dword [ebp + 8]
mov eax, esi
cmp esi, 0xfff
jbe 0x1000a1f4
push dword [ecx + 0x4c]
push 0xfff
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, dword [ebp + 8]
mov ecx, 0xfff
add edx, eax
add esp, 0x10
sub esi, eax
mov dword [ebp + 8], edx
cmp eax, ecx
jne 0x1000a20a
cmp esi, ecx
mov ecx, dword [ebp - 4]
ja 0x1000a1c4
mov eax, esi
test eax, eax
je 0x1000a20a
push dword [ecx + 0x4c]
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sub edi, esi
mov eax, edi
sbb ebx, 0
mov edx, ebx
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x1000a493
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10011040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000a4b6
xor eax, eax
jmp 0x1000a57f
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a4e2
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000a4e2
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x1000a577
cmp dword [esi + 0x4c], 0
je 0x1000a57b
mov ecx, esi
call fcn.1000a769
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1000a4ff
movsx eax, bl
jmp 0x1000a538
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1000a54d
sub eax, 1
je 0x1000a54d
dec eax
sub eax, 1
jne 0x1000a57b
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x1000a577
or ebx, eax
jmp 0x1000a577
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000a56b
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000a57b
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1000a57b
mov eax, ebx
jmp 0x1000a57e
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000aa0e
leave
ret 4
Function at 0x1000a78c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10011040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x1000a7e4
cmp byte [esi + 0x3d], bl
je 0x1000a7e4
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000a81e
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x1000a7f5
sub eax, 1
je 0x1000a7f8
dec eax
sub eax, 1
jne 0x1000a81e
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000aa0e
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000a816
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1000a81e
cmp byte [esi + 0x3d], bl
sete al
jmp 0x1000a7e6
xor al, al
jmp 0x1000a7e6

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x15073998
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4a4f0906
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000ea80
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1000eafd
mov edi, dword [esi + 0x20]
add edi, eax
cmp dword [edi + 0xc], 6
je 0x1000eaa0
mov edx, 5
call fcn.1000ecb0
mov edx, dword [esi + 8]
mov eax, dword [edx - 0x10]
mov ecx, dword [edx - 0xc]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edx - 4]
mov dword [edx + 0xc], eax
mov edx, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx - 0x10], eax
mov dword [edx - 0xc], ecx
mov eax, dword [edi + 0xc]
mov dword [edx - 4], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x1000eae7
mov edx, dword [esi + 0x2c]
mov ecx, esi
cmp edx, 1
jl 0x1000eae1
add edx, edx
jmp 0x1000eae2
inc edx
call fcn.1000ed90
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.1000f710
add esp, 4
mov edx, 2
mov ecx, esi
pop edi
pop esi
jmp fcn.1000ecb0

Function at 0x1000ecb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x1000ecd3
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call dword [sym.imp.VCRUNTIME140.dll_longjmp]
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x1000ecf0
call fcn.1000ebe0
mov eax, dword [esi + 0x10]
push esi
mov eax, dword [eax + 0x58]
call eax
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x100123d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x218], edx
push edi
mov ebx, eax
mov dword [ebp - 0x21c], eax
lea edi, [ebp - 0x204]
mov dword [ebp - 0x208], ebx
mov esi, 0x200
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x214], esi
nop dword [eax]
lea eax, [ebp - 0x210]
sub edi, eax
sub edi, 0xc
je 0x10012483
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x1001243f
mov ecx, ebx
call fcn.10011300
mov esi, dword [ebx + 8]
lea edx, [ebp - 0x204]
push edi
mov ecx, ebx
call fcn.1001de30
mov dword [esi], eax
lea ecx, [ebp - 0x210]
mov dword [esi + 0xc], 4
lea eax, [ebp - 0x204]
add dword [ebx + 8], 0x10
add esp, 4
inc dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
call fcn.10006b70
mov esi, dword [ebp - 0x214]
mov ebx, dword [ebp + 8]
mov eax, ebx
push dword [ebp - 0x218]
cmp esi, ebx
cmovbe eax, esi
mov esi, eax
mov dword [ebp - 0x214], eax
push esi
lea eax, [ebp - 0x204]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, dword [ebp - 0x210]
add esp, 0x10
add edi, eax
sub ebx, eax
mov dword [ebp - 0x210], edi
mov dword [ebp + 8], ebx
je 0x100124d2
cmp eax, esi
jne 0x100124d2
mov ebx, dword [ebp - 0x208]
jmp 0x10012420
lea eax, [ebp - 0x210]
sub edi, eax
sub edi, 0xc
je 0x10012536
mov ebx, dword [ebp - 0x208]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x100124f7
mov ecx, ebx
call fcn.10011300
mov esi, dword [ebx + 8]
lea edx, [ebp - 0x204]
push edi
mov ecx, ebx
call fcn.1001de30
mov dword [esi], eax
add esp, 4
mov dword [esi + 0xc], 4
lea eax, [ebp - 0x204]
add dword [ebx + 8], 0x10
mov edx, dword [ebp - 0x20c]
mov ebx, dword [ebp + 8]
inc edx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], edx
jmp 0x1001253c
mov edx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x208]
call fcn.10005930
pop edi
pop esi
test ebx, ebx
mov dword [ebp - 0x20c], 1
pop ebx
je 0x10012578
mov ecx, dword [ebp - 0x21c]
or edx, 0xffffffff
call fcn.100050d0
test eax, eax
jne 0x10012578
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028b0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10028b0c
mov esp, ebp
pop ebp
ret
Function at 0x10012a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x1003400c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x14], edx
push edi
mov edi, 1
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
sar eax, 4
sub eax, edi
je 0x10012b35
dec eax
mov edx, ebx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.10004ed0
cmp eax, 0x1002f950
je 0x10012b64
cmp dword [eax + 0xc], 3
jne 0x10012b64
test edi, edi
je 0x10012b26
mov edx, ebx
mov ecx, esi
call fcn.10004ed0
mov ecx, dword [eax + 0xc]
cmp ecx, 3
je 0x10012b01
cmp ecx, 4
jne 0x10012b5f
mov ecx, dword [eax]
lea edx, [esp + 0x20]
add ecx, 0x10
call fcn.10017a10
test eax, eax
je 0x10012b5f
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x28]
movsd qword [esp + 0x28], xmm0
mov dword [esp + 0x34], 3
movsd xmm0, qword [eax]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x24]
call fcn.10005a70
add esp, 0x10
test eax, eax
jg 0x10012c29
xor edi, edi
mov eax, dword [esp + 0x1c]
inc ebx
test eax, eax
jne 0x10012a96
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
mov eax, dword [esi + 8]
test edi, edi
je 0x10012c33
mov dword [eax], 1
mov dword [eax + 0xc], 1
mov eax, 1
jmp 0x10012c72
xorps xmm0, xmm0
jmp 0x10012b05
mov edx, ebx
mov ecx, esi
call fcn.10004ed0
cmp dword [eax + 0xc], 4
je 0x10012ba7
mov edx, eax
mov ecx, esi
call fcn.100240d0
test eax, eax
jne 0x10012b8c
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x10012bb9
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x10012b9e
mov ecx, esi
call fcn.10011300
mov edx, ebx
mov ecx, esi
call fcn.10004ed0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x10012c06
mov edx, ebx
mov ecx, esi
call fcn.10004ed0
cmp eax, 0x1002f950
je 0x10012bda
mov eax, dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10012bda
mov eax, dword [eax*4 + 0x1002fb3c]
jmp 0x10012bdf
mov eax, str.no_value
push eax
push dword [0x1002fb4c]
push str._s_expected__got__s
push esi
call fcn.10005240
push eax
mov edx, ebx
mov ecx, esi
call fcn.10005a90
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [esp + 0x14]
test edi, edi
je 0x10012b26
push dword [esp + 0x18]
push ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, dword [esp + 0x10]
jne 0x10012b26
mov edi, 1
jmp 0x10012b28
mov dword [eax + 0xc], 0
add dword [esi + 8], 0x10
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
push eax
push 0x1002b4b0
push esi
call fcn.10005240
mov eax, dword [esi + 8]
add esp, 0xc
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov dword [eax + 0xc], 3
movsd qword [eax], xmm0
mov eax, 3
add dword [esi + 8], 0x10
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10028b0c
mov esp, ebp
pop ebp
ret
Function at 0x1001de30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov ebx, edx
mov edi, edx
mov dword [esp + 0xc], ecx
shr edi, 5
mov esi, edx
inc edi
cmp edx, edi
jb 0x1001de7e
mov edx, dword [esp + 0x10]
nop dword [eax]
movzx ecx, byte [edx + esi - 1]
mov eax, ebx
shl eax, 5
sub esi, edi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp esi, edi
jae 0x1001de60
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x1001df14
cmp dword [edi + 0xc], edx
jne 0x1001df0a
mov esi, dword [ebp + 8]
lea eax, [edi + 0x10]
mov edx, dword [esp + 0x10]
sub esi, 4
jb 0x1001dec1
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x1001deca
add edx, 4
add eax, 4
sub esi, 4
jae 0x1001deb0
cmp esi, 0xfffffffc
je 0x1001dfba
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1001df07
cmp esi, 0xfffffffd
je 0x1001dfba
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x1001df07
cmp esi, 0xfffffffe
je 0x1001dfba
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x1001df07
cmp esi, 0xffffffff
je 0x1001dfba
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x1001dfba
mov edx, dword [ebp + 8]
mov edi, dword [edi]
test edi, edi
jne 0x1001de98
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
cmp eax, 0xffffffed
jbe 0x1001df2d
push str.memory_allocation_error:_block_too_big
push esi
call fcn.1000eb10
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [edx + 0x11]
mov ecx, esi
push eax
push 0
xor edx, edx
call fcn.100158c0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [ebp + 8]
push esi
push dword [esp + 0x1c]
mov dword [edi + 0xc], esi
lea eax, [edi + 0x10]
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
mov cl, byte [ecx + 0x14]
and cl, 3
mov byte [edi + 4], 4
mov byte [edi + 5], cl
mov byte [edi + 6], 0
call sub.VCRUNTIME140.dll_memcpy
mov byte [edi + esi + 0x10], 0
add esp, 0x14
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 8]
dec eax
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [edx]
mov eax, dword [ecx + eax]
mov dword [edi], eax
mov eax, dword [edx]
mov dword [ecx + eax], edi
inc dword [edx + 4]
mov eax, dword [edx + 8]
cmp dword [edx + 4], eax
jbe 0x1001dfb1
cmp eax, 0x3ffffffe
jg 0x1001dfb1
lea edx, [eax + eax]
mov ecx, esi
call fcn.1001dd50
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, byte [edi + 5]
movzx edx, byte [ecx + 0x14]
not edx
movzx ecx, al
and edx, ecx
test dl, 3
je 0x1001dfb1
xor al, 3
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1002822e
push 0
push 0
push 0
push 0x10027df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x432be0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push 0xca62c1d6
push 0x8f1bbcdc
push 0x6ed9eba1
push 0x5a827999
push edx
call fcn.00432f90
ret 0x18

Function at 0x432e70
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0xfffffff
imul eax, eax, 8
jo 0x432e90
test ecx, 0x10000000
je 0x432e8d
or eax, 0x80000000
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x432ea0
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x3fffffff
imul eax, eax, 2
jo 0x432eca
test ecx, 0x40000000
je 0x432ebd
or eax, 0x80000000
test ecx, 0x80000000
je 0x432ec7
or al, 1
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]

Function at 0x432ed0
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
mov eax, esi
and ecx, 0x3ffffff
imul ecx, ecx, 0x20
jo 0x432f0e
and eax, 0xf8000000
cdq
and edx, 0x7ffffff
add eax, edx
sar eax, 0x1b
and eax, 0x1f
or ecx, eax
test esi, 0x4000000
pop esi
je 0x432f09
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x432f20
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
xor edx, ecx
jge 0x432f35
add eax, ecx
jo 0x432f46
ret 8
xor eax, 0x80000000
add eax, ecx
jo 0x432f46
xor eax, 0x80000000
ret 8
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop

Function at 0x432f50
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
mov eax, ebx
and ecx, 1
imul ecx, ecx, 0x40000000
jo 0x432f87
and al, 0xfc
cdq
and edx, 3
add eax, edx
sar eax, 2
and eax, 0x3fffffff
or ecx, eax
test bl, 2
pop ebx
je 0x432f82
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
Function at 0xe6a370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe6a38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xe93074
push ecx
mov edi, eax
call fcn.00e7e198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe6a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e7e02e
push esi
call fcn.00e7dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret