joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10078d30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x113261fc]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], edx
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x10078d59
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10078d50
sub esi, ecx
test edx, edx
je 0x10078d63
inc dword [edx + 0x36c]
push ebx
push dword [0x11326204]
lea eax, [esi + 1]
push eax
call dword [0x1118f8a0]
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], ebx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0xc]
xor edx, edx
add esp, 0x14
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x10078ef2
nop
mov al, byte [ecx]
cmp al, 0xa
je 0x10078f26
cmp al, 0xd
je 0x10078f26
mov esi, ecx
cmp ecx, ebx
jae 0x10078dc7
mov al, byte [esi]
cmp al, 0xa
je 0x10078dc7
cmp al, 0xd
je 0x10078dc7
inc esi
cmp esi, ebx
jb 0x10078db8
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10078ee4
cmp al, 0x5b
jne 0x10078ecb
cmp esi, ecx
jbe 0x10078ecb
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10078ec8
lea edi, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, edi
push eax
push 0x5d
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x10078e33
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x10078e33
mov eax, dword [ebp - 4]
lea edx, [ecx + 1]
mov dword [ebp - 4], edx
mov byte [eax], 0
jmp 0x10078e3b
mov dword [ebp - 4], edi
mov edi, 0x11136808
mov cl, byte [edi]
or eax, 0xffffffff
mov ebx, dword [0x113261fc]
inc edi
test cl, cl
je 0x10078e7e
or ebx, 0xffffffff
nop
cmp cl, 0x23
jne 0x10078e5f
cmp byte [edi], cl
jne 0x10078e5f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x11135a70]
test cl, cl
jne 0x10078e50
mov ebx, dword [0x113261fc]
mov edx, dword [ebx + 0x2c50]
xor ecx, ecx
not eax
test edx, edx
jle 0x10078e9f
mov edi, dword [ebx + 0x2c58]
cmp dword [edi + 4], eax
je 0x10078eab
inc ecx
add edi, 0x18
cmp ecx, edx
jl 0x10078e92
xor edi, edi
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x10078ee4
test edi, edi
je 0x10078ea1
push dword [ebp - 4]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 8]
call eax
mov ebx, dword [ebp + 0xc]
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x10078ee4
mov ebx, dword [ebp + 0xc]
test edi, edi
je 0x10078ee4
test edx, edx
je 0x10078ee4
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 8]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10078da0
mov esi, dword [ebp - 0xc]
pop ebx
test esi, esi
je 0x10078f06
mov eax, dword [0x113261fc]
test eax, eax
je 0x10078f06
dec dword [eax + 0x36c]
push dword [0x11326204]
push esi
call dword [0x1118f8a4]
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov byte [eax + 0x2c3c], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10078da0
Function at 0x1007d590
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x113261fc]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x198c]
mov esi, 4
mov eax, dword [ebp + 8]
add edi, 0x1c0
mov dword [ebp + 8], eax
mov eax, dword [edi]
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 + 0x11135a70]
sub esi, 1
jne 0x1007d5c0
mov ecx, dword [edi + 4]
not ebx
mov esi, dword [edi]
cmp esi, ecx
jne 0x1007d607
inc esi
test ecx, ecx
je 0x1007d5f5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007d5fa
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.10081cc0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1007ed70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
mov eax, dword [0x113261fc]
mov dword [eax + 0x2c40], 0
je 0x1007ee65
push esi
mov esi, dword [0x113261fc]
push edi
lea edi, [esi + 0x2c44]
mov dword [esi + 0x2c40], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1007edc4
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, edi
call fcn.10081bc0
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1007edd9
push 8
mov ecx, edi
call fcn.10081bc0
mov eax, dword [edi]
mov ecx, dword [edi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2c50], 0
jle 0x1007ee1c
xor ebx, ebx
mov eax, dword [esi + 0x2c58]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2c50]
jl 0x1007edf7
mov edi, dword [edi]
mov ebx, 0x11326200
push 0x11136810
push dword [ebp + 8]
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2c4c]
test eax, eax
cmovne ebx, eax
call fcn.10077150
mov esi, eax
add esp, 8
test esi, esi
je 0x1007ee62
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100adfb0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100adffb
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100adff4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0x1113e600
jmp 0x100ae000
push 0x1113e62c
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.10047230
add esp, 8
mov ecx, eax
push esi
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___long_int_]
push 0x100ad020
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_____]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100af630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x100
push eax
push 0x20019
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100af6cc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100af6c5
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
xorps xmm0, xmm0
lea edx, [ecx + 1]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100af6a6
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
mov ecx, esi
call fcn.10003a40
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1113e7f4
jmp 0x100af6d1
push 0x1113e81c
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.10047230
add esp, 8
mov ecx, eax
push esi
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___long_int_]
push 0x100ad020
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_____]
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
pop esi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov esp, ebp
pop ebp
ret

Function at 0x100b0120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1131f3dc
call fcn.10024820
mov ecx, 0x1131f3dc
call fcn.10024850
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100b01e1
sub eax, 1
jne 0x100b01f8
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [0x113262e8], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x100aefe0
push 0
push 0
call esi
push 0
push 0
push edi
push 0x100afa30
push 0
push 0
call esi
push 0
push 0
push edi
push 0x100af730
push 0
push 0
call esi
push 0
push 0
push edi
push 0x100af8b0
push 0
push 0
call esi
push 0
push 0
push edi
push 0x100aee70
push 0
push 0
call esi
push 0
push 0
push edi
push 0x100afc90
push 0
push 0
call esi
push 0
push 0
push edi
push 0x100ae030
push 0
push 0
call esi
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x100b01f8
call fcn.10066800
call fcn.100658d0
mov ecx, eax
call fcn.100b1e80
mov eax, 1
pop ebp
ret 0xc
Function at 0x100b4240
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
cmp dword [eax + 0x14], 0xf
jbe 0x100b4251
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x100b4296
push 0x111424ec
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.10047230
add esp, 8
mov ecx, eax
push 0x100ad020
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_____]
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [0x1131f3e4]
mov eax, ebx
mov esi, dword [ebp - 0xc]
mov ecx, eax
sub ecx, dword [0x1131f3e0]
mov dword [ebp - 8], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp + 8], ebx
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp esi, edi
jae 0x100b42f9
lea ebx, [esi + esi*2]
push 0x1131f3e0
push dword [ebp - 8]
shl ebx, 4
add ebx, dword [0x1131f3e0]
push ebx
mov dword [ebp + 8], ebx
call fcn.100247b0
jmp 0x100b4349
jbe 0x100b4352
mov ecx, dword [0x1131f3e8]
mov eax, 0x2aaaaaab
sub ecx, dword [0x1131f3e0]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x100b4336
lea eax, [ebp + 0xb]
mov ecx, 0x1131f3e0
push eax
push esi
call fcn.100b0400
mov ebx, dword [0x1131f3e4]
mov dword [ebp + 8], ebx
jmp 0x100b4352
push 0x1131f3e0
sub esi, edi
push esi
push ebx
call fcn.100b0670
mov ebx, eax
mov dword [ebp + 8], ebx
mov dword [0x1131f3e4], ebx
add esp, 0xc
mov edi, dword [0x1131f3e0]
cmp edi, ebx
je 0x100b43e1
lea esi, [edi + 0xc]
push 0
lea eax, [ebp - 0x10]
push eax
push 0xc
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b43d7
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 8]
cmp eax, ecx
ja 0x100b43ab
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x100b43a5
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x100b43b7
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.10010260
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100b43c1
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [ebp + 8]
add edi, 0x30
add esi, 0x30
cmp edi, ebx
jne 0x100b4363
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100baf70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1132822c]
test eax, eax
je 0x100baf8c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100bafdb
mov eax, dword [eax]
test eax, eax
jne 0x100baf80
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100bafe9
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100bafb5
mov ecx, dword [0x1132822c]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x1132822c], eax
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x100bb970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x11328220]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100bb9b8
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100bb9dd
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100bb9fe
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100bb9fe
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100bb9f8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100bb9fe
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100bbae0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100bbbcb
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100bbbc4
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], 0x10
jb 0x100bbbab
call ebx
cmp dword [ebp - 0x10], eax
jne 0x100bbbab
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x100bbbab
mov edx, dword [esi]
test edx, edx
jne 0x100bbb74
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x113267cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100bbbc4
jmp 0x100bbb9f
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100bbb9f
shl eax, 3
push eax
push edx
push 0
push dword [0x113267cc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100bbbc4
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100bbb33
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100bbc21
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x100bbc21
xor ecx, ecx
mov dword [ebp + 8], ecx
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100bbc12
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.100bbe90
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
inc ebx
add ecx, 4
mov dword [ebp + 8], ecx
cmp ebx, dword [esi + 8]
jb 0x100bbbe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100bbfd0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x100bc034
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x100bc023
xor ecx, ecx
mov dword [ebp + 8], ecx
push esi
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + ecx]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100bc013
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
inc ebx
add ecx, 4
mov dword [ebp + 8], ecx
cmp ebx, dword [edi + 8]
jb 0x100bbff0
pop esi
push dword [edi]
push 0
push dword [0x113267cc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
pop ebp
ret
Function at 0x100bc7b0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
push edi
lea eax, [ebp - 0x11c]
mov edi, ecx
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov eax, dword [0x111497e0]
lea esi, [edi + 0xcac]
xorps xmm0, xmm0
mov dword [ebp - 8], 0xc
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
movq xmm0, qword [0x111497d8]
mov dword [ebp - 4], 0xf
movq qword [ebp - 0x18], xmm0
mov byte [ebp - 0xc], 0
cmp esi, eax
je 0x100bc825
mov ecx, esi
call fcn.10003ba0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 8]
movq qword [esi + 0x10], xmm0
cmp dword [esi + 0x14], 0xf
jbe 0x100bc82d
mov esi, dword [esi]
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call esi
push 0
push 0x111497e8
call esi
mov ecx, edi
call fcn.100c8ae0
mov ecx, edi
call fcn.100bd090
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100cbe60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
cmp ecx, 0x40
jae 0x100cbffa
lea eax, [ecx*8]
add dword [esi], eax
push edi
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x2c], 0x80
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x38
jbe 0x100cbec0
cmp eax, 0x40
jae 0x100cbea8
mov byte [eax + esi + 0x2c], 0
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x40
jb 0x100cbe97
lea edi, [esi + 0x2c]
push edi
push esi
call fcn.100cc2e0
add esp, 8
mov dword [esi + 0x28], 0
xor eax, eax
jmp 0x100cbec5
lea edi, [esi + 0x2c]
jae 0x100cbed6
mov byte [eax + esi + 0x2c], 0
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x38
jb 0x100cbec5
movzx eax, byte [esi + 7]
mov byte [esi + 0x64], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x66], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x69], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x6a], al
movzx eax, byte [esi]
push edi
push esi
mov byte [esi + 0x6b], al
call fcn.100cc2e0
mov ecx, dword [ebp + 0xc]
add esp, 8
movzx eax, byte [esi + 0xb]
mov byte [ecx], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 1], al
movzx eax, byte [esi + 9]
mov byte [ecx + 2], al
movzx eax, byte [esi + 8]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x11]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x13], al
movzx eax, byte [esi + 0x1f]
mov byte [ecx + 0x14], al
movzx eax, byte [esi + 0x1e]
mov byte [ecx + 0x15], al
movzx eax, byte [esi + 0x1d]
mov byte [ecx + 0x16], al
movzx eax, byte [esi + 0x1c]
mov byte [ecx + 0x17], al
movzx eax, byte [esi + 0x23]
mov byte [ecx + 0x18], al
movzx eax, byte [esi + 0x22]
mov byte [ecx + 0x19], al
movzx eax, byte [esi + 0x21]
mov byte [ecx + 0x1a], al
movzx eax, byte [esi + 0x20]
mov byte [ecx + 0x1b], al
movzx eax, byte [esi + 0x27]
mov byte [ecx + 0x1c], al
movzx eax, byte [esi + 0x26]
mov byte [ecx + 0x1d], al
movzx eax, byte [esi + 0x25]
mov byte [ecx + 0x1e], al
movzx eax, byte [esi + 0x24]
mov byte [ecx + 0x1f], al
pop edi
pop esi
pop ebp
ret
Function at 0x100cc000
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x28], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
pop ebp
ret