joyce8/EMBER2024-capa huggingface dataset:
Function at 0x648a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b81c6
mov eax, dword fs:[0]
push eax
mov eax, 0x4038
call fcn.00790c80
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 8
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x402c], esi
jb 0x648a67
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x648a6f
mov eax, dword [eax]
cmp dword [edx + 0x14], 8
jb 0x648a77
mov edx, dword [edx]
push ecx
push 0x2000
lea ecx, [ebp - 0x4010]
push ecx
push 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x4034], 0
mov word [ebp - 0x4044], ax
lea eax, [ebp - 0x4010]
mov dword [ebp - 0x4030], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x648ab4
sub eax, edx
lea ecx, [ebp - 0x4044]
sar eax, 1
push eax
lea eax, [ebp - 0x4010]
push eax
call fcn.004044f0
lea eax, [ebp - 0x4044]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4028]
push eax
call fcn.00405710
add esp, 8
lea ecx, [ebp - 0x4044]
mov byte [ebp - 4], 2
call fcn.00404490
lea edx, [ebp - 0x4028]
mov ecx, esi
call fcn.00405660
lea ecx, [ebp - 0x4028]
call fcn.00407a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x648b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8219
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
xor eax, eax
push ecx
push 0xa000
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00413330
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x648bdb
mov edi, dword [edi]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov ebx, eax
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x4c], ebx
push eax
push 0x7cf388
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004044f0
xor edi, edi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x648cb9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
movzx ecx, word [eax + edi*2]
cmp edx, ebx
jae 0x648c5c
lea eax, [edx + 1]
cmp ebx, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
mov word [eax + edx*2], cx
xor ecx, ecx
mov word [eax + edx*2 + 2], cx
jmp 0x648c6d
push ecx
mov byte [ebp - 0x48], 0
push dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004083e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + edi*2], 0
jne 0x648caf
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x40]
push ecx
cmp dword [esi + 8], eax
je 0x648c98
mov ecx, eax
call fcn.00404120
add dword [esi + 4], 0x18
jmp 0x648ca0
push eax
mov ecx, esi
call fcn.00404950
push 0
push 0x7cf388
lea ecx, [ebp - 0x40]
call fcn.004044f0
inc edi
cmp edi, dword [ebp - 0x4c]
jb 0x648c26
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4
Function at 0x64a3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8488
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
lea edi, [ecx + 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x64a544
nop dword [eax + eax]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
mov dword [ebp - 4], 0
call fcn.00451ae0
mov edx, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x38], 0xcb00c4
xor ecx, ecx
mov dword [ebp - 0x34], 0xc000c2
mov dword [ebp - 0x30], 0xdc0083
mov dword [ebp - 0x2c], 0xb000da
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x64a460
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x28]
push eax
mov ecx, edx
call fcn.0063f8b0
test al, al
je 0x64a4f0
push esi
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0064a730
mov eax, dword [edi]
mov esi, dword [ebp - 0x40]
cmp esi, dword [eax]
je 0x64a4f0
cmp byte [esi + 0xd], 0
je 0x64a4a9
mov esi, dword [esi + 8]
jmp 0x64a4f0
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x64a4da
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x64a4cf
nop word [eax + eax]
cmp esi, dword [eax]
jne 0x64a4cf
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x64a4c0
cmp byte [esi + 0xd], 0
cmovne eax, esi
mov esi, eax
jmp 0x64a4f0
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x64a4f0
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x64a4e5
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x64a525
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x64a521
cmp esi, dword [eax + 8]
jne 0x64a521
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x64a511
mov esi, eax
jmp 0x64a53c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x64a53c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x64a530
cmp esi, dword [edi]
jne 0x64a420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x64d970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8a36
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x831184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push 6
call fcn.0059e890
mov dword [ebp - 4], 0
mov dword [esi], vtable.i.1.0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov byte [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], 0xf9008c
mov dword [ebp - 0x18], 0xfc00e5
mov dword [ebp - 0x14], 0xae0088
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x64d9f4
xor ecx, ecx
mov dword [ebp - 0x24], 7
mov word [ebp + eax*2 - 0x1c], cx
xor eax, eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x38], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x64da24
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004044f0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x88]
call fcn.00406920
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00404490
mov dword [ebp - 0x20], 5
xor eax, eax
mov dword [ebp - 0x1c], 0xf9008c
mov dword [ebp - 0x18], 0xea00e5
mov dword [ebp - 0x14], 0xae0088
nop dword [eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x1c], cx
inc eax
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x64da80
xor eax, eax
mov dword [ebp - 0x24], 7
lea edx, [ebp - 0x1c]
mov word [ebp + ecx*2 - 0x1c], ax
mov dword [ebp - 0x28], eax
lea ecx, [edx + 2]
mov word [ebp - 0x38], ax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x64dab0
sub edx, ecx
lea eax, [ebp - 0x1c]
sar edx, 1
lea ecx, [ebp - 0x38]
push edx
push eax
call fcn.004044f0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x88]
call fcn.00406920
lea ecx, [ebp - 0x38]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x651290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b925b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00404120
push 0x38
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.00576910
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movaps xmm0, xmmword [0x7e58b0]
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xdc], 0x43
movaps xmm0, xmmword [0x7e6110]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0x98], 0xecc1c4d6
movaps xmm0, xmmword [0x7e58f0]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x7e5bb0]
movups xmmword [ebp - 0xa8], xmm0
nop word [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xd8], al
inc ecx
mov eax, dword [ebp - 0xdc]
cmp ecx, eax
jb 0x651350
mov byte [ebp + eax - 0xd8], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0
call fcn.00408e80
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x651390
push dword [ebp - 0x94]
sub ecx, edx
lea eax, [ebp - 0xd8]
add eax, ecx
lea ecx, [ebp - 0x24]
push 1
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00409380
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00405710
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x74]
push eax
call fcn.00588b80
add esp, 8
lea ecx, [ebp - 0x74]
test al, al
setne byte [ebp - 0x8d]
call fcn.00407a10
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x651412
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x651412
mov ecx, dword [ebp - 0x24]
xor edx, edx
call fcn.00405180
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x651437
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x651437
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x651498
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x651479
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x651479
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0076e8f3
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x8c]
call fcn.00404490
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4
Function at 0x6514d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
cmp dword [ecx + 8], 1
push ebx
push esi
jne 0x6515c6
mov dword [esp + 0x20], 0x15
xor eax, eax
mov dword [esp + 0x24], 0x870084
mov dword [esp + 0x28], 0xc300c7
mov dword [esp + 0x2c], 0xca00cc
mov dword [esp + 0x30], 0xd10082
mov dword [esp + 0x34], 0xd600df
mov dword [esp + 0x38], 0xd8009e
mov dword [esp + 0x3c], 0xc300d4
mov dword [esp + 0x40], 0xdb00d9
mov dword [esp + 0x44], 0x9700d1
mov dword [esp + 0x48], 0xcc00da
mov dword [esp + 0x4c], 0xbe00cd
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [esp + eax*2 + 0x24], cx
inc eax
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jb 0x651550
xor eax, eax
mov word [esp + ecx*2 + 0x24], ax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
lea edx, [ecx + 2]
mov dword [esp + 0x1c], 7
mov word [esp + 8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x651583
sub ecx, edx
lea eax, [esp + 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.004044f0
mov ecx, dword [ebp + 8]
lea edx, [esp + 8]
call fcn.00405430
lea ecx, [esp + 8]
mov bl, al
call fcn.00404490
test bl, bl
je 0x6515c6
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x65e790
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba478
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x65e7fe
mov dword [esi + 0x10], 0
mov ecx, esi
push 0
mov dword [esi + 0x14], 0xf
push 0x14
mov byte [esi], 0
call fcn.0041b2e0
jmp 0x65e90d
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x65e7dd
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x65e823
mov edi, dword [edi]
push 0
push eax
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
test eax, eax
jne 0x65e850
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x14
mov byte [esi], al
call fcn.0041b2e0
jmp 0x65e90d
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 4
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 4
call edi
test eax, eax
je 0x65e7dd
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.0041a370
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
ja 0x65e8bf
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], ecx
cmovae eax, dword [ebp - 0x34]
mov byte [eax + ecx], 0
jmp 0x65e8cc
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x34]
call fcn.00407bf0
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x14]
push 0
push ecx
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 2
push dword [ebp - 0x18]
call edi
mov ecx, esi
test eax, eax
jne 0x65e8f6
push 0
push 0x14
call fcn.0041a4f0
jmp 0x65e905
cmp dword [ebp - 0x14], 0x14
jne 0x65e8eb
lea eax, [ebp - 0x34]
push eax
call fcn.00406b10
lea ecx, [ebp - 0x34]
call fcn.00407a10
mov eax, esi
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.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x65edd0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ba503
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.0065ec70
test al, al
jne 0x65ee31
mov byte [ebp - 0x139], al
jmp 0x65efdb
push 0
push 0x20
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.0041b2e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x138]
push dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x4c]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0x6a09e667
mov dword [ebp - 0x12c], 0xbb67ae85
mov dword [ebp - 0x128], 0x3c6ef372
mov dword [ebp - 0x124], 0xa54ff53a
mov dword [ebp - 0x120], 0x510e527f
mov dword [ebp - 0x11c], 0x9b05688c
mov dword [ebp - 0x118], 0x1f83d9ab
mov dword [ebp - 0x114], 0x5be0cd19
mov dword [ebp - 0x50], 0
call fcn.00715120
mov eax, dword [esi + 0x10]
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x65eee5
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x138]
call fcn.00715120
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x65ef00
xor edx, edx
jmp 0x65ef0b
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
cmovae edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x138]
call fcn.007151e0
push ecx
lea eax, [ebp - 0x139]
mov dword [ebp - 0x14], 0
push eax
xorps xmm0, xmm0
mov byte [ebp - 0x139], 0
push 0x20
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.0041e2a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x34]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
lea ecx, [ebp - 0x16c]
movups xmmword [eax + 0x10], xmm0
call fcn.0063d160
push eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 3
push eax
call fcn.00405710
mov esi, eax
add esp, 8
cmp edi, esi
je 0x65efae
mov ecx, edi
call fcn.00407a10
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x154]
call fcn.00407a10
lea ecx, [ebp - 0x16c]
call fcn.00404490
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x139], 1
call fcn.0040f050
lea ecx, [ebp - 0x34]
call fcn.00407a10
lea ecx, [ebp - 0x4c]
call fcn.00407a10
mov al, byte [ebp - 0x139]
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.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x65fde0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x831184]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x4c], 0
jne 0x65fe13
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x50], 8
lea eax, [esi + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jb 0x65fe2e
mov eax, dword [eax]
sub esp, 0xc
lea ecx, [esp + 0x28]
push 2
push 2
push 0x40000000
push eax
call fcn.00415b70
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x65ffb7
mov eax, dword [esi]
cmp eax, 4
jne 0x65fe87
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x18]
push 0
push eax
push 4
push esi
push edi
call ebx
test eax, eax
jne 0x65fe79
call fcn.00415b30
push 0
lea eax, [esp + 0x1c]
push eax
push 5
lea eax, [esi + 8]
jmp 0x65feb8
cmp eax, 5
jne 0x65ffae
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x18]
push 0
push eax
push 4
push esi
push edi
call ebx
test eax, eax
jne 0x65feac
call fcn.00415b30
push 0
lea eax, [esp + 0x1c]
push eax
push 8
lea eax, [esi + 0xd]
push eax
push edi
call ebx
test eax, eax
jne 0x65fec5
call fcn.00415b30
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
lea eax, [ecx + 1]
test eax, eax
je 0x65ff17
xor edx, edx
mov dword [esp + 0x14], edx
nop dword [eax]
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x1c]
push 0
push ecx
push 6
add eax, edx
push eax
push edi
call ebx
test eax, eax
jne 0x65fefb
call fcn.00415b30
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
add dword [esp + 0x14], 6
inc edx
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
cmp edx, eax
mov edx, dword [esp + 0x14]
jb 0x65fee0
cmp dword [esi], 5
jne 0x65ff52
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 0x13]
jae 0x65ff52
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x1c]
push 0
push ecx
push 4
lea eax, [eax + ebx*4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x65ff46
call fcn.00415b30
movzx eax, word [esi + 0x13]
inc ebx
cmp ebx, eax
jl 0x65ff26
mov ecx, dword [esi + 4]
xor ebx, ebx
test ecx, ecx
je 0x65ff98
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop
mov eax, dword [esi + 0x30]
mov edx, dword [eax + ecx]
mov eax, dword [eax + ecx + 4]
sub eax, edx
je 0x65ff8b
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x65ff87
call fcn.00415b30
mov ecx, dword [esp + 0x14]
inc ebx
add ecx, 0xc
mov dword [esp + 0x14], ecx
cmp ebx, dword [esi + 4]
jb 0x65ff60
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x65ffa7
push edi
call ebx
xor edi, edi
mov byte [esp + 0x13], 1
jmp 0x65ffbc
test edi, edi
je 0x65ffb7
push edi
call ebx
xor edi, edi
mov byte [esp + 0x13], 0
test edi, edi
je 0x65ffc3
push edi
call ebx
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x660dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], 0x13
xor eax, eax
mov dword [ebp - 0x28], 0xde00c1
mov dword [ebp - 0x24], 0xdc00df
mov dword [ebp - 0x20], 0x810097
mov dword [ebp - 0x1c], 0x870080
mov dword [ebp - 0x18], 0x9c0086
mov dword [ebp - 0x14], 0x860081
mov dword [ebp - 0x10], 0x980086
mov dword [ebp - 0xc], 0x880086
mov dword [ebp - 8], 0x940089
mov dword [ebp - 4], 0xbc0088
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x28], cx
inc eax
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x660e20
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp + ecx*2 - 0x28], ax
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x660e51
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x660e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0xf
xor eax, eax
mov dword [ebp - 0x20], 0xcf00fd
mov dword [ebp - 0x1c], 0xcd00c7
mov dword [ebp - 0x18], 0xc100c0
mov dword [ebp - 0x14], 0x9000c1
mov dword [ebp - 0x10], 0xde00f2
mov dword [ebp - 0xc], 0xd500d6
mov dword [ebp - 8], 0xd300db
mov dword [ebp - 4], 0xb800c5
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x20], cx
inc eax
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x660ed0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp + ecx*2 - 0x20], ax
lea ecx, [ebp - 0x20]
lea edx, [ecx + 2]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x660f01
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x660f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0xd
xor eax, eax
mov dword [ebp - 0x1c], 0xcf00fd
mov dword [ebp - 0x18], 0xcd00c7
mov dword [ebp - 0x14], 0xc100c0
mov dword [ebp - 0x10], 0x9000c1
mov dword [ebp - 0xc], 0xdd00e5
mov dword [ebp - 8], 0xd800dc
mov dword [ebp - 4], 0xb600c6
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x1c], cx
inc eax
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x660f70
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp + ecx*2 - 0x1c], ax
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x660fa1
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret