joyce8/EMBER2024-capa huggingface dataset:
Function at 0x651a30
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
xorps xmm0, xmm0
movsd qword [eax + 0xe0], xmm0
xorps xmm0, xmm0
movups xmmword [eax + 0xd0], xmm0
movups xmmword [eax + 0xc0], xmm0
movups xmmword [eax + 0xb0], xmm0
movups xmmword [eax + 0xa0], xmm0
movups xmmword [eax + 0x90], xmm0
movups xmmword [eax + 0x80], xmm0
movups xmmword [eax + 0x70], xmm0
movups xmmword [eax + 0x60], xmm0
movups xmmword [eax + 0x50], xmm0
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [0xa9d480]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0xa9d490]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0xa9d4a0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0xa9d4b0]
movups xmmword [eax + 0x30], xmm0
movzx edx, byte [ecx]
mov dword [eax + 0xe4], edx
mov edx, 0xf3bcc908
xor edx, dword [ecx]
mov esi, 0x6a09e667
xor esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov dword [eax], edx
mov edx, 0x84caa73b
xor edx, dword [ecx + 8]
mov esi, 0xbb67ae85
xor esi, dword [ecx + 0xc]
mov dword [eax + 0xc], esi
mov dword [eax + 8], edx
mov edx, 0xfe94f82b
xor edx, dword [ecx + 0x10]
mov esi, 0x3c6ef372
xor esi, dword [ecx + 0x14]
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], edx
mov edx, 0x5f1d36f1
xor edx, dword [ecx + 0x18]
mov esi, 0xa54ff53a
xor esi, dword [ecx + 0x1c]
mov dword [eax + 0x1c], esi
mov dword [eax + 0x18], edx
mov edx, 0xade682d1
xor edx, dword [ecx + 0x20]
mov esi, 0x510e527f
xor esi, dword [ecx + 0x24]
mov dword [eax + 0x24], esi
mov dword [eax + 0x20], edx
mov edx, 0x2b3e6c1f
xor edx, dword [ecx + 0x28]
mov esi, 0x9b05688c
xor esi, dword [ecx + 0x2c]
mov dword [eax + 0x2c], esi
mov dword [eax + 0x28], edx
mov edx, 0xfb41bd6b
xor edx, dword [ecx + 0x30]
mov esi, 0x1f83d9ab
xor esi, dword [ecx + 0x34]
mov dword [eax + 0x34], esi
mov dword [eax + 0x30], edx
mov edx, 0x137e2179
xor edx, dword [ecx + 0x38]
mov esi, 0x5be0cd19
xor esi, dword [ecx + 0x3c]
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], edx
mov eax, 1
pop esi
ret
Function at 0x651b70
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
xorps xmm0, xmm0
movsd qword [esi + 0xe0], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0xd0], xmm0
movups xmmword [esi + 0xc0], xmm0
movups xmmword [esi + 0xb0], xmm0
movups xmmword [esi + 0xa0], xmm0
movups xmmword [esi + 0x90], xmm0
movups xmmword [esi + 0x80], xmm0
movups xmmword [esi + 0x70], xmm0
movups xmmword [esi + 0x60], xmm0
movups xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x40], xmm0
movups xmm1, xmmword [0xa9d480]
movups xmmword [esi], xmm1
movups xmm1, xmmword [0xa9d490]
movups xmmword [esi + 0x10], xmm1
movups xmm1, xmmword [0xa9d4a0]
movups xmmword [esi + 0x20], xmm1
movups xmm1, xmmword [0xa9d4b0]
movups xmmword [esi + 0x30], xmm1
movzx edx, byte [ecx]
mov dword [esi + 0xe4], edx
mov ebx, dword [ecx]
mov edx, 0x6a09e667
xor edx, dword [ecx + 4]
movzx edi, bh
xor ebx, 0xf3bcc908
mov dword [esi + 4], edx
mov dword [esi], ebx
mov edx, 0x84caa73b
xor edx, dword [ecx + 8]
mov ebx, 0xbb67ae85
xor ebx, dword [ecx + 0xc]
mov dword [esi + 0xc], ebx
mov dword [esi + 8], edx
mov edx, 0xfe94f82b
xor edx, dword [ecx + 0x10]
mov ebx, 0x3c6ef372
xor ebx, dword [ecx + 0x14]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edx
mov edx, 0x5f1d36f1
xor edx, dword [ecx + 0x18]
mov ebx, 0xa54ff53a
xor ebx, dword [ecx + 0x1c]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], edx
mov edx, 0xade682d1
xor edx, dword [ecx + 0x20]
mov ebx, 0x510e527f
xor ebx, dword [ecx + 0x24]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], edx
mov edx, 0x2b3e6c1f
xor edx, dword [ecx + 0x28]
mov ebx, 0x9b05688c
xor ebx, dword [ecx + 0x2c]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], edx
mov edx, 0xfb41bd6b
xor edx, dword [ecx + 0x30]
mov ebx, 0x1f83d9ab
xor ebx, dword [ecx + 0x34]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], edx
mov edx, 0x137e2179
xor edx, dword [ecx + 0x38]
mov ebx, 0x5be0cd19
xor ebx, dword [ecx + 0x3c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], edx
movups xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x40], xmm0
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp], xmm0
mov ebx, esp
push edi
push eax
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
movups xmm0, xmmword [esp]
movups xmm1, xmmword [esp + 0x10]
movups xmmword [esi + 0x60], xmm0
movups xmmword [esi + 0x70], xmm1
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x80], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esi + 0x90], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [esi + 0xa0], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [esi + 0xb0], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [esi + 0xc0], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [esi + 0xd0], xmm0
mov dword [esi + 0xe0], pe_nt_image_headers32
push pe_nt_image_headers32
push ebx
call fcn.005e8480
add esp, 8
mov eax, 1
add esp, 0x80
pop esi
pop edi
pop ebx
ret
Function at 0x656790
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
xorps xmm0, xmm0
movsd qword [ecx + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [ecx + 0x60], xmm0
movups xmmword [ecx + 0x50], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0xa9d4c0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0xa9d4d0]
movups xmmword [ecx + 0x10], xmm0
movzx edx, byte [eax]
mov dword [ecx + 0x74], edx
mov edx, 0x6a09e667
xor edx, dword [eax]
mov dword [ecx], edx
mov edx, 0xbb67ae85
xor edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, 0x3c6ef372
xor edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, 0xa54ff53a
xor edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, 0x510e527f
xor edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, 0x9b05688c
xor edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, 0x1f83d9ab
xor edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, 0x5be0cd19
xor edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov eax, 1
ret

