joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a858
push 0x43a850
push str.FlsAlloc
push 0x1f
call fcn.0042a7b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a506
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x42a50c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42a550
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a868
push 0x43a860
push str.FlsGetValue
push 0x21
call fcn.0042a7b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a587
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42a58f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43a870
push 0x43a868
push str.FlsSetValue
push 0x22
call fcn.0042a7b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a5c9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42f4a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42f545
push ebx
push esi
call fcn.0042f548
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042f3ac
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42f4f2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42f544
push edi
push eax
call fcn.0042c3c6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42f512
call fcn.0042ba1b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42f543
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042f3ac
add esp, 0x20
test eax, eax
jne 0x42f531
push edi
call fcn.0042ba1b
jmp 0x42f539
push ebx
call fcn.0042ba1b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x430b05
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x442a78]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x430b45
cmp byte [ebx], 0xa
jne 0x430b45
or byte [edi + eax + 0x28], 4
jmp 0x430b4a
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x430c49
mov dl, byte [eax]
cmp dl, 0x1a
je 0x430c2c
inc eax
cmp dl, 0xd
je 0x430b76
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x430b9c
cmp eax, ecx
jae 0x430baa
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x430b5e
jmp 0x430c49
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430c27
cmp dword [ebp - 0x10], 0
je 0x430c27
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x442a78]
test byte [eax + edi + 0x28], 0x48
je 0x430c01
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x430bec
mov byte [esi], dl
jmp 0x430bfd
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x442a78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x430c49
cmp byte [ebp - 1], 0xa
jne 0x430c10
cmp esi, ebx
jne 0x430c10
mov byte [esi], 0xa
jmp 0x430c48
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00430fe6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x430c49
mov byte [esi], 0xd
jmp 0x430c48
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x442a78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x430c46
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x430c49
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430c52
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x442a78]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x430c98
cmp word [ebx], dx
jne 0x430c98
or byte [eax + edi + 0x28], 4
jmp 0x430c9d
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x430e00
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x430de0
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x430cde
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x430d14
cmp eax, edx
jae 0x430d22
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x430cb9
jmp 0x430e00
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430ddb
cmp dword [ebp - 0x18], 0
je 0x430ddb
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x442a78]
test byte [eax + edi + 0x28], 0x48
je 0x430db1
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x430d75
mov word [esi], cx
jmp 0x430dac
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x442a78]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x442a78]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x442a78]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x430e00
pop eax
cmp word [ebp - 4], ax
jne 0x430dc1
cmp esi, ebx
jne 0x430dc1
mov word [esi], ax
jmp 0x430dfd
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00430fe6
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x430e00
push 0xd
pop eax
jmp 0x430dbc
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x442a78]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x430dfa
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x430e00
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x437d98
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00437f2f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x437f07
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x437f07
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x437ebc
jg 0x437df4
test eax, eax
je 0x437eb2
push 1
push 0x1000
call fcn.0042c27e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x437e17
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x437ea9
push 0x8000
push ebx
call fcn.00428e44
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x437e40
jg 0x437e3b
cmp ecx, 0x1000
jb 0x437e40
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004319f5
add esp, 0x10
cmp eax, 0xffffffff
je 0x437e85
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x437e3b
jl 0x437e6c
test ecx, ecx
jne 0x437e2d
push dword [ebp - 0xc]
push ebx
call fcn.00428e44
push esi
call fcn.0042ba1b
add esp, 0xc
xor ebx, ebx
jmp 0x437f15
cmp byte [edi + 0x24], 0
je 0x437e9c
cmp dword [edi + 0x20], 5
jne 0x437e9c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x437ea7
mov ebx, dword [edi + 0x18]
jmp 0x437ea9
xor ebx, ebx
push esi
call fcn.0042ba1b
pop ecx
jmp 0x437f15
test ecx, ecx
jg 0x437e7e
jl 0x437ebc
test eax, eax
jae 0x437e7e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00430fe6
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x437edc
cmp byte [edi + 0x1c], 0
je 0x437e7e
jmp 0x437f0d
push ebx
call fcn.0042f909
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x437e7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x437f15
cmp byte [edi + 0x1c], 0
je 0x437f12
mov ebx, dword [edi + 0x18]
jmp 0x437f15
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00430fe6
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43ae30
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x43ae5a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x43aec0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x43af1f

Function at 0x43afa0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x43afff
Function at 0x4668b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x24
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x714b80], ecx
inc eax
cmp eax, 0x100
jb 0x4668d0
cmp eax, 0x800
jae 0x4669a3
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [eax*4 + 0x714780]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x714b80]
mov dword [eax*4 + 0x714b80], edx
inc eax
cmp eax, 0x800
jb 0x466980
lea ecx, [esp + 0xc]
mov dword [0x711830], 0x467a90
call fcn.00467b90
test eax, eax
je 0x466a5f
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov esi, edi
mov eax, 0x70b338
shr esi, 8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
nop
mov ebx, dword [esp + 0x10]
cmp dword [eax - 8], ebx
jne 0x4669fa
mov ebx, dword [esp + 0x14]
cmp dword [eax - 4], ebx
mov ebx, dword [esp + 0x18]
jne 0x4669fa
cmp dword [eax], ebx
je 0x466a18
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x4669e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret
sub ecx, 0
je 0x466a46
sub ecx, 1
je 0x466a35
sub ecx, 1
jne 0x466a5f
cmp esi, 6
jb 0x466a5f
jne 0x466a55
cmp edi, 0xf
jb 0x466a5f
jmp 0x466a55
cmp esi, 5
jb 0x466a5f
jne 0x466a55
cmp edi, 6
jb 0x466a5f
cmp edi, 0xa
jmp 0x466a53
cmp esi, 6
jb 0x466a5f
jne 0x466a55
cmp edi, 0x100c
je 0x466a5f
mov dword [0x711830], 0x467b30
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00626a7a
mov esp, ebp
pop ebp
ret

Function at 0x466b30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00626ba0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x466b9f
mov dword [edi], 0
mov edx, 0x400000
nop dword [eax]
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x466ba8
test ecx, ecx
je 0x466b9f
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x466b60
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x466c1f
mov ebx, dword [ebp + 0xc]
mov ecx, 0x400000
mov dword [edi], 0
nop dword [eax]
push 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x466c26
test ecx, ecx
je 0x466c1f
mov ecx, 0x400000
test esi, esi
jne 0x466be0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x469850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x469879
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edx - 4]
mov dword [ebp - 4], 0xffffffff
add ebx, ecx
mov dword [ebp - 0x10], ebx
nop dword [eax]
lea edx, [edi + ecx]
cmp edx, ebx
jae 0x4698a4
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x4698a4
inc edx
cmp edx, ebx
jb 0x469897
mov edi, edx
sub edi, ecx
mov ecx, edi
sub ecx, dword [ebp - 4]
cmp edx, ebx
jae 0x4699a5
cmp ecx, 3
jbe 0x4698de
xor esi, esi
mov al, byte [edx + 4]
mov dword [ebp - 4], edi
test al, al
je 0x469919
cmp al, 0xff
je 0x469919
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov eax, 1
or esi, 1
add edi, eax
jmp 0x469890
dec ecx
shl esi, cl
and esi, 7
je 0x4698bc
cmp byte [esi + 0x692558], 0
je 0x469905
movzx eax, byte [esi + 0x692560]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x469905
cmp al, 0xff
jne 0x4698bc
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov dword [ebp - 4], edi
or esi, 1
inc edi
jmp 0x469890
movzx ecx, byte [edx + 3]
movzx eax, al
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
sub eax, edi
lea ebx, [eax - 5]
test esi, esi
je 0x469974
movzx eax, byte [esi + 0x692560]
mov ecx, 0x18
shl eax, 3
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x469960
cmp al, 0xff
jne 0x469974
mov ecx, 0x20
mov eax, 1
sub ecx, dword [ebp - 0xc]
shl eax, cl
dec eax
xor eax, ebx
jmp 0x469937
mov ecx, dword [ebp - 8]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
mov byte [edx + 2], al
mov eax, 5
add edi, eax
jmp 0x469890
pop ebx
cmp ecx, 3
jbe 0x4699ba
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
dec ecx
shl esi, cl
and esi, 7
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46ad40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00626ba0
push ebx
push esi
mov eax, ecx
mov esi, edx
push edi
mov dword [ebp - 4], eax
call fcn.00484620
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.0062bd10
add esp, 8
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x46adf8
push 0x45
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [edi + 1]
lea ecx, [edi + 2]
call fcn.0047b5e0
push 0x6d4860
push esi
push 0x6d4864
push dword [ebp - 4]
push str.fopen_
push 5
call fcn.0047be60
add esp, 0x24
call fcn.00632f3d
cmp dword [eax], 2
je 0x46adce
call fcn.00632f3d
cmp dword [eax], 6
je 0x46adce
lea eax, [edi + 2]
lea ecx, [edi + 0x4e]
jmp 0x46add8
mov eax, 0x80
mov ecx, 0x4c
push ecx
mov edx, 0x6d
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_bio_bss_file.c
push eax
lea ecx, [edx - 0x4d]
call fcn.0047b5e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x692778
call fcn.0046b540
add esp, 4
mov esi, eax
push edi
test esi, esi
jne 0x46ae1d
call fcn.0063820c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x6a
push esi
call fcn.0046c010
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ea20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00626ba0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edx
cmp edx, ebx
je 0x46eb56
mov eax, dword [ebx + 4]
push esi
lea esi, [ecx - 1]
not ecx
shr ecx, 0x1f
shr esi, 0x1f
and esi, ecx
mov ecx, dword [edx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp - 0xc], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, esi
and eax, esi
pshufd xmm4, xmm0, 0
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46eb55
push edi
cmp ecx, 4
jb 0x46eb30
mov esi, dword [edx]
lea edx, [ecx - 1]
mov edi, dword [ebx]
lea edx, [edi + edx*4]
mov dword [ebp + 8], edx
lea edx, [ecx - 1]
lea edx, [esi + edx*4]
mov dword [ebp - 4], edx
cmp edi, edx
mov edx, dword [ebp - 8]
ja 0x46eac9
cmp dword [ebp + 8], esi
jae 0x46eb30
cmp edi, ebx
ja 0x46ead2
cmp dword [ebp + 8], ebx
jae 0x46eb30
cmp edi, edx
ja 0x46eadb
cmp dword [ebp + 8], edx
jae 0x46eb30
cmp esi, ebx
ja 0x46eae4
cmp dword [ebp - 4], ebx
jae 0x46eb30
cmp esi, edx
ja 0x46eaed
cmp dword [ebp - 4], edx
jae 0x46eb30
mov dword [ebp + 8], ecx
and dword [ebp + 8], 0xfffffffc
movups xmm3, xmmword [edi + eax*4]
movups xmm2, xmmword [esi + eax*4]
movaps xmm1, xmm3
pxor xmm1, xmm2
pand xmm1, xmm4
movaps xmm0, xmm1
pxor xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [esi + eax*4], xmm0
movups xmmword [edi + eax*4], xmm1
add eax, 4
cmp eax, dword [ebp + 8]
jl 0x46eaf4
mov dword [ebp + 8], eax
cmp eax, ecx
jge 0x46eb54
nop dword [eax]
mov ecx, dword [edx]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [ebp - 0xc]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
mov edx, dword [ebp - 8]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [ebp + 0xc]
jl 0x46eb30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4716c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0x18
jne 0x4716d1
mov edx, ecx
xor ecx, ecx
jmp fcn.004710f0
cmp eax, 0x17
jne 0x4716df
mov edx, ecx
xor ecx, ecx
jmp fcn.004710f0
xor eax, eax
ret

Function at 0x4792e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 4
call fcn.00626ba0
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0xc], esi
call fcn.00479260
test eax, eax
je 0x47934f
cmp eax, 0x70b074
je 0x47934f
call fcn.00479260
test eax, eax
je 0x479329
mov eax, dword [eax + 4]
test eax, eax
je 0x479329
push ebx
push esi
call eax
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x64
push 0x3ae
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x65
lea ecx, [edx - 0x40]
call fcn.0047b5e0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x4ab8b0
mov ecx, 0x7140a8
call fcn.00483380
neg eax
sbb eax, eax
test dword [0x7140ac], eax
je 0x479447
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x71409c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x479476
push edi
push edi
xor ecx, ecx
call fcn.00484170
add esp, 8
test eax, eax
je 0x479447
lea ecx, [edi + 1]
call fcn.004833d0
test eax, eax
je 0x479447
mov esi, dword [0x7140a4]
push esi
push ecx
mov dword [eax + 8], 1
call fcn.004aac40
mov edi, eax
add esp, 8
test edi, edi
je 0x479439
test esi, esi
jne 0x479450
cmp dword [edi + 0x64], esi
je 0x4793e9
mov eax, 0x81
mov ecx, 0x336
jmp 0x47941b
cmp dword [edi], 0
jne 0x479450
mov eax, dword [edi + 4]
test eax, eax
je 0x479406
cmp dword [eax], 0
jne 0x479406
mov eax, 0x82
mov ecx, 0x33d
jmp 0x47941b
call fcn.00483330
mov dword [edi], eax
test eax, eax
jne 0x479450
mov eax, 0x7e
mov ecx, 0x344
push ecx
mov edx, 0x77
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcrypto_randdrbg_lib.c
push eax
lea ecx, [edx - 0x53]
call fcn.0047b5e0
add esp, 0xc
mov ecx, edi
call fcn.004aad70
push 0
push dword [0x71409c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov dword [edi + 0x58], 1
mov ecx, edi
mov dword [edi + 0x5c], 1
call fcn.004aae30
add esp, 4
push edi
push dword [0x71409c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004ab6c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret