joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031373
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100313af
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100313af
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100313af
xor eax, eax
cmp dword [ecx + 0x74], 0xe
jbe 0x100313ae
cmp dword [ecx + 0xe8], eax
setne al
ret
xor eax, eax
ret

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

Disassembly:
push 0x24
mov eax, 0x100da940
call fcn.10021e72
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov edx, dword [ebx + 0x30]
lea eax, [edx + 1]
mov dword [ebx + 0x30], eax
test edx, edx
jne 0x1006846c
cmp dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x14]
setne al
mov byte [ebp - 0x29], al
cmp dword [ebx + 0x18], edx
jne 0x1006843c
test al, al
sete al
movzx eax, al
push eax
push dword [ebx + 0x28]
push dword [ebx + 0x24]
call fcn.1009dda7
cmp byte [ebp - 0x29], 0
jne 0x10068448
call dword [sym.imp.kernel32.dll_GetCurrentThread]
mov ebx, eax
lea ecx, [ebp - 0x28]
push ebx
call fcn.1009dda7
mov edx, dword [ebp - 0x30]
lea edi, [ebp - 0x1c]
push ebx
mov cx, word [eax + 4]
mov word [edx + 0xc], cx
mov ecx, dword [eax]
mov dword [edx + 8], ecx
mov ecx, dword [edx + 0x14]
imul edx, dword [edx + 0x24], 0x34
mov eax, dword [ecx + 0x10]
movzx ecx, word [edx + eax + 0xc]
mov esi, dword [edx + eax]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov word [ebp - 0x18], cx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
call fcn.1009dda7
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, dword [ebx + 0x14]
call fcn.1009dda7
mov edi, dword [ebx + 0x14]
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax]
imul ecx, dword [ebx + 0x28], 0x34
imul edx, eax, 0x34
mov eax, dword [edi + 0x10]
push ebx
add ecx, 0xc
mov eax, dword [edx + eax + 0x30]
add ecx, eax
call fcn.1009dda7
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
jmp 0x10068448
push ebx
add ecx, 0xc4
call fcn.1009dda7
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x70]
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push ebx
push esi
mov dword [ebx + 0x20], eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
jne 0x1006846c
call fcn.1009dda7
call fcn.10021eea
ret
Function at 0x10070f7c
Capabilities:
Get thread local storage value

Disassembly:
push 4
mov eax, 0x100da5f0
call fcn.100157c2
mov ebx, ecx
mov eax, dword [ebx + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x1007103b
push 0
pop edi
and eax, 3
je 0x10070fc4
cmp eax, 1
jne 0x10070fcd
and esi, 0xfffffffe
mov esi, dword [esi + 0x10]
add esi, 8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10070fc4
mov al, byte [eax + 0x44]
test al, al
jne 0x1007103b
mov ecx, esi
call fcn.10068350
jmp 0x10071002
and esi, 0xfffffffd
lea ecx, [esi + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
add esi, 0x10
test eax, eax
je 0x10070ff3
mov al, byte [eax + 0x44]
test al, al
je 0x10070ff3
mov esi, edi
jmp 0x10070ffa
mov ecx, esi
call fcn.10068350
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
test esi, esi
je 0x1007103b
cmp dword [esi + 0x14], ebx
je 0x10071035
push 0x3c
call fcn.1009dda7
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x10071028
push esi
push ebx
mov ecx, eax
call fcn.1009dda7
mov edi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10068350
jmp 0x10071037
mov edi, esi
mov eax, edi
jmp 0x1007103d
xor eax, eax
call fcn.100157f5
ret

Function at 0x10073f6d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x100db7e8
call fcn.100157c2
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor esi, esi
mov dword [edi + 8], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0x80000000
mov dword [edi + 0x18], esi
mov dword [edi + 0x38], esi
call sym.MSVCR120.dll_public:_void___thiscall_Concurrency::event::constructor_void_
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
call fcn.1009dda7
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x10073fe8
cmp eax, 2
je 0x10073fe8
xor edx, edx
add eax, 4
inc edx
lock xadd dword [eax], edx
mov ecx, edi
call fcn.10074d68
lea ecx, [edi + 0x3c]
call sym.MSVCR120.dll_public:_void___thiscall_Concurrency::event::set_void_
cmp byte [ebp + 0xc], 0
je 0x10074029
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x10074023
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
je 0x10074031
jmp 0x10074012
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.1001ffa7
mov esi, eax
cmp dword [esi + 0x20], 0
jne 0x10074045
mov ecx, esi
call fcn.10065b8a
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.100157f5
ret 8
Function at 0x10075d62
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100de7b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100e3510]
test dword [ebp + 8], eax
je 0x10075dfc
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x808]
call fcn.1009dda7
xor eax, eax
mov word [ebp - 8], ax
mov eax, dword [0x100dfd60]
pop ecx
test eax, eax
je 0x10075def
push esi
push edi
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR120.dll_fwprintf
mov edi, dword [0x100e3524]
mov esi, dword [0x100e3520]
pop ecx
pop ecx
push 0
push 0x32
push edi
push esi
call fcn.10032225
add esi, 1
mov dword [0x100e3520], esi
adc edi, 0
or eax, edx
mov dword [0x100e3524], edi
pop edi
pop esi
jne 0x10075dfc
push dword [0x100dfd60]
call sym.MSVCR120.dll_fflush
pop ecx
jmp 0x10075dfc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010cbc
mov esp, ebp
pop ebp
ret

Function at 0x1009dda7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1009ddb6
pop dword [ebp - 0x50]
mov eax, 0x941302a7
add eax, 0x7bf6db0f
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x5afa1
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xed5039fb
add ecx, 0x12b00487
xor edi, edi
add edi, eax
mov ebx, 0x100ece00
add ebx, dword [ebp - 0x50]
mov esi, 0x2ed98a0a
mov edx, dword [ebx]
xor dword [ebp - 0x14], 0xb2e5317d
sub edx, esi
mov dword [ebp - 4], 0x1b9bd2b
mov dword [edi], edx
add dword [ebp - 0xc], eax
add edi, 4
add ebx, 4
loop 0x1009de06
add eax, 0xecdb
mov ebx, eax
add eax, 0x70c6efb7
add eax, 0x8f39104e
mov ecx, 0x46c7403a
sub ecx, 0x36c7403a
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x700eed6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x700eee5
pop dword [ebp - 0xc]
mov eax, 0xa68aa314
add eax, 0x60764bd1
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xc0e756b9
add dword [ebp - 0x1c], 0x8d6aee92
mov dword [ebp - 0x18], 0x2512c5d3
sub dword [ebp - 0x18], 0xf2df798e
mov dword [ebp - 0x14], 0x4a3ca780
sub dword [ebp - 0x14], 0xfdf06352
mov dword [ebp - 0x10], 0x95c0d88c
sub dword [ebp - 0x10], 0x95c0d88c
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x8c4ee57e
sub eax, 0x854db54e
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x2bf9acaf
add dword [ebp - 0x1c], 0x4878bca7
mov dword [ebp - 0x18], 0xda7864cf
add dword [ebp - 0x18], 0x66f3fca6
mov dword [ebp - 0x14], 0x2cc4e7db
sub dword [ebp - 0x14], 0xc9557b6f
mov dword [ebp - 0x10], 0x14c3576c
sub dword [ebp - 0x10], 0x14c3576c
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xe0c9a648
sub eax, 0xd9c87614
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3ec0e
push 0
call eax
mov ecx, 0x58d0
xor esi, esi
add esi, eax
mov edx, 0x93f82024
add edx, 0x7309e1dc
add edx, dword [ebp - 0xc]
mov ebx, 0x41e4908f
add ebx, 0x1a35ec61
add dword [ebp - 8], 0x8def3993
mov edi, dword [edx]
sub dword [ebp - 4], esi
sub edi, ebx
xor dword [ebp - 8], eax
mov dword [esi], edi
sub dword [ebp - 4], edx
add esi, 0x82c4f647
add esi, 0x7d3b09bd
add edx, 4
loop 0x700f003
add eax, 0x3ad88600
sub eax, 0x3ad72fed
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x406520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x44
call fcn.00406a60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.00406a60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x64
call fcn.00406a60
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0
push 0x28
push 0
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x14
push 0
mov eax, dword [ebp - 0x1c]
add eax, 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x415fdc
Capabilities:
Print debug messages

Disassembly:
jmp 0x43a3de
push esi
mov esi, ecx
call fcn.004160f4
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x447960
call fcn.004156ea
test eax, eax
jns 0x43a42d
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43a426
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x44efa8], 1
mov eax, esi
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x466aa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x24
call fcn.0065cc50
mov eax, dword [0x745694]
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 + 0x74fd20], ecx
inc eax
cmp eax, 0x100
jb 0x466ac0
cmp eax, 0x800
jae 0x466b93
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [eax*4 + 0x74f920]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x74fd20]
mov dword [eax*4 + 0x74fd20], edx
inc eax
cmp eax, 0x800
jb 0x466b70
lea ecx, [esp + 0xc]
mov dword [0x74c9d0], 0x467c80
call fcn.00467d80
test eax, eax
je 0x466c4f
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov esi, edi
mov eax, 0x7464b8
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 0x466bea
mov ebx, dword [esp + 0x14]
cmp dword [eax - 4], ebx
mov ebx, dword [esp + 0x18]
jne 0x466bea
cmp dword [eax], ebx
je 0x466c08
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x466bd0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret
sub ecx, 0
je 0x466c36
sub ecx, 1
je 0x466c25
sub ecx, 1
jne 0x466c4f
cmp esi, 6
jb 0x466c4f
jne 0x466c45
cmp edi, 0xf
jb 0x466c4f
jmp 0x466c45
cmp esi, 5
jb 0x466c4f
jne 0x466c45
cmp edi, 6
jb 0x466c4f
cmp edi, 0xa
jmp 0x466c43
cmp esi, 6
jb 0x466c4f
jne 0x466c45
cmp edi, 0x100c
je 0x466c4f
mov dword [0x74c9d0], 0x467d20
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065cc3a
mov esp, ebp
pop ebp
ret

