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

Disassembly:
mov eax, 4
call fcn.005834f0
mov edx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, dword [edx]
inc ebp
push edi
cmp eax, 0x302
jge 0x514986
cmp eax, 0x100
je 0x514986
mov esi, dword [esp + 0x18]
cmp ebp, dword [esi + 4]
jbe 0x5149a3
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea eax, [ecx + ebp]
mov edi, dword [esi + 4]
cmp eax, edi
ja 0x51497f
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub edi, ecx
mov dword [esi + 4], edi
test dword [edx + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + eax - 1]
je 0x5149e8
cmp dword [edx + 0x88], 0
jne 0x5149e8
mov eax, dword [edx + 0x58]
cmp dword [eax + 8], 0
jne 0x5149db
cmp dword [eax + 0xc], 0
jne 0x5149db
test bl, 1
jne 0x5149db
or dword [eax], 8
mov eax, dword [edx + 0x58]
test byte [eax], 8
je 0x5149e8
test ebx, ebx
je 0x5149e8
dec ebx
mov eax, dword [edx + 0x80]
push dword [eax]
call fcn.004f7210
add esp, 4
test eax, 0x200000
je 0x514a12
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 4], eax
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov edx, dword [esi + 4]
lea ecx, [ebx + ebp]
mov edi, edx
mov dword [esp + 0x10], edx
sub edi, ecx
mov eax, edx
xor edi, ecx
xor eax, ecx
or edi, eax
mov ecx, 0xff
xor edi, edx
lea eax, [edx - 1]
shr edi, 0x1f
dec edi
cmp eax, ecx
cmovb ecx, eax
xor ebp, ebp
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x514a93
mov eax, dword [esi + 0xc]
mov ecx, ebx
shr ecx, 0x1f
lea esi, [edx - 1]
mov dword [esp + 0x24], ecx
add esi, eax
mov al, byte [esp + 0x24]
lea esi, [esi - 1]
mov edx, ebx
mov ecx, ebp
sub edx, ebp
shr ecx, 0x1f
shr edx, 0x1f
xor al, cl
xor dl, cl
inc ebp
or dl, al
movzx eax, byte [esi + 1]
xor dl, byte [esp + 0x24]
xor eax, ebx
dec dl
movzx ecx, dl
and ecx, eax
not ecx
and edi, ecx
cmp ebp, dword [esp + 0x18]
jb 0x514a56
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
not edi
lea eax, [ebx + 1]
and edi, 0xff
pop ebx
lea ecx, [edi - 1]
not edi
shr ecx, 0x1f
shr edi, 0x1f
and ecx, edi
neg ecx
and eax, ecx
sub edx, eax
shl eax, 8
or dword [esi], eax
mov eax, ecx
pop edi
mov dword [esi + 4], edx
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x514eb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.005834f0
push ebx
push esi
push edi
lea eax, [esp + 0x14]
xor esi, esi
push eax
lea eax, [esp + 0x10]
xor edi, edi
push eax
push esi
call fcn.004fdeb0
add esp, 0xc
test eax, eax
je 0x5150b9
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
shl eax, 0xa
test ebx, eax
je 0x514eec
inc edi
lea eax, [esp + 0x14]
inc esi
push eax
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004fdeb0
add esp, 0xc
test eax, eax
jne 0x514ee0
test edi, edi
je 0x5150b9
mov ecx, dword [esp + 0x50]
mov eax, ecx
cdq
idiv edi
push ebp
mov ebp, dword [esp + 0x58]
mov esi, eax
xor eax, eax
mov dword [esp + 0x14], esi
cmp edi, 1
mov edi, dword [esp + 0x60]
push edi
push eax
cmove ecx, eax
push ebp
mov dword [esp + 0x60], ecx
call fcn.00580b90
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x20]
push eax
push 0
call fcn.004fdeb0
add esp, 0x18
test eax, eax
je 0x515084
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
shl eax, 0xa
test dword [esp + 0x24], eax
je 0x515060
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x515091
push edi
push ebx
push dword [esp + 0x54]
mov eax, dword [esp + 0x60]
push dword [esp + 0x54]
and eax, 1
push dword [esp + 0x54]
add eax, esi
mov esi, dword [esp + 0x64]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push eax
push esi
push ecx
call fcn.005150e0
add esp, 0x3c
test eax, eax
je 0x5150af
add esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x50], esi
test edi, edi
jle 0x51505c
cmp edi, 0x20
jb 0x515041
lea eax, [ebx - 1]
lea edx, [ebp - 1]
add eax, edi
add edx, edi
cmp ebp, eax
ja 0x514ff0
cmp edx, ebx
jae 0x515041
mov eax, edi
and eax, 0x8000001f
jns 0x514ffe
dec eax
or eax, 0xffffffe0
inc eax
mov edx, edi
mov esi, ebx
sub edx, eax
mov eax, ebp
sub esi, ebp
jmp 0x515010
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [ebx + ecx + 0x10]
add ecx, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x515010
cmp ecx, edi
jge 0x51505c
mov esi, ebx
lea eax, [ecx + ebp]
mov edx, edi
sub esi, ebp
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x515050
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.004fdeb0
add esp, 0xc
test eax, eax
jne 0x514f60
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
push 0x115
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.0051a470
add esp, 0x14
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0x10a
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call fcn.0051a470
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x51aac0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x51aae5
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
dec esi
jne 0x51aad6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x51ad40
Capabilities:
Access the windows event log

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.005834f0
mov eax, dword [0x63e758]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x51ada4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x51ada4
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
call fcn.005815a5
add eax, 0x40
push eax
call fcn.00588065
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005802ce
add esp, 0x108
ret
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
lea eax, [esp + 0xc]
push 0xff
push eax
call fcn.00588193
add esp, 0x10
mov byte [esp + 0x103], 0
call fcn.0051ac00
test eax, eax
jle 0x51ae25
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005802ce
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005802ce
add esp, 0x108
ret
Function at 0x51b300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20
call fcn.005834f0
mov eax, dword [0x63e758]
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 0x51b325
push 0
sub ecx, edx
mov dword [ebp - 0x18], 8
push 0
lea eax, [ecx + 1]
push eax
push edi
push 8
push 0xfde9
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x51b390
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x51b383
push 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x51b390
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jmp 0x51b40c
lea eax, [esi + esi]
call fcn.00588780
mov eax, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push edi
push dword [ebp - 0x18]
push 0xfde9
call esi
test eax, eax
je 0x51b46b
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x51b3c0
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 0x51b46b
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.00588e1d
mov esi, eax
add esp, 8
test esi, esi
jne 0x51b41e
call fcn.005814b7
cmp dword [eax], 2
je 0x51b40e
call fcn.005814b7
cmp dword [eax], 9
jne 0x51b46b
push ebx
push edi
call fcn.00582816
mov esi, eax
add esp, 8
test esi, esi
je 0x51b46b
push 0x63cc20
call fcn.00519010
mov edi, eax
add esp, 4
test edi, edi
jne 0x51b43f
push esi
call fcn.005826db
add esp, 4
jmp 0x51b4d3
push 0
push edi
call fcn.00518c40
push esi
push 1
push 0x6a
push edi
call fcn.00518c70
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.005802ce
mov esp, ebp
pop ebp
ret
push 0xa8
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.0051a470
push 0x5e8504
push ebx
push 0x5eba68
push edi
push str.fopen_
push 5
call fcn.00519ac0
add esp, 0x2c
call fcn.005814b7
cmp dword [eax], 2
jne 0x51b4bb
push 0xab
push str..crypto_bio_bss_file.c
push 0x80
jmp 0x51b4c7
push 0xad
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0051a470
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.005802ce
mov esp, ebp
pop ebp
ret
Function at 0x51cf70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ebx - 1]
mov ecx, dword [ebp + 4]
shr ebx, 0x1f
dec ebx
mov eax, dword [edi + 4]
xor eax, ecx
and eax, ebx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [edi + 4], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, 9
ja case.default.0x51cfa5
jmp dword [ecx*4 + 0x51d0e8]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x51cfa5.10
lea esp, [esp]
mov eax, dword [ebp]
mov esi, dword [esp + 0x14]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
mov ecx, dword [edx]
mov esi, dword [eax + esi*4]
xor esi, ecx
and esi, ebx
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
xor dword [eax + ecx*4], esi
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x20]
jl 0x51cfc0
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, dword [esi + 0x24]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x24], ecx
mov eax, dword [edi]
xor dword [eax + 0x24], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x20]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [edi]
xor dword [eax + 0x20], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x1c], ecx
mov eax, dword [edi]
xor dword [eax + 0x1c], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x18]
mov ecx, dword [esi + 0x18]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
xor dword [eax + 0x18], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x14]
mov ecx, dword [esi + 0x14]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi]
xor dword [eax + 0x14], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x10]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x10], ecx
mov eax, dword [edi]
xor dword [eax + 0x10], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [edi]
xor dword [eax + 0xc], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, dword [esi + 8]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
xor dword [eax + 8], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 4], ecx
mov eax, dword [edi]
xor dword [eax + 4], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [esi]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [esi], edx
mov eax, dword [edi]
pop edi
pop esi
pop ebp
xor dword [eax], ecx
pop ebx
ret
Function at 0x525ca0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [esp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.00518c40
add esp, 8
test esi, esi
jg 0x525cf7
je 0x525cd9
cmp esi, 0xffffffff
jne 0x525cf7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00525f20
add esp, 4
test eax, eax
je 0x525cf7
push 0xa
push edi
call fcn.00519350
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x531fb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.005834f0
mov eax, dword [0x63e758]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
test edi, edi
je 0x531fff
mov eax, 1
mov dword [esi], edi
jmp 0x532001
mov edi, dword [esi]
test ebp, ebp
je 0x532189
push edi
call fcn.00532de0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x532035
push str.j____int_sizeof_ctx__key_
push 0x64
push str..cryptohmachmac.c
call fcn.0051ae50
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0xac]
cmp eax, ebx
jge 0x53208d
push dword [esp + 0x10]
lea ebp, [esi + 4]
push edi
push ebp
call fcn.005276f0
add esp, 0xc
test eax, eax
je 0x532185
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.005278a0
add esp, 0xc
test eax, eax
je 0x532185
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 4]
push eax
call fcn.00527650
add esp, 0xc
test eax, eax
je 0x532185
jmp 0x5320c1
test ebx, ebx
js 0x532099
cmp ebx, 0x80
jle 0x5320ad
push str.len___0__len____int_sizeof_ctx__key_
push 0x6e
push str..cryptohmachmac.c
call fcn.0051ae50
add esp, 0xc
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00580540
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x5320e4
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00580b90
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
lea ebx, [ebx]
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x5320f0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.005276f0
add esp, 0xc
test eax, eax
je 0x532185
push edi
call fcn.00532de0
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.005278a0
add esp, 0x10
test eax, eax
je 0x532185
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x532130
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.005276f0
add esp, 0xc
test eax, eax
je 0x532185
push edi
call fcn.00532de0
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.005278a0
add esp, 0x10
test eax, eax
je 0x532185
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.00527970
add esp, 8
test eax, eax
jne 0x532192
xor eax, eax
jmp 0x532197
test eax, eax
je 0x532171
jmp 0x5320e8
mov eax, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005802ce
add esp, 0x90
ret
Function at 0x534480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.005834f0
mov eax, dword [0x63e758]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 4], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.00527b10
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00527970
add esp, 0xc
test eax, eax
je 0x534582
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00527650
add esp, 0xc
test eax, eax
je 0x534582
lea eax, [esp + 0x20]
push eax
call fcn.005278b0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x5345a0
push edi
call fcn.00520380
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.005348b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x534582
push esi
call fcn.00534ff0
add esp, 4
test eax, eax
jle 0x534582
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00534650
add esp, 0x18
test eax, eax
jle 0x534582
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.00534f10
add esp, 0x14
test eax, eax
jle 0x534582
mov ecx, dword [esp + 0x18]
mov ebx, 1
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
push esi
call fcn.00534840
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005802ce
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x5345b8
cmp dword [edi], edx
je 0x5345e2
inc eax
add ecx, 4
cmp eax, 4
jl 0x5345a5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.0051a470
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005802ce
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x534616
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.0051a470
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005802ce
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005802ce
add esp, 0x6c
ret
Function at 0x54b3e0
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x54b4cc
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x54b45e
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
jmp 0x54b4af
shl edx, 0x10
cmp esi, 2
jne 0x54b46e
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x54b49b
lea ecx, [esi + 0x3c]
jmp 0x54b4a8
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x54b400
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x54f7a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.005834f0
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 0x54f7dd
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x54f7dd
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 0x54f7c8
mov edx, dword [esp + 0x34]
cmp edi, 0x10
jb 0x54f87e
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 0x54f824
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.0054fa00
add esp, 0x10
cmp esi, 0x10
jae 0x54f861
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
dec edx
jne 0x54f851
mov edx, dword [esp + 0x34]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x54f820
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x54f8c0
push dword [esp + 0x30]
push dword [esp + 0x3c]
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.0054fa00
mov eax, dword [esp + 0x48]
add esp, 0x10
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
lea esp, [esp]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x54f8b0
mov eax, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x54f8d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005834f0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x30]
mov edi, dword [edi]
mov dword [esp + 0x10], edi
test edi, edi
je 0x54f919
mov ecx, dword [esp + 0x2c]
lea esp, [esp]
test esi, esi
je 0x54f919
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x10], edi
jne 0x54f900
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
bswap ecx
mov dword [esp + 0x20], ecx
cmp esi, 0x10
jb 0x54f990
jmp 0x54f930
mov edi, esi
shr edi, 4
add ecx, edi
mov dword [esp + 0x20], ecx
cmp ecx, edi
jae 0x54f947
sub edi, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
push edx
push dword [esp + 0x28]
push edi
push ebx
push ebp
call dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
mov eax, ecx
bswap eax
mov dword [edx + 0xc], eax
test ecx, ecx
jne 0x54f97e
mov ecx, 0xc
mov edi, edi
dec ecx
inc byte [ecx + edx]
jne 0x54f97a
test ecx, ecx
jne 0x54f970
mov ecx, dword [esp + 0x20]
shl edi, 4
sub esi, edi
add ebx, edi
add ebp, edi
cmp esi, 0x10
jae 0x54f930
mov edi, dword [esp + 0x10]
test esi, esi
je 0x54f9f0
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
push edx
push dword [esp + 0x28]
push 1
push eax
push eax
movdqu xmmword [eax], xmm0
call dword [esp + 0x48]
mov eax, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x28]
inc eax
bswap eax
mov dword [edx + 0xc], eax
jne 0x54f9ce
mov ecx, 0xc
dec ecx
inc byte [ecx + edx]
jne 0x54f9ce
test ecx, ecx
jne 0x54f9c4
mov eax, dword [esp + 0x2c]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
jmp 0x54f9e0
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
dec esi
jne 0x54f9e0
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret