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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b6a96
mov eax, dword fs:[0]
push eax
mov eax, 0x4038
call fcn.0078f690
mov eax, dword [0x82f184]
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 0x647d37
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x647d3f
mov eax, dword [eax]
cmp dword [edx + 0x14], 8
jb 0x647d47
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 0x647d84
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.0076d59e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x647e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b6ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x82f184]
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 0x647eab
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 0x7cd378
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 0x647f89
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 0x647f2c
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 0x647f3d
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 0x647f7f
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x40]
push ecx
cmp dword [esi + 8], eax
je 0x647f68
mov ecx, eax
call fcn.00404120
add dword [esi + 4], 0x18
jmp 0x647f70
push eax
mov ecx, esi
call fcn.00404950
push 0
push 0x7cd378
lea ecx, [ebp - 0x40]
call fcn.004044f0
inc edi
cmp edi, dword [ebp - 0x4c]
jb 0x647ef6
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.0076d59e
mov esp, ebp
pop ebp
ret 4
Function at 0x6496b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b6d58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x82f184]
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 0x649814
nop dword [eax + eax]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
mov dword [ebp - 4], 0
call fcn.00451010
mov edx, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x38], 0xd800d5
xor ecx, ecx
mov dword [ebp - 0x34], 0xd700d3
mov dword [ebp - 0x30], 0xcf0092
mov dword [ebp - 0x2c], 0xbf00cb
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x649730
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x28]
push eax
mov ecx, edx
call fcn.0063eb80
test al, al
je 0x6497c0
push esi
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00649a00
mov eax, dword [edi]
mov esi, dword [ebp - 0x40]
cmp esi, dword [eax]
je 0x6497c0
cmp byte [esi + 0xd], 0
je 0x649779
mov esi, dword [esi + 8]
jmp 0x6497c0
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x6497aa
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x64979f
nop word [eax + eax]
cmp esi, dword [eax]
jne 0x64979f
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x649790
cmp byte [esi + 0xd], 0
cmovne eax, esi
mov esi, eax
jmp 0x6497c0
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x6497c0
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x6497b5
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x6497f5
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x6497f1
cmp esi, dword [eax + 8]
jne 0x6497f1
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x6497e1
mov esi, eax
jmp 0x64980c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x64980c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x649800
cmp esi, dword [edi]
jne 0x6496f0
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.0076d59e
mov esp, ebp
pop ebp
ret
Function at 0x64cc30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b7306
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x82f184]
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.0059d890
mov dword [ebp - 4], 0
mov dword [esi], vtable.y.2.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], 0xea009d
mov dword [ebp - 0x18], 0xeb00f4
mov dword [ebp - 0x14], 0xbd0099
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x64ccb4
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 0x64cce4
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], 0xea009d
mov dword [ebp - 0x18], 0xfd00f4
mov dword [ebp - 0x14], 0xbd0099
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x1c], cx
inc eax
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x64cd40
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 0x64cd70
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 0x650550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b7b2b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x82f184]
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.00575790
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movaps xmm0, xmmword [0x7e4070]
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xdc], 0x43
movaps xmm0, xmmword [0x7e4050]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0x98], 0xfbd0d7c7
movaps xmm0, xmmword [0x7e3990]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x7e3f50]
movups xmmword [ebp - 0xa8], xmm0
nop word [eax + eax]
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0xd8], al
inc ecx
mov eax, dword [ebp - 0xdc]
cmp ecx, eax
jb 0x650610
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 0x650650
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.00587bc0
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 0x6506d2
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x6506d2
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 0x6506f7
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x6506f7
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x650758
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 0x650739
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x650739
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0076d313
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.0076d59e
mov esp, ebp
pop ebp
ret 4
Function at 0x650790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
cmp dword [ecx + 8], 1
push ebx
jne 0x650885
mov dword [esp + 0x20], 0x15
xor eax, eax
mov dword [esp + 0x24], 0x940095
mov dword [esp + 0x28], 0xd400d6
mov dword [esp + 0x2c], 0xd900dd
mov dword [esp + 0x30], 0xde0093
mov dword [esp + 0x34], 0xa500ae
mov dword [esp + 0x38], 0xaf00ef
mov dword [esp + 0x3c], 0xb000a5
mov dword [esp + 0x40], 0xa400a8
mov dword [esp + 0x44], 0xe400a0
mov dword [esp + 0x48], 0xbb00ab
mov dword [esp + 0x4c], 0xcd00bc
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [esp + eax*2 + 0x24], cx
inc eax
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jb 0x650810
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 0x650843
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 0x650885
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x65da80
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 0x7b8d48
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x82f184]
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 0x65daee
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 0x65dbfd
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 0x65dacd
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x65db13
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 0x65db40
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x14
mov byte [esi], al
call fcn.0041b2e0
jmp 0x65dbfd
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 0x65dacd
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 0x65dbaf
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 0x65dbbc
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 0x65dbe6
push 0
push 0x14
call fcn.0041a4f0
jmp 0x65dbf5
cmp dword [ebp - 0x14], 0x14
jne 0x65dbdb
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.0076d59e
mov esp, ebp
pop ebp
ret
Function at 0x65e0d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8dd3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x82f184]
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.0065df70
test al, al
jne 0x65e131
mov byte [ebp - 0x139], al
jmp 0x65e2db
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.00714400
mov eax, dword [esi + 0x10]
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x65e1e5
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0x138]
call fcn.00714400
add esp, 4
cmp dword [ebp - 0x24], 0
jne 0x65e200
xor edx, edx
jmp 0x65e20b
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
cmovae edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x138]
call fcn.007144c0
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.0063c400
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 0x65e2ae
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.0076d59e
mov esp, ebp
pop ebp
ret
Function at 0x65f0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x82f184]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x4c], 0
jne 0x65f113
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0076d59e
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 0x65f12e
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 0x65f2b7
mov eax, dword [esi]
cmp eax, 4
jne 0x65f187
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 0x65f179
call fcn.00415b30
push 0
lea eax, [esp + 0x1c]
push eax
push 5
lea eax, [esi + 8]
jmp 0x65f1b8
cmp eax, 5
jne 0x65f2ae
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 0x65f1ac
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 0x65f1c5
call fcn.00415b30
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
lea eax, [ecx + 1]
test eax, eax
je 0x65f217
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 0x65f1fb
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 0x65f1e0
cmp dword [esi], 5
jne 0x65f252
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 0x13]
jae 0x65f252
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 0x65f246
call fcn.00415b30
movzx eax, word [esi + 0x13]
inc ebx
cmp ebx, eax
jl 0x65f226
mov ecx, dword [esi + 4]
xor ebx, ebx
test ecx, ecx
je 0x65f298
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 0x65f28b
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 0x65f287
call fcn.00415b30
mov ecx, dword [esp + 0x14]
inc ebx
add ecx, 0xc
mov dword [esp + 0x14], ecx
cmp ebx, dword [esi + 4]
jb 0x65f260
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x65f2a7
push edi
call ebx
xor edi, edi
mov byte [esp + 0x13], 1
jmp 0x65f2bc
test edi, edi
je 0x65f2b7
push edi
call ebx
xor edi, edi
mov byte [esp + 0x13], 0
test edi, edi
je 0x65f2c3
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.0076d59e
mov esp, ebp
pop ebp
ret
Function at 0x6600c0
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], 0xcd00d0
mov dword [ebp - 0x24], 0xcb00ce
mov dword [ebp - 0x20], 0x920086
mov dword [ebp - 0x1c], 0x880091
mov dword [ebp - 0x18], 0xef00f7
mov dword [ebp - 0x14], 0xf100f0
mov dword [ebp - 0x10], 0xeb00f7
mov dword [ebp - 0xc], 0xf700f7
mov dword [ebp - 8], 0xe700f8
mov dword [ebp - 4], 0xcb00f9
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x28], cx
inc eax
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x660120
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 0x660151
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 0x660180
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], 0xdc00ec
mov dword [ebp - 0x1c], 0xda00d6
mov dword [ebp - 0x18], 0xd200d1
mov dword [ebp - 0x14], 0x9f00d0
mov dword [ebp - 0x10], 0xad0083
mov dword [ebp - 0xc], 0xa200a7
mov dword [ebp - 8], 0xa000aa
mov dword [ebp - 4], 0xc700b4
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x20], cx
inc eax
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x6601d0
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 0x660201
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 0x660230
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], 0xdc00ec
mov dword [ebp - 0x18], 0xda00d6
mov dword [ebp - 0x14], 0xd200d1
mov dword [ebp - 0x10], 0x9f00d0
mov dword [ebp - 0xc], 0xae0094
mov dword [ebp - 8], 0xaf00ad
mov dword [ebp - 4], 0xc500b7
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x1c], cx
inc eax
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x660270
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 0x6602a1
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