joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45387a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x453870
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45375a
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45375a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x45376d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x453847
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x45383b
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x453832
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x4537c0
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x453803
mov eax, 1
cmp eax, ecx
ja 0x4537f7
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00465b00
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x45382d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x4537fc
mov ecx, dword [esp + 0xc]
jmp 0x4537c5
call fcn.00465aa0
xor eax, eax
mov ecx, eax
call fcn.00465a90
call fcn.00465b00
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x45386b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x453840
mov ecx, dword [esp + 0x18]
jmp 0x453772
call fcn.00465aa0
xor eax, eax
mov ecx, eax
call fcn.00465a90
nop
call fcn.00464630
jmp fcn.00453700
Function at 0x457d20
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457e23
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00458450
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4ba600]
mov dword [esp], ecx
call fcn.0040bff0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x58253c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.00457630
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00456a80
add esp, 0x28
ret
call fcn.00464630
jmp fcn.00457d20

Function at 0x45b030
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b0cb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x59df64]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00465be7
lea ecx, [0x45b0e0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00464540
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00464630
jmp fcn.0045b030
Function at 0x462190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4622f0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.00409e40
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x4622d9
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00431a00
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.004320e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.004320e0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x462260
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00454550
mov eax, dword [0x59e070]
test eax, eax
jne 0x462247
mov eax, dword [esp + 0x20]
jmp 0x462255
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.00465a30
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x462297
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00454550
mov eax, dword [0x59e070]
test eax, eax
jne 0x462282
mov eax, dword [esp + 0x20]
jmp 0x462290
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.00465a30
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a040
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4622bd
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00431ec0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4622d5
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00431ec0
add esp, 0x1c
ret
lea eax, [0x4d48a2]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.004376d0
nop
call fcn.00464630
jmp fcn.00462190
Function at 0x4658e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x59e160]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46406b
je 0x4640be
cmp ebx, 0x20
jbe 0x4640c4
cmp ebx, 0x40
jbe 0x46410a
jmp 0x4641ab
test ebx, ebx
je 0x4640b4
add eax, 0x10
test ax, 0xff0
je 0x4640a0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4f2780]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4f2880]
jmp 0x464088
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x464088
pxor xmm1, xmmword [0x59e170]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x59e170]
pxor xmm2, xmmword [0x59e180]
pxor xmm3, xmmword [0x59e190]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x59e170]
pxor xmm2, xmmword [0x59e180]
pxor xmm3, xmmword [0x59e190]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46420a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x59de46], 0
je 0x4658fa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x464030
jmp fcn.00408810
Function at 0x465900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40337c
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408810
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00464630
jmp 0x403340
cmp byte [0x59de46], 0
je 0x46591b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x464030
jmp 0x403340