Function at 0x466d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.0065cc50
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 0x466d8f
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 0x466d98
test ecx, ecx
je 0x466d8f
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x466d50
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 0x466db0
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 0x466e0f
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 0x466e16
test ecx, ecx
je 0x466e0f
mov ecx, 0x400000
test esi, esi
jne 0x466dd0
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 0x469a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0065cc50
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 0x469a69
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 0x469a94
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x469a94
inc edx
cmp edx, ebx
jb 0x469a87
mov edi, edx
sub edi, ecx
mov ecx, edi
sub ecx, dword [ebp - 4]
cmp edx, ebx
jae 0x469b95
cmp ecx, 3
jbe 0x469ace
xor esi, esi
mov al, byte [edx + 4]
mov dword [ebp - 4], edi
test al, al
je 0x469b09
cmp al, 0xff
je 0x469b09
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov eax, 1
or esi, 1
add edi, eax
jmp 0x469a80
dec ecx
shl esi, cl
and esi, 7
je 0x469aac
cmp byte [esi + 0x6cb928], 0
je 0x469af5
movzx eax, byte [esi + 0x6cb930]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x469af5
cmp al, 0xff
jne 0x469aac
mov ecx, dword [ebp - 8]
and esi, 3
add esi, esi
mov dword [ebp - 4], edi
or esi, 1
inc edi
jmp 0x469a80
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 0x469b64
movzx eax, byte [esi + 0x6cb930]
mov ecx, 0x18
shl eax, 3
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x469b50
cmp al, 0xff
jne 0x469b64
mov ecx, 0x20
mov eax, 1
sub ecx, dword [ebp - 0xc]
shl eax, cl
dec eax
xor eax, ebx
jmp 0x469b27
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 0x469a80
pop ebx
cmp ecx, 3
jbe 0x469baa
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 0x46af30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.0065cc50
push ebx
push esi
mov eax, ecx
mov esi, edx
push edi
mov dword [ebp - 4], eax
call fcn.004847f0
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.00660f40
add esp, 8
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x46afe8
push 0x45
push str.C:pixelseeinstaller_dependencesopenssl1_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.0047b7e0
push 0x70dc2c
push esi
push 0x70dc30
push dword [ebp - 4]
push str.fopen_
push 5
call fcn.0047c060
add esp, 0x24
call fcn.00668bdd
cmp dword [eax], 2
je 0x46afbe
call fcn.00668bdd
cmp dword [eax], 6
je 0x46afbe
lea eax, [edi + 2]
lea ecx, [edi + 0x4e]
jmp 0x46afc8
mov eax, 0x80
mov ecx, 0x4c
push ecx
mov edx, 0x6d
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_bss_file.c
push eax
lea ecx, [edx - 0x4d]
call fcn.0047b7e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6cbb48
call fcn.0046b730
add esp, 4
mov esi, eax
push edi
test esi, esi
jne 0x46b00d
call fcn.0066deac
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.0046c200
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ec10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.0065cc50
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], edx
cmp edx, ebx
je 0x46ed46
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 0x46ed45
push edi
cmp ecx, 4
jb 0x46ed20
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 0x46ecb9
cmp dword [ebp + 8], esi
jae 0x46ed20
cmp edi, ebx
ja 0x46ecc2
cmp dword [ebp + 8], ebx
jae 0x46ed20
cmp edi, edx
ja 0x46eccb
cmp dword [ebp + 8], edx
jae 0x46ed20
cmp esi, ebx
ja 0x46ecd4
cmp dword [ebp - 4], ebx
jae 0x46ed20
cmp esi, edx
ja 0x46ecdd
cmp dword [ebp - 4], edx
jae 0x46ed20
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 0x46ece4
mov dword [ebp + 8], eax
cmp eax, ecx
jge 0x46ed44
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 0x46ed20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4718b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov eax, dword [ecx + 4]
cmp eax, 0x18
jne 0x4718c1
mov edx, ecx
xor ecx, ecx
jmp fcn.004712e0
cmp eax, 0x17
jne 0x4718cf
mov edx, ecx
xor ecx, ecx
jmp fcn.004712e0
xor eax, eax
ret

Function at 0x4794e0
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.0065cc50
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0xc], esi
call fcn.00479460
test eax, eax
je 0x47954f
cmp eax, 0x7461f4
je 0x47954f
call fcn.00479460
test eax, eax
je 0x479529
mov eax, dword [eax + 4]
test eax, eax
je 0x479529
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:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_rand_rand_lib.c
push 0x65
lea ecx, [edx - 0x40]
call fcn.0047b7e0
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x4aba80
mov ecx, 0x74f248
call fcn.00483560
neg eax
sbb eax, eax
test dword [0x74f24c], eax
je 0x479647
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x74f23c]
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 0x479676
push edi
push edi
xor ecx, ecx
call fcn.00484340
add esp, 8
test eax, eax
je 0x479647
lea ecx, [edi + 1]
call fcn.004835b0
test eax, eax
je 0x479647
mov esi, dword [0x74f244]
push esi
push ecx
mov dword [eax + 8], 1
call fcn.004aae10
mov edi, eax
add esp, 8
test edi, edi
je 0x479639
test esi, esi
jne 0x479650
cmp dword [edi + 0x64], esi
je 0x4795e9
mov eax, 0x81
mov ecx, 0x336
jmp 0x47961b
cmp dword [edi], 0
jne 0x479650
mov eax, dword [edi + 4]
test eax, eax
je 0x479606
cmp dword [eax], 0
jne 0x479606
mov eax, 0x82
mov ecx, 0x33d
jmp 0x47961b
call fcn.00483510
mov dword [edi], eax
test eax, eax
jne 0x479650
mov eax, 0x7e
mov ecx, 0x344
push ecx
mov edx, 0x77
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_randdrbg_lib.c
push eax
lea ecx, [edx - 0x53]
call fcn.0047b7e0
add esp, 0xc
mov ecx, edi
call fcn.004aaf40
push 0
push dword [0x74f23c]
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.004ab000
add esp, 4
push edi
push dword [0x74f23c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.004ab890
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret