joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411e70
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor dl, dl
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x41203f
push ebx
mov eax, ecx
push edi
cmp eax, 0x7c
je 0x41203d
cmp eax, 0x29
jne 0x411eb3
cmp dword [esi + 0x10], 0
jne 0x41203d
cmp eax, eax
jne 0x411eb3
test dword [esi + 0x50], 0x10000000
je 0x41204c
jmp 0x411ff4
cmp eax, 0x2e
jne 0x411ec7
push 5
lea ecx, [esi + 0x24]
call fcn.004153a0
jmp 0x41201f
cmp eax, 0x5c
jne 0x411f23
mov ecx, esi
call fcn.00415460
test byte [esi + 0x50], 0x80
je 0x411f17
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x411ef6
push 4
lea ecx, [esi + 0x24]
call fcn.004153a0
mov ecx, esi
call fcn.00415460
jmp 0x41202d
cmp al, 0x42
jne 0x411f17
push 4
lea ecx, [esi + 0x24]
call fcn.004153a0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00415460
jmp 0x41202d
mov ecx, esi
call fcn.00412070
jmp 0x412026
cmp eax, 0x5b
jne 0x411f84
mov ecx, esi
call fcn.00415460
lea ecx, [esi + 0x24]
call fcn.004111a0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x411f50
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00415460
mov eax, dword [esi + 0x4c]
cmp eax, 0x5d
jne 0x411f6e
test dword [esi + 0x50], 0x20000000
je 0x411f6e
push eax
lea ecx, [esi + 0x24]
call fcn.004110f0
mov ecx, esi
call fcn.00415460
mov ecx, esi
call fcn.00412ce0
cmp dword [esi + 0x4c], 0x5d
jne 0x412055
jmp 0x41201f
cmp eax, 0x28
jne 0x411fb0
mov ecx, esi
call fcn.00415460
mov ecx, esi
call fcn.00415ea0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x41204c
mov ecx, esi
call fcn.00415460
test bl, bl
je 0x41202d
jmp 0x412026
cmp eax, 0x5e
jne 0x411fc8
push 2
lea ecx, [esi + 0x24]
call fcn.004153a0
mov ecx, esi
call fcn.00415460
jmp 0x41202d
cmp eax, 0x24
jne 0x411fe0
push 3
lea ecx, [esi + 0x24]
call fcn.004153a0
mov ecx, esi
call fcn.00415460
jmp 0x41202d
cmp eax, 0x2a
je 0x412043
cmp eax, 0x2b
je 0x412043
cmp eax, 0x3f
je 0x412043
cmp eax, 0x7b
je 0x412043
cmp ecx, 0x7d
jne 0x412004
test dword [esi + 0x50], 0x10000000
je 0x41205e
jmp 0x412012
cmp ecx, 0x5d
jne 0x412012
test dword [esi + 0x50], 0x10000000
je 0x412055
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00410f90
mov ecx, esi
call fcn.00415460
mov ecx, esi
call fcn.004155d0
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x411e85
pop edi
pop ebx
mov al, dl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00414020
push 5
mov ecx, esi
call fcn.00414020
push 4
mov ecx, esi
call fcn.00414020
push 6
mov ecx, esi
call fcn.00414020
int3

Function at 0x416530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
sub edi, edx
xor esi, esi
cmp edx, dword [ebp + 0xc]
cmova edi, ebx
test edi, edi
je 0x416564
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x416551
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4173c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bf29
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x594488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004dc180
mov edi, eax
add esp, 4
test edi, edi
je 0x417464
xorps xmm0, xmm0
push 1
movq qword [edi], xmm0
call fcn.004da725
add esp, 4
mov dword [edi + 4], eax
jmp 0x417466
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.004079a0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4174ca
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4174ca
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x417516
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
je 0x417516
lea eax, [ebp - 0x18]
push 1
push eax
test cl, 4
jne 0x417539
test cl, 2
je 0x417506
call fcn.00417560
add esp, 8
push eax
push str.ios_base::failbit_set
jmp 0x417547
call fcn.00417560
add esp, 8
push eax
push str.ios_base::eofbit_set
jmp 0x417547
cmp byte [ebp + 0xc], 0
je 0x417525
push esi
call fcn.004da974
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00417560
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x2c]
call fcn.00408b70
push 0x571c18
lea eax, [ebp - 0x2c]
push eax
call fcn.004f3812
int3
Function at 0x42ca50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e718
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x594488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x42cb84
cmp byte [ebx + 0x3d], 0
je 0x42cb84
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42caa4
xor al, al
jmp 0x42cb86
push 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00415ff0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop dword [eax]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42cb19
sub eax, 1
je 0x42cb1d
sub eax, 2
je 0x42cb6f
xor bl, bl
jmp 0x42cb71
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x42cb55
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00503622
add esp, 0x10
cmp esi, eax
jne 0x42cb15
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x42cb6f
test esi, esi
jne 0x42cae0
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0042d010
jmp 0x42cad7
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401990
mov al, bl
jmp 0x42cb86
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc1be
mov esp, ebp
pop ebp
ret
Function at 0x42ed70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.0042eb10
mov ecx, 0x5977d8
mov dword [ebp - 4], 0
xor edx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ed90
mov bl, byte [ebp - 1]
sub ecx, esi
mov ah, byte [ebp - 2]
mov bh, byte [ebp - 4]
lea esi, [ecx - 4]
mov ch, byte [ebp - 3]
xor cl, cl
test esi, esi
jle 0x42edda
nop
mov cl, byte [edx + 0x5977d8]
xor ch, byte [edx + 0x5977d9]
xor cl, bh
xor ah, byte [edx + 0x5977da]
mov bh, cl
xor bl, byte [edx + 0x5977db]
inc edx
cmp edx, esi
jl 0x42edb0
mov byte [ebp - 1], bl
mov byte [ebp - 2], ah
mov byte [ebp - 3], ch
mov esi, 0x5976d8
xor edx, edx
push edi
lea edi, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42ede5
sub esi, edi
add esi, 0xfffffffc
pop edi
test esi, esi
jle 0x42ee2a
nop word [eax + eax]
mov cl, byte [edx + 0x5976d8]
xor ch, byte [edx + 0x5976d9]
xor cl, bh
xor ah, byte [edx + 0x5976da]
mov bh, cl
xor bl, byte [edx + 0x5976db]
inc edx
cmp edx, esi
jl 0x42ee00
mov byte [ebp - 1], bl
mov byte [ebp - 2], ah
mov byte [ebp - 3], ch
xor cl, 0x1d
pop esi
mov byte [ebp - 4], cl
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441630
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x441678
push ebx
push edi
mov edi, dword [ecx + 8]
movzx eax, word [ecx]
mov edx, dword [ebp + 8]
mov ebx, eax
shr ebx, 8
xor bl, byte [esi + edx]
inc esi
movzx edx, bl
add dx, ax
movzx eax, word [ecx + 2]
movzx edx, dx
imul edx, eax
movzx eax, word [ecx + 4]
add dx, ax
movzx eax, bl
add edi, eax
mov word [ecx], dx
mov dword [ecx + 8], edi
cmp esi, dword [ebp + 0xc]
jb 0x441640
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x441820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x594488]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, 0x58bf
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0xce6dd971
mov word [ebp - 0xc], ax
call fcn.00450280
mov ecx, dword [ebp + 0xc]
mov bl, 0xf
add cl, 5
mov byte [ebp - 0x11], al
and cl, 0xf
sub bl, cl
call fcn.00450280
mov edx, dword [ebp - 0x18]
shl al, 4
or al, bl
movzx ebx, bl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push eax
push esi
lea ecx, [eax + 6]
add ecx, ebx
mov dword [edx], ecx
lea ecx, [edi + 6]
add ecx, ebx
push ecx
cmp esi, edi
jne 0x4418a1
call fcn.004f4950
jmp 0x4418a6
call fcn.004f3c30
mov cl, byte [ebp - 0x11]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov byte [edi + 4], cl
mov byte [edi + 5], al
test ebx, ebx
je 0x4418ce
nop dword [eax + eax]
call fcn.00450280
mov byte [edi + esi + 6], al
inc esi
cmp esi, ebx
jb 0x4418c0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
add eax, 2
add eax, ebx
push eax
lea eax, [edi + 4]
push eax
call fcn.00441630
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
push edi
push 0x10
push edi
mov dword [edi], eax
lea eax, [ecx + 0x240]
push ecx
push eax
call fcn.00456030
mov eax, dword [ebp - 0x18]
add esp, 0x14
xor esi, esi
mov edi, dword [eax]
sub edi, 0x10
mov dword [ebp - 0x18], edi
cmp edi, 0x10
jb 0x44197a
mov ebx, dword [ebp - 0x20]
add ebx, edi
mov ecx, esi
xor edx, edx
sub ecx, edi
mov eax, ebx
add esi, dword [ebp - 0x20]
mov edi, ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 4]
xor byte [eax - 4], cl
movzx ecx, byte [esi + edx + 1]
xor byte [eax - 3], cl
movzx ecx, byte [esi + edx + 2]
xor byte [eax - 2], cl
movzx ecx, byte [esi + edx + 3]
add edx, 4
xor byte [eax - 1], cl
cmp edx, 0x10
jb 0x441926
mov ecx, dword [ebp - 0x24]
push ebx
push 0x10
push ebx
push ecx
lea eax, [ecx + 0x240]
push eax
call fcn.00456030
mov edi, dword [ebp - 0x18]
add esp, 0x14
mov esi, edi
sub ebx, 0x10
sub edi, 0x10
mov dword [ebp - 0x18], edi
cmp edi, 0x10
jae 0x441916
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dc1be
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450280
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x59067c]
add eax, 0xffffffff
mov dword [0x59067c], eax
jns 0x4503c9
push ebx
push esi
mov esi, 0x79ce68
push edi
mov edi, 0x79ce60
cmp eax, 0xffffffff
jge 0x4502d1
mov eax, 0x1105
mov ecx, 0x79ce64
mov dword [0x79ce60], eax
mov edx, 0x26f
nop dword [eax]
imul eax, eax, 0x10dcd
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x4502c0
mov eax, dword [0x79ce60]
mov ebx, 0xe3
mov edx, dword [0x79ce64]
mov dword [0x59067c], 0x26f
mov dword [0x79d824], 0x79ce64
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [esi + 0x62c]
mov dword [edi], ecx
add edi, 4
mov edx, dword [esi]
add esi, 4
sub ebx, 1
jne 0x4502f5
mov ebx, 0x79ce60
mov dword [ebp - 4], 0x18c
mov ecx, edx
lea edi, [edi + 4]
xor ecx, eax
lea ebx, [ebx + 4]
and ecx, 0x7ffffffe
lea esi, [esi + 4]
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx - 4]
sub dword [ebp - 4], 1
mov dword [edi - 4], ecx
mov edx, dword [esi - 4]
jne 0x450338
mov edx, dword [0x79ce60]
mov ecx, edx
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edx
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edx
xor ecx, dword [ebx]
shr eax, 0xb
xor edx, eax
mov dword [edi], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
pop edi
mov eax, edx
shr eax, 0x12
pop esi
xor eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x79d824]
mov ecx, dword [eax]
add eax, 4
mov dword [0x79d824], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x455c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
movzx edi, byte [ebp + 0xc]
test edi, edi
je 0x455cab
mov eax, dword [ebp + 8]
add eax, 2
push esi
movzx ecx, byte [eax + 1]
lea eax, [eax + 4]
movzx edx, byte [eax - 5]
mov esi, dword [ecx*4 + 0x593780]
movzx ecx, byte [eax - 4]
xor esi, dword [edx*4 + 0x592f80]
xor esi, dword [ecx*4 + 0x593380]
movzx ecx, byte [eax - 6]
xor esi, dword [ecx*4 + 0x592b80]
mov dword [eax - 6], esi
sub edi, 1
jne 0x455c73
pop esi
pop edi
pop ebp
ret
Function at 0x456ce0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x594488]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x79d828]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [edx - 6]
lea ecx, [ebx - 1]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
push edi
test ecx, ecx
js 0x456d1c
nop
mov eax, dword [esi + ecx*4]
mov dword [ebp + ecx*4 - 0x24], eax
sub ecx, 1
jns 0x456d10
xor edi, edi
xor eax, eax
xor esi, esi
test ebx, ebx
jle 0x456d6b
lea ecx, [edx + 1]
cmp edi, ecx
jge 0x456d6b
cmp esi, ebx
jge 0x456d52
cmp eax, 4
jge 0x456d4c
mov ebx, dword [ebp - 0x28]
lea edx, [eax + edi*4]
mov ecx, dword [ebp + esi*4 - 0x24]
inc eax
inc esi
mov dword [ebx + edx*4], ecx
mov ebx, dword [ebp - 0x2c]
cmp esi, ebx
jl 0x456d31
mov edx, dword [0x79d828]
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, ebx
jl 0x456d26
lea ecx, [edx + 1]
cmp edi, ecx
jge 0x456ebc
mov esi, 0x593b80
nop dword [eax + eax]
movzx ecx, byte [ebp + ebx*4 - 0x27]
mov dl, byte [ebp - 0x24]
xor dl, byte [ecx + str.cw]
mov byte [ebp - 0x24], dl
movzx ecx, byte [ebp + ebx*4 - 0x26]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x23], cl
movzx ecx, byte [ebp + ebx*4 - 0x25]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp + ebx*4 - 0x28]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x21], cl
movzx ecx, byte [esi]
add esi, 4
xor cl, dl
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x24], cl
mov edx, 1
cmp ebx, 8
je 0x456df0
cmp ebx, edx
jle 0x456e4e
nop word [eax + eax]
mov ecx, dword [ebp + edx*4 - 0x28]
xor dword [ebp + edx*4 - 0x24], ecx
inc edx
cmp edx, ebx
jl 0x456de0
jmp 0x456e4e
mov ecx, dword [ebp + edx*4 - 0x28]
xor dword [ebp + edx*4 - 0x24], ecx
inc edx
cmp edx, 4
jl 0x456df0
movzx ecx, byte [ebp - 0x18]
mov edx, 5
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x14], cl
movzx ecx, byte [ebp - 0x17]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x13], cl
movzx ecx, byte [ebp - 0x16]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x12], cl
movzx ecx, byte [ebp - 0x15]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x11], cl
nop dword [eax + eax]
mov ecx, dword [ebp + edx*4 - 0x28]
xor dword [ebp + edx*4 - 0x24], ecx
inc edx
cmp edx, 8
jl 0x456e40
xor esi, esi
test ebx, ebx
jle 0x456eaa
mov edx, dword [0x79d828]
nop word [eax + eax]
lea ecx, [edx + 1]
cmp edi, ecx
jge 0x456eaa
cmp esi, ebx
jge 0x456e91
nop dword [eax + eax]
cmp eax, 4
jge 0x456e8b
mov ebx, dword [ebp - 0x28]
lea edx, [eax + edi*4]
mov ecx, dword [ebp + esi*4 - 0x24]
inc eax
inc esi
mov dword [ebx + edx*4], ecx
mov ebx, dword [ebp - 0x2c]
cmp esi, ebx
jl 0x456e70
mov edx, dword [0x79d828]
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, ebx
jl 0x456e60
mov ecx, dword [0x79d828]
mov esi, dword [ebp - 0x30]
inc ecx
cmp edi, ecx
jl 0x456d80
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dc1be
mov esp, ebp
pop ebp
ret
Function at 0x457f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor dl, dl
xor eax, eax
push edi
mov edi, dword [ebp + 8]
test esi, esi
jle 0x457fad
cmp esi, 0x20
jb 0x457f98
mov ecx, esi
and ecx, 0x8000001f
jns 0x457f2f
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm3, xmmword [0x551850]
mov edx, esi
sub edx, ecx
xorps xmm2, xmm2
xorps xmm1, xmm1
movups xmm0, xmmword [edi + eax]
pand xmm0, xmm3
pxor xmm2, xmm0
movups xmm0, xmmword [edi + eax + 0x10]
add eax, 0x20
pand xmm0, xmm3
pxor xmm1, xmm0
cmp eax, edx
jl 0x457f40
pxor xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
pxor xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
pxor xmm1, xmm0
movd edx, xmm1
cmp eax, esi
jge 0x457fad
nop dword [eax]
mov cl, byte [eax + edi]
inc eax
and cl, 0xaa
xor dl, cl
cmp eax, esi
jl 0x457fa0
push esi
push edi
push 0x7bd839
mov byte [0x7bd838], dl
call fcn.004f3c30
add esp, 0xc
xor ecx, ecx
test esi, esi
jle 0x457ffa
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
nop
movzx eax, byte [ecx + 0x7bd839]
mov al, byte [eax + 0x593cf0]
mov byte [ecx + 0x7bd839], al
test edx, edx
je 0x457ff1
xor al, bl
xor al, 0xcc
mov byte [ecx + 0x7bd839], al
inc ecx
xor edx, 1
cmp ecx, esi
jl 0x457fd0
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x458000
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], vtable.CSHA1.0
mov eax, ecx
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret

Function at 0x458040
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], vtable.CSHA1.0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret

Function at 0x458080
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
test byte [ebp + 8], 1
push esi
mov esi, ecx
mov dword [esi], vtable.CSHA1.0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov dword [esi + 0x14], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
je 0x4580d1
push 0xb4
push esi
call fcn.004dc1b0
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x458200
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret
Function at 0x4dd7a0
Capabilities:
Parse pe header

Disassembly:
push 0
push edi
call fcn.008835de
test eax, eax
je 0x4dd7e0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4dd7e0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4dd7e0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4dd7e0
cmp dword [ecx + 0x74], 0xe
jbe 0x4dd7e0
cmp dword [ecx + 0xe8], 0
je 0x4dd7e0
mov al, 1
ret
xor al, al
ret

Function at 0x4e8ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x533245
call fcn.004dd2a7
mov edi, ecx
mov dword [ebp - 0x10], edi
or dword [edi + 4], 0xfffffff
lea ecx, [edi + 0x3c]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], Ordinal_5
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
call fcn.004de4b6
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
xor eax, eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
test dword [0x5944c8], 0x80000000
je 0x4e8d51
push dword [0x7ccde4]
call fcn.004df9cb
pop ecx
test eax, eax
jne 0x4e8d56
call fcn.004e51c8
mov dword [edi + 0xc], eax
mov eax, dword [eax + 0x34]
mov dword [edi], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
test eax, eax
je 0x4e8d71
cmp eax, 2
je 0x4e8d71
lock inc dword [eax + 4]
mov ecx, edi
call fcn.004e98da
lea ecx, [edi + 0x3c]
call fcn.004dede2
cmp byte [ebp + 0xc], 0
je 0x4e8db2
mov edx, dword [edi + 0x64]
mov ecx, edi
add edx, 0x68
mov esi, dword [edx]
mov eax, esi
mov dword [edi + 0x68], esi
lock cmpxchg dword [edx], ecx
jmp 0x4e8dac
mov dword [edi + 0x68], eax
mov esi, eax
mov ecx, dword [edi + 0x64]
mov edx, edi
add ecx, 0x68
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x4e8d9b
jmp 0x4e8dba
or dword [edi + 0x78], 1
and dword [edi + 0x68], 0
call fcn.004e53b4
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4e8dd2
mov ecx, esi
call fcn.004e823b
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x40]
and dword [edi + 4], 0xfffffff
mov dword [edi + 0x80], eax
mov eax, edi
call fcn.004dd281
ret 8

Function at 0x50c005
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050be84
Function at 0x7d5560
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x7d566c
test eax, eax
je 0x7d566c
push esi
push edi
mov ecx, 0x10
mov esi, 0x7f1008
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x7d5653
lea edi, [eax + 4]
jmp 0x7d55b7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x7d55cc
mov dword [ebp - 4], 2
jmp 0x7d55ed
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x7d55e3
mov dword [ebp - 4], 1
jmp 0x7d55ed
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x7d5663
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x7d5626
mov byte [ecx], 0x3d
jmp 0x7d5632
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x7d563d
mov byte [ecx], 0x3d
jmp 0x7d5643
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x7d55b4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret