joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f4a0
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.0046a00e
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x45f4bc
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45f4d5
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x45f4cd
mov ebx, eax
inc ebx
push ebx
call fcn.004696fc
pop ecx
mov ecx, dword [0x8086d4]
mov edx, dword [0x8086d0]
mov dword [edx + ecx*4], eax
mov edx, dword [0x8086d0]
mov ecx, dword [0x8086d4]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x45f631
push ebx
push edi
push edx
call dword [0x5d248c]
add esp, 0xc
mov ebx, dword [0x8086d4]
mov ecx, dword [0x8086d0]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.0045f6a4
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x45f60c
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.0046a00e
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045f4a0
mov edi, eax
lea eax, [esp + 8]
call fcn.0045f4a0
mov ebx, eax
lea eax, [esp + 8]
call fcn.0045f734
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x45f5aa
cmp edi, 0x1e1
je 0x45f584
cmp edi, 0xea
jl 0x45f5e7
mov edx, dword [0x8086d8]
add edx, ebx
mov dword [0x8086d8], edx
cmp edx, 0x186a0
jge 0x45f5cb
mov eax, dword [0x8086d4]
inc eax
mov dword [0x8086d4], eax
cmp eax, 0x64
jge 0x45f5b2
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.004667e0
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x186a0
push 1
push 0x196cc
call fcn.004667e0
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8086d4]
mov eax, dword [0x8086d0]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.004667e0
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8086d4]
mov eax, dword [0x8086d0]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.004667e0
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046683c
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x45f720
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.0046a00e
add esp, 0xc
ret

Function at 0x45fe28
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push 0x422374
call fcn.0046b04d
add esp, 0xc
mov ebx, eax
movsx edx, byte [0x5b56f8]
dec edx
push edx
push ebx
call dword [0x58d0b4]
push 0xffffffffffffffff
push ebx
call dword [0x58d0b8]
pop ebx
ret
Function at 0x464b80
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x8084a4]
test eax, eax
je 0x464b9c
xor eax, eax
push eax
push eax
push 0x4267fc
call fcn.0046b04d
add esp, 0xc
ret

Function at 0x464ba0
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 8
movsx edx, byte [0x5b56f4]
test edx, edx
jle 0x464bf9
xor eax, eax
mov ebx, eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x58d0d8]
mov dword [ebx*4 + 0x7b6ca0], eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x58d0d8]
mov dword [ebx*4 + 0x7b6da0], eax
xor edx, edx
push edx
push 1
push edx
push edx
call dword [0x58d0d8]
mov dword [ebx*4 + 0x7b6ea0], eax
inc ebx
movsx edx, byte [0x5b56f4]
cmp ebx, edx
jl 0x464bb3
test edx, edx
jle 0x464c4d
xor edx, edx
xor eax, eax
mov dword [esp], esi
mov ebx, eax
mov esi, edx
mov dword [ebx + 0x7b52a0], esi
xor edx, edx
lea eax, [ebx + 0x7b52a0]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push 0x4255ac
push edx
push edx
call fcn.0046c8d5
add esp, 0x18
mov dword [esi*4 + 0x7b51a0], eax
push esi
push eax
call dword [0x58d0b4]
add ebx, 0x68
inc esi
movsx ecx, byte [0x5b56f4]
cmp esi, ecx
jl 0x464c08
mov esi, dword [esp]
add esp, 8
pop ebx
ret

Function at 0x4663e0
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x58d438]
test eax, eax
jg 0x4663f4
mov dword [0x808188], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x466400
mov eax, edx
mov dword [0x808188], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x7ac5e0]
push 0x34
push edx
call dword [0x5d2480]
add esp, 8
mov dword [ebx + 0x7ac5e0], 0x34
mov dword [ebx + 0x7ac5e4], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x46640c
mov ebx, dword [esp]
mov dword [0x7ac920], 1
mov dword [0x7ac924], 2
mov dword [0x7ac928], 4
mov dword [0x7ac92c], 8
mov dword [0x7ac930], 0x10
mov dword [0x7ac934], 0x20
mov dword [0x7ac938], 0x40
mov dword [0x7ac93c], 0x80
mov dword [0x7ac940], 0x100
mov dword [0x7ac944], 0x200
mov dword [0x7ac948], 0x400
mov dword [0x7ac94c], 0x800
mov dword [0x7ac950], 0x1000
mov dword [0x7ac954], 0x2000
mov dword [0x7ac958], 0x4000
mov dword [0x7ac95c], 0x8000
mov dword [0x7ac960], 0x10000
mov dword [0x7ac964], 0x20000
mov dword [0x7ac968], 0x40000
mov dword [0x7ac96c], 0x80000
mov dword [0x7ac970], 0x100000
mov dword [0x7ac974], 0x200000
mov dword [0x7ac978], 0x400000
mov dword [0x7ac97c], 0x800000
mov dword [0x7ac980], 0x1000000
mov dword [0x7ac984], 0x2000000
mov dword [0x7ac988], 0x4000000
mov dword [0x7ac98c], 0x8000000
mov dword [0x7ac990], 0x10000000
mov dword [0x7ac994], 0x20000000
mov dword [0x7ac998], 0x40000000
mov dword [0x7ac99c], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x466a98
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5e7fa0], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5e7f9c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5e7fa0], edx
inc eax
cmp eax, 0x270
jl 0x466aa6
mov dword [0x5b56d8], eax
ret
Function at 0x490b78
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
not eax
test ecx, ecx
je 0x490b9f
test dl, 3
je 0x490b9f
movzx ebx, byte [edx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
add edx, 1
xor eax, dword [ebx*4 + 0x5928e0]
add ecx, 0xffffffff
jne 0x490b80
cmp ecx, 0x20
jb 0x490d86
xor eax, dword [edx]
movzx ebx, al
mov ebx, dword [ebx*4 + 0x5934e0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5930e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x592ce0]
shr eax, 0x18
add ecx, 0xffffffe0
xor ebx, dword [eax*4 + 0x5928e0]
xor ebx, dword [edx + 4]
movzx eax, bl
mov eax, dword [eax*4 + 0x5934e0]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor eax, dword [esi*4 + 0x5930e0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ebx, 0x18
xor eax, dword [esi*4 + 0x592ce0]
xor eax, dword [ebx*4 + 0x5928e0]
xor eax, dword [edx + 8]
movzx ebx, al
mov esi, eax
shr esi, 8
mov ebx, dword [ebx*4 + 0x5934e0]
and esi, 0xff
xor ebx, dword [esi*4 + 0x5930e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x592ce0]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5928e0]
xor ebx, dword [edx + 0xc]
movzx eax, bl
mov eax, dword [eax*4 + 0x5934e0]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor eax, dword [esi*4 + 0x5930e0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ebx, 0x18
xor eax, dword [esi*4 + 0x592ce0]
xor eax, dword [ebx*4 + 0x5928e0]
xor eax, dword [edx + 0x10]
movzx ebx, al
mov esi, dword [ebx*4 + 0x5934e0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5930e0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
shr eax, 0x18
xor esi, dword [ebx*4 + 0x592ce0]
xor esi, dword [eax*4 + 0x5928e0]
xor esi, dword [edx + 0x14]
mov eax, esi
and eax, 0xff
mov ebx, esi
shr ebx, 8
mov eax, dword [eax*4 + 0x5934e0]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5930e0]
mov ebx, esi
shr ebx, 0x10
movzx ebx, bl
xor eax, dword [ebx*4 + 0x592ce0]
shr esi, 0x18
xor eax, dword [esi*4 + 0x5928e0]
xor eax, dword [edx + 0x18]
movzx ebx, al
mov ebx, dword [ebx*4 + 0x5934e0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5930e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x592ce0]
xor ebx, dword [eax*4 + 0x5928e0]
xor ebx, dword [edx + 0x1c]
movzx eax, bl
mov esi, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x5934e0]
and esi, 0xff
xor eax, dword [esi*4 + 0x5930e0]
mov esi, ebx
shr esi, 0x10
and esi, 0xff
xor eax, dword [esi*4 + 0x592ce0]
shr ebx, 0x18
add edx, 0x20
xor eax, dword [ebx*4 + 0x5928e0]
cmp ecx, 0x20
jae 0x490ba8
cmp ecx, 4
jb 0x490dd4
xor eax, dword [edx]
movzx esi, al
mov ebx, dword [esi*4 + 0x5934e0]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x5930e0]
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x592ce0]
shr eax, 0x18
mov esi, eax
mov eax, ebx
xor eax, dword [esi*4 + 0x5928e0]
add ecx, 0xfffffffc
add edx, 4
cmp ecx, 4
jae 0x490d8b
test ecx, ecx
je 0x490df2
movzx ebx, byte [edx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
add edx, 1
xor eax, dword [ebx*4 + 0x5928e0]
add ecx, 0xffffffff
jne 0x490dd8
not eax
pop ebx
pop esi
ret
Function at 0x4968cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x49697a
cmp eax, 0xcb
je 0x49690f
cmp eax, 0xcc
je 0x496905
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.004969ac
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x496928
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x496905
mov edx, dword [ebx + 8]
test edx, edx
je 0x496933
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x4969a4
cmp eax, 2
je 0x49691d
mov edx, dword [ebx + 8]
test edx, edx
je 0x496933
cmp eax, 3
je 0x496957
cmp eax, 1
jne 0x49692f
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x49692b
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x49692b
push ebx
call fcn.00499710
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x496995
mov dword [ebx + 0x14], 0xcb
jmp 0x49690f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x4969ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x4969d5
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x496a6e
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x4969fa
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x496a42
mov edx, dword [ebx + 8]
test edx, edx
je 0x496a1c
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x496a8f
cmp eax, dword [ebx + 0x60]
jb 0x4969ff
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x4969f8
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x496a7d
mov edx, 0xce
jmp 0x496a82
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49b4fc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x49b651
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x49b64a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x49b563
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x49b590
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49b5ec
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x49b5d0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x49b5b0
mov edx, dword [esp + 8]
test edx, edx
je 0x49b62f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49b60c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x49b55c
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49b51c
Function at 0x4d144e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4d1571
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4d1555
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4d14a7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4d1485
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4d182d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4d195b
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4d193b
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4d1886
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4d1867
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4d1a66
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x20]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x4d1b89
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x4d1b65
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x4d1ac2
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x4d1aa3
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4d1b8f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4d1cc0
mov eax, 0xf0f0
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4d1ca0
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff0f0f
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x2020]
mov ebx, edx
and ebx, 0xffff0f0f
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff0f0f
add ebx, ecx
mov ecx, esi
and ecx, 0xffff0f0f
lea ecx, [ebx + ecx + 0x202]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff0f0f
lea ecx, [edx + esi + 0x2020]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4d1be8
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4d1bc9
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x4d1cc6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x6c]
imul edi, dword [eax + 0x60]
mov ebx, dword [eax + 0x20]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x4d1dde
push esi
mov esi, 0xe3
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x4d1dbe
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
mov ebx, ecx
and ebx, 0x1c
mov edx, eax
and edx, 0x1c
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0x1c
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0x1c
lea edx, [edx + ebx + 8]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x42]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
and cx, si
and dl, 0x1c
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x4d1d1e
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x60]
mov eax, dword [eax]
mov edx, dword [eax + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4d1d00
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret