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

Disassembly:
mov edx, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [edx]
push esi
inc ebp
push edi
cmp eax, 0x302
jge 0x43d16b
cmp eax, 0xfeff
je 0x43d16b
mov esi, dword [esp + 0x14]
cmp ebp, dword [esi + 4]
jbe 0x43d188
pop edi
pop esi
xor eax, eax
pop ebp
ret
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esi + 4]
lea eax, [ecx + ebp]
cmp eax, edi
ja 0x43d165
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 0x43d1cd
cmp dword [edx + 0x88], 0
jne 0x43d1cd
mov eax, dword [edx + 0x58]
cmp dword [eax + 8], 0
jne 0x43d1c0
cmp dword [eax + 0xc], 0
jne 0x43d1c0
test bl, 1
jne 0x43d1c0
or dword [eax], 8
mov eax, dword [edx + 0x58]
test byte [eax], 8
je 0x43d1cd
test ebx, ebx
je 0x43d1cd
dec ebx
mov eax, dword [edx + 0x80]
push dword [eax]
call fcn.0045a2e0
add esp, 4
test eax, 0x200000
je 0x43d1f6
or eax, 0xffffffff
sub eax, ebx
add dword [esi + 4], eax
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
mov edi, dword [esi + 4]
mov edx, edi
sub edx, ebx
sub edx, ebp
not edx
mov ecx, 0xff
lea eax, [edi - 1]
sar edx, 0x1f
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x43d255
mov ebp, dword [esp + 0x20]
dec ebp
add ebp, dword [esi + 0xc]
mov edi, ebx
mov esi, ecx
lea esp, [esp]
mov eax, edi
not eax
sar eax, 0x1f
movzx ecx, al
movzx eax, byte [ebp]
xor eax, ebx
and ecx, eax
not ecx
and edx, ecx
dec edi
lea ebp, [ebp - 1]
dec esi
jne 0x43d230
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov eax, edx
shr eax, 4
and edx, eax
mov eax, edx
shr eax, 2
and edx, eax
mov ecx, edx
shr ecx, 1
and ecx, edx
shl ecx, 0x1f
sar ecx, 0x1f
lea eax, [ebx + 1]
and eax, ecx
sub edi, eax
shl eax, 8
or dword [esi], eax
pop ebx
mov dword [esi + 4], edi
mov eax, ecx
pop edi
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebp
ret
Function at 0x43da00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.004c72a0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
xor esi, esi
push esi
xor edi, edi
call fcn.0042c590
mov ebx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x43da54
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
shl eax, 0xa
test ebx, eax
je 0x43da3c
inc edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
inc esi
push esi
call fcn.0042c590
add esp, 0xc
test eax, eax
jne 0x43da30
mov ecx, dword [esp + 0x50]
mov eax, ecx
cdq
idiv edi
mov ebp, dword [esp + 0x4c]
mov esi, eax
xor eax, eax
cmp edi, 1
mov edi, dword [esp + 0x5c]
push edi
push eax
push dword [esp + 0x5c]
cmove ecx, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], ecx
call fcn.004c46b0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x64], 0
call fcn.0042c590
add esp, 0x18
test eax, eax
je 0x43db47
mov eax, dword [esp + 0x10]
shl eax, 0xa
test ebx, eax
je 0x43db23
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x43db54
push edi
push dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push dword [esp + 0x50]
and eax, 1
push dword [esp + 0x50]
add eax, esi
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push eax
push ebp
push ecx
call fcn.0043db80
add esp, 0x3c
test eax, eax
je 0x43db72
add ebp, esi
test edi, edi
jle 0x43db23
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
sub esi, ecx
mov edx, edi
mov al, byte [esi + ecx]
xor byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x43db14
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
inc eax
push ecx
push eax
mov dword [esp + 0x58], eax
call fcn.0042c590
add esp, 0xc
test eax, eax
jne 0x43daa6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.0044b560
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x440d90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x440db4
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
xor cl, byte [eax]
lea eax, [eax + 1]
or dl, cl
dec esi
jne 0x440da6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x440fe0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x441044
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x441044
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
call fcn.004c2a68
add eax, 0x40
push eax
call fcn.004c7c0d
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004c22ab
add esp, 0x108
ret
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x110]
lea eax, [esp + 0xc]
push 0xff
push eax
call fcn.004c7d3b
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4410d2
call fcn.00440ea0
test eax, eax
jle 0x4410d2
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.004c22ab
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.004c22ab
add esp, 0x108
ret

Function at 0x44b980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x40], ebx
test edi, edi
jne 0x44b9c5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004c22ab
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push edi
call fcn.004c851a
add esp, 8
test eax, eax
js 0x44b9ae
mov eax, 8
call fcn.004c72a0
xorps xmm0, xmm0
movsd qword [esp], xmm0
lea eax, [esp + 0x50]
push 0x30
push eax
call fcn.0044bac0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x44b9ae
push 0x4df028
push edi
call fcn.004c4d0d
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
je 0x44baa1
lea esp, [esp]
mov edi, 0x400
test esi, esi
jle 0x44ba2e
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.004c5bb6
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x44ba82
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.004c72a0
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push edi
push eax
call fcn.0044bac0
add dword [esp + 0x50], ebx
mov eax, dword [esp + 0x54]
add esp, 0x10
test esi, esi
jle 0x44ba20
sub esi, edi
test esi, esi
jg 0x44ba20
push dword [esp + 0x44]
call fcn.004c4a93
lea eax, [esp + 0x7c]
push 0x400
push eax
call fcn.00454a30
mov ebx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004c22ab
mov esp, ebp
pop ebp
ret
Function at 0x44ce70
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.004c46b0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x44d4b0
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.004421d0
add esp, 8
test esi, esi
jg 0x44d507
je 0x44d4e9
cmp esi, 0xffffffff
jne 0x44d507
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.0044d740
add esp, 4
test eax, eax
je 0x44d507
push 0xa
push edi
call fcn.004428d0
add esp, 8
pop edi
mov eax, esi
pop esi
ret

Function at 0x44ebd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
test esi, esi
je 0x44ec16
mov al, byte [esi]
test al, al
je 0x44ec16
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
lea esi, [esi + 1]
add edi, 0x100
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x44ebe7
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x453a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20
call fcn.004c72a0
mov eax, dword [0x5279f0]
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 0x453a45
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push edi
push 8
push 0xfde9
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jg 0x453ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x453aa3
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 0x453ab0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jmp 0x453b2c
lea eax, [esi + esi]
call fcn.004c8310
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 0x453b8b
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453ae0
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 0x453b8b
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.004c8b37
mov esi, eax
add esp, 8
test esi, esi
jne 0x453b3e
call fcn.004c5730
cmp dword [eax], 2
je 0x453b2e
call fcn.004c5730
cmp dword [eax], 9
jne 0x453b8b
push ebx
push edi
call fcn.004c4d0d
mov esi, eax
add esp, 8
test esi, esi
je 0x453b8b
push 0x5222ec
call fcn.004425a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x453b5f
push esi
call fcn.004c4a93
add esp, 4
jmp 0x453bf3
push 0
push edi
call fcn.004421d0
push esi
push 1
push 0x6a
push edi
call fcn.00442200
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.004c22ab
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.0044b560
push 0x4e0a24
push ebx
push 0x4f65f4
push edi
push str.fopen_
push 5
call fcn.0044abc0
add esp, 0x2c
call fcn.004c5730
cmp dword [eax], 2
jne 0x453bdb
push 0xac
push str..crypto_bio_bss_file.c
push 0x80
jmp 0x453be7
push 0xae
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.0044b560
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.004c22ab
mov esp, ebp
pop ebp
ret
Function at 0x457680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
push esi
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [eax], ebx
push edi
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x20]
push eax
xor esi, esi
call fcn.0044fd30
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0044fb90
add esp, 0xc
test eax, eax
je 0x457785
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0044f870
add esp, 0xc
test eax, eax
je 0x457785
lea eax, [esp + 0x20]
push eax
call fcn.0044fad0
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x4577a3
push edi
call fcn.00446090
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.00457d60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x457785
push esi
call fcn.00458470
add esp, 4
test eax, eax
jle 0x457785
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.00457b10
add esp, 0x18
test eax, eax
jle 0x457785
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.00458390
add esp, 0x14
test eax, eax
jle 0x457785
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ebx, 1
push esi
call fcn.00457d00
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004c22ab
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x4577bb
cmp dword [edi], edx
je 0x4577e5
inc eax
add ecx, 4
cmp eax, 4
jl 0x4577a8
push 0x7f
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.0044b560
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004c22ab
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x457819
push 0x85
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.0044b560
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004c22ab
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.004c22ab
add esp, 0x6c
ret
Function at 0x45e810
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.004c72a0
mov eax, dword [0x5279f0]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xb0]
xor eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
test edi, edi
je 0x45e85f
mov eax, 1
mov dword [esi], edi
jmp 0x45e861
mov edi, dword [esi]
test ebp, ebp
je 0x45e9e9
push edi
call fcn.00458e10
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x45e895
push str.j____int_sizeof_ctx__key_
push 0x68
push str..cryptohmachmac.c
call fcn.00441100
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ebx, dword [esp + 0xac]
cmp eax, ebx
jge 0x45e8ed
push dword [esp + 0x10]
lea ebp, [esi + 4]
push edi
push ebp
call fcn.0044f920
add esp, 0xc
test eax, eax
je 0x45e9e5
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.0044fac0
add esp, 0xc
test eax, eax
je 0x45e9e5
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 4]
push eax
call fcn.0044f870
add esp, 0xc
test eax, eax
je 0x45e9e5
jmp 0x45e921
test ebx, ebx
js 0x45e8f9
cmp ebx, 0x80
jle 0x45e90d
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str..cryptohmachmac.c
call fcn.00441100
add esp, 0xc
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.004c3f80
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x45e944
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.004c46b0
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 0x45e950
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.0044f920
add esp, 0xc
test eax, eax
je 0x45e9e5
push edi
call fcn.00458e10
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0044fac0
add esp, 0x10
test eax, eax
je 0x45e9e5
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x45e990
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.0044f920
add esp, 0xc
test eax, eax
je 0x45e9e5
push edi
call fcn.00458e10
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.0044fac0
add esp, 0x10
test eax, eax
je 0x45e9e5
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0044fb90
add esp, 8
test eax, eax
jne 0x45e9f2
xor eax, eax
jmp 0x45e9f7
test eax, eax
je 0x45e9d1
jmp 0x45e948
mov eax, 1
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c22ab
add esp, 0x90
ret

Function at 0x45eb70
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.004c46b0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x45ecb0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.004c46b0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x45eff0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.004c46b0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret
Function at 0x4778f0
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 0x4779dc
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x47796e
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 0x4779bf
shl edx, 0x10
cmp esi, 2
jne 0x47797e
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 0x4779ab
lea ecx, [esi + 0x3c]
jmp 0x4779b8
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 0x477910
pop edi
mov byte [eax], 0
pop esi
mov eax, ebx
pop ebx
ret
mov byte [eax], bl
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x47f600
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x47f6db
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x47f676
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0047f240
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x47f644
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x47f794
call 0x47f688
pop edx
lea ecx, [edx + 0x138]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x47f733
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0047f240
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x47f6ec
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x47f794
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0047f240
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x47f78f
jmp 0x47f794
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x47f800
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x47f8e4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x47f87f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0047f3a0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x47f84d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x47f99d
call 0x47f891
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x47f93c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0047f4d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x47f8f5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x47f99d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0047f4d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x47f998
jmp 0x47f99d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret