joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d17d4
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d1955
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x31], 0
mov byte [ebx + 0x4c], 1
mov eax, dword [ebx + 0x44]
add eax, 0x18
mov edx, dword [0x4e3b50]
mov edx, dword [edx]
call fcn.00404d28
mov ecx, dword [0x4e3780]
mov ecx, dword [ecx]
mov edx, dword [0x4e34cc]
mov edx, dword [edx]
mov eax, dword [ebx + 0x44]
add eax, 0x1c
call fcn.00404fe0
mov eax, dword [ebx + 0x44]
add eax, 0xc
mov edx, dword [0x4e34cc]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 1
mov byte [eax + 0x20], 3
mov dword [eax + 0x28], 9
mov dword [eax + 0x2c], 7
mov dword [eax + 0x34], 2
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x38], 5
mov dword [eax + 0x3c], 4
mov byte [eax + 4], 1
mov eax, dword [ebx + 0x44]
mov byte [eax + 9], 1
mov dword [eax + 0x30], 2
mov byte [eax + 0xa], 1
mov byte [eax + 0x21], 1
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e384c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e35a4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e34d8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e3938]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e348c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e3bb8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov edx, dword [0x4e3558]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x1c
mov edx, dword [0x4e3588]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x24
mov edx, dword [0x4e35b0]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x28
mov edx, dword [0x4e3580]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d195f
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d1b1c
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d1c9d
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x31], 0
mov byte [ebx + 0x4c], 1
mov eax, dword [ebx + 0x44]
add eax, 0x18
mov edx, dword [0x4e3708]
mov edx, dword [edx]
call fcn.00404d28
mov ecx, dword [0x4e3780]
mov ecx, dword [ecx]
mov edx, dword [0x4e3894]
mov edx, dword [edx]
mov eax, dword [ebx + 0x44]
add eax, 0x1c
call fcn.00404fe0
mov eax, dword [ebx + 0x44]
add eax, 0xc
mov edx, dword [0x4e3894]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 1
mov byte [eax + 0x20], 9
mov dword [eax + 0x28], 9
mov dword [eax + 0x2c], 7
mov dword [eax + 0x34], 2
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x38], 5
mov dword [eax + 0x3c], 4
mov byte [eax + 4], 1
mov eax, dword [ebx + 0x44]
mov byte [eax + 9], 1
mov dword [eax + 0x30], 2
mov byte [eax + 0xa], 1
mov byte [eax + 0x21], 1
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3c00]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e3978]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e38a0]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e34d4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e383c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e377c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov edx, dword [0x4e3924]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x1c
mov edx, dword [0x4e3960]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x24
mov edx, dword [0x4e3980]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x28
mov edx, dword [0x4e394c]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d1ca7
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d1e64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d1f40
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x31], 0
mov byte [ebx + 0x4c], 1
mov byte [ebx + 0x30], 0
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 0
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x38], 5
mov dword [eax + 0x3c], 4
mov byte [eax + 4], 1
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3c14]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e3988]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e38b8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e34f0]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e3864]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e378c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x10
mov edx, dword [0x4e35dc]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d1f4a
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d21d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d22ac
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x31], 0
mov byte [ebx + 0x30], 1
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 0
mov eax, dword [ebx + 0x34]
mov dword [eax + 0x38], 6
mov dword [eax + 0x3c], 4
mov byte [eax + 4], 1
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3ab8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e3800]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e371c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e3b70]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e36cc]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e35f4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x10
mov edx, dword [0x4e3c74]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d22b6
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d24e4
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d2641
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x70], 0
mov eax, dword [ebx + 0x44]
add eax, 0x18
mov edx, dword [0x4e3608]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
add eax, 0x1c
mov edx, dword [0x4e3a3c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 1
mov byte [eax + 0x20], 7
mov dword [eax + 0x28], 8
mov dword [eax + 0x2c], 8
mov dword [eax + 0x34], 3
mov byte [eax + 9], 0
mov byte [ebx + 0x18], 1
mov eax, dword [ebx + 0x44]
xor edx, edx
mov dword [eax + 0x30], edx
mov byte [eax + 0xa], 0
mov byte [eax + 0x21], 2
mov eax, dword [ebx + 0x34]
mov byte [eax + 4], 0
mov dword [eax + 0x38], 6
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3af8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e3870]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e3790]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e3bc8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e3744]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e3660]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov edx, dword [0x4e3814]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x1c
mov edx, dword [0x4e3838]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x24
mov edx, dword [0x4e387c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x28
mov edx, dword [0x4e3820]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d264b
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d2ab8
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor edx, edx
push ebp
push 0x4d2c25
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x31], 1
mov eax, dword [ebx + 0x44]
add eax, 0x18
mov edx, dword [0x4e3578]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
add eax, 0x1c
mov edx, dword [0x4e39ac]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x44]
mov byte [eax + 8], 1
mov byte [eax + 0x20], 8
mov dword [eax + 0x28], 8
mov dword [eax + 0x2c], 8
mov dword [eax + 0x34], 3
mov byte [eax + 9], 0
xor edx, edx
mov dword [eax + 0x30], edx
mov byte [eax + 0xa], 0
mov byte [eax + 0x21], 2
mov eax, dword [ebx + 0x34]
mov byte [eax + 4], 1
mov dword [eax + 0x38], 6
mov eax, dword [ebx + 0x3c]
add eax, 4
mov edx, dword [0x4e3a78]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 8
mov edx, dword [0x4e37cc]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0xc
mov edx, dword [0x4e36d4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x3c]
add eax, 0x10
mov edx, dword [0x4e3b20]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x20
mov edx, dword [0x4e3c48]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 4
mov edx, dword [0x4e3690]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 8
mov edx, dword [0x4e35d8]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0xc
mov edx, dword [0x4e376c]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x1c
mov edx, dword [0x4e37a4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x24
mov edx, dword [0x4e37d4]
mov edx, dword [edx]
call fcn.00404d28
mov eax, dword [ebx + 0x38]
add eax, 0x28
mov edx, dword [0x4e3794]
mov edx, dword [edx]
call fcn.00404d28
mov dword [ebx + 0x54], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d2c2f
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4dde14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00484424
xor edx, edx
push ebp
push 0x4dde86
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x70]
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 4]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0xc]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x10]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x14]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov ecx, dword [eax + 0x1c]
mov byte [ecx + 0x30], dl
mov dl, byte [ebx + 0x30]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x30], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dde90
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc
Function at 0x4054c8
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x441494], 2
jl 0x4054ed
movaps xmm0, xmmword [0x42f400]
movaps xmmword [0x439bb0], xmm0
movaps xmm0, xmmword [0x42f3f0]
movaps xmmword [0x439bc0], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.00405893
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x42f3c8]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x4054fb
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x405c44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405c76
test dl, 7
je 0x405c76
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x439bd8]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405c56
cmp esi, 8
jb 0x405d06
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x439bd8]
xor ecx, dword [eax*4 + 0x439fd8]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43a3d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43abd8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43afd8]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b3d8]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43a7d8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43b7d8]
mov ebx, ecx
sub edi, 1
jne 0x405c85
pop edi
test esi, esi
je 0x405d22
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x439bd8]
inc edx
sub esi, 1
jne 0x405d0a
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x405e8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x20
pop ebx
cmp dword [esi], 2
jne 0x405edd
mov eax, dword [esi + 4]
push edi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00406543
xor edx, edx
mov dword [esi + 4], edx
mov edi, edx
movzx eax, byte [ebp + edx - 0x20]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebx
jb 0x405ec3
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x405f02
lea eax, [ebp - 0x20]
add esi, 4
push eax
push ebx
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00406543
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041ee90
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4062ed
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x264
push edi
mov edi, dword [esp + 0x280]
mov eax, ecx
mov dword [esp + 4], eax
cmp edi, 0x18
ja 0x4064e2
push ebx
push ebp
xor ebp, ebp
lea ebx, [eax + 0x4b4]
push esi
mov esi, ebp
cmp dword [ebx + 0x134], edi
jne 0x406351
push dword [esp + 0x27c]
mov ecx, ebx
call fcn.0040d9d3
test al, al
je 0x406351
push 0x10
push dword [esp + 0x288]
lea eax, [ebx + 0x102]
push eax
call fcn.0041d710
add esp, 0xc
test eax, eax
je 0x4064ec
inc esi
add ebx, 0x178
cmp esi, 4
jb 0x406317
mov esi, 0x200
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x288]
call fcn.0040ff41
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
push 0x10
push dword [esp + 0x298]
lea eax, [esp + 0x8c]
push eax
call fcn.00421720
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004066b6
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0040dc0c
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x27c]
push 0x40
mov ecx, dword [edx + 0xa94]
lea ebx, [edx + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0xa94], eax
pop ecx
push 0x10
push dword [esp + 0x288]
mov dword [ebx + 0x134], edi
lea eax, [ebx + 0x102]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call fcn.0041ee90
push 0x20
pop edi
push edi
lea eax, [esp + 0x44]
push eax
lea esi, [ebx + 0x112]
push esi
call fcn.0041ee90
push edi
lea eax, [esp + 0x30]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.0041ee90
push edi
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x158]
push eax
call fcn.0041ee90
add esp, 0x30
push ebp
push 1
push edi
push esi
call fcn.0040db10
cmp dword [esp + 0x290], ebp
je 0x406470
push edi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x298]
call fcn.0041ee90
add esp, 0xc
mov esi, dword [esp + 0x294]
test esi, esi
je 0x4064a3
push 8
push ebp
push esi
call fcn.0041d1e0
add esp, 0xc
mov al, byte [esp + ebp + 0x14]
mov ecx, ebp
and ecx, 7
xor byte [ecx + esi], al
inc ebp
cmp ebp, edi
jb 0x406487
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0040dc0c
cmp dword [esp + 0x288], 0
pop esi
pop ebp
pop ebx
je 0x4064d7
push dword [esp + 0x27c]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x2c]
push 0x100
push eax
push dword [esp + 0x278]
add ecx, 0xa9c
call fcn.0040d0a7
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.0040dc0c
pop edi
add esp, 0x264
ret 0x20
push ebp
push ebp
push 0x20
pop edi
push edi
lea esi, [ebx + 0x112]
push esi
call fcn.0040db10
push edi
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0041ee90
add esp, 0xc
push ebp
push 1
push edi
push esi
call fcn.0040db10
push edi
lea eax, [ebx + 0x138]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041ee90
push edi
lea eax, [ebx + 0x158]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041ee90
add esp, 0x18
jmp 0x406452
Function at 0x406543
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1e4]
push edi
push 0x40
pop ebp
cmp esi, ebp
jbe 0x406598
lea eax, [esp + 0x170]
push eax
call fcn.0040e222
push esi
push dword [esp + 0x1e8]
lea eax, [esp + 0x178]
push eax
call fcn.0040e268
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.0040e17b
push 0x20
lea ebx, [esp + 0x54]
pop esi
jmp 0x40659f
mov ebx, dword [esp + 0x1e4]
xor edi, edi
mov edx, edi
test esi, esi
je 0x4065c4
mov ebp, ebx
lea eax, [esp + 0x10]
sub ebp, eax
lea ecx, [esp + 0x10]
add ecx, edx
mov al, byte [ecx + ebp]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, esi
jb 0x4065af
push 0x40
pop ebp
cmp esi, ebp
jae 0x4065de
mov eax, ebp
lea ecx, [esp + 0x10]
sub eax, esi
add ecx, esi
push eax
push 0x36
push ecx
call fcn.0041d1e0
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call fcn.0040e222
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040e268
push dword [esp + 0x1f0]
lea eax, [esp + 0x94]
push dword [esp + 0x1f0]
push eax
call fcn.0040e268
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0040e17b
lea eax, [esp + 0x100]
push eax
call fcn.0040e222
test esi, esi
je 0x406654
lea eax, [esp + 0x10]
sub ebx, eax
lea ecx, [esp + 0x10]
add ecx, edi
mov al, byte [ebx + ecx]
xor al, 0x5c
inc edi
mov byte [ecx], al
cmp edi, esi
jb 0x406642
cmp esi, ebp
jae 0x40666e
mov eax, ebp
lea ecx, [esp + 0x10]
sub eax, esi
add ecx, esi
push eax
push 0x5c
push ecx
call fcn.0041d1e0
add esp, 0xc
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040e268
push 0x20
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040e268
push dword [esp + 0x1f4]
lea eax, [esp + 0x104]
push eax
call fcn.0040e17b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d0
ret 0x14
Function at 0x4066b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0xbc
push ebx
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x4066d0
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x44]
push eax
call fcn.0041ee90
add esp, 0xc
mov dword [ebp + esi - 0x44], 0x1000000
lea eax, [ebp + 0x20]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.00406543
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp]
push eax
call fcn.0041ee90
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
xor esi, esi
mov dword [ebp + 0x4c], eax
push 0x10
pop eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x48], eax
mov edi, dword [ebp + esi + 0x4c]
test edi, edi
je 0x406778
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.00406543
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041ee90
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x20]
xor byte [ebp + ecx], al
inc ecx
cmp ecx, ebx
jb 0x406766
sub edi, 1
jne 0x40673f
push ebx
lea eax, [ebp]
push eax
push dword [ebp + esi + 0x40]
call fcn.0041ee90
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x406737
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.0040dc0c
push ebx
lea eax, [ebp]
push eax
call fcn.0040dc0c
push ebx
lea eax, [ebp + 0x20]
push eax
call fcn.0040dc0c
push ebx
lea eax, [ebp - 0x64]
push eax
call fcn.0040dc0c
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 0x20