joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f23d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x40f186
add ebx, 0
push ecx
call 0x40f19b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c5bd038
sub ebx, dword [0x6c5dc877]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c5dc867
call fcn.0040ac65
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040a173
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x40f2f9
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x40f2f9
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x40f2b0
mov eax, 1
lock xchg dword [0x6c5dc873], eax
push 0x3dd1fc71
call 0x40f23d
push esi
add esp, 8
cmp eax, 0
jne 0x40f226
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40f24c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40f261
cmp ecx, edx
cmp eax, 0
je 0x40f286
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x40f270
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0040f29f
dec eax
loope 0x40f2a2
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c5dc873], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x40f2d6
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40f2eb
jmp 0x40f2f6
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x40f1e4

Function at 0x41635e
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x416634
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c5c94eb
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c5c04b1
push 0xffffffffffffffff
call fcn.0040d55e
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x4163c8
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.004163e0
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x416628
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4165fc
Function at 0x425e2e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x425e50
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x425e50
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x425e50
ret
cmp word [ebx + 4], 0x14c
jne 0x425e50
test word [ebx + 0x16], 2
je 0x425e50
test word [ebx + 0x16], 0x100
je 0x425e50
cmp word [ebx + 0x18], 0x10b
jne 0x425e50
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x425e50
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x425edc
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x425e70
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040cdbb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x425e50
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x425edc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x425e50
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x425e50
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x425e50
ret
cmp word [ebx + 4], 0x14c
jne 0x425e50
test word [ebx + 0x16], 2
je 0x425e50
test word [ebx + 0x16], 0x100
je 0x425e50
cmp word [ebx + 0x18], 0x10b
jne 0x425e50
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x425e50
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x425edc
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x425e70
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040cdbb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x425e50
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x425f93
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x425fec
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x425f93
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x425fa2
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x82bc45
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x425ff3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0040ce69
cmp eax, dword [ebp + 0xc]
pop eax
je 0x426092
add edi, 4
add eax, 2
dec ecx
jne 0x425fd8
call 0x42603f
loope 0x426035
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x42608f
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4260a0
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x426053
cmp eax, ecx
ja 0x426053
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4260dd
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4260d3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d348
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x425fa2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x425fec
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x425f93
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x425fa2
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x82bc45
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x425ff3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0040ce69
cmp eax, dword [ebp + 0xc]
pop eax
je 0x426092
add edi, 4
add eax, 2
dec ecx
jne 0x425fd8
call 0x42603f
loope 0x426035
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x42608f
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4260a0
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x426053
cmp eax, ecx
ja 0x426053
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4260dd
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4260d3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d348
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40320b
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 0x4032d4
xor ecx, ecx
inc ecx
cmp ecx, 0x125
ja 0x4032d4
movzx edx, word [esi + ecx]
push edx
call sym.xrCPU_Pipe.dll_GetObject
or eax, eax
je 0x403220
mov ebx, dword [eax + 0x40]
add ebx, 0xc
pushal
push ebx
push 0x41a191
call dword [0x45cb0e]
add esp, 8
popal
cmp dword [ebx + 3], 0x6f746361
je 0x403273
cmp dword [ebx], 0x6d696c63
je 0x4032d0
movzx eax, word [eax + 0x38]
push eax
call fcn.00402e86
or eax, eax
je 0x403220
jmp 0x40327d
push edx
call fcn.00402e86
or eax, eax
je 0x4032d4
mov edi, eax
mov ecx, dword [edi + 4]
or ecx, ecx
je 0x4032d4
mov eax, dword [ecx + 0x4160]
or eax, eax
je 0x4032d4
cmp byte [eax + 0x63], 4
je 0x4032d4
mov eax, dword [ecx + 0x414c]
or eax, eax
je 0x4032d4
cmp dword [eax + 0x71], 0x43544f52
jne 0x4032d4
mov eax, dword [ecx + 0x4160]
or eax, eax
je 0x4032d4
movzx eax, word [eax + 0x67]
push eax
call sym.xrCPU_Pipe.dll_GetObject
or eax, eax
je 0x4032d4
mov eax, dword [eax + 0x40]
add eax, 0xc
cmp dword [eax + 3], 0x6f746361
jne 0x4032d4
xor eax, eax
jmp 0x4032f8
push ebx
push 0x451e79
call dword [0x45cb0e]
add esp, 8
push 5
push str.___XRAY__object_not_found:__d
call dword [0x45cb0e]
add esp, 8
mov eax, 1
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4

Function at 0x40336c
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 0x4033b6
push ecx
call sym.xrCPU_Pipe.dll_FindObject
or eax, eax
je 0x40338a
inc edx
push ecx
call sym.xrCPU_Pipe.dll_GetObject
or eax, eax
je 0x40339b
mov eax, dword [eax + 0x40]
add eax, 0xc
inc esi
cmp esi, edx
je 0x4033b3
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 [0x45cb0e]
add esp, 0x14
popal
inc ecx
jmp 0x403377
push edx
push esi
push str.___XRAY__Server:__d__Client:__d
call dword [0x45cb0e]
add esp, 0xc
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x40559e
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 0x4055d6
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 0x4055e7
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 0x40b728
Capabilities:
Packed with generic packer
Read .ini file

Disassembly:
pushal
mov dword [0x45d182], 0
mov dword [0x41a215], 1
mov dword [0x40eb55], 0
push 0x100
push 0x40eb83
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push 0x150
push 0x40ec83
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push 0x100
push 0x40edd3
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push 0x20
push 0x452072
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
call fcn.0041330f
call fcn.00412c24
call fcn.004107c9
call fcn.004129c1
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 0x40b879
mov esi, 0x452222
cmp byte [esi], 0
je 0x40b83e
mov edi, 0x45a622
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40b7db
push esi
push 0x45211e
push 0x8000
push 0x452622
push 0x45a622
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
or eax, eax
je 0x40b83b
mov esi, 0x452622
cmp byte [esi], 0
je 0x40b83b
mov edi, 0x45a722
lodsb al, byte [esi]
cmp al, 0x3d
je 0x40b817
stosb byte es:[edi], al
jmp 0x40b80f
xor eax, eax
stosb byte es:[edi], al
mov edi, 0x45a822
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40b81f
push 0x45a822
push 0x45a722
push 0x45a622
call fcn.0040b8a0
jmp 0x40b805
pop esi
jmp 0x40b7d1
push 0x2500
push 0x45dc71
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
push str.__XRAY__xray.ini_success_loaded
call dword [0x45cb0e]
add esp, 4
call fcn.0040cff7
or eax, eax
je 0x40b879
push 0x45d0cf
push eax
push str.___XRAY__Total:___d__respawn_points__at_current_level:___s__
call dword [0x45cb0e]
add esp, 0xc
popal
ret
Function at 0x40cbee
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 0x40d080
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
push ebx
push ecx
push edx
cmp dword [0x41a209], 8
jne 0x40d093
call fcn.0040dde4
xor ecx, ecx
mov eax, dword [ecx*4 + 0x44d162]
or eax, eax
je 0x40d1a5
cmp word [eax + 0x14], 0
je 0x40d0b9
inc ecx
cmp ecx, 0x12c
jb 0x40d095
jmp 0x40d1a5
mov edi, eax
push 0
call fcn.00402d61
or eax, eax
je 0x40d1a5
add dword [edi + 0x10], 0xa
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
jb 0x40d0ab
mov dword [edi + 0x10], 0
cmp dword [edi + 0x1c], 0x68705f6d
jne 0x40d0fb
push 0
push edi
call fcn.00410efc
or eax, eax
je 0x40d0ab
movzx eax, word [eax + 0x36]
mov dword [edi + 0x14], eax
jmp 0x40d0ab
push edi
call fcn.0040d1ad
or eax, eax
je 0x40d1a5
movzx edx, word [eax + 0x36]
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0x40]
add eax, 0xc
cmp dword [0x41a209], 8
jne 0x40d135
cmp dword [eax + 0xb], 0x6e6f6f6d
je 0x40d0ab
cmp dword [eax + 0xb], 0x73616c66
je 0x40d0ab
pushal
movss xmm0, dword [edi]
cvtss2sd xmm0, xmm0
movsd qword [0x45bc07], xmm0
movss xmm0, dword [edi + 4]
cvtss2sd xmm0, xmm0
movsd qword [0x45bc0f], xmm0
movss xmm0, dword [edi + 8]
cvtss2sd xmm0, xmm0
movsd qword [0x45bc17], xmm0
push dword [edi + 0xc]
push dword [0x45bc1b]
push dword [0x45bc17]
push dword [0x45bc13]
push dword [0x45bc0f]
push dword [0x45bc0b]
push dword [0x45bc07]
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 [0x45cb0e]
add esp, 0x28
popal
jmp 0x40d0ab
xor eax, eax
pop edx
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x410828
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
cmp dword [0x44c6d4], 0
je 0x410927
push dword [ebp + 8]
call fcn.00407da0
or eax, eax
jne 0x410927
push dword [ebp + 8]
call fcn.00410aae
cmp dword [0x41a231], 0
je 0x410927
call fcn.004107ab
or eax, eax
je 0x410927
mov eax, dword [0x45cae6]
add eax, 0x4589fc
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x45f4]
or eax, eax
je 0x410927
mov eax, dword [eax + 0x108d4]
mov eax, dword [eax + 0x10]
mov dword [0x4106e3], eax
mov dword [0x4106df], 1
mov dword [0x41062f], 0
mov dword [0x410637], 0
xor esi, esi
push esi
call fcn.00410743
or eax, eax
je 0x410927
mov edi, eax
lea eax, [edi]
cmp dword [eax], 0x59415258
je 0x410900
push eax
push 0x41063b
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 8
lea eax, [edi + 0x50]
push eax
push 0x41068b
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 8
mov dword [0x41062f], 0x41063b
mov dword [0x410637], 0x41068b
push dword [ebp + 8]
push 0x410c3e
push 0x4106db
push dword [0x44c6f4]
call dword [0x44c6e8]
push 1
call dword [sym.imp.kernel32.dll_Sleep]
inc esi
cmp esi, 0x64
jbe 0x4108b5
popal
leave
ret 4
Function at 0x41123a
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 0x411287
cmp al, 0x61
jae 0x41126b
cmp al, 0x5b
jae 0x41124b
cmp al, 0x41
jae 0x41126b
cmp al, 0x2a
jae 0x41124b
cmp al, 0x20
jae 0x41124b
cmp al, 0x5f
je 0x41124b
inc ecx
cmp al, 0x41
jb 0x41127f
cmp al, 0x5a
jbe 0x41127c
cmp al, 0xc0
jb 0x41127f
cmp al, 0xdf
ja 0x41127f
add eax, 0x20
mov byte [ecx + 0x43f6a0], al
jmp 0x41124b
xor edi, edi
dec edi
inc edi
cmp edi, 0x3e8
jae 0x4112d7
mov eax, dword [edi*4 + 0x43f7d5]
or eax, eax
je 0x4112d7
lea eax, [eax]
push eax
push 0x43f6a0
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
je 0x41128a
mov eax, dword [edi*4 + 0x43f7d5]
or eax, eax
je 0x4112d7
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 [0x45cb0e]
add esp, 0x10
popal
mov ebx, eax
jmp 0x4112d9
xor ebx, ebx
cmp byte [0x43f6a0], 0
je 0x4112f2
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 0x4113ba
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 0x411606
push dword [ebp + 8]
call fcn.00407da0
or eax, eax
jne 0x411606
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x41160a
mov dword [0x45c2e9], eax
mov edi, dword [ebp + 8]
push 0x435640
push dword [edi + 0xbd]
push str.https:__vpnapi.io_api__s_key_s
push 0x45dc71
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
push 4
push 0x451f96
push 2
push dword [0x45c2e9]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0x84000000
push 0
push 0
push 0x45dc71
push dword [0x45c2e9]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
je 0x41160a
mov dword [0x45c2ed], eax
push 0x40
push 0x3000
push 0x100000
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
or eax, eax
je 0x41160a
mov dword [0x41922c], eax
mov esi, eax
push 0x45dc71
push 0x1024
push esi
push dword [0x45c2ed]
call dword [sym.imp.WININET.dll_InternetReadFile]
or eax, eax
je 0x4115cb
or esi, esi
je 0x4115cb
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 0x4114fc
mov ebx, str._proxy_:_true
push str._proxy_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x4114fc
mov ebx, str._tor_:_true
push str._tor_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x4114fc
mov ebx, str._relay_:_true
push str._relay_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
je 0x411526
mov dword [edi + 0x1d1], 0xffff
push dword [edi + 0xbd]
push dword [edi + 0xb9]
push ebx
push str.___XRAY__Using_Proxy_Type:__s__Player:__s__IP:__s
call dword [0x45cb0e]
add esp, 0x10
jmp 0x4115cb
xor ecx, ecx
inc ecx
cmp ecx, 0x400
ja 0x4115cb
inc esi
cmp dword [esi], 0x22797274
jne 0x411528
add esi, 7
push 0x2500
push 0x45dc71
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
mov dword [0x45dc71], 0x6b636f4c
mov ecx, 4
movzx eax, byte [esi]
cmp al, 0
je 0x411575
cmp al, 0x22
je 0x411575
mov byte [ecx + 0x45dc71], al
inc esi
inc ecx
jmp 0x411560
push 0x45dc75
push dword [edi + 0xbd]
push dword [edi + 0xb9]
push str.___XRAY__Player:__s__IP:__s__Country:__s
call dword [0x45cb0e]
add esp, 0x10
lea eax, [edi + 0x1b1]
push 0x20
push 0x45dc71
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
cmp dword [0x435804], 0
je 0x4115cb
push 0x45dc71
call fcn.0041123a
or eax, eax
je 0x4115cb
cmp dword [eax], 0x6b636f6c
je 0x4114fc
push 0x8000
push 0
push dword [0x41922c]
call dword [sym.imp.kernel32.dll_VirtualFree]
push dword [0x45c2ed]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [0x45c2e9]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x2500
push 0x45dc71
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
xor eax, eax
jmp 0x41160f
mov eax, 1
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4
Function at 0x412dc1
Capabilities:
Packed with generic packer
Read .ini file

Disassembly:
pushal
push 0x100
push 0x40f0c5
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
call fcn.0041330f
push 0
push 0x41c1f7
push 0x104
push str.xray_mods.ini
call dword [sym.imp.kernel32.dll_GetFullPathNameA]
push 0x41c1f7
push 0x400
push 0x41c2fb
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionNamesA]
or eax, eax
je 0x412e90
mov esi, 0x41c2fb
cmp byte [esi], 0
je 0x412e7d
mov edi, 0x4246fb
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x412e1a
push esi
push 0x41c1f7
push 0x8000
push 0x41c6fb
push 0x4246fb
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
or eax, eax
je 0x412e7a
mov esi, 0x41c6fb
cmp byte [esi], 0
je 0x412e7a
mov edi, 0x4247fb
lodsb al, byte [esi]
cmp al, 0x3d
je 0x412e56
stosb byte es:[edi], al
jmp 0x412e4e
xor eax, eax
stosb byte es:[edi], al
mov edi, 0x4248fb
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x412e5e
push 0x4248fb
push 0x4247fb
push 0x4246fb
call fcn.00412e92
jmp 0x412e44
pop esi
jmp 0x412e10
push 0x40efff
push str.__XRAY__xray_mods.ini_success_loaded___s_.
call dword [0x45cb0e]
add esp, 8
popal
ret

Function at 0x414029
Capabilities:
Packed with generic packer

Disassembly:
pushal
push str.xrCore.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x45caea], eax
mov ecx, eax
add eax, 0x18640
mov dword [0x45cb0e], eax
mov eax, ecx
add eax, 0x18540
mov dword [0x45cb12], eax
mov eax, ecx
add eax, 0x19d70
mov dword [0x45cba2], eax
mov dword [0x45cade], 0x400000
push 1
push 0x414167
push 0x89590
push dword [0x45cade]
call fcn.0040559e
push 0
push 0x89599
push dword [0x45cade]
push 0x41417e
call fcn.0040559e
push 1
push 0x407fa5
push 0xa50e6
push dword [0x45cade]
call fcn.0040559e
push 0
push 0x403d9a
push 0xb947a
push dword [0x45cade]
call fcn.0040559e
push 0
push 0xb9487
push dword [0x45cade]
push 0x403ddb
call fcn.0040559e
push 0
push 0xb9518
push dword [0x45cade]
push 0x403de0
call fcn.0040559e
push 1
push 0x40e88b
push 0x6aa22
push dword [0x45cade]
call fcn.0040559e
push 0
push 0x6aa3b
push dword [0x45cade]
push 0x40e9e5
call fcn.0040559e
push 1
push 0x4167af
push 0x786f0
push dword [0x45cade]
call fcn.0040559e
push 0
push 0x786de
push dword [0x45cade]
push 0x4167ce
call fcn.0040559e
push 0
push 0x786f6
push dword [0x45cade]
push 0x4167c9
call fcn.0040559e
popal
ret