joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001621
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x4044592d
mov cl, 0x2d
mov dword [ebp - 0xc], 0x59486a48
mov dword [ebp - 8], 0x48404479
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001654
mov cl, byte [ebp - 0x10]
jmp 0x10001645
mov byte [ebp - 4], dl
mov cl, 0x63
mov dword [ebp - 0x20], 0x11060863
mov eax, edx
mov dword [ebp - 0x1c], 0x500f060d
mov dword [ebp - 0x18], 0xf074d51
mov word [ebp - 0x14], 0xf
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001685
mov cl, byte [ebp - 0x20]
jmp 0x10001676
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], dl
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000936d
cmp al, 0xe9
jne 0x100016b0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x1000174a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1002f014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str..mKOZKAMK__o]
push ebx
xor ebx, ebx
movups xmmword [ebp - 0x28], xmm0
mov ecx, ebx
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1000176a
mov byte [ebp - 0x19], bl
mov cl, 0x2c
mov dword [ebp - 0x18], 0x7e69672c
mov eax, ebx
mov dword [ebp - 0x14], 0x1f606962
mov dword [ebp - 0x10], 0x4048021e
mov word [ebp - 0xc], 0x40
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x100017a8
mov cl, byte [ebp - 0x18]
jmp 0x10001799
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], bl
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop ebx
call fcn.100204d5
mov esp, ebp
pop ebp
ret
Function at 0x10001877
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1002b328
push 0x10020f0a
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x1002f014]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 0x50], 0
and dword [ebp - 0x48], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x100018f5
xor al, al
jmp 0x10001975
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov byte [eax], 0xc3
lea eax, [ebp - 0x20]
push eax
push 0x140
push dword [ebp - 0x44]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000191e
xor al, al
jmp 0x10001975
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001963
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100204d5
mov esp, ebp
pop ebp
ret
Function at 0x10001e42
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1002a460]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x525c
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001e5f
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.100021a7
cmp eax, 0xba2d38a3
je 0x10001e84
xor al, al
jmp 0x10001eb3
movaps xmm0, xmmword [0x10029da0]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10001e91
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.100021a7
cmp eax, 0x27b35bb1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x100020fd
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
push 0x400
xor edi, edi
mov esi, 0x10030c80
push edi
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 8
push edi
call fcn.10002172
shl eax, 0x18
push 8
mov dword [esi], eax
pop edx
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor eax, ecx
sub edx, 1
jne 0x10002125
push 0x20
push eax
call fcn.10002172
mov dword [esi], eax
inc edi
add esi, 4
cmp esi, 0x1003107c
jle 0x10002115
call fcn.100019e0
pop edi
pop esi
test al, al
je 0x1000216f
call fcn.10001e42
test al, al
je 0x1000216f
call fcn.10001eb7
test al, al
je 0x1000216f
mov al, 1
ret
xor al, al
ret

Function at 0x100021a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1002f014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x100245dc
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x1000225a
cmp dword [ebp - 0x408], eax
je 0x1000225a
push ebx
push dword [ebp - 0x408]
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x1000224a
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.1000226d
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
jne 0x10002213
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
not esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100204d5
mov esp, ebp
pop ebp
ret 4

Function at 0x1000226d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1000229e
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx]
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10030c80]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x10002280
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x100022a3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x1002a090]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0x16131a
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov dword [esi], 0xff0000
mov ecx, edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x12
jb 0x100022d9
push ecx
mov byte [ebp - 1], dl
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x13]
call fcn.10019a9c
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000318b
Capabilities:
Encode data using xor

Disassembly:
push 0x38
mov eax, 0x10021eaa
call fcn.100215d1
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
push 0x10028d6c
mov dword [ebp - 0x44], ebx
call fcn.10004090
mov dword [ebp - 4], ebx
mov al, byte [esi + 2]
cmp al, 0xff
je 0x10003305
cmp al, 1
jne 0x100031f7
movaps xmm0, xmmword [0x1002a170]
mov ecx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x2820
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x100031d6
lea ecx, [ebp - 0x3b]
mov byte [ebp - 0x2a], bl
call fcn.10004078
push eax
lea eax, [ebp - 0x3b]
jmp 0x100032fc
jle 0x10003229
cmp al, 5
jge 0x1000322d
movaps xmm0, xmmword [0x1002a330]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x2532213b
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x10003214
mov byte [ebp - 0x2c], bl
jmp 0x100032f0
cmp al, 5
jl 0x10003257
cmp al, 0xa
jge 0x1000325b
movaps xmm0, xmmword [0x1002a150]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x2c2e283b
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x10003248
jmp 0x10003221
cmp al, 0xa
jl 0x10003285
cmp al, 0x1a
jge 0x10003289
movaps xmm0, xmmword [0x1002a1d0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x362e2520
mov byte [ebp - 0x2c], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x10003276
jmp 0x10003221
cmp al, 0x1a
jl 0x100032b5
cmp al, 0x65
jge 0x100032b9
movaps xmm0, xmmword [0x1002a070]
mov ecx, ebx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0xc0b
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x11
jb 0x100032a3
jmp 0x100031e3
cmp al, 0x65
jl 0x10003305
movsx eax, al
cmp eax, 0xc9
jge 0x10003305
movaps xmm0, xmmword [0x1002a6c0]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x6d6a6d65
mov word [ebp - 0x2c], 0x636a
mov byte [ebp - 0x2a], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x15
jb 0x100032e0
mov byte [ebp - 0x2a], bl
lea ecx, [ebp - 0x3f]
call fcn.10004078
push eax
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004009
lea eax, [ebp - 0x28]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov byte [edi], bl
call fcn.10003b00
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10003f3c
mov eax, edi
call fcn.1002157b
ret 4
Function at 0x100040be
Capabilities:
Encode data using xor

Disassembly:
push 0xcc
mov eax, 0x10021f7f
call fcn.100215d1
mov edi, ecx
mov dword [ebp - 0xc4], edi
and dword [ebp - 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10004340
xor edx, edx
mov cl, 0x71
mov dword [ebp - 4], edx
mov al, 0x2c
movaps xmm0, xmmword [0x1002a000]
xor al, cl
mov byte [ebp - 0xac], cl
mov ecx, edx
mov byte [ebp - 0xab], al
mov byte [ebp - 0xaa], dl
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x3a4115
mov al, byte [ebp - 0xc0]
xor byte [ebp + ecx - 0xbf], al
inc ecx
cmp ecx, 0x12
jb 0x1000413a
push edx
lea eax, [ebp - 0xd8]
mov byte [ebp - 0xad], dl
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea edx, [ebp - 0xbf]
lea ecx, [ebp - 0xa8]
mov esi, eax
push 0x10004cf1
push 0x10004d0b
call fcn.10004b3b
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edx, esi
mov ecx, eax
call fcn.10004cc7
mov ecx, eax
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea edx, [ebp - 0xab]
mov ecx, eax
call fcn.10004b3b
push edi
lea ecx, [ebp - 0xa8]
call fcn.100042f4
lea ecx, [ebp - 0x58]
call fcn.10004310
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, edi
call fcn.1002157b
ret
Function at 0x100041f5
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x10021faf
call fcn.100215d1
call fcn.100020fd
test al, al
je 0x10004212
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x2c]
call fcn.100040be
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
inc eax
push eax
push ecx
push 0xfe5d24
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.10008bc9
call fcn.10007e20
call fcn.10007ffc
call fcn.1000bbbd
mov dword [0x10031148], eax
test eax, eax
je 0x10004260
mov ecx, eax
call fcn.1000bd44
call fcn.1000969b
call fcn.1000b975
call fcn.1000c150
push 0x70
call fcn.100204e6
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], eax
call fcn.1000ab51
push 0x64
mov dword [0x10031080], eax
call fcn.100204e6
pop ecx
push 0x64
mov esi, eax
push 0
push esi
mov dword [ebp - 0x30], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10006e2f
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [0x10031088], eax
call fcn.10003f3c
call fcn.1002157b
ret
Function at 0x10006b21
Capabilities:
Encode data using xor

Disassembly:
push 0x184
mov eax, 0x100223da
call fcn.100215d1
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x3d
xor ebx, ebx
lea ecx, [ebp - 0x130]
push eax
mov dword [ebp - 0x190], ebx
mov byte [ebp - 0x16f], bl
call fcn.10004090
mov dword [ebp - 4], ebx
test edi, edi
jne 0x10006b89
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003b00
jmp 0x10006c7d
movaps xmm0, xmmword [0x1002a650]
mov edx, ebx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x60682860
mov dword [ebp - 0x178], 0xd606521
mov dword [ebp - 0x174], 0x8607f
mov cl, byte [ebp - 0x18c]
xor byte [ebp + edx - 0x18b], cl
inc edx
cmp edx, 0x1a
jb 0x10006bb7
lea eax, [ebp - 0x18b]
mov byte [ebp - 0x171], bl
push eax
lea ecx, [ebp - 0x148]
call fcn.10004090
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x118], edi
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
lea ecx, [ebp - 0x110]
call fcn.10004078
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x130]
call fcn.10004009
lea eax, [ebp - 0x130]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.10003b00
push ebx
push 1
lea ecx, [ebp - 0x148]
call fcn.10003f3c
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.10003f3c
mov eax, esi
call fcn.1002157b
ret

Function at 0x10007286
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x1002f014]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], 0x128
push esi
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x100072da
cmp dword [esp + 0x18], ebx
je 0x100072e0
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100072c8
jmp 0x100072e3
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100204d5
mov esp, ebp
pop ebp
ret

Function at 0x10007362
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x1002f05c], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x1002f05c], ecx
inc edx
cmp edx, esi
jl 0x10007377
mov dword [0x1002f058], esi
pop esi
pop ebp
ret 8
Function at 0x10007431
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x10007479
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10007441
jmp 0x10007486
cmp dword [esi], 0x4e0
jb 0x10007486
call fcn.100074c0
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x100074c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x100074d0
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x10007510
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret
Function at 0x10007e20
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x1002a3e0]
movups xmmword [ebp - 0x34], xmm0
push ebx
movaps xmm0, xmmword [0x1002a3f0]
xor ebx, ebx
movups xmmword [ebp - 0x24], xmm0
mov ecx, ebx
movaps xmm0, xmmword [str.N_r_B_DIH__r_]
push esi
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x10007e4d
push ebx
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], bl
push eax
push ebx
push 0x100310d0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x10007f31
push 0x100310cc
push ebx
push ebx
push 0x8004
push dword [0x100310d0]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10007f31
movaps xmm0, xmmword [str.aI_Z]
mov ecx, ebx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x9510700
movaps xmm0, xmmword [0x1002a530]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x3551321
movaps xmm0, xmmword [0x1002a500]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x40111b34
mov word [ebp - 4], 0x1c
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10007ed6
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], bl
push eax
push dword [0x100310cc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10007f31
push 0x100310c8
push 0x800000
push dword [0x100310cc]
push 0x6801
push dword [0x100310d0]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x10007f31
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100310c4], eax
call fcn.1001f120
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1001f5f0
mov ebx, 0x10007d5f
push ebx
push 0x100310c0
call fcn.1001ee30
call fcn.1001f180
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10007f9c
mov dword [0x100310c0], 0x60f6e0
call fcn.1001f120
call esi
push eax
call fcn.1001f5f0
push ebx
push 0x100310c0
call fcn.1001e9a0
call fcn.1001f180
call fcn.1001f120
call esi
push eax
call fcn.1001f5f0
mov ebx, 0x10007d81
push ebx
push 0x100310bc
call fcn.1001ee30
call fcn.1001f180
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10007ff6
mov dword [0x100310bc], 0x60eab0
call fcn.1001f120
call esi
push eax
call fcn.1001f5f0
push ebx
push 0x100310bc
call fcn.1001e9a0
call fcn.1001f180
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a11f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1002f014]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1002a450]
push ebx
mov ebx, dword [0x10031128]
push esi
mov dword [ebp - 0x20], ecx
xor ecx, ecx
push edi
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0xf
jb 0x1000a14c
sub esp, 0x18
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10004090
lea ecx, [ebp - 0x1c]
call fcn.1001908b
add esp, 0x18
xor edi, edi
test ebx, ebx
jle 0x1000a1b2
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000a18a
sub esi, ecx
mov eax, edi
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
xor edx, edx
div esi
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x20]
xor byte [ecx + edi], al
inc edi
cmp edi, ebx
jl 0x1000a17c
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.10003f3c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100204d5
mov esp, ebp
pop ebp
ret