joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fa2e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f615

Function at 0x46fa39
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046f7a4

Function at 0x46ff5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00430030
mov eax, dword [0x49a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0046d70b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x46ff9e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4700fa
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00484da0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4f2858]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004714f1
mov ecx, dword [esi*4 + 0x4f2858]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4700f3
cmp eax, dword [edi + ecx + 0x24]
jne 0x4700f3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4700f3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004714f1
add esp, 0x14
test edx, edx
jl 0x4700f3
jg 0x470069
test eax, eax
jb 0x4700f3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4700f3
jl 0x470083
cmp dword [ebp - 0x1008], eax
ja 0x4700f3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4700a1
test ebx, ebx
je 0x4700da
cmp ecx, edi
jae 0x4700da
mov al, byte [ecx]
cmp al, 0xd
jne 0x4700bb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4700c7
cmp byte [ecx + 1], 0xa
jne 0x4700c7
inc ecx
jmp 0x4700c7
movzx eax, al
movsx eax, byte [eax + 0x49a318]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4700a1
cmp edx, ebx
jne 0x4700a1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4700f8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042eafb
leave
ret
Function at 0x470678
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x4f2858]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4706b8
cmp byte [ebx], 0xa
jne 0x4706b8
or byte [eax + edi + 0x28], 4
jmp 0x4706bd
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4707bb
mov al, byte [edx]
cmp al, 0x1a
je 0x47079d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4706ec
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x470711
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x47071b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4706ce
jmp 0x4707bb
push 0
lea eax, [ebp - 0xc]
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 0x470798
cmp dword [ebp - 0xc], 0
je 0x470798
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4f2858]
test byte [eax + edi + 0x28], 0x48
je 0x470772
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x47075d
mov byte [esi], dl
jmp 0x47076e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4f2858]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4707bb
cmp byte [ebp - 1], 0xa
jne 0x470781
cmp esi, ebx
jne 0x470781
mov byte [esi], 0xa
jmp 0x4707ba
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0047150f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4707bb
mov byte [esi], 0xd
jmp 0x4707ba
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4f2858]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4707b7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4707bb
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4707c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4f2858]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x470807
cmp word [esi], dx
jne 0x470807
or byte [edi + eax + 0x28], 4
jmp 0x47080c
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x47095f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x47093f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x47084e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x470884
cmp eax, edx
jae 0x470890
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x470826
jmp 0x47095f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47093b
cmp dword [ebp - 0x14], 0
je 0x47093b
mov eax, dword [ebx*4 + 0x4f2858]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x470913
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4708dc
mov word [esi], cx
jmp 0x47090f
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4f2858]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4f2858]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4f2858]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x47095f
pop ebx
cmp word [ebp - 4], bx
jne 0x470924
cmp esi, dword [ebp + 0xc]
jne 0x470924
mov word [esi], bx
jmp 0x47095c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0047150f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x47095f
push 0xd
jmp 0x470958
mov ecx, dword [ebx*4 + 0x4f2858]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x470956
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x47095f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x475017
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474eeb
Function at 0x475854
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x49a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x47589f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00475c2e
test al, al
jne 0x475899
sub edx, 2
cmp edx, edi
jne 0x47587f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4758c1
lea eax, [edi + 2]
cmp edx, eax
je 0x4758c1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0047551b
add esp, 0x10
jmp 0x4759bb
push esi
lea ecx, [ebp - 0x255]
call fcn.00475c2e
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x475904
push dword [ebp - 0x25c]
jmp 0x4758b1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x475941
cmp word [ebp - 0x226], 0
je 0x475962
cmp word [ebp - 0x226], ax
jne 0x475941
cmp word [ebp - 0x224], 0
je 0x475962
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0047551b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4759ae
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x47591b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x475996
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4759bb
push 0x47503a
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00481600
add esp, 0x10
jmp 0x47598b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042eafb
leave
ret
Function at 0x476da8
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 0x476e45
push ebx
push esi
call fcn.00476d64
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.00473e4b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x476df2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x476e44
push edi
push eax
call fcn.0046c634
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x476e12
call fcn.0046b255
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x476e43
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00473e4b
add esp, 0x20
test eax, eax
jne 0x476e31
push edi
call fcn.0046b255
jmp 0x476e39
push ebx
call fcn.0046b255
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 0x476e48
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x476e59
pop esi
ret
push ebx
push edi
push esi
call fcn.00476d64
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0046c634
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x476e81
push ebx
push esi
push edi
call fcn.00430770
add esp, 0xc
push 0
call fcn.0046b255
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x477762
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004770f4

Function at 0x484b60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x484b8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x484b8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x898
mov ecx, 0x21e0
mov ebx, 0x7670
test eax, eax
je 0x406c60
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x406c60
cmp eax, edx
jae 0x406c60
mov esi, 0x6d9f
mov eax, 0x30c30c31
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x406bf0
mov edi, dword [ebp + 8]
sub dword [ebp + 0xc], edi
mov esi, 0x607a
mov edi, edi
mov eax, 0x4bda12f7
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x406c10
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
je 0x406c40
lea esp, [esp]
mov al, byte [ecx + edi + 1]
add al, 0x6c
xor byte [ecx + edi], al
inc ecx
cmp ecx, edx
jb 0x406c30
mov edi, edi
mov eax, 0x84210843
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x406c40
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0x3e0f83e1
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x406c60
mov eax, 0x19c2d14f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x406c73
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, 0x4dda
push edi
mov esi, 0x6617
mov edi, 0xf0
xor ecx, ecx
mov dword [ebp - 4], 0x6d9f
mov dword [ebp - 8], ebx
mov eax, 0xa57eb503
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x408c44
mov eax, 0x73eb
mov edx, 0xa4
cmp edi, edx
cmovg edi, edx
dec eax
jne 0x408c63
mov edi, dword [ebp + 8]
inc byte [edi]
mov al, byte [edi]
mov byte [ebp + 0xb], al
inc ecx
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
add edx, edx
mov eax, ecx
sub eax, edx
jne 0x408c92
add ecx, 5
cmp ecx, 0xca5
jl 0x408c75
lea ebx, [ebx]
mov eax, 0x4bda12f7
imul dword [ebp - 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
jne 0x408ca0
mov ebx, 0x7a81
lea esp, [esp]
mov eax, 0x4da637d
imul ebx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x408cc0
mov ebx, dword [ebp - 8]
mov eax, 0x634c0635
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x408cd6
movzx esi, byte [ebp + 0xb]
movzx ecx, byte [esi + edi + 5]
movzx eax, byte [edi + 3]
add esi, edi
add eax, ecx
movzx ecx, al
mov byte [edi + 3], al
movzx eax, byte [ecx + edi + 5]
mov dl, byte [esi + 5]
mov byte [esi + 5], al
mov byte [ecx + edi + 5], dl
mov al, byte [esi + 5]
movzx ecx, byte [ebp + 0xc]
add al, dl
movzx eax, al
mov al, byte [eax + edi + 5]
pop edi
movzx eax, al
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
lea esi, [eax + 0x288]
push edi
push esi
mov dword [eax + 0x2cc], 0
mov dword [esi], 0xff7ed78a
mov dword [eax + 0x2dc], 0xff7ed78c
mov dword [eax + 0x320], 0xff7ed784
mov dword [eax + 0x2d0], 0xff7ed7f4
call fcn.00408f10
add esp, 4
mov cl, al
movzx eax, cl
cmp eax, dword [ebp + 0xc]
jb 0x409079
cmp eax, dword [ebp + 0x10]
jbe 0x409198
test esi, esi
jne 0x409081
xor ecx, ecx
jmp 0x409068
cmp byte [esi + 0x78], 0
jne 0x4090e3
mov ecx, dword [esi + 0x44]
mov dword [ebp + 8], 0x34076458
xor byte [ebp + 9], 0x64
xor byte [ebp + 0xa], 0xf9
xor byte [ebp + 0xb], 0x4b
mov byte [ebp + 8], 0
mov eax, dword [ebp + 8]
mov byte [esi + 0x78], 1
mov edx, dword [eax + 0x18]
test ecx, ecx
je 0x4090be
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp edx, eax
jne 0x4090b5
imul ecx, edi
jmp 0x4090c8
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp edx, eax
jne 0x4090c4
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x88], 0x7a11
mov dword [esi + 0x14], 0x1242
mov dword [esi + 8], 0x11f4
mov ecx, dword [esi + 0x3c]
mov ebx, ecx
mov eax, ecx
and eax, 0x3ffff80
shr ebx, 6
xor ebx, eax
mov eax, dword [esi]
xor eax, 0xffffe874
and eax, ecx
mov ecx, dword [esi + 0x88]
shl eax, 0x12
mov edi, ecx
shr ebx, 7
xor ebx, eax
mov eax, ecx
and eax, 0x3e000000
shr edi, 2
xor edi, eax
mov eax, dword [esi + 0x54]
xor eax, 0x812874
and eax, ecx
mov ecx, dword [esi + 0x14]
shl eax, 2
mov edx, ecx
shr edi, 0x19
xor edi, eax
mov eax, ecx
and eax, 0x7ff00
shr edx, 0xd
xor edx, eax
mov eax, dword [esi + 0x98]
xor eax, 0x812874
and eax, ecx
mov ecx, dword [esi + 8]
shl eax, 7
shr edx, 8
xor edx, eax
mov eax, ecx
shr eax, 3
mov dword [ebp + 8], eax
mov eax, ecx
and eax, 0x1ffffe00
xor dword [ebp + 8], eax
mov eax, dword [esi + 0x48]
shr dword [ebp + 8], 9
xor eax, 0x12874
and eax, ecx
mov ecx, dword [ebp + 8]
shl eax, 0xd
xor ecx, eax
mov dword [esi + 8], ecx
xor ecx, edx
xor ecx, edi
xor ecx, ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x88], edi
mov dword [esi + 0x14], edx
shr ecx, 1
jmp 0x409068
pop edi
pop esi
mov al, cl
pop ebx
pop ebp
ret
Function at 0x415e3b
Capabilities:
Encode data using xor

Disassembly:
jae 0x415e42
pop esi
and al, 0x11
movaps xmmword [edx + 0x49b350a2], xmm4
mov byte [0x49b350a2], al

Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x631038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x63103c]
or ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
fild qword [esp + 4]
test ecx, ecx
fadd qword [0x631050]
fstp qword [0x631050]
je 0x417e63
mov eax, dword [0x6347e0]
test eax, eax
je 0x417e57
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dl, byte [0x631042]
mov cl, byte [0x631049]
xor cl, dl
mov edx, dword [0x631030]
mov byte [0x631049], cl
mov ecx, dword [0x631034]
and ecx, 4
and eax, 0xc
add edx, ecx
mov esi, dword [0x631038]
mov dword [0x631030], edx
mov edx, dword [0x631048]
and edx, 0xff
push ebp
imul eax, edx
xor esi, eax
push edi
lea eax, [esp + 0x14]
push 0x50
push eax
mov dword [0x631038], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x63104e]
mov ecx, ebp
and ecx, 3
lea edx, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov cl, byte [0x631040]
push edx
and cl, al
mov byte [0x631040], cl
mov cl, byte [str.UE_rx_]
or cl, 2
shr cl, 1
and ecx, 0xff
mov dword [esp + 0x6c], ecx
fild dword [esp + 0x6c]
fdivr qword [0x631050]
fadd qword [0x62e568]
fstp qword [0x6349b0]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6347e0], eax
test eax, eax
pop ebp
je 0x417f88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov dword [0x6347dc], eax
mov eax, dword [0x6347e0]
push str.DirectSoundEnumerateA
push eax
call esi
mov ecx, dword [0x6347dc]
mov dword [0x6347e4], eax
test ecx, ecx
je 0x417f7e
test eax, eax
je 0x417f7e
mov eax, 1
pop esi
add esp, 0x58
ret 4
mov dword [0x6347e0], 0
xor eax, eax
pop esi
add esp, 0x58
ret 4
Function at 0x429983
Capabilities:
Encode data using xor

Disassembly:
dec edx
push esp
push 0xffffffffffffff8b
pop esi
cmp eax, dword [edx]
and byte [ebp + 0x17], dh
and byte [ebx], dh
sub bh, byte [ebx + 0x57]
jnp 0x4299a4
pop esi
adc ch, dh
and dword [ecx + 0x681cd029], 0x1f96c902
lcall 0xa8f5, 0x52adc9ab
and edx, esp
jge 0x4299d1
pop edx
xchg esp, eax
inc eax
or eax, 0x1e479bbe
pop eax
jl 0x42994b
adc dword [edx + 0x67], eax
xchg ebx, eax
jmp 0x4299e3
mov edx, 0xbbbe21d7
push 0x7f1ceb5e
or byte [ebp - 0x36626c4c], 0x1e
mov ecx, 0xb1db4763
mov dword fs:[esi - 0x7e58520b], ecx
je 0x42993d
mov ch, 0x77
push ebp
retf
xchg ebp, eax
int1
fimul dword [ecx]
rol byte [edx], cl
push ds
xchg esp, eax
pop ds
xor ebx, esi
mov byte [ecx + 0xb87b447], ch
cli
add esi, esp
fiadd word [edx]
and ah, byte [ebp + 0x11]
mov ch, 0xb3
jne 0x429a2e
retf 0xbba7
mov ebx, 0x435164d2
sal byte [ecx - 0x66], cl
push es
jp 0x4299b1
jb 0x429a14
xchg edi, eax
pop esi
ret
adc ecx, eax
invalid
pop ebp
mov esi, 0xe1d38df
popfd
mov esi, 0xccccdd50
retf
sbb eax, 0x50be9d0e
invalid
push esi
mov esp, 0x9dbcfe0a
leave
sbb eax, 0x8f09264d
xor al, 0x9b
push edx
fist word [esi]
jne 0x429a18
fidivr word [edx - 0x22]
enter 0xffffffffffffbde9, 0xffffffffffffff8e
xchg edi, eax
lcall 0x7451, 0x4e9f691f
or eax, 0x600dc89e
in al, dx
fsub dword [ebx + edi]
xchg esi, eax
mov ebp, 0x9ebe9f62
fcompi st(6)
dec esi
jne 0x429a8f
test byte [esi + 0x75], 0x2b
bound eax, qword [ebp + 0x5d]
dec edi
ljmp 0x93f2
loope 0x429a60
xchg ebx, eax
mov ds, word [edx + 0x4c]
mov ah, 0xc
push ss
mov al, 0x32
ret 0x2a49
mov ah, 0x96
push esp
inc ebp
xor al, 0x78
sbb al, 0x8c
or eax, 0xd639df26
cmp dword [eax + 0x4b], eax
and dword [eax - 0x39], esi
sbb al, 0x67
jle 0x429aa8
xor ch, dl
xchg edi, eax
aad 0x97
les edi, [edi + 0x57]
out dx, al
aas
nop
jg 0x429a6c
invalid

Function at 0x455f9f
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
insd dword es:[edi], dx
enter 0xffffffffffff888a, 0xffffffffffffffcb
jmp 0x455faa
ret 0x51ca
sub esi, ecx
jp 0x455f44
jb 0x455f2d
call 0x59a57cb5
and cl, byte [ebx + 0x73611570]
push ecx
shr byte [edx], 1
fstp st(7)
loopne 0x455fea
mov al, 0x3d
hlt
cmp ecx, dword [eax - 0x5b]
mov dl, 0x74
dec esp
sal byte [ecx], 1
adc byte [ebx - 0x78], 0xb7
call 0x6e965e2a
pop ss
or eax, 0xfda65053
dec edi
invalid

Function at 0x466f1e
Capabilities:
Encode data using xor

Disassembly:
sar dword [eax - 0x35f0db74], cl
push esp
loopne 0x466e7b
js 0x466ebc
push esp
push ss
cmp al, 0x30
test dword [edi - 8], ebx
scasd eax, dword es:[edi]
aaa
dec edi
cli
stosb byte es:[edi], al
pop ds
or dword [edx - 0x5f], eax
and ch, byte [0x87850e64]
shr dword [edx], cl
scasd eax, dword es:[edi]
fld st(0)
xor al, 0x27
stosb byte es:[edi], al
mov dh, 0x2e
lcall 0x573f, 0x77b64a7f
xchg edx, eax
lodsb al, byte [esi]
adc eax, 0xfb0802ef
mov esi, 0xb91641ae
popfd
invalid