Function at 0x466780
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46679a
mov ecx, 0x14
jmp 0x4667a3
shl ecx, 2
add ecx, 0xe10
mov dword [0x59df64], ecx
ret
Function at 0x491450
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49163a
sub esp, 0x48
mov eax, dword [0x575354]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 0xa]
movzx ebx, word [ecx + 0xc]
movzx ebp, word [ecx + 2]
movzx esi, word [ecx + 8]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.0048e140
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.004660ce
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.004660ce
call fcn.0048ced0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.0045e5e0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x491527
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x491541
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4915b8
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x49158e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x49158a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x491583
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x491590
mov ebx, 0x1d
jmp 0x4915ae
mov ebp, eax
jmp 0x491590
mov ebp, eax
cmp ebp, 0xd
jae 0x49162d
lea eax, [ebp - 1]
lea edx, [0x56e6c0]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x491623
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4915b8
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4915ea
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4915f2
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call fcn.00465a90
mov eax, ebp
mov ecx, 0xd
call fcn.00465a90
nop
call fcn.00464630
jmp fcn.00491450
Function at 0x4a51f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x59df64]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a52e1
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
test byte [ecx], al
mov edx, dword [esp + 0x24]
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x4a522c
mov ebx, dword [esp + 0xc]
inc ebx
mov ecx, dword [esp + 0x18]
mov eax, ebx
cmp eax, 4
jge 0x4a5265
mov dword [esp + 0xc], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.00469fd0
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x28]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4a5221
mov byte [esp + 0x2c], 1
add esp, 0x1c
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4a526f
inc eax
cmp eax, 4
jge 0x4a5284
mov dword [esp + 0x14], eax
lea ebx, [ecx + eax*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
xor esi, esi
jmp 0x4a52da
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0046a010
mov byte [esp + 0x2c], 0
add esp, 0x1c
ret
mov edi, ebp
and edi, 0xff
xor edx, edi
shr ebp, 8
mov edi, ebx
shl edi, 0x18
mov dword [esp + 0x10], edi
mov eax, edx
mov edi, 0x1b3
mul edi
inc esi
mov edi, dword [esp + 0x10]
or ebp, edi
shr ebx, 8
mov edx, eax
mov eax, dword [esp + 0x14]
cmp esi, 8
jl 0x4a52ab
jmp 0x4a526e
call fcn.00464630
jmp fcn.004a51f0
Function at 0x10007300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.1003a8e0
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push eax
lea eax, [ebp - 0x2004]
push str.SoftwareSoundResearchLogging_s
push eax
call fcn.10007230
add esp, 0xc
lea eax, [ebp - 0x2008]
push eax
push 0x20119
push ebx
lea eax, [ebp - 0x2004]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100073a9
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x200c], 4
push eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2014], 4
push eax
lea eax, [ebp - 0x200c]
push eax
push ebx
push esi
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000739d
cmp dword [ebp - 0x2010], ebx
setne bl
push dword [ebp - 0x2008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.100368c4
mov esp, ebp
pop ebp
ret
Function at 0x100074b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8060
call fcn.1003a8e0
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebx + 8]
mov edi, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x2054]
push str._i:__s
push eax
call fcn.10007230
push esi
lea eax, [ebp - 0x6054]
push edi
push eax
call fcn.1003b307
lea edx, [ebp - 0x6054]
add esp, 0x1c
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10007506
lea edi, [ebp - 0x2054]
sub edx, esi
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10007520
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx + 0xe08], al
je 0x100075f6
cmp dword [ebx + 0xe0c], 0
je 0x100075f6
lea eax, [ebp - 0x8060]
push eax
call fcn.1003ba8c
lea eax, [ebp - 0x8060]
push eax
call fcn.1003b7ed
push eax
push str._d__m__Y__I:_M:_S
lea eax, [ebp - 0x54]
push 0x50
push eax
call fcn.1003b7d0
push 0x2000
lea edx, [ebp - 0x8054]
lea ecx, [ebp - 0x2054]
call fcn.10007290
lea eax, [ebp - 0x8054]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4054]
push str.__s__t_s_r_n
push eax
call fcn.10037779
lea ecx, [ebp - 0x4054]
mov dword [ebp - 0x8058], 0
add esp, 0x2c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100075c4
push 0
lea eax, [ebp - 0x8058]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x4054]
push eax
push dword [ebx + 0xe0c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebx + 0xe0c]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [ebx + 0x1e18], 0
jne 0x1000761d
lea eax, [ebp - 0x2054]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100368c4
mov esp, ebp
pop ebp
ret
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x2054]
push 0x100a3364
push eax
call fcn.10007230
lea edx, [ebp - 0x6054]
add esp, 0xc
mov esi, edx
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10007640
lea edi, [ebp - 0x2054]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10007656
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2054]
lea ecx, [edi + 2]
lea esp, [esp]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10007680
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x2054]
push 0
push 0
push 0
sub edi, ecx
push 0
sar edi, 1
inc edi
push edi
push eax
push 0
push 0xfde9
call esi
push 0
push 0
mov ecx, 0x1000
cmp eax, ecx
cmovl ecx, eax
lea eax, [ebp - 0x3054]
push ecx
push eax
push edi
lea eax, [ebp - 0x2054]
push eax
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x3054]
push eax
mov eax, dword [ebx + 0x1e18]
push 0
push 0
push dword [ebx + 0x1e14]
call eax
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100368c4
mov esp, ebp
pop ebp
ret
Function at 0x10014580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
cmp dword [esi + 0x20], ecx
je 0x100146d8
movsd xmm3, qword [0x100c74c8]
lea eax, [ecx + ecx]
movd xmm1, eax
mov eax, ecx
cdq
cvtdq2pd xmm1, xmm1
sub eax, edx
mov dword [esi + 0x20], ecx
mov edi, eax
mov dword [esi], 0
sar edi, 1
movdqu xmmword [ebp - 0x5c], xmm3
movsd qword [ebp - 0x1c], xmm1
test edi, edi
jle 0x100146a0
xorps xmm0, xmm0
movsd qword [ebp - 0x2c], xmm3
movsd qword [ebp - 0x24], xmm0
mov eax, 1
movsd xmm0, qword [0x100a3790]
movsd qword [ebp - 0x3c], xmm3
movsd qword [ebp - 0x34], xmm0
mov dword [ebp - 0xc], eax
mov edi, edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x100a36f0]
divsd xmm0, xmm1
addsd xmm0, qword [0x100a36d0]
movsd qword [ebp - 0x14], xmm0
call fcn.100854c0
movsd qword [ebp - 0x4c], xmm0
movsd xmm0, qword [ebp - 0x14]
call fcn.100861f0
mov eax, dword [esi]
movapd xmm1, xmm0
movdqu xmm3, xmmword [ebp - 0x4c]
cdq
sub eax, edx
movapd xmm2, xmm1
xorpd xmm2, xmmword [0x100a3920]
movsd xmm0, xmm3
sar eax, 1
shl eax, 6
add eax, dword [esi + 8]
unpcklpd xmm0, xmm1
movsd xmm1, qword [ebp - 0x1c]
unpcklpd xmm3, xmm2
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [ebp - 0x2c]
movdqu xmmword [eax + 0x10], xmm3
movdqu xmmword [eax + 0x20], xmm0
movdqu xmm0, xmmword [ebp - 0x3c]
movdqu xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0xc]
add dword [esi], 2
add eax, 2
mov dword [ebp - 0xc], eax
dec edi
jne 0x10014600
movdqu xmm3, xmmword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
test cl, 1
je 0x100146d8
mov eax, dword [esi]
xorps xmm0, xmm0
movaps xmm1, xmmword [0x100a3800]
xorps xmm2, xmm2
cdq
sub eax, edx
unpcklpd xmm3, xmm0
sar eax, 1
shl eax, 6
add eax, dword [esi + 8]
movdqu xmmword [eax], xmm1
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm3
movdqu xmmword [eax + 0x30], xmm2
inc dword [esi]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.100368c4
mov esp, ebp
pop ebp
ret 4
Function at 0x10014720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100c6084]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
movapd xmm1, xmm2
mov ecx, dword [ebp + 8]
cmp dword [edi + 0x20], ecx
jne 0x10014752
movsd xmm0, qword [edi + 0x28]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100148e6
movsd qword [edi + 0x28], xmm1
divsd xmm1, qword [0x100a3730]
push esi
lea esi, [ecx + ecx]
mov dword [edi + 0x20], ecx
mov dword [edi], 0
movsd xmm0, qword [0x100a3720]
call fcn.10085680
movsd xmm1, qword [0x100a36b8]
movd xmm2, esi
cvtdq2pd xmm2, xmm2
divsd xmm1, xmm2
call fcn.10085680
movsd xmm6, qword [0x100a37a8]
movapd xmm3, xmm0
divsd xmm6, xmm3
mov eax, dword [ebp + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
xorpd xmm3, xmmword [0x100a3920]
movdqu xmmword [ebp - 0x44], xmm6
movdqu xmmword [ebp - 0x1c], xmm3
cmp eax, 1
jl 0x100148ac
mov eax, 1
mov dword [ebp - 8], eax
movd xmm0, eax
movd xmm1, esi
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd xmm1, qword [0x100a36a8]
subsd xmm1, xmm0
mulsd xmm1, qword [0x100a36f0]
movaps xmm0, xmm1
movsd qword [ebp - 0x24], xmm1
call fcn.100854c0
movdqu xmmword [ebp - 0x34], xmm0
mulsd xmm0, qword [ebp - 0x1c]
movdqu xmmword [ebp - 0x54], xmm0
movsd xmm0, qword [ebp - 0x24]
call fcn.100861f0
mov eax, dword [edi]
movapd xmm2, xmm0
movdqu xmm6, xmmword [ebp - 0x44]
cdq
movdqu xmm5, xmmword [ebp - 0x34]
sub eax, edx
movapd xmm4, xmm2
sar eax, 1
mulsd xmm4, qword [ebp - 0x1c]
shl eax, 6
add eax, dword [edi + 8]
mulsd xmm2, xmm6
mulsd xmm5, xmm6
movapd xmm3, xmm4
xorpd xmm3, xmmword [0x100a3920]
movapd xmm1, xmm2
xorpd xmm1, xmmword [0x100a3920]
movsd xmm0, xmm5
unpcklpd xmm5, xmm1
movdqu xmm1, xmmword [ebp - 0x54]
unpcklpd xmm0, xmm2
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm5
movsd xmm0, xmm1
unpcklpd xmm1, xmm3
unpcklpd xmm0, xmm4
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm1
mov eax, dword [ebp - 8]
add dword [edi], 2
add eax, 2
dec dword [ebp - 0xc]
mov dword [ebp - 8], eax
jne 0x100147d0
movdqu xmm3, xmmword [ebp - 0x1c]
test byte [ebp + 8], 1
pop esi
je 0x100148e6
mov eax, dword [edi]
xorps xmm2, xmm2
cdq
xorps xmm0, xmm0
sub eax, edx
unpcklpd xmm6, xmm2
sar eax, 1
xorps xmm1, xmm1
shl eax, 6
add eax, dword [edi + 8]
unpcklpd xmm3, xmm2
movdqu xmmword [eax], xmm6
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm3
movdqu xmmword [eax + 0x30], xmm1
inc dword [edi]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100368c4
mov esp, ebp
pop ebp
ret 4