joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b93427c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x90
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], 0x1e240
mov byte [ebp - 0x70], 0x3a
mov byte [ebp - 0x6f], 0xb0
mov byte [ebp - 0x6e], 0x2d
mov byte [ebp - 0x6d], 0x29
mov byte [ebp - 0x6c], 1
mov byte [ebp - 0x6b], 3
mov byte [ebp - 0x6a], 0xf4
mov byte [ebp - 0x69], 7
mov byte [ebp - 0x68], 0xfb
mov byte [ebp - 0x67], 0x50
mov byte [ebp - 0x66], 0xea
mov byte [ebp - 0x65], 0x1d
mov byte [ebp - 0x64], 0x6e
mov byte [ebp - 0x63], 0x61
mov byte [ebp - 0x62], 0xfc
mov byte [ebp - 0x61], 0x4c
mov byte [ebp - 0x60], 0xc4
mov byte [ebp - 0x5f], 0xdf
mov byte [ebp - 0x5e], 0x99
mov byte [ebp - 0x5d], 0x8b
mov byte [ebp - 0x5c], 0xbf
mov byte [ebp - 0x5b], 0xc5
mov byte [ebp - 0x5a], 0x5c
mov byte [ebp - 0x59], 0xc3
mov byte [ebp - 0x58], 0x18
mov byte [ebp - 0x57], 0x74
mov byte [ebp - 0x56], 0xe2
mov byte [ebp - 0x55], 0x1f
mov byte [ebp - 0x54], 0xff
mov byte [ebp - 0x53], 0x19
mov byte [ebp - 0x52], 0x6a
mov byte [ebp - 0x51], 0x72
mov byte [ebp - 0x50], 0xa5
mov byte [ebp - 0x4f], 0xca
mov byte [ebp - 0x4e], 8
mov byte [ebp - 0x4d], 0xd2
mov byte [ebp - 0x4c], 0x5f
mov byte [ebp - 0x4b], 0xd6
mov byte [ebp - 0x4a], 0x1f
mov byte [ebp - 0x49], 0x69
mov byte [ebp - 0x48], 0x8f
lea edx, [ebp - 0x44]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1e240
jmp 0x6b9343a1
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
mov dword [esp + 4], 0xfffffffd
mov dword [esp], eax
call sym.caesar_cipher_char__int_
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.mlcg.prng_unsigned_int_
mov dword [ebp - 0x10], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x28
jbe 0x6b93435c
lea eax, [ebp - 0x12]
mov ecx, eax
call fcn.6b8e9ea0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x12]
mov dword [esp + 4], edx
lea edx, [ebp - 0x44]
add edx, 4
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x12]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x6b9343f0
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 4
Function at 0x6b9343fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x90
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], 0x1e240
mov byte [ebp - 0x70], 0xf
mov byte [ebp - 0x6f], 0xb2
mov byte [ebp - 0x6e], 0x3b
mov byte [ebp - 0x6d], 0x6f
mov byte [ebp - 0x6c], 0x51
mov byte [ebp - 0x6b], 0x18
mov byte [ebp - 0x6a], 0xe0
mov byte [ebp - 0x69], 2
mov byte [ebp - 0x68], 0xe5
mov byte [ebp - 0x67], 0x12
mov byte [ebp - 0x66], 0xb0
mov byte [ebp - 0x65], 7
mov byte [ebp - 0x64], 0x6c
mov byte [ebp - 0x63], 0x36
mov byte [ebp - 0x62], 0xa8
mov byte [ebp - 0x61], 0x7b
mov byte [ebp - 0x60], 0xbd
mov byte [ebp - 0x5f], 0xd4
mov byte [ebp - 0x5e], 0x96
mov byte [ebp - 0x5d], 0x94
mov byte [ebp - 0x5c], 0xa5
mov byte [ebp - 0x5b], 0xe5
mov byte [ebp - 0x5a], 0x59
mov byte [ebp - 0x59], 0xda
mov byte [ebp - 0x58], 8
mov byte [ebp - 0x57], 0x20
mov byte [ebp - 0x56], 0xb0
mov byte [ebp - 0x55], 0x38
mov byte [ebp - 0x54], 0xf1
mov byte [ebp - 0x53], 0x1d
mov byte [ebp - 0x52], 0x68
mov byte [ebp - 0x51], 0x3e
mov byte [ebp - 0x50], 0xbe
mov byte [ebp - 0x4f], 0xc8
mov byte [ebp - 0x4e], 0x5f
mov byte [ebp - 0x4d], 0x81
mov byte [ebp - 0x4c], 0x5b
mov byte [ebp - 0x4b], 0xc0
mov byte [ebp - 0x4a], 5
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0xeb
mov byte [ebp - 0x47], 0x91
mov byte [ebp - 0x46], 0x81
mov byte [ebp - 0x45], 0xc1
lea edx, [ebp - 0x44]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1e240
jmp 0x6b93452d
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
mov dword [esp + 4], 0xfffffffd
mov dword [esp], eax
call sym.caesar_cipher_char__int_
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.mlcg.prng_unsigned_int_
mov dword [ebp - 0x10], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x2b
jbe 0x6b9344e8
lea eax, [ebp - 0x12]
mov ecx, eax
call fcn.6b8e9ea0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x12]
mov dword [esp + 4], edx
lea edx, [ebp - 0x44]
add edx, 4
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x12]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x6b93457c
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 4
Function at 0x6b934588
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x90
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x6c], 0x1e240
mov byte [ebp - 0x68], 0x16
mov byte [ebp - 0x67], 0xac
mov byte [ebp - 0x66], 0x30
mov byte [ebp - 0x65], 0x25
mov byte [ebp - 0x64], 0x4e
mov byte [ebp - 0x63], 0x18
mov byte [ebp - 0x62], 0xb0
mov byte [ebp - 0x61], 0x36
mov byte [ebp - 0x60], 0xc3
mov byte [ebp - 0x5f], 0x28
mov byte [ebp - 0x5e], 0xb0
mov byte [ebp - 0x5d], 0x16
mov byte [ebp - 0x5c], 0x77
mov byte [ebp - 0x5b], 0x25
mov byte [ebp - 0x5a], 0xa6
mov byte [ebp - 0x59], 0x75
mov byte [ebp - 0x58], 0xea
mov byte [ebp - 0x57], 0xdb
mov byte [ebp - 0x56], 0x99
mov byte [ebp - 0x55], 0xc2
mov byte [ebp - 0x54], 0xed
mov byte [ebp - 0x53], 0xcb
mov byte [ebp - 0x52], 0x4f
mov byte [ebp - 0x51], 0xde
mov byte [ebp - 0x50], 0x18
mov byte [ebp - 0x4f], 0x6d
mov byte [ebp - 0x4e], 0xe1
mov byte [ebp - 0x4d], 0x1a
mov byte [ebp - 0x4c], 0xb0
mov byte [ebp - 0x4b], 2
mov byte [ebp - 0x4a], 0x6a
mov byte [ebp - 0x49], 0x20
mov byte [ebp - 0x48], 0xa5
mov byte [ebp - 0x47], 0xd7
mov byte [ebp - 0x46], 0x1b
mov byte [ebp - 0x45], 0x82
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x43], 0xb2
lea edx, [ebp - 0x40]
mov eax, 0
mov ecx, 0xb
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1e240
jmp 0x6b9346a1
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
mov dword [esp + 4], 0xfffffffd
mov dword [esp], eax
call sym.caesar_cipher_char__int_
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.mlcg.prng_unsigned_int_
mov dword [ebp - 0x10], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x25
jbe 0x6b93465c
lea eax, [ebp - 0x12]
mov ecx, eax
call fcn.6b8e9ea0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x12]
mov dword [esp + 4], edx
lea edx, [ebp - 0x40]
add edx, 4
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x12]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x6b9346f0
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 4
Function at 0x6b9346fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x90
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x6c], 0x1e240
mov byte [ebp - 0x68], 0x16
mov byte [ebp - 0x67], 0xb0
mov byte [ebp - 0x66], 0x25
mov byte [ebp - 0x65], 0x20
mov byte [ebp - 0x64], 0x4e
mov byte [ebp - 0x63], 0x50
mov byte [ebp - 0x62], 0xe6
mov byte [ebp - 0x61], 0x16
mov byte [ebp - 0x60], 0xe5
mov byte [ebp - 0x5f], 0x18
mov byte [ebp - 0x5e], 0xf8
mov byte [ebp - 0x5d], 0
mov byte [ebp - 0x5c], 0x3f
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0xa6
mov byte [ebp - 0x59], 0x64
mov byte [ebp - 0x58], 0xf5
mov byte [ebp - 0x57], 0xd5
mov byte [ebp - 0x56], 0x89
mov byte [ebp - 0x55], 0x8b
mov byte [ebp - 0x54], 0xaa
mov byte [ebp - 0x53], 0xa2
mov byte [ebp - 0x52], 0xe
mov byte [ebp - 0x51], 0xfa
mov byte [ebp - 0x50], 0xe
mov byte [ebp - 0x4f], 0x6d
mov byte [ebp - 0x4e], 0xe7
mov byte [ebp - 0x4d], 0x1c
mov byte [ebp - 0x4c], 0xe1
mov byte [ebp - 0x4b], 0x1b
mov byte [ebp - 0x4a], 0x3f
mov byte [ebp - 0x49], 0x21
mov byte [ebp - 0x48], 0xba
mov byte [ebp - 0x47], 0xd0
mov byte [ebp - 0x46], 0x15
mov byte [ebp - 0x45], 0x87
mov byte [ebp - 0x44], 0x4a
mov byte [ebp - 0x43], 0xc2
mov byte [ebp - 0x42], 0x41
mov byte [ebp - 0x41], 1
lea edx, [ebp - 0x40]
mov eax, 0
mov ecx, 0xb
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1e240
jmp 0x6b93481d
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
mov dword [esp + 4], 0xfffffffd
mov dword [esp], eax
call sym.caesar_cipher_char__int_
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.mlcg.prng_unsigned_int_
mov dword [ebp - 0x10], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x27
jbe 0x6b9347d8
lea eax, [ebp - 0x12]
mov ecx, eax
call fcn.6b8e9ea0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x12]
mov dword [esp + 4], edx
lea edx, [ebp - 0x40]
add edx, 4
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x12]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x6b93486c
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 4
Function at 0x6b9349c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x90
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], 0x1e240
mov byte [ebp - 0x70], 0x19
mov byte [ebp - 0x6f], 0xac
mov byte [ebp - 0x6e], 0x34
mov byte [ebp - 0x6d], 0x38
mov byte [ebp - 0x6c], 0x59
mov byte [ebp - 0x6b], 0x14
mov byte [ebp - 0x6a], 0xff
mov byte [ebp - 0x69], 0x50
mov byte [ebp - 0x68], 0xe0
mov byte [ebp - 0x67], 0x14
mov byte [ebp - 0x66], 0xf6
mov byte [ebp - 0x65], 0x1a
mov byte [ebp - 0x64], 0x73
mov byte [ebp - 0x63], 0x23
mov byte [ebp - 0x62], 0xa6
mov byte [ebp - 0x61], 0x33
mov byte [ebp - 0x60], 0xfa
mov byte [ebp - 0x5f], 0xdb
mov byte [ebp - 0x5e], 0x89
mov byte [ebp - 0x5d], 0x8b
mov byte [ebp - 0x5c], 0xab
mov byte [ebp - 0x5b], 0xf4
mov byte [ebp - 0x5a], 0x46
mov byte [ebp - 0x59], 0xd5
mov byte [ebp - 0x58], 0x4e
mov byte [ebp - 0x57], 0x21
mov byte [ebp - 0x56], 0xd8
mov byte [ebp - 0x55], 0x11
mov byte [ebp - 0x54], 0xfc
mov byte [ebp - 0x53], 6
mov byte [ebp - 0x52], 0x73
mov byte [ebp - 0x51], 0x23
mov byte [ebp - 0x50], 0xa5
mov byte [ebp - 0x4f], 0x82
mov byte [ebp - 0x4e], 0xc
mov byte [ebp - 0x4d], 0x87
mov byte [ebp - 0x4c], 0x5c
mov byte [ebp - 0x4b], 0xd8
mov byte [ebp - 0x4a], 0x1a
mov byte [ebp - 0x49], 0x65
mov byte [ebp - 0x48], 0xff
mov byte [ebp - 0x47], 0xcf
mov byte [ebp - 0x46], 0xaf
lea edx, [ebp - 0x44]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x1e240
jmp 0x6b934af5
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
xor eax, edx
mov byte [ebp - 0x11], al
movsx eax, byte [ebp - 0x11]
mov dword [esp + 4], 0xfffffffd
mov dword [esp], eax
call sym.caesar_cipher_char__int_
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call method.mlcg.prng_unsigned_int_
mov dword [ebp - 0x10], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x2a
jbe 0x6b934ab0
lea eax, [ebp - 0x12]
mov ecx, eax
call fcn.6b8e9ea0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x12]
mov dword [esp + 4], edx
lea edx, [ebp - 0x44]
add edx, 4
mov dword [esp], edx
mov ecx, eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x12]
mov ecx, eax
call sym.std::allocator_char_::allocator__
jmp 0x6b934b44
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 4
Function at 0x100013d0
Capabilities:
Create thread
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x100349b8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10001405
push 0x208
push 0
push 0x100349b8
call fcn.10002490
add esp, 0xc
push 0x208
lea eax, [esp + 0x24]
push 0
push eax
call fcn.10002490
add esp, 0xc
lea eax, [esp + 0x20]
push 0x104
push eax
push 0x1c
lea eax, [esp + 0x10]
push eax
push 0x10001380
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1000148a
push 0x10011b9c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000147f
call eax
cmp dword [0x10033f20], eax
je 0x1000148a
push 0x100349b8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x1000148a
push str.coreglobconfig.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x100349b8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100014b0
lea eax, [esp]
push eax
push 0
push 0
push 0x100013b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0xc
xor edx, edx
mov ecx, str.C:Windows_system32CertEnrollCtrl.exe
call fcn.10001030
add esp, 0xc
test al, al
jne 0x100014e7
sub esp, 0xc
mov edx, str.Event199f1e19031v2
mov ecx, str.C:Windows_system32waitfor.exe
call fcn.10001030
add esp, 0xc
test al, al
jne 0x100014e7
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x682260
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x68229a
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x6822a1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x682280
jmp 0x6822a3
mov eax, 0x1505
jmp 0x6822a3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x682990
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x682b56
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test ebp, ebp
je 0x682b4f
mov edx, 0x5e6ea9af
mov eax, ebp
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebp
sub edx, eax
jmp 0x682a33
mov edx, dword [esp]
mov eax, edx
sub eax, dword [esp + 4]
add ebx, eax
mov ebp, edx
not ebp
mov esi, dword [esp + 0xc]
and ebp, esi
not esi
mov eax, ecx
mov edx, 0x80078071
mul edx
and esi, dword [esp]
shr edx, 0xf
imul eax, edx, 0xfff1
mov dword [esp], eax
mov eax, edi
mov edx, 0x80078071
mul edx
sub ecx, dword [esp]
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov edx, 0x15b0
sub ebp, esi
je 0x682b4f
xor eax, eax
cmp edx, 8
mov dword [esp], edx
jb 0x682ab4
and edx, 0x1ff8
mov dword [esp + 4], edx
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add eax, 8
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 4]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 5]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 6]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 7]
add edi, esi
mov esi, ecx
xor esi, edi
and ecx, edi
lea ecx, [esi + ecx*2]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x682a50
add ebx, eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], ebp
mov esi, eax
sub esi, edx
jae 0x6829eb
mov ebp, edx
and ebp, 3
mov dword [esp + 4], eax
je 0x682b02
mov dword [esp + 8], esi
neg ebp
xor eax, eax
mov edx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec eax
cmp ebp, eax
jne 0x682ae0
mov ebp, dword [esp + 4]
sub ebp, eax
mov esi, dword [esp + 8]
cmp esi, 0xfffffffc
ja 0x6829e0
jmp 0x682b0f
mov ebp, eax
mov edx, ebx
cmp esi, 0xfffffffc
ja 0x6829e0
mov eax, dword [esp]
sub eax, ebp
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + ebp]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + ebp + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 3]
add edi, esi
add ecx, edi
add ebp, 4
cmp eax, ebp
jne 0x682b20
jmp 0x6829e0
shl ecx, 0x10
or ecx, edi
jmp 0x682b5b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x682b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x682bc8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x682bca
not eax
xor esi, esi
nop
nop
nop
nop
movzx ebx, byte [ecx + esi]
mov edi, eax
shr edi, 4
xor eax, ebx
and eax, 0xf
xor edi, dword [eax*4 + 0x6bf80c]
mov eax, edi
shr eax, 4
shr ebx, 4
mov ebp, ebx
and ebp, edi
and edi, 0xf
or edi, ebx
xor edi, ebp
xor eax, dword [edi*4 + 0x6bf80c]
inc esi
cmp edx, esi
jne 0x682b90
not eax
jmp 0x682bca
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x687c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x687c5b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0x687c63
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0x687cfb
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0x687ca9
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0x687d0a
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0x687cbe
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0x687cd0
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0x687c90
jmp 0x687cd9
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0x687c90
cmp edi, ebx
jge 0x687cf0
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0x687c94
jmp 0x687cf4
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0x687c9d
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0x687d92
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0x687d92
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0x687d44
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0x687d30
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0x687d92
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0x687d50
dec eax
mov ecx, 1
xor esi, esi
jmp 0x687dac
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0x687c5b
test edx, edx
mov dword [esp], ecx
js 0x687de0
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0x687df0
inc ebp
dec edx
cmp edi, ebp
jne 0x687dc0
mov edx, 0xffffffff
jmp 0x687df2
xor edi, edi
jmp 0x687df5
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0x687da0
and ebp, 3
je 0x687e28
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0x687e10
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0x687e2a
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0x687da0
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0x687e40
jmp 0x687da0
Function at 0x688990
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x6889f5
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax + 0xff8]
shr edx, 1
xor edi, edx
mov dword [ecx + eax + 0x1384], edi
add eax, 4
jne 0x6889b0
mov eax, 0x270
jmp 0x688acf
cmp eax, 0x4e0
jb 0x688acf
mov esi, dword [ecx + 0x9c4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 0xff8]
xor edi, edx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x688a10
mov esi, dword [ecx + 0xd50]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0xd54]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 4]
xor edi, edx
mov dword [ecx + eax*4 + 0x390], edi
inc eax
cmp eax, 0x18c
jne 0x688a60
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7ffffffe
mov edx, 0x80000000
and edx, dword [ecx + 0x1380]
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
xor eax, eax
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
ret