joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461af0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x486bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.004613b0
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.004613b0
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 1
call fcn.00461420
cmp dword [esp + 0x40], ebx
jne 0x461b78
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x34], bl
call fcn.004613d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.004613d0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esp + 0xc]
push eax
call fcn.00461a30
add esp, 4
lea ecx, [esp + 0xc]
mov esi, 1
call fcn.00461850
cmp eax, esi
jb 0x461bfb
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 1
push esi
push 0x4a824c
lea ecx, [esp + 0x1c]
call fcn.004617d0
cmp eax, 1
jne 0x461bed
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00461570
push ebx
lea ecx, [esp + 0x20]
call fcn.0044bb20
push eax
call fcn.00469ad1
add esp, 8
test eax, eax
jge 0x461bed
push ebx
lea ecx, [esp + 0x20]
call fcn.004618c0
push eax
call edi
test eax, eax
je 0x461c30
lea ecx, [esp + 0xc]
inc esi
call fcn.00461850
cmp esi, eax
jbe 0x461b9d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.004613d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.004613d0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.004613d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.004613d0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4641b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4641bb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4642be
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x491cd4]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x491cd4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x491cd4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x491cd4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x491cd4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x491cd4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x491cd4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x491cd4]
xor eax, edx
inc ecx
dec edi
jne 0x4641d6
pop edi
test esi, esi
je 0x4642e0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x491cd4]
xor eax, edx
inc ecx
dec esi
jne 0x4642c2
pop esi
pop ebx
not eax
ret

Function at 0x464c70
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x464cb1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x464ca6
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x464cc4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x465c00
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x465cb5
cmp dword [ebp + 4], 0xffffffff
jne 0x465cb5
push ebx
lea ebx, [ebp + 0x138]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x4a84d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x465c7d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x465c7d
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edi
call fcn.00464a00
add esp, 0x10
test eax, eax
jne 0x465ca0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.00464f40
add esp, 4
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x466110
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x208
test ecx, ecx
je 0x4661d8
mov al, byte [ecx]
test al, al
je 0x4661d8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ecx
cmp al, 0x2f
je 0x46613b
cmp al, 0x5c
jne 0x46613d
mov ebx, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x466133
mov edi, dword [esp + 0x218]
cmp ebx, ecx
je 0x466174
mov esi, ebx
lea eax, [esp + 0xc]
sub esi, ecx
push esi
push ecx
push eax
call fcn.0046a17a
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x18], 0
push ecx
push edi
call fcn.00466110
add esp, 0x14
inc ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x469ad1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x469af1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046b8f4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x469b14
test byte [esp + 8], 2
je 0x469b14
call fcn.0046b967
mov dword [eax], 0xd
call fcn.0046b970
mov dword [eax], 5
jmp 0x469aed
xor eax, eax
ret

Function at 0x47acbb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47acf3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00478d48
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00478d20
jmp 0x47acff
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47c3b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47c3f7
call fcn.00481e6a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47c3f7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47c3ee
xor eax, eax
jmp 0x47c3ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047c405
pop edi
pop esi
pop ebx
ret 4

Function at 0x48239a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4823c8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4823e6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00482300
jmp 0x4823e6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4823e6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00482300
test edi, edi
mov eax, edi
jne 0x4823d0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4e2120
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x404986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401f38
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push ebx
push 2
push 1
push ebx
lea eax, [ebp - 0x38]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], 0x4008
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov esi, ecx
mov ecx, dword [eax + 0xc]
sub ecx, esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
call esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x58], 0x4008
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov edi, ecx
mov ecx, dword [eax + 0xc]
sub ecx, edi
add ecx, 0x10
call esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x68], 0x4003
lea edx, [ebp - 0x68]
mov ecx, 2
mov eax, dword [ebp - 0x38]
sub ecx, dword [eax + 0x14]
shl ecx, 4
add ecx, dword [eax + 0xc]
call esi
mov edx, 0x41f71c
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004c7b40
mov edx, eax
lea ecx, [ebp - 0x2c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
lea edx, [ebp - 0x38]
push edx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 0x6c], 0xffffffff
push 0x419240
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x34]
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
call edi
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004cc1f0
push eax
lea ecx, [ebp - 0x20]
push ecx
call edi
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x28]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x4e2319
jmp 0x4e230f
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
Function at 0x403196
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
mov esi, dword [ebp + 8]
or esi, esi
je 0x403260
xor ecx, ecx
inc ecx
cmp ecx, 0x125
ja 0x403260
movzx edx, word [esi + ecx]
push edx
call fcn.00405797
or eax, eax
je 0x4031ab
mov ebx, dword [eax + 0x40]
add ebx, 0xc
pushal
push ebx
push 0x41a191
call dword [0x45cb58]
add esp, 8
popal
cmp dword [ebx + 3], 0x6f746361
je 0x4031fe
cmp dword [ebx], 0x6d696c63
je 0x40325c
movzx eax, word [eax + 0x38]
push eax
call fcn.00402e1a
or eax, eax
je 0x4031ab
jmp 0x403208
push edx
call fcn.00402e1a
or eax, eax
je 0x403260
mov edi, eax
mov ecx, dword [edi + 4]
or ecx, ecx
je 0x403260
mov eax, dword [ecx + 0x4160]
or eax, eax
je 0x403260
cmp byte [eax + 0x63], 4
je 0x403260
mov eax, dword [ecx + 0x414c]
or eax, eax
je 0x403260
cmp dword [eax + 0x71], 0x43544f52
jne 0x403260
mov eax, dword [ecx + 0x4160]
or eax, eax
je 0x403260
movzx eax, word [eax + 0x67]
push eax
push edi
call fcn.0040570d
or eax, eax
je 0x403260
mov eax, dword [eax + 0x40]
add eax, 0xc
cmp dword [eax + 3], 0x6f746361
jne 0x403260
xor eax, eax
jmp 0x403284
push ebx
push 0x451e79
call dword [0x45cb58]
add esp, 8
push 5
push str.___XRAY__object_not_found:__d
call dword [0x45cb58]
add esp, 8
mov eax, 1
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4

Function at 0x4032f8
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
xor esi, esi
xor edx, edx
xor ecx, ecx
cmp ecx, 0xffff
ja 0x403342
push ecx
call fcn.0040575f
or eax, eax
je 0x403316
inc edx
push ecx
call fcn.00405797
or eax, eax
je 0x403327
mov eax, dword [eax + 0x40]
add eax, 0xc
inc esi
cmp esi, edx
je 0x40333f
pushal
push edx
push esi
push eax
push ecx
push str.___XRAY__Found_desync_object._GetID:___d___Name:___s___Server:___d____Client:___d_
call dword [0x45cb58]
add esp, 0x14
popal
inc ecx
jmp 0x403303
push edx
push esi
push str.___XRAY__Server:__d__Client:__d
call dword [0x45cb58]
add esp, 0xc
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x405532
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xe9
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
je 0x40556a
mov esi, dword [ebp + 0xc]
add esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
sub esi, 5
sub esi, edi
mov dword [ebp - 7], esi
jmp 0x40557b
mov edi, dword [ebp + 8]
add edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub esi, 5
sub esi, edi
mov dword [ebp - 7], esi
lea edx, [ebp - 0xc]
push edx
push 0x40
push 1
push edi
call dword [sym.imp.kernel32.dll_VirtualProtect]
push 5
lea edx, [ebp - 8]
push edx
push edi
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
add edi, 5
push 0x90
push dword [ebp + 0x14]
push edi
call dword [sym.imp.kernel32.dll_RtlFillMemory]
leave
ret 0x10
Function at 0x40b692
Capabilities:
Packed with generic packer
Read .ini file

Disassembly:
pushal
mov dword [0x45d1cc], 0
mov dword [0x41a215], 1
mov dword [0x40ea8a], 0
push 0x100
push 0x40eab8
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push 0x150
push 0x40ebb8
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push 0x100
push 0x40ed08
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push 0x20
push 0x452072
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
call fcn.004131e7
call fcn.00412afc
call fcn.004106fe
call fcn.00412899
push 0
push 0x45211e
push 0x104
push str.xray.ini
call dword [sym.imp.kernel32.dll_GetFullPathNameA]
push 0x45211e
push 0x400
push 0x452222
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionNamesA]
or eax, eax
je 0x40b7e3
mov esi, 0x452222
cmp byte [esi], 0
je 0x40b7a8
mov edi, 0x45a622
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40b745
push esi
push 0x45211e
push 0x8000
push 0x452622
push 0x45a622
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
or eax, eax
je 0x40b7a5
mov esi, 0x452622
cmp byte [esi], 0
je 0x40b7a5
mov edi, 0x45a722
lodsb al, byte [esi]
cmp al, 0x3d
je 0x40b781
stosb byte es:[edi], al
jmp 0x40b779
xor eax, eax
stosb byte es:[edi], al
mov edi, 0x45a822
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40b789
push 0x45a822
push 0x45a722
push 0x45a622
call fcn.0040b80a
jmp 0x40b76f
pop esi
jmp 0x40b73b
push 0x2500
push 0x45dcbb
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push str.__XRAY__xray.ini_success_loaded
call dword [0x45cb58]
add esp, 4
call fcn.0040cf65
or eax, eax
je 0x40b7e3
push 0x45d119
push eax
push str.___XRAY__Total:___d__respawn_points__at_current_level:___s__
call dword [0x45cb58]
add esp, 0xc
popal
ret
Function at 0x40cb57
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
cmp byte [0x451c66], 0

Function at 0x40cfee
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
push ebx
push ecx
push edx
cmp dword [0x41a209], 8
jne 0x40d001
call fcn.0040dd4e
xor ecx, ecx
mov eax, dword [ecx*4 + 0x44d162]
or eax, eax
je 0x40d113
cmp word [eax + 0x14], 0
je 0x40d027
inc ecx
cmp ecx, 0x12c
jb 0x40d003
jmp 0x40d113
mov edi, eax
push 0
call sym.xrCPU_Pipe.dll_GetClientByNum
or eax, eax
je 0x40d113
add dword [edi + 0x10], 0xa
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
jb 0x40d019
mov dword [edi + 0x10], 0
cmp dword [edi + 0x1c], 0x68705f6d
jne 0x40d069
push 0
push edi
call fcn.00410e31
or eax, eax
je 0x40d019
movzx eax, word [eax + 0x36]
mov dword [edi + 0x14], eax
jmp 0x40d019
push edi
call fcn.0040d11b
or eax, eax
je 0x40d113
movzx edx, word [eax + 0x36]
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0x40]
add eax, 0xc
cmp dword [0x41a209], 8
jne 0x40d0a3
cmp dword [eax + 0xb], 0x6e6f6f6d
je 0x40d019
cmp dword [eax + 0xb], 0x73616c66
je 0x40d019
pushal
movss xmm0, dword [edi]
cvtss2sd xmm0, xmm0
movsd qword [0x45bc51], xmm0
movss xmm0, dword [edi + 4]
cvtss2sd xmm0, xmm0
movsd qword [0x45bc59], xmm0
movss xmm0, dword [edi + 8]
cvtss2sd xmm0, xmm0
movsd qword [0x45bc61], xmm0
push dword [edi + 0xc]
push dword [0x45bc65]
push dword [0x45bc61]
push dword [0x45bc5d]
push dword [0x45bc59]
push dword [0x45bc55]
push dword [0x45bc51]
push edx
push eax
push str.___XRAY__Object_spawned:___s___id:___d___X:___3.2f___Y:___3.2f___Z:___3.2f___Time_respawn:___d_
call dword [0x45cb58]
add esp, 0x28
popal
jmp 0x40d019
xor eax, eax
pop edx
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x41075d
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
cmp dword [0x44c6d4], 0
je 0x41085c
push dword [ebp + 8]
call fcn.00407db4
or eax, eax
jne 0x41085c
push dword [ebp + 8]
call fcn.004109e3
cmp dword [0x41a231], 0
je 0x41085c
call fcn.004106e0
or eax, eax
je 0x41085c
mov eax, dword [0x45cb30]
add eax, 0x4589fc
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x45f4]
or eax, eax
je 0x41085c
mov eax, dword [eax + 0x108d4]
mov eax, dword [eax + 0x10]
mov dword [0x410618], eax
mov dword [0x410614], 1
mov dword [0x410564], 0
mov dword [0x41056c], 0
xor esi, esi
push esi
call fcn.00410678
or eax, eax
je 0x41085c
mov edi, eax
lea eax, [edi]
cmp dword [eax], 0x59415258
je 0x410835
push eax
push 0x410570
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 8
lea eax, [edi + 0x50]
push eax
push 0x4105c0
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 8
mov dword [0x410564], 0x410570
mov dword [0x41056c], 0x4105c0
push dword [ebp + 8]
push 0x410b73
push 0x410610
push dword [0x44c6f4]
call dword [0x44c6e8]
push 1
call dword [sym.imp.kernel32.dll_Sleep]
inc esi
cmp esi, 0x64
jbe 0x4107ea
popal
leave
ret 4
Function at 0x411166
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
push ecx
push edx
mov esi, dword [ebp + 8]
dec esi
xor ebx, ebx
xor ecx, ecx
dec ecx
inc esi
movzx eax, byte [esi]
cmp al, 0
je 0x4111b3
cmp al, 0x61
jae 0x411197
cmp al, 0x5b
jae 0x411177
cmp al, 0x41
jae 0x411197
cmp al, 0x2a
jae 0x411177
cmp al, 0x20
jae 0x411177
cmp al, 0x5f
je 0x411177
inc ecx
cmp al, 0x41
jb 0x4111ab
cmp al, 0x5a
jbe 0x4111a8
cmp al, 0xc0
jb 0x4111ab
cmp al, 0xdf
ja 0x4111ab
add eax, 0x20
mov byte [ecx + 0x43f6a0], al
jmp 0x411177
xor edi, edi
dec edi
inc edi
cmp edi, 0x3e8
jae 0x411203
mov eax, dword [edi*4 + 0x43f7d5]
or eax, eax
je 0x411203
lea eax, [eax]
push eax
push 0x43f6a0
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
je 0x4111b6
mov eax, dword [edi*4 + 0x43f7d5]
or eax, eax
je 0x411203
lea eax, [eax]
inc edi
pushal
push dword [ebp + 8]
push eax
push edi
push str.___XRAY__Found:_cencor__d_s._Found_in:__s
call dword [0x45cb58]
add esp, 0x10
popal
mov ebx, eax
jmp 0x411205
xor ebx, ebx
cmp byte [0x43f6a0], 0
je 0x41121e
push 0x100
push 0x43f6a0
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
mov eax, ebx
pop edx
pop ecx
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x4112e6
Capabilities:
Allocate or change rwx memory
Create http request
Execute shellcode via indirect call
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
cmp byte [0x435640], 0
je 0x411532
push dword [ebp + 8]
call fcn.00407db4
or eax, eax
jne 0x411532
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x411536
mov dword [0x45c333], eax
mov edi, dword [ebp + 8]
push 0x435640
push dword [edi + 0xb9]
push str.https:__vpnapi.io_api__s_key_s
push 0x45dcbb
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
push 4
push 0x451f96
push 2
push dword [0x45c333]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0x84000000
push 0
push 0
push 0x45dcbb
push dword [0x45c333]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
je 0x411536
mov dword [0x45c337], eax
push 0x40
push 0x3000
push 0x100000
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
or eax, eax
je 0x411536
mov dword [0x41922c], eax
mov esi, eax
push 0x45dcbb
push 0x1024
push esi
push dword [0x45c337]
call dword [sym.imp.WININET.dll_InternetReadFile]
or eax, eax
je 0x4114f7
or esi, esi
je 0x4114f7
mov edi, dword [ebp + 8]
mov ebx, str._vpn_:_true
push str._vpn_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x411428
mov ebx, str._proxy_:_true
push str._proxy_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x411428
mov ebx, str._tor_:_true
push str._tor_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x411428
mov ebx, str._relay_:_true
push str._relay_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
je 0x411452
mov dword [edi + 0x1d1], 0xffff
push dword [edi + 0xb9]
push dword [edi + 0xb5]
push ebx
push str.___XRAY__Using_Proxy_Type:__s__Player:__s__IP:__s
call dword [0x45cb58]
add esp, 0x10
jmp 0x4114f7
xor ecx, ecx
inc ecx
cmp ecx, 0x400
ja 0x4114f7
inc esi
cmp dword [esi], 0x22797274
jne 0x411454
add esi, 7
push 0x2500
push 0x45dcbb
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
mov dword [0x45dcbb], 0x6b636f4c
mov ecx, 4
movzx eax, byte [esi]
cmp al, 0
je 0x4114a1
cmp al, 0x22
je 0x4114a1
mov byte [ecx + 0x45dcbb], al
inc esi
inc ecx
jmp 0x41148c
push 0x45dcbf
push dword [edi + 0xb9]
push dword [edi + 0xb5]
push str.___XRAY__Player:__s__IP:__s__Country:__s
call dword [0x45cb58]
add esp, 0x10
lea eax, [edi + 0x1b1]
push 0x20
push 0x45dcbb
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
cmp dword [0x435804], 0
je 0x4114f7
push 0x45dcbb
call fcn.00411166
or eax, eax
je 0x4114f7
cmp dword [eax], 0x6b636f6c
je 0x411428
push 0x8000
push 0
push dword [0x41922c]
call dword [sym.imp.kernel32.dll_VirtualFree]
push dword [0x45c337]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [0x45c333]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x2500
push 0x45dcbb
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
xor eax, eax
jmp 0x41153b
mov eax, 1
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4