joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444330
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x58a81c]
push ebx
push esi
push edi
cmp eax, dword [ecx + 4]
jg 0x4444ab
mov eax, dword [0x577468]
test eax, eax
je 0x44438e
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
dec eax
mov dword [0x577468], eax
xor esi, esi
nop dword [eax]
push esi
mov dword [esi*4 + 0x589e10], 0
call edi
inc esi
cmp esi, 0x100
jb 0x444370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x576f0c]
test eax, eax
je 0x4443a0
cmp dword [eax + 0x30], 0
setne al
jmp 0x4443a2
xor al, al
mov edi, dword [0x576f34]
test al, al
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmovne edi, dword [0x576f38]
xor esi, esi
mov dword [ebp - 4], edi
mov edi, closesocket
mov eax, dword [esi*4 + 0x589e10]
mov ecx, eax
shr ecx, 1
xor ecx, eax
and ecx, 0x40000000
xor ecx, eax
push esi
mov dword [esi*4 + 0x589e10], ecx
call ebx
xor ecx, ecx
movzx eax, ax
xor edx, edx
cmp dx, ax
mov eax, dword [esi*4 + 0x589e10]
cmovne ecx, edi
and eax, 0x40000000
or ecx, eax
and ecx, 0xc0000000
mov dword [esi*4 + 0x589e10], ecx
inc esi
cmp esi, 0x100
jb 0x4443c1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0xc]
mov eax, edx
sub eax, dword [0x58a210]
mov ecx, dword [ebp - 8]
mov dword [0x58a218], eax
mov eax, ecx
sub eax, dword [0x58a214]
cmp dword [0x58a224], 0
mov dword [0x58a21c], eax
mov dword [0x58a210], edx
mov dword [0x58a214], ecx
je 0x444472
mov dword [0x58a220], 0
mov dword [0x58a224], 0
xor edi, edi
mov esi, 0x577320
lea ebx, [edi + 4]
nop dword [eax]
cmp dword [esi + 0x10], 0x48f
je 0x44449b
movups xmm0, xmmword [esi]
push esi
push edi
movups xmmword [esi - 0x10], xmm0
call dword [sym.imp.XINPUT1_3.dll_Ordinal_2]
mov dword [esi + 0x10], eax
inc edi
add esi, 0x24
sub ebx, 1
jne 0x444480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x58a81c
call fcn.004cf5a7
add esp, 4
cmp dword [0x58a81c], 0xffffffff
jne 0x444352
push 0x14b
push 0x57746c
mov byte [0x577470], 0
mov dword [0x577474], 0
mov dword [vtable.pbtf::overlay_t::CCallbackInternal__on_game_overlay_activated.0], 0x50d174
call dword [sym.imp.steam_api.dll_SteamAPI_RegisterCallback]
push 0x4f1820
mov dword [0x577468], 0
call fcn.004cf296
add esp, 0xc
push 0x58a81c
call fcn.004cf556
add esp, 4
jmp 0x444352
Function at 0x493170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f10fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x515040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
add eax, eax
mov edi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov edx, dword [esi + 4]
xor edx, dword [ebp + 0x10]
and edx, 1
mov dword [esi], vtable.pbtf::vc_infravision_renderer_t.0
xor edx, dword [esi + 4]
xor eax, edx
mov dword [esi + 0x10], ecx
and eax, 2
xor eax, edx
mov dword [esi + 4], eax
lea eax, [ecx + 0x944]
mov dword [esi + 8], eax
lea eax, [ecx + 0x998]
mov dword [esi + 0xc], eax
test edi, edi
je 0x4931f3
mov eax, dword [edi + 0x3c]
shr eax, 0xf
test al, 1
je 0x4931f3
mov eax, dword [ecx + 0x269c8]
jmp 0x4931f5
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x50c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov ecx, dword [eax + 8]
push dword [edi + 0x4a88]
push dword [eax + 0x28]
mov edx, dword [ecx]
push ecx
call dword [edx + 0xd0]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 8]
lea ecx, [ecx + 0x40]
call fcn.00454d80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a9f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push dword [edi + 0xc]
call fcn.004dab12
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x4a9fac
mov edx, dword [edi + 8]
add edx, dword [edi + 4]
cmp esi, edx
jae 0x4a9fac
mov ecx, dword [ebp + 0xc]
lea eax, [esi + ecx]
cmp eax, edx
jbe 0x4a9f91
mov ecx, edx
sub ecx, esi
test ecx, ecx
je 0x4a9fac
push dword [edi + 0xc]
push ecx
push 1
push dword [ebp + 8]
call fcn.004dad28
add esp, 0x10
pop edi
pop esi
pop ebp
ret 8
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x4ab5f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x10000
mov edi, ecx
call fcn.004acad0
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 8]
cmp edx, 0xffffffff
je 0x4ab63b
mov ecx, dword [edi + 4]
mov eax, dword [edi]
sub ecx, esi
push 0
push ecx
add eax, esi
push eax
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x4ab6b5
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x4ab77f
push str.Set_Cookie:
push dword [edi]
call fcn.004d0580
mov esi, eax
add esp, 8
test esi, esi
je 0x4ab76d
mov dword [edi + 0x202c], 0
push ebx
nop
cmp dword [edi + 0x202c], 8
jae 0x4ab76c
add esi, 0xc
push 0x50c338
push esi
call fcn.004d0580
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x4ab754
mov ebx, eax
mov eax, dword [edi + 0x202c]
shl eax, 0xa
add eax, 0x2c
add eax, edi
sub ebx, esi
je 0x4ab738
test eax, eax
jne 0x4ab6e6
call fcn.004dd388
mov dword [eax], 0x16
jmp 0x4ab733
test eax, eax
je 0x4ab63b
jle 0x4ab77f
mov ecx, dword [edi + 8]
add ecx, eax
mov dword [edi + 8], ecx
cmp ecx, dword [edi + 4]
jae 0x4ab6d8
mov eax, dword [edi]
pop edi
pop esi
mov byte [ecx + eax], 0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, edi
call fcn.004acad0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4ab6ff
cmp ebx, 0x400
ja 0x4ab6ff
push ebx
push esi
push eax
call fcn.004d21c0
add esp, 0xc
jmp 0x4ab738
push 0x400
push 0
push eax
call fcn.004d0d20
add esp, 0xc
test esi, esi
jne 0x4ab720
call fcn.004dd388
mov dword [eax], 0x16
jmp 0x4ab733
cmp ebx, 0x400
jbe 0x4ab738
call fcn.004dd388
mov dword [eax], 0x22
call fcn.004d2a8c
mov eax, dword [edi + 0x202c]
shl eax, 0xa
sub eax, esi
mov esi, dword [ebp - 4]
add eax, esi
mov byte [eax + edi + 0x2c], 0
inc dword [edi + 0x202c]
inc esi
push str.Set_Cookie:
push esi
call fcn.004d0580
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ab660
pop ebx
lea ecx, [edi + 0xc]
call fcn.004acf70
mov dword [edi + 0x2030], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ac880
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.004ebe60
mov eax, dword [0x515040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 0x1020], ecx
mov dword [ebp - 0x1024], esi
mov dword [ebp - 0x1028], eax
lea ecx, [edi + 0xc]
call fcn.004acf70
mov dword [edi + 0x2030], 0
mov eax, dword [edi]
test eax, eax
je 0x4ac8e1
push dword [edi + 4]
push 0
push eax
call fcn.004d0d20
add esp, 0xc
mov dword [edi + 8], 0
push str.http:__
push esi
call fcn.004d0580
mov esi, eax
add esp, 8
test esi, esi
je 0x4acabc
add esi, 7
push str._O_
push esi
call fcn.004d0580
add esp, 8
test eax, eax
je 0x4acabc
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x1008]
push 0x1000
push eax
call fcn.004daec5
add esp, 0x10
test eax, eax
jne 0x4acabc
push eax
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
mov dword [ebp - 0x102c], esi
cmp esi, 0xffffffff
je 0x4acaa1
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x4aca96
mov eax, 2
push 0x50
mov word [ebp - 0x1018], ax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x1016], ax
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x1014], eax
cmp eax, 0xffffffff
jne 0x4ac9c5
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4ac9c5
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1014], eax
push 0x10
lea eax, [ebp - 0x1018]
push eax
push esi
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x4ac9eb
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4aca96
mov ebx, dword [ebp - 0x1024]
lea ecx, [edi + 0x10]
mov eax, dword [ebp - 0x1020]
mov dword [edi + 0xc], esi
mov dword [edi + 0x28], eax
test ebx, ebx
je 0x4aca22
cmp byte [ebx], 0
je 0x4aca22
mov edx, ebx
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4aca10
sub edx, esi
push edx
push ebx
call fcn.004ce180
jmp 0x4aca32
mov eax, dword [ecx]
test eax, eax
je 0x4aca2b
mov byte [eax], 0
mov dword [ecx + 8], 0
mov ebx, dword [ebp - 0x1028]
lea ecx, [edi + 0x1c]
test ebx, ebx
je 0x4aca73
cmp byte [ebx], 0
je 0x4aca73
mov edx, ebx
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4aca50
sub edx, esi
push edx
push ebx
call fcn.004ce180
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
test eax, eax
je 0x4aca7c
mov byte [eax], 0
mov dword [ecx + 8], 0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x102c]
call fcn.004acf70
lea eax, [edi + 0xc]
lea ecx, [edi + 0xc]
mov dword [eax], 0xffffffff
call fcn.004acf70
mov dword [edi + 0x2030], 0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
Function at 0x4acb70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push esi
push edi
push 0x58a228
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4acbaf
cmp byte [0x58a228], 1
jne 0x4acba9
cmp byte [0x58a229], 1
jne 0x4acba9
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push 0x190
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.004d0d20
add esp, 0xc
lea esi, [ebp - 0x190]
mov ecx, 0x64
mov edi, 0x58a228
rep movsd dword es:[edi], dword [esi]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4acc30
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x515040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
push 2
mov edi, edx
mov bl, cl
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4acce3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x4acce3
test bl, bl
je 0x4acc9e
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 0x20
push 0xffff
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4acce3
test di, di
je 0x4accd0
mov eax, 2
push edi
mov word [ebp - 0x14], ax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push esi
mov dword [ebp - 0x10], 0
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
je 0x4acce3
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
Function at 0x4acd50
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x515040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
mov esi, edx
push eax
mov dword [ebp - 0x128], esi
mov edi, ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
mov ecx, 2
cmp eax, 0xffffffff
je 0x4acddd
push esi
mov word [edi], cx
call dword [sym.imp.WSOCK32.dll_htons]
mov word [edi + 2], ax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x4acdca
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4acddd
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ace82
mov eax, 2
push 0x752f
mov word [ebp - 0x120], ax
call dword [sym.imp.WSOCK32.dll_htons]
push str.128.127.50.1
mov word [ebp - 0x11e], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x120]
push 0x10
push eax
push esi
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
je 0x4ace7b
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x10
push eax
push edi
push esi
call dword [sym.imp.WSOCK32.dll_getsockname]
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
push dword [ebp - 0x128]
call dword [sym.imp.WSOCK32.dll_htons]
mov word [edi + 2], ax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf01b
mov esp, ebp
pop ebp
ret

Function at 0x4acea0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x515040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 1
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x220], 0
push eax
mov esi, ecx
mov dword [ebp - 0x21c], 0x3e8
push 0
push 0
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
je 0x4acf58
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WSOCK32.dll___WSAFDIsSet]
test eax, eax
je 0x4acf34
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.WSOCK32.dll___WSAFDIsSet]
neg eax
sbb eax, eax
and eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
pop esi
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
Function at 0x4acf70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x515040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4acfca
push edi
push 1
push eax
call dword [sym.imp.WSOCK32.dll_shutdown]
mov edi, dword [sym.imp.WSOCK32.dll_recv]
nop dword [eax]
push 0
push 0x200
lea eax, [ebp - 0x204]
push eax
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x4acfbb
test eax, eax
jne 0x4acfa0
push dword [esi]
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [esi], 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004cf01b
mov esp, ebp
pop ebp
ret
Function at 0x4b5350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
call fcn.004a6c50
mov esi, dword [esi]
mov ecx, edx
shl eax, 6
mov edi, 0x159a55e5
or ecx, eax
mov dword [ebp - 4], 0x1f123bb5
mov eax, 0x75bcd15
mov edx, ecx
cmove edx, eax
mov eax, 0x5491333
test esi, esi
je 0x4b53c6
mov ebx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
shl edx, 0xb
xor edx, ebx
mov ebx, edi
mov ecx, edx
mov edx, edi
mov edi, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shr eax, 0xb
xor eax, ecx
shr eax, 8
xor eax, dword [ebp - 0xc]
xor eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
sub esi, 1
jne 0x4b5393
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b5f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
mov dword [ebp - 4], edx
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov edi, eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 3
imul ecx, eax, 0x38e38e39
mov eax, dword [ebp + 8]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 8], ecx
cmp eax, ecx
jae 0x4b608e
lea edx, [eax + 1]
mov ecx, eax
cmp dword [ebp - 8], edx
jbe 0x4b5f93
mov esi, dword [edi]
lea eax, [eax + eax*8]
mov eax, dword [esi + eax*8 + 0x88]
mov esi, dword [ebp - 4]
cmp eax, dword [esi + 0x426c]
mov esi, dword [ebp + 0xc]
jne 0x4b5f93
mov eax, dword [ebp + 8]
mov ecx, edx
mov dword [eax + ebx*4], edx
mov eax, dword [edi]
lea ecx, [ecx + ecx*8]
inc ebx
add edi, 0xc
movups xmm0, xmmword [eax + ecx*8]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + ecx*8 + 0x10]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [eax + ecx*8 + 0x20]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [eax + ecx*8 + 0x30]
movups xmmword [esi + 0x30], xmm0
add esi, 0x40
mov dword [ebp + 0xc], esi
cmp ebx, 4
jb 0x4b5f48
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0x426c]
test bl, bl
jne 0x4b6082
mov edi, dword [ebp - 0xc]
shr ebx, 8
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x30]
sar eax, 2
cmp ebx, eax
jae 0x4b6076
xor ecx, ecx
mov esi, 0x10a2
add edx, 2
nop
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [edx - 5]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [edx - 4]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [edx - 3]
add ecx, eax
imul ecx, ecx, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
sub esi, 1
jne 0x4b6000
lea ecx, [ecx + ecx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul ecx, eax, 0x8001
mov eax, dword [edi + 0x30]
cmp ecx, dword [eax + ebx*4]
je 0x4b6082
pop edi
lea eax, [esi + 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], edx
add edi, 4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 4
nop
cmp dword [edx + 0x426c], 0
je 0x4b6169
mov ecx, dword [edi - 4]
mov edx, esi
mov eax, dword [edi]
mov esi, 0x3c
sub eax, ecx
sar eax, 3
imul eax, eax, 0x38e38e39
lea eax, [eax + eax*8]
lea eax, [eax - 9]
lea eax, [ecx + eax*8]
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4b6166
add edx, 4
add eax, 4
sub esi, 4
jae 0x4b6150
mov esi, dword [ebp - 0xc]
jmp 0x4b61d6
mov esi, dword [ebp - 0xc]
push 0x48
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.004d0d20
mov edx, dword [ebp - 8]
add esp, 0xc
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
mov eax, dword [edx + 0x426c]
movups xmm2, xmmword [esi + 0x20]
mov dword [ebp - 0x1c], eax
movups xmm3, xmmword [esi + 0x30]
mov eax, dword [edi]
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x4c], xmm1
movups xmmword [ebp - 0x3c], xmm2
movups xmmword [ebp - 0x2c], xmm3
cmp eax, dword [edi + 4]
je 0x4b61c9
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm3
movq qword [eax + 0x40], xmm0
add dword [edi], 0x48
jmp 0x4b61d9
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [edi - 4]
call fcn.004b67e0
mov edx, dword [ebp - 8]
add esi, 0x40
add edi, 0xc
sub dword [ebp - 0x10], 1
mov dword [ebp - 0xc], esi
jne 0x4b6120
cmp byte [edx + 0x426c], 0
jne 0x4b6292
xor ecx, ecx
mov esi, 0x10a2
add edx, 2
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [edx - 5]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [edx - 4]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor ecx, eax
movzx eax, byte [edx - 3]
add ecx, eax
imul ecx, ecx, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
sub esi, 1
jne 0x4b6203
lea ecx, [ecx + ecx*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
mov ecx, dword [ebp + 8]
imul edx, eax, 0x8001
add ecx, 0x30
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], edx
cmp eax, dword [ecx + 8]
je 0x4b6288
mov dword [eax], edx
lea eax, [esi + 1]
add dword [ecx + 4], 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.00416da0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6a60
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ecx + 4]
mov ebx, edx
mov ecx, eax
and ecx, 7
mov dword [ebp - 4], ecx
nop dword [eax + eax]
cmp ecx, 3
jne 0x4b6b0c
test al, 0x78
jne 0x4b6b0c
mov ecx, eax
and ecx, 0x180
cmp ecx, 0x80
jne 0x4b6b0c
test eax, 0x1fe00
jne 0x4b6b0c
mov ecx, eax
and ecx, 0x60000
cmp ecx, 0x20000
jne 0x4b6b0c
test eax, 0x180000
jne 0x4b6b0c
mov ecx, eax
and ecx, 0x6000000
cmp ecx, 0x2000000
jne 0x4b6b0c
mov ecx, eax
and ecx, 0x18000000
cmp ecx, 0x8000000
jne 0x4b6b0c
mov ecx, eax
and ecx, 0xe0000000
cmp ecx, 0x80000000
jne 0x4b6b0c
mov ecx, edi
and ecx, 7
cmp cl, 1
jne 0x4b6b0c
mov ecx, eax
and ecx, 0x600000
cmp ecx, 0x200000
jne 0x4b6b0c
test eax, 0x1800000
je 0x4b6b56
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
shl esi, 0xb
xor esi, dword [ebx]
mov dword [ebx], ecx
mov ecx, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebx + 0xc]
mov edx, ecx
shr edx, 0xb
xor edx, esi
mov dword [ebx + 8], ecx
shr edx, 8
xor edx, ecx
xor edx, esi
mov dword [ebx + 0xc], edx
and edx, 0xf
jmp dword [edx*4 + 0x4b6f14]
mov ecx, dword [ebp - 4]
cmp ecx, 3
jae 0x4b6a83
lea ecx, [eax + 1]
and eax, 0xfffffff8
and ecx, 7
or eax, ecx
mov edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, eax
shr ecx, 3
and ecx, 3
cmp ecx, 1
je 0x4b6d44
cmp ecx, 2
je 0x4b6d38
mov ecx, dword [ebp - 4]
jmp 0x4b6a80
mov ecx, eax
shr ecx, 5
and ecx, 3
cmp ecx, 1
je 0x4b6d5f
cmp ecx, 2
je 0x4b6d53
mov ecx, dword [ebp - 4]
jmp 0x4b6a80
test eax, 0x180
je 0x4b6d6e
mov ecx, dword [ebp - 4]
jmp 0x4b6a80
and eax, 0xffffffe7
mov edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and eax, 0xfffffff7
mov edx, edi
or eax, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and eax, 0xffffff9f
mov edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and eax, 0xffffffdf
mov edx, edi
or eax, 0x40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and eax, 0xfffffeff
mov edx, edi
or eax, 0x80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret