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

Disassembly:
mov eax, 0x90
call fcn.0047f270
mov eax, dword [0x4d4664]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa4]
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
xor ebx, ebx
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], eax
call fcn.0042f5e0
test eax, eax
je 0x418e65
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x418e18
cmp dword [esi + 0x20], ebx
je 0x418e4c
test dword [esi + 0x24], 0x8000
jne 0x418e43
push 0x51
push str..cryptohmachmac.c
push 0xa3
push 0xae
push 6
call fcn.00412cb0
add esp, 0x14
xor eax, eax
jmp 0x419013
test eax, eax
jne 0x418e65
cmp dword [esi + 0x20], ebx
jne 0x418e65
push 0
push edi
push dword [esp + 0xb4]
push ebp
push esi
call fcn.0042f6e0
add esp, 0x14
jmp 0x419013
test edi, edi
je 0x418e72
mov ebx, 1
mov dword [esi], edi
jmp 0x418e74
mov edi, dword [esi]
test ebp, ebp
je 0x418f59
push edi
call fcn.0043dd00
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x418ea8
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.004168a0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0xac]
cmp eax, ebx
jge 0x418f00
push dword [esp + 0x10]
lea ebp, [esi + 4]
push edi
push ebp
call fcn.0041b850
add esp, 0xc
test eax, eax
je 0x418e3c
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.0041ba20
add esp, 0xc
test eax, eax
je 0x418e3c
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 4]
push eax
call fcn.0041b840
add esp, 0xc
test eax, eax
je 0x418e3c
jmp 0x418f34
test ebx, ebx
js 0x418f0c
cmp ebx, 0x80
jle 0x418f20
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.004168a0
add esp, 0xc
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00480c10
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x418f61
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00481190
add esp, 0xc
jmp 0x418f61
test ebx, ebx
je 0x418ff6
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x418f63
mov ebp, dword [esp + 0x10]
lea ebx, [esi + 0x1c]
push ebp
push edi
push ebx
call fcn.0041b850
add esp, 0xc
test eax, eax
je 0x418e3c
push edi
call fcn.0043dd00
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0041ba20
add esp, 0x10
test eax, eax
je 0x418e3c
xor ecx, ecx
nop
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x418fb0
push ebp
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.0041b850
add esp, 0xc
test eax, eax
je 0x418e3c
push edi
call fcn.0043dd00
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0041ba20
add esp, 0x10
test eax, eax
je 0x418e3c
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0041ba90
add esp, 8
test eax, eax
je 0x418e3c
mov eax, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047f259
add esp, 0x90
ret
Function at 0x41e060
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
lea eax, [edx + 0xf]
lea ecx, [edi + 0xf]
cmp edi, eax
ja 0x41e092
cmp ecx, edx
jb 0x41e092
push esi
mov eax, edi
sub edx, edi
mov esi, 0x10
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x41e081
pop esi
jmp 0x41e09f
movups xmm1, xmmword [edi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [edi], xmm1
mov eax, dword [esp + 8]
add eax, 0x128
push eax
push edi
push edi
call fcn.0041c600
add esp, 0xc
pop edi
ret

Function at 0x41e1f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41e3d4
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x41e3d3
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 0x320]
test eax, eax
je 0x41e256
mov edi, 0x10
sub edi, eax
cmp ebx, edi
jb 0x41e256
push edi
add eax, 0x310
add eax, ebp
push esi
push eax
call fcn.00480c10
lea eax, [ebp + 0x310]
push eax
push ebp
call fcn.0041e0c0
sub ebx, edi
mov dword [ebp + 0x320], 0
add esp, 0x14
mov dword [esp + 0x1c], ebx
add esi, edi
cmp ebx, 0x10
jb 0x41e3af
lea eax, [ebp + 0x324]
shr ebx, 4
lea edx, [eax + 0xf]
mov dword [esp + 0x18], ebx
lea edi, [ebp + 0x343]
lea ecx, [ebp + 0x128]
nop dword [eax + eax]
lea ebx, [esi + 0xf]
cmp eax, ebx
ja 0x41e2c0
cmp edx, esi
jb 0x41e2c0
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x41e296
lea eax, [ebp + 0x324]
lea ecx, [ebp + 0x128]
lea edi, [ebp + 0x343]
jmp 0x41e2cd
movups xmm1, xmmword [eax]
movups xmm0, xmmword [esi]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
push ecx
push eax
push eax
call fcn.0041c600
lea eax, [ebp + 0x334]
add esp, 0xc
cmp eax, ebx
ja 0x41e310
cmp edi, esi
jb 0x41e310
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, 0x10
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x41e2f1
lea eax, [ebp + 0x334]
jmp 0x41e31d
movups xmm1, xmmword [eax]
movups xmm0, xmmword [esi]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
lea ecx, [ebp + 0x128]
push ecx
push eax
push eax
call fcn.0041c600
add esp, 0xc
cmp dword [ebp + 0xf4], 0x10
je 0x41e381
lea edi, [ebp + 0x344]
lea eax, [edi + 0xf]
cmp edi, ebx
ja 0x41e363
cmp eax, esi
jb 0x41e363
mov ebx, esi
mov eax, edi
sub ebx, edi
mov edx, 0x10
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x41e353
jmp 0x41e370
movups xmm1, xmmword [edi]
movups xmm0, xmmword [esi]
pxor xmm1, xmm0
movups xmmword [edi], xmm1
lea eax, [ebp + 0x128]
push eax
push edi
push edi
call fcn.0041c600
add esp, 0xc
mov ebx, dword [esp + 0x1c]
lea eax, [ebp + 0x324]
sub ebx, 0x10
lea ecx, [ebp + 0x128]
add esi, 0x10
mov dword [esp + 0x1c], ebx
sub dword [esp + 0x18], 1
lea edx, [eax + 0xf]
lea edi, [ebp + 0x343]
jne 0x41e280
test ebx, ebx
je 0x41e3d1
mov eax, dword [ebp + 0x320]
push ebx
add eax, 0x310
add eax, ebp
push esi
push eax
call fcn.00480c10
add esp, 0xc
add dword [ebp + 0x320], ebx
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x41e510
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41e5d5
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x41e5d4
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [edx + 0xf4]
cmp ebx, edi
cmovb edi, ebx
xor eax, eax
test edi, edi
je 0x41e54f
mov cl, byte [eax + esi]
xor byte [edx + eax + 0xf8], cl
inc eax
cmp eax, edi
jb 0x41e540
cmp ebx, dword [edx + 0xf4]
jbe 0x41e5d3
push ebp
mov eax, 0xfffffeeb
lea ecx, [edx + 0x118]
mov ebx, 0xfffffee9
mov ebp, 0xfffffeea
sub eax, edx
mov edi, 0xfffffee8
sub ebx, edx
mov dword [esp + 0x18], eax
sub ebp, edx
sub edi, edx
mov eax, dword [edx + 0xf4]
add eax, edi
add eax, ecx
movzx eax, byte [eax + esi]
xor byte [ecx], al
mov eax, dword [edx + 0xf4]
add eax, ebx
add eax, ecx
movzx eax, byte [eax + esi]
xor byte [ecx + 1], al
mov eax, dword [edx + 0xf4]
add eax, ebp
add eax, ecx
movzx eax, byte [eax + esi]
xor byte [ecx + 2], al
mov eax, dword [edx + 0xf4]
add eax, dword [esp + 0x18]
add eax, ecx
movzx eax, byte [eax + esi]
xor byte [ecx + 3], al
add ecx, 4
lea eax, [edi + ecx]
cmp eax, 0x10
jb 0x41e582
pop ebp
pop edi
pop ebx
pop esi
ret
Function at 0x420710
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.0047f270
mov ecx, dword [esp + 0x28]
mov edx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
cmp esi, 0x10
jb 0x420790
mov eax, esi
shr eax, 4
mov dword [esp + 0x10], eax
nop
mov eax, edi
sub edx, ebp
sub eax, ebp
mov ecx, ebp
mov dword [esp + 0x14], eax
mov ebx, 4
mov esi, eax
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
sub ebx, 1
jne 0x420753
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov edx, edi
sub esi, 0x10
add esp, 0xc
add ebp, 0x10
mov dword [esp + 0x30], esi
add edi, 0x10
sub dword [esp + 0x10], 1
jne 0x420740
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x42089c
mov ebx, edi
mov ecx, edx
sub ebx, ebp
sub ecx, ebp
mov dword [esp + 0x14], ebx
xor eax, eax
mov ebx, 1
mov dword [esp + 0x20], ecx
sub ebx, ebp
mov dword [esp + 0x10], ebx
mov ebx, 2
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov ebx, 3
sub ebx, ebp
mov dword [esp + 0x1c], ebx
nop dword [eax + eax]
cmp eax, esi
jae 0x420842
mov esi, dword [esp + 0x14]
lea ebx, [eax + ebp]
mov cl, byte [ecx + ebx]
xor cl, byte [ebx]
mov byte [esi + ebx], cl
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add ecx, ebx
cmp ecx, esi
jae 0x420841
mov cl, byte [eax + ebp + 1]
xor cl, byte [eax + edx + 1]
mov byte [edi + eax + 1], cl
mov ecx, dword [esp + 0x18]
add ecx, ebx
cmp ecx, esi
jae 0x42083c
mov cl, byte [eax + ebp + 2]
xor cl, byte [eax + edx + 2]
mov byte [edi + eax + 2], cl
mov ecx, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, esi
jae 0x420837
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + edx + 3]
mov byte [edi + eax + 3], cl
add eax, 4
mov ecx, dword [esp + 0x20]
cmp eax, 0x10
jb 0x4207d0
jmp 0x420861
add eax, 3
jmp 0x420842
add eax, 2
jmp 0x420842
inc eax
cmp eax, 0x10
jae 0x420861
mov ebx, 0x10
lea ecx, [eax + edi]
sub edx, edi
sub ebx, eax
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x420853
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
add esp, 0xc
mov edx, edi
cmp esi, 0x10
jbe 0x42088a
sub esi, 0x10
add ebp, 0x10
add edi, 0x10
mov dword [esp + 0x30], esi
test esi, esi
jne 0x420798
mov eax, dword [esp + 0x38]
movups xmm0, xmmword [edx]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
pop ebx
add esp, 0x14
ret
movups xmm0, xmmword [edx]
pop edi
pop esi
pop ebp
movups xmmword [ecx], xmm0
pop ebx
add esp, 0x14
ret
Function at 0x4208d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.0047f270
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x2c]
mov esi, dword [esi]
test esi, esi
je 0x42090d
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x42090d
mov al, byte [esi + ecx]
dec edi
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebp
inc ebx
and esi, 0xf
jne 0x4208f8
mov edx, dword [esp + 0x34]
cmp edi, 0x10
jb 0x4209b1
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x420954
mov ecx, dword [esp + 0x38]
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.004208b0
add esp, 0x10
cmp esi, 0x10
jae 0x420993
mov eax, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
add eax, esi
shr edx, 2
inc edx
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x420981
mov edx, dword [esp + 0x34]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x2c], 1
jne 0x420950
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x4209f2
push dword [esp + 0x30]
push dword [esp + 0x3c]
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.004208b0
mov eax, dword [esp + 0x48]
add esp, 0x10
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
nop dword [eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x4209e0
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x420a00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0047f270
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ebx, dword [ebx]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
push edi
test ebx, ebx
je 0x420a49
mov ecx, dword [esp + 0x2c]
nop dword [eax]
test esi, esi
je 0x420a49
mov al, byte [ebx + ecx]
dec esi
xor al, byte [edx]
inc ebx
mov byte [ebp], al
inc edx
inc ebp
mov dword [esp + 0x10], edx
and ebx, 0xf
jne 0x420a30
mov edi, dword [esp + 0x28]
movzx ecx, byte [edi + 0xc]
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x20], ecx
cmp esi, 0x10
jb 0x420afe
nop dword [eax]
mov edi, esi
shr edi, 4
add ecx, edi
mov dword [esp + 0x20], ecx
cmp ecx, edi
jae 0x420a97
sub edi, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
push dword [esp + 0x28]
push dword [esp + 0x28]
push edi
push ebp
push edx
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x420ae4
mov ecx, 0xc
dec ecx
add byte [ecx + edx], 1
jne 0x420ae0
test ecx, ecx
jne 0x420ad5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
shl edi, 4
sub esi, edi
add edx, edi
add ebp, edi
mov dword [esp + 0x10], edx
cmp esi, 0x10
jae 0x420a80
mov edi, dword [esp + 0x28]
test esi, esi
je 0x420b73
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push edi
push dword [esp + 0x28]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
add esp, 0x14
inc ecx
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
test ecx, ecx
jne 0x420b50
mov ecx, 0xc
dec ecx
add byte [ecx + edi], 1
jne 0x420b50
test ecx, ecx
jne 0x420b45
mov eax, dword [esp + 0x2c]
sub ebp, eax
mov edx, dword [esp + 0x10]
sub edx, eax
lea ecx, [ebx + eax]
add ebx, esi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebp - 1], al
sub esi, 1
jne 0x420b61
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
pop ecx
ret
Function at 0x421160
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x421174
mov eax, 0xfffffffe
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, esi
add eax, dword [ebx + 0x30]
adc ecx, dword [ebx + 0x34]
cmp ecx, 0x20000000
ja 0x421229
jb 0x421199
test eax, eax
jne 0x421229
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [ebx + 0x16c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
test edi, edi
je 0x4211d9
nop
test esi, esi
je 0x4211c5
mov al, byte [ebp]
dec esi
xor byte [edi + ebx + 0x40], al
inc ebp
inc edi
and edi, 0xf
jne 0x4211b0
jmp 0x4211c9
test edi, edi
jne 0x42121c
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.00422430
add esp, 8
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x4211fe
push eax
push ebp
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.004221f0
add ebp, dword [esp + 0x24]
add esp, 0x10
sub esi, dword [esp + 0x14]
test esi, esi
je 0x42121c
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x42121c
nop word [eax + eax]
mov al, byte [ecx + ebp]
xor byte [ebx + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x421210
mov dword [ebx + 0x16c], edi
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret
pop esi
or eax, 0xffffffff
pop ebx
ret
Function at 0x422430
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.0047f270
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
movzx ecx, byte [eax + 0xf]
mov esi, dword [esp + 0x28]
mov ebp, ecx
and ecx, 0xf
mov dword [esp + 0x24], 0
add ecx, ecx
and ebp, 0xfffffff0
push edi
mov ebx, dword [esi + ecx*8]
mov edi, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 8]
mov ecx, dword [esi + ecx*8 + 0xc]
mov esi, edx
shrd edx, ecx, 4
and esi, 0xf
mov dword [esp + 0x14], ebx
or dword [esp + 0x28], edx
shl dword [esp + 0x14], 0x1c
shrd ebx, edi, 4
mov edx, dword [esi*4 + 0x4e27f8]
mov esi, dword [esp + 0x2c]
shr ecx, 4
or dword [esp + 0x14], ecx
xor ecx, ecx
shr edi, 4
xor ecx, ebx
xor ecx, dword [esi + ebp]
xor edx, edi
xor edx, dword [esi + ebp + 4]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
xor edi, dword [esi + ebp + 8]
xor ebx, dword [esi + ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, 0xe
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
nop dword [eax + eax]
movzx edx, byte [edx + eax]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, edx
shr ecx, 4
and edx, 0xf
mov dword [esp + 0x20], ecx
add edx, edx
mov ecx, edi
shl ebp, 0x1c
shrd edi, ebx, 4
and ecx, 0xf
mov dword [esp + 0x28], 0
shr ebx, 4
or esi, edi
or ebp, ebx
xor edi, edi
mov ebx, dword [ecx*4 + 0x4e27f8]
mov ecx, dword [esp + 0x18]
shrd dword [esp + 0x10], ecx, 4
xor edi, dword [esp + 0x10]
shr ecx, 4
xor ebx, ecx
mov ecx, dword [esp + 0x2c]
xor ebx, dword [ecx + edx*8 + 4]
xor ebp, dword [ecx + edx*8 + 0xc]
xor edi, dword [ecx + edx*8]
xor esi, dword [ecx + edx*8 + 8]
mov edx, edi
shrd edi, ebx, 4
mov ecx, esi
shl edx, 0x1c
shrd esi, ebp, 4
and ecx, 0xf
shr ebx, 4
or dword [esp + 0x28], esi
shr ebp, 4
or edx, ebp
xor ebp, ebp
mov ecx, dword [ecx*4 + 0x4e27f8]
xor ebp, edi
xor ecx, ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov ebx, ebp
add edx, edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x2c]
xor ebx, dword [ebp + edx*8]
xor ecx, dword [ebp + edx*8 + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
xor ebx, dword [ebp + edx*8 + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
xor ebx, dword [ebp + edx*8 + 0xc]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
sub edx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jns 0x4224d0
mov edx, dword [esp + 0x18]
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov byte [eax + 3], dl
mov edx, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 6], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [eax + 8], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 9], cl
mov ecx, ebx
shr ecx, 8
mov byte [eax + 0xa], cl
mov byte [eax + 7], dl
mov edx, edi
mov ecx, edx
mov byte [eax + 0xb], bl
shr ecx, 0x18
mov byte [eax + 0xc], cl
mov ecx, edx
shr ecx, 0x10
pop edi
mov byte [eax + 0xd], cl
mov ecx, edx
pop esi
shr ecx, 8
pop ebp
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], dl
pop ebx
add esp, 0x14
ret
Function at 0x42f6e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.0047f270
mov eax, dword [0x4d4664]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
xor eax, eax
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x14], ebp
test edi, edi
je 0x42f724
mov eax, 1
mov dword [esi], edi
jmp 0x42f726
mov edi, dword [esi]
test ebp, ebp
je 0x42f801
mov eax, dword [edi + 0x40]
mov dword [esp + 0x10], eax
cmp eax, 0x80
jle 0x42f754
push str.j____int_sizeof_ctx__key_
push 0x55
push str..cryptohmachmac.c
call fcn.00431b10
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [esp + 0xa8]
cmp eax, ebx
jge 0x42f7a8
lea ebp, [esi + 4]
push edi
push ebp
call fcn.00430620
add esp, 8
test eax, eax
je 0x42f89d
push ebx
push dword [esp + 0x18]
push ebp
call fcn.00430740
add esp, 0xc
test eax, eax
je 0x42f89d
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 4]
push eax
call fcn.00430580
add esp, 0xc
test eax, eax
je 0x42f89d
jmp 0x42f7dc
test ebx, ebx
js 0x42f7b4
cmp ebx, 0x80
jle 0x42f7c8
push str.len_0__len__int_sizeof_ctx__key_
push 0x62
push str..cryptohmachmac.c
call fcn.00431b10
add esp, 0xc
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00480c10
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x42f809
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00481190
add esp, 0xc
jmp 0x42f809
test eax, eax
je 0x42f889
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x42f810
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.00430620
add esp, 8
test eax, eax
je 0x42f89d
push dword [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00430740
add esp, 0xc
test eax, eax
je 0x42f89d
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x42f850
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.00430620
add esp, 8
test eax, eax
je 0x42f89d
push dword [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00430740
add esp, 0xc
test eax, eax
je 0x42f89d
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.00430820
add esp, 8
test eax, eax
jne 0x42f8a1
xor eax, eax
jmp 0x42f8a6
mov eax, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047f259
add esp, 0x8c
ret
Function at 0x42fd80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20
call fcn.0047f270
mov eax, dword [0x4d4664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fda5
push 0
sub ecx, edx
mov dword [ebp - 0x1c], 8
push 0
lea eax, [ecx + 1]
push eax
push edi
push 8
push 0xfde9
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x42fe10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x42fe03
push 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x42fe10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jmp 0x42fe8c
lea eax, [esi + esi]
call fcn.0047fce0
mov eax, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push edi
push dword [ebp - 0x1c]
push 0xfde9
call esi
test eax, eax
je 0x42feeb
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fe40
push 8
sub ecx, edx
lea eax, [ebp - 0x14]
push eax
lea eax, [ecx + 1]
push eax
push ebx
push 0
push 0xfde9
call esi
test eax, eax
je 0x42feeb
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.00489420
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fe9e
call fcn.0048979e
cmp dword [eax], 2
je 0x42fe8e
call fcn.0048979e
cmp dword [eax], 9
jne 0x42feeb
push ebx
push edi
call fcn.00489437
mov esi, eax
add esp, 8
test esi, esi
je 0x42feeb
push 0x4d3a84
call fcn.0042a2c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x42febf
push esi
call fcn.0048921e
add esp, 4
jmp 0x42ff53
push 0
push edi
call fcn.00429f00
push esi
push 1
push 0x6a
push edi
call fcn.00429f30
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f259
mov esp, ebp
pop ebp
ret
push 0xa9
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.00412cb0
push 0x4b6ca8
push ebx
push 0x4b6cac
push edi
push str.fopen_
push 5
call fcn.00412850
add esp, 0x2c
call fcn.0048979e
cmp dword [eax], 2
jne 0x42ff3b
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
jmp 0x42ff47
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.00412cb0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f259
mov esp, ebp
pop ebp
ret