Function at 0x656830
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
xorps xmm0, xmm0
movsd qword [esi + 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x60], xmm0
movups xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x40], xmm0
movups xmmword [esi + 0x30], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmm1, xmmword [0xa9d4c0]
movups xmmword [esi], xmm1
movups xmm1, xmmword [0xa9d4d0]
movups xmmword [esi + 0x10], xmm1
movzx edx, byte [ecx]
mov dword [esi + 0x74], edx
mov edx, dword [ecx]
movzx edi, dh
xor edx, 0x6a09e667
mov dword [esi], edx
mov edx, 0xbb67ae85
xor edx, dword [ecx + 4]
mov dword [esi + 4], edx
mov edx, 0x3c6ef372
xor edx, dword [ecx + 8]
mov dword [esi + 8], edx
mov edx, 0xa54ff53a
xor edx, dword [ecx + 0xc]
mov dword [esi + 0xc], edx
mov edx, 0x510e527f
xor edx, dword [ecx + 0x10]
mov dword [esi + 0x10], edx
mov edx, 0x9b05688c
xor edx, dword [ecx + 0x14]
mov dword [esi + 0x14], edx
mov edx, 0x1f83d9ab
xor edx, dword [ecx + 0x18]
mov dword [esi + 0x18], edx
mov edx, 0x5be0cd19
xor edx, dword [ecx + 0x1c]
mov dword [esi + 0x1c], edx
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp], xmm0
mov ebx, esp
push edi
push eax
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
movups xmm0, xmmword [esp]
movups xmm1, xmmword [esp + 0x10]
movups xmmword [esi + 0x30], xmm0
movups xmmword [esi + 0x40], xmm1
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esi + 0x50], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], 0x40
push 0x40
push ebx
call fcn.005e8480
add esp, 8
mov eax, 1
add esp, 0x40
pop esi
pop edi
pop ebx
ret
Function at 0x687a20
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x14]
push 1
push ebx
call fcn.006053c0
add esp, 8
mov esi, eax
push eax
push ebx
call fcn.00605690
add esp, 8
test eax, eax
je 0x687aa9
mov edi, eax
sub esp, 0x14
movaps xmm0, xmmword [0xaaa110]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x687a84
push edi
push esi
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
cmove esi, eax
push 0
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x687a86
xor esi, esi
lea eax, [esi*8]
push eax
push esi
push ebx
call fcn.00605720
add esp, 0xc
push ebx
call fcn.00605390
add esp, 4
test eax, eax
jne 0x687b2a
push 1
push ebx
call fcn.006053c0
add esp, 8
mov esi, eax
push eax
push ebx
call fcn.00605690
add esp, 8
test eax, eax
je 0x687b21
mov edi, eax
mov eax, esp
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x687b00
push edi
push esi
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
cmove esi, eax
push 0
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x687b02
xor esi, esi
lea eax, [esi*8]
push eax
push esi
push ebx
call fcn.00605720
add esp, 0xc
push ebx
call fcn.00605390
add esp, 4
test eax, eax
jne 0x687b2a
push ebx
call fcn.00605390
add esp, 4
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x698370
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
cmp edx, 1
setne cl
add ecx, esi
mov edi, dword [ebx]
xor eax, eax
cmp ecx, edi
ja 0x6983eb
mov ebp, dword [esp + 0x24]
cmp edx, 1
jne 0x6983d2
cmp dword [esp + 0x20], esi
jb 0x6983eb
cmp esi, 0x40
ja 0x6983eb
mov eax, 1
test esi, esi
je 0x6983eb
sub edi, esi
mov dword [ebx], edi
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x6983c2
add ebp, edi
mov dword [ecx], ebp
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x6983eb
mov dword [ecx], 0
jmp 0x6983eb
movzx edx, byte [ebp + edi - 1]
cmp dword [esp + 0x38], 0
je 0x6983f3
not esi
add edi, esi
sub edi, edx
mov dword [ebx], edi
mov eax, 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
add ecx, edx
mov ebx, ecx
xor ebx, edi
mov eax, edi
sub eax, ecx
xor eax, ecx
or eax, ebx
xor eax, edi
not eax
sar eax, 0x1f
cmp edi, 0x100
mov ecx, 0x100
cmovb ecx, edi
test edi, edi
mov dword [esp], edi
je 0x69842f
mov esi, edi
xor edi, edi
cmp esi, 4
jae 0x698436
mov esi, edx
mov ebp, ecx
jmp 0x6984f9
mov esi, edx
jmp 0x69852e
mov edi, ecx
and edi, 0x1fc
movd xmm1, eax
movaps xmm0, xmmword [0xaae2f0]
movss xmm0, xmm1
mov dword [esp + 4], edx
movd xmm2, edx
pshufd xmm1, xmm2, 0
punpcklbw xmm2, xmm2
pshuflw xmm2, xmm2, 0
lea eax, [esi + ebp]
add eax, 0xfffffffc
mov edx, ecx
mov ebp, ecx
and ebp, 0xfffffffc
neg ebp
movdqa xmm4, xmmword [0xaae300]
xor ecx, ecx
por xmm1, xmmword [0xaae310]
pxor xmm5, xmm5
movdqa xmm7, xmmword [0xaae320]
movdqa xmm3, xmm4
pxor xmm3, xmmword [0xaae310]
pcmpgtd xmm3, xmm1
movd xmm6, dword [eax + ecx]
punpcklbw xmm6, xmm5
pshuflw xmm6, xmm6, 0x1b
packuswb xmm6, xmm6
pxor xmm6, xmm2
punpcklbw xmm6, xmm5
punpcklwd xmm6, xmm5
pxor xmm6, xmmword [0xaae330]
por xmm6, xmm3
pand xmm0, xmm6
paddd xmm4, xmm7
add ecx, 0xfffffffc
cmp ebp, ecx
jne 0x698490
pshufd xmm1, xmm0, 0xee
pand xmm1, xmm0
pshufd xmm0, xmm1, 0x55
pand xmm0, xmm1
movd eax, xmm0
mov ebp, edx
cmp edx, edi
mov esi, dword [esp + 4]
je 0x69852e
mov ecx, edi
not ecx
add ecx, dword [esp]
add ecx, dword [esp + 0x24]
nop word cs:[eax + eax]
movzx edx, byte [ecx]
mov ebx, esi
xor dl, bl
cmp edi, esi
movzx edx, dl
not edx
mov ebx, 0xffffffff
cmova edx, ebx
and eax, edx
inc edi
dec ecx
cmp ebp, edi
jne 0x698510
xor ecx, ecx
xor ebx, ebx
cmp al, 0xff
not esi
cmovne esi, ecx
sete bl
neg ebx
add esi, dword [esp]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
mov edx, dword [esp + 0x20]
push dword [esp + 0x3c]
push ebx
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.00698110
add esp, 0x24
jmp 0x6983ee
Function at 0x6a9740
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push 0x1048
push 0xab0700
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
cmp esi, 0x48
mov eax, 0x48
cmovl eax, esi
add eax, edi
xor ecx, ecx
mov edx, edi
jmp 0x6a97ab
movzx edx, byte [edx]
movzx ebx, byte [ebx]
shl edx, 0x10
shl ebx, 8
or ebx, edx
movzx edx, byte [ebp]
or edx, ebx
shl edx, 8
movzx edi, byte [edi]
or edi, edx
mov ebx, dword [esp + 0x1c]
xor dword [ebx + ecx*4], edi
inc ecx
mov edx, esi
cmp ecx, 0x12
je 0x6a97f7
lea ebx, [edx + 1]
cmp ebx, eax
jae 0x6a97d0
lea ebp, [ebx + 1]
cmp ebp, eax
jae 0x6a97db
lea edi, [ebp + 1]
cmp edi, eax
jae 0x6a97e6
lea esi, [edi + 1]
cmp esi, eax
jb 0x6a9780
jmp 0x6a97f1
mov ebx, dword [esp + 0x24]
lea ebp, [ebx + 1]
cmp ebp, eax
jb 0x6a97b9
mov ebp, dword [esp + 0x24]
lea edi, [ebp + 1]
cmp edi, eax
jb 0x6a97c0
mov edi, dword [esp + 0x24]
lea esi, [edi + 1]
cmp esi, eax
jb 0x6a9780
mov esi, dword [esp + 0x24]
jmp 0x6a9780
mov dword [esp], 0
mov dword [esp + 4], 0
mov edi, esp
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 8], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x10], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x18], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x20], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x28], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x30], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x38], xmm0
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + 0x40], xmm0
mov esi, 0xfffffffe
push ebx
push edi
call fcn.006a8a40
add esp, 8
movsd xmm0, qword [esp]
movsd qword [ebx + esi*4 + 0x50], xmm0
add esi, 2
cmp esi, 0x3fe
jb 0x6a98c0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x701230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, 1
sbb eax, eax
mov dword [esp], eax
mov eax, 1
test ebx, ebx
je 0x7013ae
mov edx, dword [ebx]
test edx, edx
je 0x7013ae
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], eax
or dword [esp], ecx
nop word [eax + eax]
xorps xmm0, xmm0
movsd qword [esp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x50], xmm1
movups xmmword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm1
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x10], xmm1
lea eax, [esp + 0x88]
movsd qword [eax + 0x10], xmm0
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], edx
lea ecx, [esp + 0x78]
mov edx, 0xac5060
push 0x56
call fcn.007015d0
add esp, 4
mov esi, eax
mov edi, fcn.007009b0
test eax, eax
je 0x701317
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x24]
test edi, edi
mov ecx, fcn.007009b0
cmove edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x10]
push eax
push esi
push 7
call edi
add esp, 0xc
mov ebp, eax
test eax, eax
jle 0x70135f
cmp dword [esp + 0x14], 0
je 0x70135f
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.005d0f80
add esp, 0x18
mov ebp, eax
test ebp, ebp
jle 0x701378
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x10]
push eax
push esi
push 8
call edi
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x701393
push 0x2c9
push str.crypto_evp_ctrl_params_translate.c
push eax
call fcn.005db5b0
add esp, 0xc
test ebp, ebp
jle 0x7013ac
mov edx, dword [ebx + 0x14]
add ebx, 0x14
test edx, edx
jne 0x701280
mov eax, 1
jmp 0x7013ae
xor eax, eax
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x735fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
bswap ecx
xor ecx, 0xa3b1bac6
bswap ebx
xor ebx, 0x56aa3350
mov esi, dword [eax + 8]
bswap esi
xor esi, 0x677d9197
mov edi, dword [eax + 0xc]
bswap edi
xor edi, 0xb27022dc
mov eax, 0xfffffffc
nop dword [eax + eax]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ebp, dword [eax*4 + 0xad0c30]
xor ebp, edi
mov edx, esi
xor edx, ebx
xor edx, ebp
mov ebx, edx
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0xad0ca0]
shl eax, 0x18
shr ebx, 0x10
movzx ebx, bl
movzx ebp, byte [ebx + 0xad0ca0]
shl ebp, 0x10
or ebp, eax
movzx eax, dh
movzx edx, dl
movzx eax, byte [eax + 0xad0ca0]
shl eax, 8
or eax, ebp
movzx edx, byte [edx + 0xad0ca0]
or edx, eax
mov eax, edx
rol eax, 0xd
xor eax, ecx
mov ecx, edx
rol ecx, 0x17
xor ecx, edx
xor ecx, eax
mov eax, dword [esp]
mov eax, dword [eax*4 + 0xad0c34]
xor eax, edi
xor eax, esi
xor eax, ecx
mov edx, eax
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0xad0ca0]
shl ebx, 0x18
shr edx, 0x10
movzx edx, dl
movzx ebp, byte [edx + 0xad0ca0]
shl ebp, 0x10
or ebp, ebx
movzx edx, ah
movzx eax, al
movzx edx, byte [edx + 0xad0ca0]
shl edx, 8
or edx, ebp
movzx eax, byte [eax + 0xad0ca0]
or eax, edx
mov edx, eax
rol edx, 0xd
xor dword [esp + 4], eax
rol eax, 0x17
xor eax, edx
xor dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax*4 + 0xad0c38]
xor eax, edi
xor eax, ecx
xor eax, dword [esp + 4]
mov edx, eax
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0xad0ca0]
shl ebx, 0x18
shr edx, 0x10
movzx edx, dl
movzx ebp, byte [edx + 0xad0ca0]
shl ebp, 0x10
or ebp, ebx
movzx edx, ah
movzx eax, al
movzx edx, byte [edx + 0xad0ca0]
shl edx, 8
or edx, ebp
movzx eax, byte [eax + 0xad0ca0]
or eax, edx
mov edx, eax
rol edx, 0xd
xor esi, eax
rol eax, 0x17
xor eax, edx
xor esi, eax
mov eax, dword [esp]
mov eax, dword [eax*4 + 0xad0c3c]
xor eax, ecx
xor eax, dword [esp + 4]
xor eax, esi
mov edx, eax
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + 0xad0ca0]
shl ebx, 0x18
shr edx, 0x10
movzx edx, dl
movzx edx, byte [edx + 0xad0ca0]
shl edx, 0x10
or edx, ebx
movzx ebx, ah
movzx ebx, byte [ebx + 0xad0ca0]
shl ebx, 8
or ebx, edx
movzx eax, al
movzx eax, byte [eax + 0xad0ca0]
or eax, ebx
mov ebx, dword [esp + 4]
mov edx, eax
rol edx, 0xd
xor edi, eax
rol eax, 0x17
xor eax, edx
xor edi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x10], ecx
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x14], ebx
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x18], esi
mov edx, dword [esp]
mov dword [eax + edx*4 + 0x1c], edi
mov eax, dword [esp]
add eax, 4
cmp eax, 0x1c
jb 0x735ff0
mov eax, 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x739de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
jle 0x739e00
nop
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x739e00
inc esi
cmp ebx, esi
jne 0x739df0
mov esi, ebx
mov ebp, ebx
sar ebp, 0x1f
and ebp, ebx
lea eax, [ebp - 1]
mov dword [esp], eax
lea edi, [ebx - 1]
mov eax, ebx
lea ebx, [edi + 1]
test ebx, ebx
jle 0x739e2d
cmp byte [ecx + edi], 0
jne 0x739e3d
cmp byte [edx + edi], 0xff
lea edi, [edi - 1]
lea ebx, [eax - 1]
je 0x739e10
jmp 0x739e32
mov eax, ebp
mov ebx, dword [esp]
mov ebp, 0xffffffff
cmp esi, ebx
jge 0x739e4a
jmp case.0x739e6a.2
mov eax, ebx
mov ebx, edi
mov ebp, 0xffffffff
cmp esi, ebx
jl case.0x739e6a.2
cmp esi, eax
jge 0x739e78
movzx ecx, byte [ecx + esi]
movzx edx, byte [edx + esi]
mov ch, dl
xor ch, cl
movzx eax, ch
lea ebx, [eax - 1]
cmp ebx, 0x1e
ja case.default.0x739e6a
mov edi, 7
jmp dword [ebx*4 + 0xad27e8]
mov edi, 6
jmp case.0x739e6a.1
shl esi, 3
mov ebp, esi
jmp case.0x739e6a.2
cmp eax, 0x3f
je 0x739ea5
cmp eax, 0x7f
jne case.0x739e6a.2
mov edi, 1
jmp case.0x739e6a.1
mov edi, 5
jmp case.0x739e6a.1
mov edi, 4
jmp case.0x739e6a.1
mov edi, 3
jmp case.0x739e6a.1
mov edi, 2
not dl
or cl, dl
test ch, cl
jne case.0x739e6a.2
lea ebp, [edi + esi*8]
mov eax, ebp
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x7436a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0x28]
cmp dword [ebx], 5
je TlsGetValue
mov ecx, esi
mov edx, ebx
call fcn.007440f0
test eax, eax
jle UnmapViewOfFile
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp dword [ebx + 0x28], 0
je 0x7436fe
push 0xf
push esi
call fcn.0057c080
add esp, 8
push ebp
push edi
push dword [ebx + 0x28]
call fcn.0057c350
add esp, 0xc
mov edi, eax
push 0xf
push dword [ebx + 0x28]
call fcn.0057c090
add esp, 8
push eax
push esi
call fcn.0057c0a0
add esp, 8
jmp 0x74373c
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push ebp
push edi
push dword [esi + 0x24]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
push 0xf
push esi
call fcn.0057c080
add esp, 8
test edi, edi
jg 0x74373c
push edi
call fcn.00583f40
add esp, 4
mov ecx, eax
mov eax, 0xa
test ecx, ecx
jne 0x7436f2
jmp VirtualProtect
mov edi, eax
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret