joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d2d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0047d2b0
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0xffffffff
jne 0x47d32c
mov ecx, dword [str.Socket_not_connected]
mov edx, 1
mov eax, 0x5158e0
call fcn.0046c220
mov edx, 0x47d30a
mov ecx, ebp
call fcn.00413470
nop
xor eax, eax
push 0x47d41b
push ebp
push 0x413930
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0xc], 1
mov word [ebp - 0xa], 5
push 4
lea eax, [ebp - 0xc]
push eax
push pe_nt_image_headers32
push 0xffff
mov eax, dword [ebp - 8]
push dword [eax + 0x60]
call sub.wsock32.dll_setsockopt
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push dword [eax + 0x60]
call sub.wsock32.dll_listen
test eax, eax
jge 0x47d410
call fcn.0047af30
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
call fcn.004335b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x28]
mov eax, dword [str.Error_on_listening_for_incoming_connection:_r_n_s._r_nSocket_Error_Code:__d___X_]
mov ecx, 2
call fcn.0042a260
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, 0x24
call fcn.00407f40
mov eax, dword [ebp - 8]
push dword [eax + 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
mov edx, 1
mov eax, 0x5158e0
call fcn.0046c2e0
mov edx, 0x47d3e6
mov ecx, ebp
call fcn.00413470
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x47d433
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0047d2b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edx, 1
mov eax, 0x539538
call fcn.0047ed50
mov dword [ebp - 0xc], eax
xor eax, eax
push 0x481f4b
push ebp
push 0x413930
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, dword [edx + 0x10]
jle 0x481e71
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
jmp 0x481e7d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
add eax, 1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edx, 0x537f40
mov eax, dword [ebp - 0xc]
add eax, 0xc
mov ecx, 1
call fcn.0040bda0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
sub eax, 1
test eax, eax
jl 0x481ef4
mov dword [ebp - 0x18], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x18], 1
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 0xc]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + 0xc]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0xc]
mov esi, dword [esi + ebx*4]
mov edx, dword [edx + ebx*4]
xor edx, esi
mov dword [ecx + ebx*4], edx
cmp eax, dword [ebp - 0x18]
jg 0x481ec8
lea esi, [esi]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
cmp eax, dword [edx + 0x10]
jle 0x481f38
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x10]
sub ecx, eax
shl ecx, 2
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
lea edx, [edx + eax*4]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
lea eax, [ebx + eax*4]
call fcn.00402d40
mov esi, esi
mov eax, dword [ebp - 0xc]
call fcn.0047fa20
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x481f5d
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, dword [eax + 0x10]
jle 0x481f99
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
jmp 0x481fa2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
sub eax, 1
mov ecx, eax
test ecx, ecx
jl 0x481fdc
mov ebx, 0xffffffff
lea esi, [esi]
nop
add ebx, 1
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0xc]
mov esi, dword [edx + 0xc]
mov eax, dword [edi + ebx*4]
mov esi, dword [esi + ebx*4]
xor esi, eax
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0xc]
mov dword [eax + ebx*4], esi
cmp ecx, ebx
jg 0x481fb8
lea esi, [esi]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
cmp edx, dword [eax + 0x10]
jle 0x482050
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
lea eax, [edx + 1]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov edx, 0x537f40
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0xc]
mov ecx, 1
call fcn.0040bda0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
sub ecx, edx
shl ecx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
lea edx, [ebx + edx*4]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xc]
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x10]
lea eax, [ebx + eax*4]
call fcn.00402d40
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], edx
nop
mov eax, dword [ebp - 8]
call fcn.0047fa20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x44]
push ebx
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jne 0x483660
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00483480
mov dword [ebp - 0x10], eax
jmp 0x4837ee
mov edx, 1
mov eax, 0x539538
call fcn.0047ed50
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.00483620
push ebp
push 0x4135b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x10]
add eax, ecx
add eax, 4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
add eax, 1
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov edx, 0x537f40
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov ecx, 1
call fcn.0040bda0
mov dword [ebp - 0x1c], 0
jmp 0x4837b9
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
add eax, 1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x10]
jne 0x4836f6
mov dword [ebp - 0x2c], 0
jmp 0x483706
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
jmp 0x4837a6
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
lea edx, [eax + 1]
mov eax, dword [ebp - 0xc]
cmp edx, dword [eax + 0x10]
jne 0x48373e
mov dword [ebp - 0x24], 0
jmp 0x48374e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4 + 4]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
lea edx, [ebp - 0x40]
mov ecx, 3
call fcn.004833c0
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
nop
add dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
add eax, ebx
mov edx, dword [edx + 0xc]
mov esi, dword [edx + eax*4]
mov edx, dword [ebp + ebx*4 - 0x40]
xor edx, esi
mov dword [ecx + eax*4], edx
cmp dword [ebp - 0x20], 3
jl 0x483778
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x483718
add dword [ebp - 0x1c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x1c]
jg 0x4836d0
mov eax, dword [ebp - 0x14]
call fcn.0047fa20
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00483800
mov dword [ebp - 0x10], eax
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00483620
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484310
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x110]
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov dword [ebp - 0x110], ecx
lea eax, [ebp - 0x104]
call fcn.0047abd0
lea edx, [ebp - 0x104]
mov edi, ebx
mov eax, edi
call fcn.0047abb0
test esi, esi
jge 0x484349
xor ecx, ecx
jmp 0x48437c
mov ebx, esi
mov eax, 0x10624dd3
imul ebx
sar edx, 6
shr ebx, 0x1f
add edx, ebx
mov dword [ebp - 0x10c], edx
mov eax, esi
cdq
mov ebx, 0x3e8
idiv ebx
imul edx, edx, 0x3e8
mov dword [ebp - 0x108], edx
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [edi + 1]
push eax
call sub.wsock32.dll_select
test eax, eax
jge 0x4843a6
call fcn.004841a0
mov edx, dword [ebp - 0x110]
mov dword [edx], eax
xor bl, bl
jmp 0x4843c1
mov eax, dword [ebp - 0x110]
mov dword [eax], 0
lea edx, [ebp - 0x104]
mov eax, edi
call fcn.0047ab90
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4858d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
test dword [ebp - 4], 0xffffffff
je 0x485980
mov ecx, eax
shr ecx, 2
mov dword [ebp - 0xc], ecx
and eax, 3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jl 0x485934
mov dword [ebp - 0x10], 0xffffffff
nop
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + edx*4]
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov esi, dword [edi + eax*4]
xor esi, ebx
mov eax, dword [ebp - 4]
mov dword [eax + edx*4], esi
add edx, 1
cmp ecx, dword [ebp - 0x10]
jg 0x485910
nop
mov eax, edx
shl eax, 2
mov ecx, eax
mov edx, dword [ebp - 0x14]
lea ebx, [edx - 1]
test ebx, ebx
jl 0x485980
mov dword [ebp - 0x10], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, dword [ebp - 0x10]
lea edi, [eax + edx]
mov edx, dword [ebp - 0x10]
lea esi, [ecx + edx]
mov edx, dword [ebp - 8]
mov al, byte [edx + edi]
mov edi, dword [ebp - 4]
mov dl, byte [edi + esi]
xor dl, al
mov eax, dword [ebp - 4]
mov byte [eax + esi], dl
cmp ebx, dword [ebp - 0x10]
jg 0x485950
nop
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x485990
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test edx, edx
je 0x4859c8
mov esi, esi
lea ebx, [ecx - 1]
test ebx, ebx
jl 0x4859c8
mov esi, 0xffffffff
lea esi, [esi]
add esi, 1
movzx ecx, byte [edx + esi]
xor ecx, eax
imul ecx, ecx, 0x8088405
mov eax, ecx
add eax, 1
mov ecx, eax
shr ecx, 0x18
mov byte [edx + esi], cl
cmp ebx, esi
jg 0x4859a8
pop esi
pop ebx
ret
Function at 0x4866f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
lea esp, [esp - 0x18]
mov ecx, eax
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov esi, 0x10
lea esi, [esi]
sub esi, 1
mov ax, word [edx + esi]
and ax, 0xf
mov byte [esp + 0x14], al
mov eax, dword [esp]
and eax, 0xf
mov byte [esp + 0x10], al
mov eax, esp
mov ebx, dword [eax]
shr ebx, 4
mov eax, dword [eax + 4]
shl eax, 0x1c
or ebx, eax
mov dword [esp], ebx
mov ebx, esp
mov eax, dword [ebx + 4]
shr eax, 4
mov ebx, dword [ebx + 8]
shl ebx, 0x1c
or eax, ebx
mov dword [esp + 4], eax
mov ebx, esp
mov eax, dword [ebx + 8]
shr eax, 4
mov ebx, dword [ebx + 0xc]
shl ebx, 0x1c
or eax, ebx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0xc]
shr ebx, 4
movzx eax, byte [esp + 0x10]
xor ebx, dword [eax*4 + 0x4e9e90]
mov dword [esp + 0xc], ebx
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x44]
xor dword [esp], eax
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x48]
xor dword [esp + 4], eax
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x4c]
xor dword [esp + 8], eax
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x50]
xor dword [esp + 0xc], eax
movzx eax, byte [edx + esi]
shr eax, 4
and eax, 0xf
mov byte [esp + 0x14], al
mov eax, dword [esp]
and eax, 0xf
mov byte [esp + 0x10], al
mov ebx, esp
mov eax, dword [ebx]
shr eax, 4
mov ebx, dword [ebx + 4]
shl ebx, 0x1c
or eax, ebx
mov dword [esp], eax
mov ebx, esp
mov eax, dword [ebx + 4]
shr eax, 4
mov ebx, dword [ebx + 8]
shl ebx, 0x1c
or eax, ebx
mov dword [esp + 4], eax
mov eax, esp
mov ebx, dword [eax + 8]
shr ebx, 4
mov eax, dword [eax + 0xc]
shl eax, 0x1c
or ebx, eax
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc]
shr ebx, 4
movzx eax, byte [esp + 0x10]
xor ebx, dword [eax*4 + 0x4e9e90]
mov dword [esp + 0xc], ebx
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x44]
xor dword [esp], eax
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x48]
xor dword [esp + 4], eax
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x4c]
xor dword [esp + 8], eax
movzx eax, byte [esp + 0x14]
shl eax, 4
mov eax, dword [ecx + eax + 0x50]
xor dword [esp + 0xc], eax
test esi, esi
jg 0x486720
mov ebx, edx
mov eax, dword [esp + 0xc]
xor ecx, ecx
call fcn.00485b10
mov edx, ebx
mov eax, dword [esp + 8]
mov ecx, 4
call fcn.00485b10
mov edx, ebx
mov eax, dword [esp + 4]
mov ecx, 8
call fcn.00485b10
mov edx, ebx
mov eax, dword [esp]
mov ecx, 0xc
call fcn.00485b10
lea esp, [esp + 0x18]
pop esi
pop ebx
ret
Function at 0x487d00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov eax, edx
test edx, edx
je 0x487d1c
mov eax, dword [eax - 4]
add eax, 1
mov edi, eax
xor ebx, ebx
mov esi, 0xffffffff
lea esi, [esi]
add esi, 1
lea eax, [ebx + 1]
cdq
idiv edi
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + edx]
mov ecx, eax
shl ecx, 0x10
mov eax, ebx
cdq
idiv edi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
shl edx, 0x18
add ecx, edx
lea eax, [ebx + 2]
cdq
idiv edi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
shl edx, 8
add ecx, edx
lea eax, [ebx + 3]
cdq
idiv edi
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
add edx, ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x144]
lea ecx, [esi + 0x400]
xor edx, dword [eax + ecx*4]
mov dword [eax + ecx*4], edx
add ebx, 4
cmp esi, 0x11
jl 0x487d28
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov esi, 0xffffffff
mov esi, esi
add esi, 1
push 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edi, dword [ebp - 0xc]
mov ebx, dword [edi]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x144]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0x1000], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x144]
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x400]
mov eax, dword [ebp - 4]
mov dword [ecx + edx*4 + 4], eax
add dword [ebp - 0x14], 2
cmp esi, 8
jl 0x487da8
xor esi, esi
mov dword [ebp - 0x18], 0xffffffff
mov esi, esi
add dword [ebp - 0x18], 1
push 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edi, dword [ebp - 0xc]
mov ebx, dword [edi]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x144]
mov eax, dword [ebp - 8]
mov dword [edx + esi*4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x144]
mov eax, dword [ebp - 4]
mov dword [edx + esi*4 + 4], eax
add esi, 2
cmp dword [ebp - 0x18], 0x1ff
jl 0x487e00
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x144]
mov eax, dword [ebp - 4]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x148]
shr ebx, 1
mov dword [ebp - 8], edx
push dword [ebp - 8]
push ebx
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x144]
xor ecx, ecx
mov eax, 0x51286c
call fcn.0046b470
mov eax, ebx
sar eax, 0x1f
and eax, 3
add ebx, eax
sar ebx, 2
lea eax, [ebx + 4]
shl eax, 2
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x158]
lea eax, [eax*4 - 5]
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x488b10
mov edi, 0xffffffff
lea esi, [esi]
add edi, 1
mov edx, dword [ebp - 8]
mov ebx, dword [edx]
and ebx, 0xff
mov edx, dword [ebp - 8]
mov eax, dword [edx]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x4ed120]
mov edx, 8
call fcn.00485790
mov esi, eax
xor esi, dword [ebx*4 + 0x4ed120]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4ed120]
mov edx, 0x10
call fcn.00485790
xor esi, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
shr edx, 0x18
mov eax, dword [edx*4 + 0x4ed120]
mov edx, 0x18
call fcn.00485790
xor esi, eax
mov eax, dword [ebp - 8]
mov dword [eax], esi
add dword [ebp - 8], 4
cmp dword [ebp - 0xc], edi
jg 0x488a90
mov esi, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488b20
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x10]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov eax, esp
call fcn.00488d10
jmp 0x488ceb
mov eax, dword [esp]
sub eax, 0x24
mov esi, eax
mov edx, dword [esp]
mov eax, dword [edx - 4]
mov eax, dword [eax + 0x158]
mov eax, dword [edx + eax*4 - 0x40]
shr eax, 8
and eax, 0xff
mov al, byte [eax + str.cw]
mov dl, byte [esi]
xor dl, al
mov eax, dword [esp + 0xc]
xor dl, byte [eax + 0x4efe90]
mov byte [esi], dl
add esi, 1
mov eax, dword [esp]
mov edx, dword [eax - 4]
mov edx, dword [edx + 0x158]
mov eax, dword [eax + edx*4 - 0x40]
shr eax, 0x10
and eax, 0xff
mov al, byte [eax + str.cw]
xor byte [esi], al
add esi, 1
mov edx, dword [esp]
mov eax, dword [edx - 4]
mov eax, dword [eax + 0x158]
mov eax, dword [edx + eax*4 - 0x40]
shr eax, 0x18
mov al, byte [eax + str.cw]
xor byte [esi], al
add esi, 1
mov eax, dword [esp]
mov edx, dword [eax - 4]
mov edx, dword [edx + 0x158]
mov eax, dword [eax + edx*4 - 0x40]
and eax, 0xff
mov al, byte [eax + str.cw]
xor byte [esi], al
add dword [esp + 0xc], 1
mov eax, dword [esp]
mov eax, dword [eax - 4]
cmp dword [eax + 0x158], 0xe
jne 0x488cad
xor ebx, ebx
lea esi, [esi]
add ebx, 1
mov edx, dword [esp]
lea ecx, [edx - 0x24]
mov eax, dword [ecx + ebx*4 - 4]
mov ecx, dword [ecx + ebx*4]
xor ecx, eax
mov dword [edx + ebx*4 - 0x24], ecx
cmp ebx, 3
jl 0x488c08
mov eax, dword [esp]
sub eax, 0x14
mov esi, eax
mov eax, dword [esp]
mov eax, dword [eax - 0x18]
and eax, 0xff
mov al, byte [eax + str.cw]
xor byte [esi], al
add esi, 1
mov eax, dword [esp]
mov eax, dword [eax - 0x18]
shr eax, 8
and eax, 0xff
mov al, byte [eax + str.cw]
xor byte [esi], al
add esi, 1
mov eax, dword [esp]
mov eax, dword [eax - 0x18]
shr eax, 0x10
and eax, 0xff
mov al, byte [eax + str.cw]
xor byte [esi], al
add esi, 1
mov eax, dword [esp]
mov eax, dword [eax - 0x18]
shr eax, 0x18
mov al, byte [eax + str.cw]
xor byte [esi], al
mov ebx, 4
lea esi, [esi]
add ebx, 1
mov edx, dword [esp]
lea ecx, [edx - 0x24]
mov eax, dword [ecx + ebx*4 - 4]
mov ecx, dword [ecx + ebx*4]
xor ecx, eax
mov dword [edx + ebx*4 - 0x24], ecx
cmp ebx, 7
jl 0x488c90
jmp 0x488ce4
mov eax, dword [esp]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x158]
sub eax, 7
mov edx, eax
cmp edx, 1
jl 0x488ce4
xor ebx, ebx
lea esi, [esi]
add ebx, 1
mov ecx, dword [esp]
lea edi, [ecx - 0x24]
mov eax, dword [edi + ebx*4 - 4]
mov edi, dword [edi + ebx*4]
xor edi, eax
mov dword [ecx + ebx*4 - 0x24], edi
cmp edx, ebx
jg 0x488cc8
mov esi, esi
mov eax, esp
call fcn.00488d10
mov eax, dword [esp]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x158]
cmp eax, dword [esp + 8]
jge 0x488b50
lea esp, [esp + 0x10]
pop edi
pop esi
pop ebx
ret
Function at 0x4ace90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 4]
mov dword [esp], eax
xor eax, eax
not eax
neg ecx
sbb eax, 0xffffffff
mov eax, 0xffffffff
add eax, 1
mov esi, dword [esp]
mov ebx, dword [esi + eax*4]
mov esi, dword [edx + eax*4]
xor esi, ebx
mov edi, esi
mov ebx, ecx
and ebx, edi
mov edi, ebx
mov esi, dword [esp]
mov ebx, dword [esi + eax*4]
mov esi, edi
xor esi, ebx
mov ebx, dword [esp]
mov dword [ebx + eax*4], esi
mov ebx, dword [edx + eax*4]
mov esi, edi
xor esi, ebx
mov dword [edx + eax*4], esi
cmp eax, 9
jl 0x4acea8
lea esp, [esp + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x4acef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 4]
mov dword [esp], eax
xor eax, eax
not eax
neg ecx
sbb eax, 0xffffffff
mov eax, 0xffffffff
add eax, 1
mov esi, dword [esp]
mov ebx, dword [esi + eax*4]
mov esi, dword [edx + eax*4]
xor esi, ebx
mov edi, esi
mov ebx, ecx
and ebx, edi
mov edi, ebx
mov esi, dword [esp]
mov ebx, dword [esi + eax*4]
mov esi, edi
xor esi, ebx
mov ebx, dword [esp]
mov dword [ebx + eax*4], esi
cmp eax, 9
jl 0x4acf08
lea esp, [esp + 4]
pop edi
pop esi
pop ebx
ret

Function at 0x4acf40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
lea esp, [esp - 4]
mov esi, eax
xor eax, eax
mov ebx, 0xffffffff
nop
add ebx, 1
mov cl, byte [esi + ebx]
mov byte [esp], cl
mov cl, byte [edx + ebx]
xor cl, byte [esp]
and ecx, 0xff
or ecx, eax
mov eax, ecx
cmp ebx, 0x1f
jl 0x4acf50
mov edx, 0
sub eax, 1
sbb edx, 0
shrd eax, edx, 8
shr edx, 8
and eax, 1
sub eax, 1
lea esp, [esp + 4]
pop esi
pop ebx
ret