joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x81a920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x215000]
mov dword [edi + 0x256d38], 0xac2819b5
push edi
or ebp, 0xffffffff
jmp 0x81a94a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x81a951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81a940
mov eax, 1
add ebx, ebx
jne 0x81a963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x81a974
jne 0x81a993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81a993
dec eax
add ebx, ebx
jne 0x81a980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x81a958
add ebx, ebx
jne 0x81a98f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x81a9e5
xor ecx, ecx
sub eax, 3
jb 0x81a9ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x81aa1a
sar eax, 1
mov ebp, eax
jmp 0x81a9b6
add ebx, ebx
jne 0x81a9b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81a984
inc ecx
add ebx, ebx
jne 0x81a9c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x81a984
add ebx, ebx
jne 0x81a9d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x81a9c6
jne 0x81a9e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x81a9c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x81aa04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x81a9f6
jmp 0x81a946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x81aa04
add edi, ecx
jmp 0x81a946
pop esi
mov edi, esi
mov ecx, 0xe961
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x81aa22
cmp byte [edi], 0x3a
jne 0x81aa22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x81aa27
lea edi, [esi + 0x409000]
mov eax, dword [edi]
or eax, eax
je 0x81aa9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x486568]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4867b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x81aa54
mov ecx, edi
jns 0x81aa83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4867c0]
or eax, eax
je 0x81aa99
mov dword [ebx], eax
add ebx, 4
jmp 0x81aa71
call dword [esi + 0x4867bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x81aad0
cmp al, 0xef
ja 0x81aac3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x81aaa5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x81aab2
mov ebp, dword [esi + 0x4867c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x81ab04
sub esp, 0xffffff80
jmp 0x4a5e5a
Function at 0x4030d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4030e7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4030fb
pop esi
pop edi
xor eax, eax
pop ebp
ret
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40311e
lea ebx, [ebx]
cmp esi, eax
jae 0x4030f5
dec edi
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x403110
cmp esi, eax
jae 0x4030f5
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4031f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
push edi
lea ebp, [esi + 0x30]
push ebp
mov dword [esp + 0xc], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
je 0x403226
test ebx, ebx
jbe 0x40325b
mov edi, dword [esp + 0x14]
mov eax, 1
mov ecx, ebx
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ecx
ret 8
xor eax, eax
test ebx, ebx
jbe 0x40325b
mov ecx, dword [esp + 0x10]
shl ecx, 2
mov edx, dword [esp + 0x10]
mov edi, dword [esi + 0x24]
mov ebp, dword [esi + 0x1c]
add edx, eax
shr edx, 3
mov edx, dword [edi + edx*4]
xor edx, dword [ecx + ebp]
mov edi, dword [esp + 0x14]
mov dword [edi + eax*4], edx
inc eax
add ecx, 4
cmp eax, ebx
jb 0x403233
mov ebp, dword [esp + 8]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ecx
ret 8
Function at 0x40a2d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x2dc
push ebx
push ebp
push esi
xor esi, esi
xor ebp, ebp
test eax, eax
mov ebx, 1
je 0x40a2f1
mov byte [esp + 0xf], 0
jmp 0x40a31c
lea eax, [esp + 0x2f8]
push eax
push 0x20019
push 0
push str.Enum
push reloc.WS2_32.dll_bind
mov byte [esp + 0x23], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a4c0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x300]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.class
push ecx
mov dword [esp + 0x2c], 0x40
call edi
test eax, eax
jne 0x40a3ea
cmp dword [esp + 0x18], ebx
jne 0x40a3ea
mov eax, dword [esp + 0x2f0]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00571d16
add esp, 8
test eax, eax
jne 0x40a3ea
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x300]
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push str.driver
push ecx
mov dword [esp + 0x2c], 0x80
call edi
test eax, eax
jne 0x40a3ea
cmp dword [esp + 0x18], ebx
jne 0x40a3ea
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x1f0]
push str.SystemCurrentControlSetServicesClass_s
push eax
call fcn.0056aefc
mov ecx, dword [esp + 0x300]
add esp, 0xc
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x1f8]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a3ea
mov esi, ebx
mov edi, dword [esp + 0x2f8]
cmp edi, esi
jle 0x40a4bf
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x300]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x100]
push edx
push 0
push eax
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
jne 0x40a4bf
mov eax, dword [esp + 0x2fc]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
lea edx, [esp + 0xf8]
push edx
push eax
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a48c
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2f4]
push ecx
mov edx, edi
sub edx, esi
push edx
mov edx, dword [esp + 0x2f8]
lea ecx, [eax + esi*4]
push ecx
push edx
call fcn.0040a2d0
add esi, eax
mov eax, dword [esp + 0x30]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x300]
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x100]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x40a433
pop edi
mov eax, dword [esp + 0x2f8]
test eax, eax
je 0x40a4da
mov cl, byte [esp + 0xf]
test cl, cl
je 0x40a4da
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x40ae40
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push edi
lea ebx, [esi + 0x30]
push ebx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
xor edx, edx
test eax, eax
jbe 0x40aecd
mov ecx, dword [esi + 0x20]
push ebp
mov ebp, dword [esi + 0x28]
mov eax, edi
shr eax, 3
shl eax, 2
mov ebx, dword [ecx + eax]
sub ebp, ebx
mov ebx, dword [esi + 0x24]
mov dword [esi + 0x28], ebp
mov ebx, dword [ebx + eax]
mov ebp, dword [esi + 0x1c]
xor ebx, dword [ebp + edi*4]
mov ebp, dword [ecx + eax]
sub ebp, ebx
mov ebx, dword [esp + 0x18]
mov dword [ecx + eax], ebp
mov ebp, dword [ebx + edx*4]
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + eax]
xor ecx, ebp
mov ebp, dword [esi + 0x1c]
mov dword [ebp + edi*4], ecx
mov ecx, dword [esi + 0x20]
mov ebx, dword [ebx + edx*4]
mov ebp, dword [ecx + eax]
add ecx, eax
add ebp, ebx
mov dword [ecx], ebp
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + eax]
mov ebx, dword [esi + 0x28]
add ebx, eax
mov eax, dword [esp + 0x1c]
inc edx
inc edi
cmp edx, eax
mov dword [esi + 0x28], ebx
jb 0x40ae63
mov ebx, dword [esp + 0xc]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop ecx
ret 0xc
Function at 0x40c3c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x57da3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x124], 2
mov ebp, dword [esp + 0x134]
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [0x92d644]
mov edi, dword [esp + 0x130]
push eax
push 0x100
lea ecx, [esp + 0x24]
push ecx
push 0
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
mov ebx, dword [esp + 0x138]
jne 0x40c4aa
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00418bc0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x12c], 3
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00418bc0
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x134], 4
call fcn.00418bc0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0x130], 2
call fcn.0040c540
add esp, 0xc
test eax, eax
je 0x40c4aa
lea edx, [esp + 0x1c]
mov eax, ebx
sub edx, ebx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c4a0
mov esi, dword [esp + 0x12c]
push esi
lea ecx, [esp + 0x20]
call fcn.00407cb0
add edi, 0xfffffff0
mov byte [esp + 0x124], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40c4dd
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebp, 0xfffffff0
mov byte [esp + 0x124], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c500
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x124], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c525
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret
Function at 0x413650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57dfe2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov ebp, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push 1
mov dword [edi + 8], ebp
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
push eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x20], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov dword [esp + 0x20], ebx
push 1
mov dword [edi + 0x10], ebp
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov byte [esp + 0x20], 1
push 1
mov dword [edi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [edi + 0x1c], eax
mov byte [esp + 0x1c], bl
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov byte [esp + 0x20], 2
push 1
mov dword [edi + 0x20], ebp
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x24], eax
mov dword [esp + 0x20], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov byte [esp + 0x20], 3
push 1
mov dword [edi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea ecx, [esp + 0x14]
mov dword [edi + 0x2c], eax
mov byte [esp + 0x14], bl
push ecx
push eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov byte [esp + 0x20], 4
push 1
mov dword [edi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [edi + 0x34], eax
mov byte [esp + 0x1c], bl
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov byte [esp + 0x20], 5
push 1
mov dword [edi + 0x38], ebp
call fcn.004d3720
mov ecx, eax
call fcn.0040aee0
push 1
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [edi + 0x3c], eax
mov dword [esp + 0x20], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4137f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57dfe2
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov dword [esp + 0x14], 5
mov eax, dword [esi + 0x3c]
push 1
mov ebx, vtable.Xenesis2::Foundation::Memory::xEncryptData_int_.0
push eax
mov dword [esi + 0x38], ebx
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov byte [esp + 0x14], 4
mov ecx, dword [esi + 0x34]
push 1
push ecx
mov dword [esi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov byte [esp + 0x14], 3
mov edx, dword [esi + 0x2c]
push 1
push edx
mov dword [esi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov byte [esp + 0x14], 2
mov eax, dword [esi + 0x24]
push 1
push eax
mov dword [esi + 0x20], ebx
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov byte [esp + 0x14], 1
mov ecx, dword [esi + 0x1c]
push 1
push ecx
mov dword [esi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov byte [esp + 0x14], 0
mov edx, dword [esi + 0x14]
push 1
push edx
mov dword [esi + 0x10], ebx
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 0xc]
push 1
push eax
mov dword [esi + 8], ebx
call fcn.004d3720
mov edi, eax
call fcn.0040af40
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x414110
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, eax
cmp esi, dword [0x89eddc]
je 0x414339
mov ecx, dword [0x89ee1c]
xor eax, eax
cmp ecx, eax
jne 0x414339
push ebx
push edi
push eax
push 0x5fcc58
push 0x5fb1f4
push eax
mov byte [0x8ac029], al
mov byte [0x8ac045], al
call fcn.004d3b30
mov ebx, 0x5ef146b
mov edi, eax
call fcn.00403270
push eax
call fcn.0056c845
xor edi, edi
add esp, 0x14
cmp eax, edi
je 0x41416c
call fcn.0040b540
mov eax, dword [0x89eddc]
mov ecx, dword [eax*4 + 0x89e758]
cmp ecx, edi
je 0x414181
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, 0x92d64c
call fcn.00548640
mov ecx, 0x8a47f4
mov dword [0x92d654], edi
mov dword [0x92d658], edi
mov dword [0x8a47fc], edi
call fcn.00548640
push 0x2710
mov eax, 0x8a4804
call fcn.004cc000
cmp esi, 0xf
jne 0x4141ee
push str.SoftnyxGunBound.gme
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4141e3
cmp esi, edi
je 0x4141e3
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop ebx
pop esi
ret
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_gamelist_buddyup
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_gamelist_buddydown
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_gamelist_channelup
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_gamelist_channeldown
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_buddy_up
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_buddy_down
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_buddy_exit
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.b_error_confirm
call fcn.00402f80
mov ecx, dword [0x89e864]
add ecx, 0x58058
mov eax, str.cursor
call fcn.00402f80
mov ebx, dword [0x89e864]
push str.cursor
add ebx, 0x58058
call fcn.00403000
push str.normal
mov ecx, 0x8a3798
mov dword [0x8a37b4], eax
call fcn.004778e0
mov eax, 0x8a4804
call fcn.004cc0c0
mov eax, dword [esi*4 + 0x89e758]
test eax, eax
je 0x4142fa
mov ecx, eax
mov edx, dword [ecx]
call dword [edx + 0x20]
mov eax, dword [0x89eddc]
mov dword [0x89ede0], eax
mov dword [0x89eddc], esi
call fcn.00547ca0
mov al, byte [0x89ede4]
test al, al
je 0x414323
pop edi
pop ebx
mov byte [0x89ede4], 0
pop esi
ret
pop edi
mov dword [0x5fb2dc], 0xa
mov dword [0x89ede8], 0xffffffff
pop ebx
pop esi
ret
Function at 0x414710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57dbd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push esi
push edi
push str.MuteList.txt
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x3c]
push 0x89d020
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push 0x59d814
push eax
call fcn.0056aefc
add esp, 0x10
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [0x89e864]
mov eax, dword [edx + 0x58050]
mov esi, dword [eax]
xor edi, edi
cmp esi, eax
mov dword [esp + 8], esi
je 0x41484c
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
push 0x59c658
push ecx
mov dword [esp + 0x34], eax
call fcn.0056aefc
mov eax, dword [esi + 0x24]
add esp, 0xc
cmp eax, 0x10
jb 0x4147c5
mov ecx, dword [esi + 0x10]
jmp 0x4147c8
lea ecx, [esi + 0x10]
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00407cb0
push ecx
mov dword [esp + 0x154], 0
mov eax, esp
mov dword [esp + 0x34], esp
push eax
lea ecx, [esp + 0x18]
call fcn.00407cb0
push 0xd9038
push 0x8a3708
mov byte [esp + 0x15c], 1
call fcn.0044ee40
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
mov ecx, eax
call fcn.00407cb0
mov dword [esp + 0x158], 0xffffffff
call fcn.0040c540
add esp, 0xc
lea edx, [esp + 8]
call fcn.004192f0
mov edx, dword [0x89e864]
mov esi, dword [esp + 8]
mov eax, dword [edx + 0x58050]
inc edi
cmp esi, eax
jne 0x414783
mov ecx, dword [esp + 0x144]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419980
Capabilities:
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57dfe2
push eax
mov dword fs:[0], esp
mov al, byte [ebx]
push esi
mov esi, dword [esp + 0x14]
mov byte [esi], al
mov ecx, dword [ebx + 4]
push edi
mov dword [esi + 4], ecx
lea ecx, [ebx + 8]
lea edi, [esi + 8]
call fcn.00417e80
lea ecx, [ebx + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x10], 0
call fcn.00417e80
lea ecx, [ebx + 0x18]
lea edi, [esi + 0x18]
mov byte [esp + 0x10], 1
call fcn.00419b30
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.00417e80
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00419b30
lea ecx, [ebx + 0x30]
lea edi, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00419b30
lea ecx, [ebx + 0x38]
lea edi, [esi + 0x38]
mov byte [esp + 0x10], 5
call fcn.00417e80
mov dl, byte [ebx + 0x40]
mov ecx, dword [esp + 8]
mov byte [esi + 0x40], dl
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4

Function at 0x419a30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58212b
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, ebx
mov edi, esi
call fcn.00419b30
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0xc]
lea edi, [esi + 0xc]
mov dword [esi + 8], eax
call fcn.00417e80
lea ecx, [ebx + 0x14]
lea edi, [esi + 0x14]
mov byte [esp + 0x10], 1
call fcn.00417e80
mov byte [esp + 0x10], 2
mov cl, byte [ebx + 0x1c]
mov byte [esi + 0x1c], cl
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
call fcn.00419b30
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00419b30
mov byte [esp + 0x10], 4
mov dl, byte [ebx + 0x30]
lea ecx, [ebx + 0x34]
lea edi, [esi + 0x34]
mov byte [esi + 0x30], dl
call fcn.00417e80
lea ecx, [ebx + 0x3c]
lea edi, [esi + 0x3c]
mov byte [esp + 0x10], 5
call fcn.00419b30
lea ecx, [ebx + 0x44]
lea edi, [esi + 0x44]
mov byte [esp + 0x10], 6
call fcn.00417e80
lea ecx, [ebx + 0x4c]
lea edi, [esi + 0x4c]
mov byte [esp + 0x10], 7
call fcn.00419b30
lea ecx, [ebx + 0x54]
lea edi, [esi + 0x54]
mov byte [esp + 0x10], 8
call fcn.00419b30
lea ecx, [ebx + 0x5c]
lea edi, [esi + 0x5c]
mov byte [esp + 0x10], 9
call fcn.00417e80
mov al, byte [ebx + 0x64]
mov ecx, dword [esp + 8]
mov byte [esi + 0x64], al
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4