joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1017aaac
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x101a55b0
call fcn.10165af0
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x10a6ee9c], edi
jne 0x1017aaf0
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017aadb
mov dword [0x10a6ee9c], ebx
jmp 0x1017aaf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1017aaf0
mov dword [0x10a6ee9c], 2
mov eax, dword [0x10a6ee9c]
cmp eax, ebx
jne 0x1017ab10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1017abd3
cmp eax, 2
je 0x1017ab19
cmp eax, edi
jne 0x1017ab41
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x1017ab2c
mov eax, dword [0x10a6ecc4]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x1017ab48
xor eax, eax
jmp 0x1017abd3
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.10165c50
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x1017ab7b
cmp esi, edi
jne 0x1017ab91
push dword [ebp - 0x20]
call fcn.10165988
pop ecx
mov esi, eax
cmp esi, edi
je 0x1017ab41
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1017abc4
cmp dword [ebp + 0x14], edi
jne 0x1017abae
push edi
push edi
jmp 0x1017abb4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x1017abd0
push esi
call fcn.1016599a
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.10165b2b
ret
Function at 0x1017abdc
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x101a55c0
call fcn.10165af0
xor esi, esi
cmp dword [0x10a6eea0], esi
jne 0x1017ac20
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017ac0b
mov dword [0x10a6eea0], edi
jmp 0x1017ac20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1017ac20
mov dword [0x10a6eea0], 2
mov eax, dword [0x10a6eea0]
cmp eax, 2
je 0x1017ad01
cmp eax, esi
je 0x1017ad01
cmp eax, 1
jne 0x1017ac65
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x1017ac4e
mov eax, dword [0x10a6ecc4]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x1017ac6c
xor eax, eax
jmp 0x1017ad13
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.10165c50
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x1017aca2
cmp edi, esi
jne 0x1017acbd
lea eax, [ebx + ebx]
push eax
call fcn.10165988
pop ecx
mov edi, eax
cmp edi, esi
je 0x1017ac65
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1017acf0
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x1017acda
push esi
push esi
jmp 0x1017ace0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x1017acfc
push edi
call fcn.1016599a
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x1017ad13
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.10165b2b
ret
Function at 0x4030f0
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 0x403107
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40311b
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 0x40313e
lea ebx, [ebx]
cmp esi, eax
jae 0x403115
dec edi
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x403130
cmp esi, eax
jae 0x403115
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x403210
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 0x403246
test ebx, ebx
jbe 0x40327b
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 0x40327b
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 0x403253
mov ebp, dword [esp + 8]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ecx
ret 8
Function at 0x40a1e0
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 0x40a201
mov byte [esp + 0xf], 0
jmp 0x40a22c
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 0x40a3d0
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 0x40a2fa
cmp dword [esp + 0x18], ebx
jne 0x40a2fa
mov eax, dword [esp + 0x2f0]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0054fe36
add esp, 8
test eax, eax
jne 0x40a2fa
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 0x40a2fa
cmp dword [esp + 0x18], ebx
jne 0x40a2fa
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x1f0]
push str.SystemCurrentControlSetServicesClass_s
push eax
call fcn.00548ff0
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 0x40a2fa
mov esi, ebx
mov edi, dword [esp + 0x2f8]
cmp edi, esi
jle 0x40a3cf
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 0x40a3cf
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 0x40a39c
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.0040a1e0
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 0x40a343
pop edi
mov eax, dword [esp + 0x2f8]
test eax, eax
je 0x40a3ea
mov cl, byte [esp + 0xf]
test cl, cl
je 0x40a3ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x40ad80
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 0x40ae0d
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 0x40ada3
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 0x40bd70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x55bc3e
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 [0x8ff144]
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 0x40be5a
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x14], esp
mov esi, esp
call fcn.00417540
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x12c], 3
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.00417540
add eax, 0x10
mov dword [esi], eax
push ecx
lea eax, [edi - 0x10]
mov byte [esp + 0x130], 4
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00417540
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x130], 2
call fcn.0040bef0
add esp, 0xc
test eax, eax
je 0x40be5a
lea edx, [esp + 0x1c]
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40be50
mov esi, dword [esp + 0x12c]
push esi
lea ecx, [esp + 0x20]
call fcn.00407c60
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 0x40be8d
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 0x40beb0
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 0x40bed5
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 0x40bf70
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareSoftnyxGunBoundWC
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c174
mov ecx, dword [0x87b40c]
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
add ecx, 0x1e56c
push ecx
push 4
push eax
push str.LastServer
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8ca388
push 3
push 0
push str.ShootingMode
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x8ca38c
push 4
push 0
push str.MouseSpeed
push ecx
call esi
mov al, byte [0x8ca390]
mov ecx, dword [esp + 8]
push 1
test al, al
lea eax, [esp + 0xb]
push eax
push 3
push 0
push str.MidiMode
sete dl
push ecx
mov byte [esp + 0x1f], dl
call esi
mov edx, dword [esp + 8]
push 4
push 0x8ca394
push 4
push 0
push str.MusicVolume
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x8ca398
push 4
push 0
push str.EffectVolume
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x87b378
push 4
push 0
push str.AutoRefresh
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8ca39e
push 3
push 0
push str.Effect3D
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8ca39f
push 3
push 0
push str.Background
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x8ca39c
push 3
push 0
push str.MusicUse
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8ca39d
push 3
push 0
push str.EffectUse
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8f4831
push 3
push 0
push str.ShowTurn
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x8f4830
push 3
push 0
push str.ShowMoon
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x8f5ad8
push 3
push 0
push str.ShowOnlineUser
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x8f5b0c
push 3
push 0
push str.InterfaceMode
push eax
call esi
mov eax, 0x87b2f0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c120
sub eax, ecx
mov ecx, dword [esp + 8]
inc eax
push eax
push 0x87b2f0
push 3
push 0
push str.GameName
push ecx
call esi
mov eax, 0x879a10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40c148
mov edx, dword [esp + 8]
sub eax, ecx
inc eax
push eax
push 0x879a10
push 3
push 0
push str.ChannelName
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 8
ret
Function at 0x412c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55fa32
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.004c7160
mov ecx, eax
call fcn.0040ae20
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.004c7160
mov esi, eax
call fcn.0040ad80
mov dword [esp + 0x20], ebx
push 1
mov dword [edi + 0x10], ebp
call fcn.004c7160
mov ecx, eax
call fcn.0040ae20
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ebx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov byte [esp + 0x20], 1
push 1
mov dword [edi + 0x18], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004c7160
mov ecx, eax
call fcn.0040ae20
push 1
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [edi + 0x1c], eax
mov byte [esp + 0x1c], bl
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov byte [esp + 0x20], 2
push 1
mov dword [edi + 0x20], ebp
call fcn.004c7160
mov ecx, eax
call fcn.0040ae20
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [edi + 0x24], eax
mov dword [esp + 0x20], ebx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov byte [esp + 0x20], 3
push 1
mov dword [edi + 0x28], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004c7160
mov ecx, eax
call fcn.0040ae20
push 1
lea ecx, [esp + 0x14]
mov dword [edi + 0x2c], eax
mov byte [esp + 0x14], bl
push ecx
push eax
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov byte [esp + 0x20], 4
push 1
mov dword [edi + 0x30], vtable.Xenesis2::Foundation::Memory::xEncryptData_bool_.0
call fcn.004c7160
mov ecx, eax
call fcn.0040ae20
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [edi + 0x34], eax
mov byte [esp + 0x1c], bl
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
mov byte [esp + 0x20], 5
push 1
mov dword [edi + 0x38], ebp
call fcn.004c7160
mov ecx, eax
call fcn.0040ae20
push 1
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [edi + 0x3c], eax
mov dword [esp + 0x20], ebx
call fcn.004c7160
mov esi, eax
call fcn.0040ad80
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 0x412db0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55fa32
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.004c7160
mov edi, eax
call fcn.0040ae80
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.004c7160
mov edi, eax
call fcn.0040ae80
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.004c7160
mov edi, eax
call fcn.0040ae80
mov byte [esp + 0x14], 2
mov eax, dword [esi + 0x24]
push 1
push eax
mov dword [esi + 0x20], ebx
call fcn.004c7160
mov edi, eax
call fcn.0040ae80
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.004c7160
mov edi, eax
call fcn.0040ae80
mov byte [esp + 0x14], 0
mov edx, dword [esi + 0x14]
push 1
push edx
mov dword [esi + 0x10], ebx
call fcn.004c7160
mov edi, eax
call fcn.0040ae80
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 0xc]
push 1
push eax
mov dword [esi + 8], ebx
call fcn.004c7160
mov edi, eax
call fcn.0040ae80
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x413760
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x87b77c]
cmp esi, eax
je 0x413938
mov ecx, dword [0x87b7b8]
push ebx
xor ebx, ebx
cmp ecx, ebx
jne 0x413937
mov ecx, dword [eax*4 + 0x87b380]
mov byte [0x8fdb39], bl
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, 0x8ff11c
call fcn.00527ad0
mov ecx, 0x8ff1e8
mov dword [0x8ff124], ebx
mov dword [0x8ff128], ebx
mov dword [0x8ff1f0], ebx
call fcn.00527ad0
push 0x2710
mov eax, 0x8f6f70
call fcn.004bfb00
cmp esi, 0xf
jne 0x4137ff
push str.SoftnyxGunBound.gme
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4137f5
cmp esi, ebx
je 0x4137f5
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop ebx
pop esi
ret
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_gamelist_buddyup
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_gamelist_buddydown
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_gamelist_channelup
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_gamelist_channeldown
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_buddy_up
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_buddy_down
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_buddy_exit
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.b_error_confirm
call fcn.00402fa0
mov ecx, dword [0x87b40c]
add ecx, 0x4eeac
mov eax, str.cursor
call fcn.00402fa0
mov ebx, dword [0x87b40c]
push str.cursor
add ebx, 0x4eeac
call fcn.00403020
push str.normal
mov ecx, 0x87e128
mov dword [0x87e144], eax
call fcn.004690d0
mov eax, 0x8f6f70
call fcn.004bfbc0
mov ecx, dword [esi*4 + 0x87b380]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov dword [0x87b77c], esi
call fcn.00527130
mov al, byte [0x87b780]
test al, al
je 0x413923
pop ebx
mov byte [0x87b780], 0
pop esi
ret
mov dword [0x5d81e4], 0xa
mov dword [0x87b784], 0xffffffff
pop ebx
pop esi
ret
Function at 0x417f20
Capabilities:
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55fa32
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.00416c10
lea ecx, [ebx + 0x10]
lea edi, [esi + 0x10]
mov dword [esp + 0x10], 0
call fcn.00416c10
lea ecx, [ebx + 0x18]
lea edi, [esi + 0x18]
mov byte [esp + 0x10], 1
call fcn.004180d0
lea ecx, [ebx + 0x20]
lea edi, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.00416c10
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004180d0
lea ecx, [ebx + 0x30]
lea edi, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.004180d0
lea ecx, [ebx + 0x38]
lea edi, [esi + 0x38]
mov byte [esp + 0x10], 5
call fcn.00416c10
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 0x417fd0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55d14b
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, ebx
mov edi, esi
call fcn.004180d0
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.00416c10
lea ecx, [ebx + 0x14]
lea edi, [esi + 0x14]
mov byte [esp + 0x10], 1
call fcn.00416c10
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.004180d0
lea ecx, [ebx + 0x28]
lea edi, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004180d0
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.00416c10
lea ecx, [ebx + 0x3c]
lea edi, [esi + 0x3c]
mov byte [esp + 0x10], 5
call fcn.004180d0
lea ecx, [ebx + 0x44]
lea edi, [esi + 0x44]
mov byte [esp + 0x10], 6
call fcn.00416c10
lea ecx, [ebx + 0x4c]
lea edi, [esi + 0x4c]
mov byte [esp + 0x10], 7
call fcn.004180d0
lea ecx, [ebx + 0x54]
lea edi, [esi + 0x54]
mov byte [esp + 0x10], 8
call fcn.004180d0
lea ecx, [ebx + 0x5c]
lea edi, [esi + 0x5c]
mov byte [esp + 0x10], 9
call fcn.00416c10
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
Function at 0x4422f0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5608bb
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004c7160
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x442344
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x4423cf
push 0x64
call fcn.00541c89
add esp, 4
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x44237f
push eax
call fcn.004a1ef0
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
mov ebx, dword [0x87b40c]
push str.thor
add ebx, 0x4eeac
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.00403020
mov edx, dword [esi]
push str.normal
mov ecx, esi
mov dword [esi + 0x1c], eax
call dword [edx + 4]
mov ecx, dword [0x87b40c]
push esi
add ecx, 0x77178
call fcn.00527a20
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc