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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102cb9d9
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0
call fcn.100cadb0
lea eax, [ebp - 0xcc]
push eax
call fcn.100e12f0
mov edi, eax
cmp byte [edi + 9], 0
je 0x100e1202
xor ebx, ebx
nop word [eax + eax]
mov eax, 0xa0a0a0a1
lea esi, [ebx + edi]
mul ebx
mov cl, bl
inc ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x30
xor byte [esi], cl
cmp ebx, 0xa
jl 0x100e11e0
push edi
lea ecx, [ebp - 0xf0]
call fcn.10052420
sub esp, 0xc
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100521f0
push eax
lea ecx, [ebp - 0xc0]
call fcn.100edc00
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 3
call fcn.10052380
lea eax, [ebp - 0xd8]
push eax
call fcn.100e1320
mov edi, eax
cmp byte [edi + 0xa], 0
je 0x100e1272
xor ecx, ecx
nop dword [eax]
mov eax, 0xa0a0a0a1
lea esi, [ecx + edi]
mul ecx
shr edx, 5
movsx eax, dl
mov dl, cl
imul eax, eax, 0x33
inc ecx
sub dl, al
add dl, 0x30
xor byte [esi], dl
cmp ecx, 0xb
jl 0x100e1250
push edi
lea ecx, [ebp - 0x120]
call fcn.10052420
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.100521f0
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.10053180
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc0]
call fcn.100f0530
push 0x100f0500
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::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x108]
call fcn.10052380
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 3
call fcn.10052380
lea ecx, [ebp - 0xc0]
call fcn.100edbd0
call fcn.100c8520
int3
Function at 0x100e70b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
mov dword [ebp - 0x234], ecx
xor bl, bl
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100e7142
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
je 0x100e7141
nop word [eax + eax]
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
movzx ebx, bl
test eax, eax
mov eax, 1
cmove ebx, eax
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x100e7110
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.102c15f2
mov esp, ebp
pop ebp
ret

Function at 0x100ea960
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
mov dword [ebp - 8], str..NiGgEr
mov dword [ebp - 4], str..KsDumper
nop
push 0
push 0x80
push 3
push 0
push 1
push connect
push dword [ebp + esi*4 - 8]
call edi
cmp eax, 0xffffffff
jne 0x100ea9a9
inc esi
cmp esi, 2
jl 0x100ea980
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x10654a30]
lea ecx, [ebp - 0x70]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x10], 0x49514d1c
movaps xmm0, xmmword [0x10654a50]
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0xc], 0x100
movaps xmm0, xmmword [0x10654a10]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x10654980]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x106549c0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [str._3236CQT_TII_.]
movups xmmword [ebp - 0x20], xmm0
call fcn.100eaa20
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100eaa20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x65], 0
je 0x100eaa42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x3e]
inc eax
xor byte [edx], cl
cmp eax, 0x64
jb 0x100eaa30
mov byte [esi + 0x65], 0
mov eax, esi
pop esi
ret
Function at 0x100eda20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x100edaba
push esi
push edi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0
call edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
push eax
push 0x10357394
lea eax, [ebp - 8]
push str.CONIN_
push eax
call esi
push 2
call edi
push eax
push 0x10357c60
lea eax, [ebp - 8]
push str.CONOUT_
push eax
call esi
push 1
call edi
push eax
push 0x10357c60
lea eax, [ebp - 8]
push str.CONOUT_
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x3c
push 0
push 0
push 0
push 0x100ed790
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100e1ac0
push 0
push 0
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.102c15f2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100f0ee0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x106cd9b8]
lea eax, [ebp - 0xc]
push esi
push eax
push 0x40
push 4
mov esi, ecx
movss dword [ebp - 0xc], xmm1
push esi
push dword [0x106d5b3c]
movss dword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 4
lea eax, [ebp - 8]
push eax
push esi
push dword [0x106d5b3c]
call dword [0x106d5afc]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.102c15f2
mov esp, ebp
pop ebp
ret

Function at 0x100f0fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102cc57d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.102c16f8
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x100f8e20
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x100f1032
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102c15f2
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x100f1050
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102cc5c5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1066bbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.100f5c80
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100f10d3
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x100f1245
cmp dword [0x1070c908], 0xaaaaaaa
jne 0x100f10ea
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x1070c904
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x24], 0
call fcn.102c16f8
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1070c908]
mov ebx, dword [0x1070c91c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10654960]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10654960]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1070c900]
comiss xmm1, xmm0
jbe 0x100f11f2
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.102c25a0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100f11d1
cmp ebx, 0x200
jae 0x100f11cf
shl ebx, 3
cmp ebx, ecx
jae 0x100f11d1
mov ebx, ecx
push ebx
call fcn.100f2f30
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100f5c80
mov ecx, dword [0x1070c908]
mov edx, dword [eax]
jmp 0x100f11f8
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x1070c908], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x1070c918]
mov ecx, dword [0x1070c90c]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x1070c904]
jne 0x100f1229
mov dword [ecx + eax*8], esi
jmp 0x100f1238
cmp edi, edx
jne 0x100f1232
mov dword [ecx + eax*8], esi
jmp 0x100f123c
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100f123c
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100f2f30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100f2f5c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x1070c904]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1070c90c
lea eax, [edi + edi]
push eax
call fcn.100ef990
mov eax, dword [0x1070c904]
lea ebx, [edi - 1]
mov dword [0x1070c918], ebx
mov dword [0x1070c91c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100f3096
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x1070c90c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x100f2ff4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100f3061
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x100f302e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100f3026
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x100f3061
cmp ebx, edx
je 0x100f303e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x100f3072
cmp ebx, edx
jne 0x100f3032
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x100f3096
mov ebx, dword [0x1070c918]
jmp 0x100f2fa2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100f3061
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1010e6a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1010e701
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1010e6e4
cmp edi, 2
jb 0x1010e6e4
cmp byte [esi], cl
jne 0x1010e6e4
cmp byte [esi + 1], cl
jne 0x1010e6e4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1064bcf0]
jmp 0x1010e6b5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1064bcf0]
test edi, edi
jne 0x1010e6b5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1010e730
cmp cl, 0x23
jne 0x1010e717
cmp byte [esi], cl
jne 0x1010e717
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1064bcf0]
test cl, cl
jne 0x1010e708
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1010e840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1010e854
mov dword [ebx], 0
mov edx, 0x10356088
call fcn.1010e740
mov esi, eax
test esi, esi
je 0x1010e942
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1010e938
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1010e938
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1010e938
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1010e938
mov eax, dword [0x106d663c]
test eax, eax
je 0x1010e8cc
inc dword [eax + 0xa8]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1010e938
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1010e91d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x106d663c]
add esp, 4
test eax, eax
je 0x1010e90a
dec dword [eax + 0xa8]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1010e92f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10110e30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0xf0]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xf4]
subss xmm0, xmm1
mov ecx, dword [edx + 0xd4]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xdc]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1064bcf0]
sub edi, 1
jne 0x10110eb0
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.102c15f2
mov esp, ebp
pop ebp
ret 4
Function at 0x1011a8c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x106d663c]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e30]
mov esi, 4
mov eax, dword [edi + 0xd4]
add edi, 0xd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1064bcf0]
sub esi, 1
jne 0x1011a901
mov eax, dword [0x106d663c]
not ebx
cmp dword [eax + 0x3e50], ebx
jne 0x1011a93b
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10121d60
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x1011a966
inc esi
test ecx, ecx
je 0x1011a954
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1011a959
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.101225e0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102c15f2
mov esp, ebp
pop ebp
ret
Function at 0x10120de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x524c], 0
lea esi, [edi + 0x5250]
je 0x10120e62
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10120e1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.101228b0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1010f120
mov edx, dword [esi]
mov ecx, 0x106d6638
push dword [edi + 0x524c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5258]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1010f120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1012aea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1012aeda
mov eax, dword [0x106d663c]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1012aecd
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1012af0b
mov eax, dword [0x106d663c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1012aefe
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1012af3c
mov eax, dword [0x106d663c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1012af2f
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1012af89
mov eax, dword [0x106d663c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1012af7c
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1012afba
mov eax, dword [0x106d663c]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1012afad
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1012afeb
mov eax, dword [0x106d663c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1012afde
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1012db20
Function at 0x10148990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
or eax, 2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.10148aa0
Function at 0x10158e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10654a80]
xor eax, eax
push ebx
mov ebx, dword [0x1070dc90]
push esi
push edi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0xd0d9f6d6
mov dword [ebp - 0x20], 0xb9cdd1
mov byte [ebp - 0x1c], 1
lea ecx, [eax - 0x56]
xor byte [ebp + eax - 0x34], cl
inc eax
cmp eax, 0x17
jb 0x10158e38
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.ntdll.dll
mov byte [ebp - 0x1c], 0
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
mov esi, eax
mov dword [ebp - 0x14], 0
push 0x3000
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xa
push eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x38], eax
call eax
push eax
call esi
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov al, byte [ecx + ebx]
mov byte [edx + ecx], al
inc ecx
cmp ecx, 5
jb 0x10158e94
mov eax, dword [ebp - 0x14]
mov ecx, ebx
movaps xmm0, xmmword [0x10654a70]
sub ecx, eax
sub ecx, 5
mov dword [ebp - 0x24], 0xd2d1def7
movups xmmword [ebp - 0x34], xmm0
mov byte [eax + 5], 0xe8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x100c6cc
mov dword [eax + 6], ecx
xor ecx, ecx
nop
lea eax, [ecx - 0x56]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x16
jb 0x10158ed0
push str.ntdll.dll
mov byte [ebp - 0x1d], 0
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 5
push eax
push 0x40
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x38]
push eax
call edi
mov eax, 0x1015a160
mov byte [ebx], 0xe8
mov esi, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov dword [ebp - 0x18], ebx
mov dword [ebx + 1], eax
call dword [ebp - 0x38]
lea ecx, [ebp - 8]
push ecx
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.102c15f2
mov esp, ebp
pop ebp
ret 0x10