joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10096090
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019966d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 8]
push ebx
call fcn.1009c3c0
test al, al
jne 0x100960de
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp - 0x10]
test edi, edi
jle 0x10096279
lea eax, [ebp + 0xb]
mov dword [ebp - 0x30], 0
push 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
call fcn.1013ca30
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
add edi, 1
je 0x10096175
cmp edi, 0x7fffffff
ja 0x1009628f
push edi
call fcn.100490d0
add esp, 4
mov dword [ebp - 0x30], eax
lea esi, [eax + edi]
push edi
push 0
push eax
mov dword [ebp - 0x28], esi
call fcn.1013f8f0
add esp, 0xc
mov dword [ebp - 0x2c], esi
jmp 0x10096178
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], 0
sub esi, eax
jne 0x100961cc
push str.vector_subscript_out_of_range
push 0x101d467c
push esi
push 0x762
push 0x101d5190
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x100961ab
int3
push 0
push 0x762
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_vector
push 0x101d47ac
push str._vector_subscript_out_of_range_
call fcn.10152640
mov eax, dword [ebp - 0x30]
add esp, 0x14
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x158], 0
je 0x10096205
push 0x1a9
push 0x101d9ed0
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10089a80
add esp, 0x10
push 3
lea ecx, [ebp - 0x1c]
call fcn.10139310
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10096231
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x10096231
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x10096224
lea ecx, [ebp - 0x1c]
call fcn.101393c0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10096264
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push ecx
call fcn.10048760
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.1013c8d0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10048d00
int3
Function at 0x100b1280
Capabilities:
Terminate process

Disassembly:
sub esp, 0x440
mov eax, dword [0x101f6e00]
xor eax, esp
mov dword [esp + 0x438], eax
push esi
mov esi, dword [esp + 0x448]
lea eax, [esp + 8]
push eax
call fcn.1015a060
add esp, 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1015c940
push 0x101da8b8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push str.BYRACS_Log.txt
push eax
call fcn.1015dc20
add esp, 0x14
cmp dword [esp + 4], 0
je 0x100b1351
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.1013f8f0
mov eax, dword [esp + 0x30]
add esp, 0xc
inc eax
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x76c
push eax
lea eax, [esp + 0x54]
push str.____04d__02d__02d__02d:_02d:_02d__BYRACS_info___s__n
push eax
call fcn.100ecae0
add esp, 0x24
lea eax, [esp + 0x38]
push eax
push 0x101d467c
push dword [esp + 0xc]
call fcn.100a0bc0
add esp, 0xc
push dword [esp + 4]
call fcn.10153180
add esp, 4
cmp byte [esp + 0x44c], 0
jne 0x100b136b
mov ecx, dword [esp + 0x43c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.1013c8c0
add esp, 0x440
ret 8
push 0
call fcn.1015c310
int3

Function at 0x100b1380
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x100b141e
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x100b141e
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x100b141e
cmp dword [eax + edi], 0x4550
jne 0x100b141e
mov ecx, 0x14c
cmp word [eax + edi + 4], cx
jne 0x100b141e
mov eax, dword [eax + edi + 0x78]
xor esi, esi
add eax, edi
mov ecx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x24]
add ecx, edi
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x100b141e
mov eax, dword [ebp + esi*4]
mov ecx, dword [esp + 0x1c]
add eax, edi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100b1410
test dl, dl
je 0x100b140c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100b1410
add eax, 2
add ecx, 2
test dl, dl
jne 0x100b13f0
xor eax, eax
jmp 0x100b1415
sbb eax, eax
or eax, 1
test eax, eax
je 0x100b1428
inc esi
cmp esi, ebx
jb 0x100b13e5
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
je 0x100b141e
push 0
push 0x102
push 0x1a
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 8
Function at 0x100bc1e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x101f6e00]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
mov edi, dword [0x10297f7c]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100bc294
movaps xmm0, xmmword [0x101dedc0]
sub esp, 0x1c
mov esi, esp
mov word [esp + 0x40], 0x2968
movups xmmword [esp + 0x30], xmm0
mov byte [esp + 0x42], 0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x31]
xor al, byte [esp + 0x30]
mov byte [esp + ecx + 0x31], al
inc ecx
cmp ecx, 0x11
jb 0x100bc230
sub esp, 0x1c
mov byte [esp + 0x5e], 0
mov ecx, esp
lea edx, [esp + 0x4d]
xorps xmm0, xmm0
lea ebx, [edx + 1]
mov dword [ecx], 0
movups xmmword [ecx + 4], xmm0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100bc270
sub edx, ebx
lea eax, [esp + 0x4d]
push edx
push eax
call fcn.100484d0
push esi
call fcn.10052ec0
add esp, 0x20
mov ecx, edi
call fcn.100c60e0
mov ecx, dword [esp + 0x28]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013c8c0
add esp, 0x20
ret 8
Function at 0x100d0d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b2ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101f6e00]
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
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.1013ca30
lea ecx, [ebp - 0x34]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x34], eax
mov dword [eax], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov eax, ecx
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10084df0
cmp dword [ebp - 0x1c], 0xf
lea esi, [ebp - 0x30]
mov dl, 0x63
mov dword [ebp - 0x18], 0x6130c63
cmova esi, dword [ebp - 0x30]
xor ecx, ecx
mov word [ebp - 0x14], 0xd
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 4
jae 0x100d0df6
mov dl, byte [ebp - 0x18]
jmp 0x100d0de7
push 1
push 0
push 0
push esi
lea eax, [ebp - 0x17]
mov byte [ebp - 0x13], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 3
lea ecx, [ebp - 0x18]
call fcn.10139310
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x100d0e3d
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x100d0e3d
nop dword [eax]
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x100d0e30
lea ecx, [ebp - 0x18]
call fcn.101393c0
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
jbe 0x100d0ea8
mov edi, dword [ebp - 0x30]
lea esi, [eax + 1]
test edi, edi
jne 0x100d0e9e
test esi, esi
je 0x100d0e9e
push str.null_pointer_cannot_point_to_a_block_of_non_zero_size
push 0x101d467c
push edi
push 0x3b4
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x100d0e80
int3
push 0
push 0x3b4
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.10152640
add esp, 0x14
push esi
push edi
call fcn.10048760
add esp, 8
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call fcn.1013c8d0
add esp, 8
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.1013c8c0
mov esp, ebp
pop ebp
ret
Function at 0x100e16c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019bef8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 0x28]
mov eax, dword [ebx + 8]
mov ecx, 0x102c99e4
mov dword [ebp - 4], 0
cmp dword [ebx + 0x24], 0xf
push dword [ebx + 0x20]
mov dword [0x1027ede8], eax
mov eax, dword [esi]
mov dword [0x1027edf4], eax
lea eax, [ebx + 0x10]
cmova eax, dword [ebx + 0x10]
push eax
call fcn.10047890
call fcn.100e1590
mov eax, dword [0x1027edf4]
test eax, eax
jne 0x100e1815
cmp dword [ebx + 0x24], 0xf
lea eax, [ebx + 0x10]
movaps xmm0, xmmword [0x101de7c0]
cmova eax, dword [ebx + 0x10]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x94f1b
mov dword [ebp - 0x1c], 0x550b011a
mov dword [ebp - 0x18], 0x1c4a4f
mov al, byte [ebp + ecx - 0x2f]
xor al, byte [ebp - 0x30]
mov byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1a
jb 0x100e1770
sub esp, 0x1c
mov byte [ebp - 0x15], 0
mov edx, esp
lea ecx, [ebp - 0x2f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e17b0
sub ecx, edi
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
lea eax, [ebp - 0x4c]
push eax
call fcn.10052ec0
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
mov ecx, esp
push eax
call fcn.10046cb0
push 3
push dword [0x10297f7c]
call fcn.100e4bb0
add esp, 0x24
mov dword [esi], 0
lea ecx, [ebp - 0x4c]
call fcn.100477d0
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.1013c8d0
add esp, 8
jmp 0x100e1817
mov dword [esi], eax
lea ecx, [ebx + 0xc]
call fcn.100477d0
mov eax, dword [ebx + 0xc]
push 8
push eax
mov dword [ebx + 0xc], 0
call fcn.1013c8d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x24
Function at 0x100e4ad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10198b9d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0xd]
mov dword [esi], 0
push 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x14], eax
call fcn.1013ca30
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
push 0x30
mov dword [ebp - 4], 0
call fcn.1013ca30
xorps xmm0, xmm0
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 4], eax
lea eax, [esi + 0x40]
movups xmmword [esi + 0x18], xmm0
push eax
movq qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0xc], 0x102
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitializeSRWLock]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ea550
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
mov dword [0x1023f74c], edx
nop
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x1023f74c], edx
inc eax
cmp eax, 0x270
jb 0x100ea560
mov dword [0x1023f748], 0x270
ret 4

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

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x100f1dff
lea edx, [esi + 8]
mov edi, eax
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
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 0x100f1dc2
mov eax, dword [esi]
jmp 0x100f1ee8
cmp eax, 0x4e0
jb 0x100f1ee8
push ebx
mov ebx, dword [esi + 0x9c4]
lea edi, [esi + 0x9c4]
push ebp
mov ebp, 0xe3
nop dword [eax]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x100f1e20
mov ebx, dword [esi + 0xd50]
lea edi, [esi + 0xd50]
mov ebp, 0x18c
nop dword [eax]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x100f1e70
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
pop ebx
mov dword [esi], 0
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
pop edi
xor eax, edx
pop esi
ret
Function at 0x100f4310
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x100f4347
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call sym.BYRACS.dll_Init
push 0
push 0
push 0
push 0x100f41f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x10297f7c]
mov dword [ecx + 0x170], eax
mov eax, 1
ret 0xc
Function at 0x100f48e0
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, 0x3c
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x100f4905
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x10297f74
mov dword [0x10297f68], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100f49e0
push 0x10297f64
push 0
push 0
push 0x8004
push dword [0x10297f74]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100f49e0
movaps xmm0, xmmword [0x101de2f0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0xc], 0x78576036
movaps xmm0, xmmword [0x101de460]
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 8], 0x72
movaps xmm0, xmmword [0x101dee10]
movups xmmword [ebp - 0x1c], xmm0
mov al, byte [ebp + ecx - 0x3b]
xor al, byte [ebp - 0x3c]
mov byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x34
jb 0x100f4980
push 1
push 0x1d
lea eax, [ebp - 0x3b]
mov byte [ebp - 7], 0
push eax
push dword [0x10297f64]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100f49e0
push 0x10297f54
push 0x800000
push dword [0x10297f64]
push 0x6801
push dword [0x10297f74]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100f49e0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x100f47a0
push 0x468e60
call fcn.100020f0
push 0x100f48c0
push 0x468eb6
mov dword [0x10297f6c], eax
call fcn.100020f0
jmp 0x100f4a15
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1013c8c0
mov esp, ebp
pop ebp
ret
Function at 0x101024c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019d860
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x14]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
push 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.1013ca30
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 1
mov ecx, esi
push 0
push 0x101d47e8
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
call fcn.10047890
mov dword [edi + 0x30], 0
mov eax, edi
mov dword [edi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1010a110
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10109c80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x1010d490
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov dword [0x102981dc], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x1010d6b2
cmp dword [esp + 0xc], 1
jne 0x1010d6b2
cmp eax, dword [esi + 0x6c]
jne 0x1010d565
mov ecx, dword [0x10297f7c]
mov esi, dword [ecx + 0x478]
test esi, esi
jne 0x1010d4d6
call fcn.1011f280
mov al, 1
pop esi
ret 8
mov edx, dword [esi + 0xf8]
test edx, edx
je 0x1010d50f
cmp byte [edx + 0x10d], 0
je 0x1010d50f
push 0
mov ecx, edx
call dword [0x101d64b8]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x1010d6ac
push 0
call dword [0x101d64b8]
mov al, 1
pop esi
ret 8
mov eax, dword [esi + 0x104]
test eax, eax
je 0x1010d530
mov al, byte [eax + 0x10d]
test al, al
je 0x1010d530
mov ecx, esi
call fcn.10063e80
mov ecx, dword [0x10297f7c]
mov esi, dword [ecx + 0x478]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x1010d548
push 0
call dword [0x101d64b8]
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x1010d55a
push 1
call dword [0x101d64b8]
mov ecx, dword [esi + 0x1bc]
jmp 0x1010d634
cmp eax, dword [esi + 0x74]
jne 0x1010d58f
cmp dword [esi + 0x54], 0xf
lea eax, [esi + 0x40]
jbe 0x1010d575
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop esi
ret 8
mov ecx, dword [esi + 0x60]
cmp eax, ecx
jne 0x1010d5e3
test ecx, ecx
je 0x1010d5a2
push 0
call dword [0x101d64b8]
mov esi, dword [esi + 0x60]
test esi, esi
je 0x1010d5cb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010d5cb
mov dword [0x1027ede8], esi
mov dword [0x10297efc], 7
call fcn.100e5070
mov eax, dword [0x10297f7c]
mov eax, dword [eax + 0x514]
test eax, eax
je 0x1010d6ac
mov ecx, dword [eax + 4]
jmp 0x1010d634
mov ecx, dword [esi + 0x64]
cmp eax, ecx
jne 0x1010d646
test ecx, ecx
je 0x1010d5f6
push 0
call dword [0x101d64b8]
mov esi, dword [esi + 0x64]
test esi, esi
je 0x1010d61f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010d61f
mov dword [0x1027ede8], esi
mov dword [0x10297efc], 7
call fcn.100e5070
mov eax, dword [0x10297f7c]
mov eax, dword [eax + 0x510]
test eax, eax
je 0x1010d6ac
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x1010d6ac
push 1
call dword [0x101d64b8]
mov al, 1
pop esi
ret 8
mov ecx, dword [esi + 0x68]
cmp eax, ecx
jne 0x1010d6ac
test ecx, ecx
je 0x1010d659
push 0
call dword [0x101d64b8]
mov esi, dword [esi + 0x68]
test esi, esi
je 0x1010d682
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010d682
mov dword [0x1027ede8], esi
mov dword [0x10297efc], 7
call fcn.100e5070
mov eax, dword [0x10297f7c]
mov esi, dword [eax + 0x518]
test esi, esi
je 0x1010d6ac
push dword [esi + 4]
call fcn.100e10c0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1010d6a8
push 1
call dword [0x101d64b8]
mov byte [esi + 0x20], 0
mov al, 1
pop esi
ret 8
xor al, al
pop esi
ret 8
Function at 0x10115600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019602d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 8
movups xmmword [ebp - 0x20], xmm0
call fcn.1013ca30
lea ecx, [ebp - 0x20]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x20], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x214
cmp eax, dword [ebp - 0x14]
je 0x10115680
mov dword [eax], 0x214
mov eax, dword [ebp - 0x18]
push eax
push eax
call fcn.10049190
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x10115690
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1004fd30
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
cmp eax, dword [ebp - 0x14]
je 0x101156b5
mov dword [eax], 0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push eax
push eax
call fcn.10049190
add dword [ebp - 0x18], 4
jmp 0x101156c2
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1004fd30
sub esp, 0x10
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.1004f2d0
push 0xf3690c
call fcn.100e0f80
mov dword [edi], eax
test eax, eax
jne 0x1011571f
push 3
lea ecx, [ebp - 0x10]
call fcn.10139310
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1011579d
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x1011579d
nop word [eax + eax]
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x10115710
jmp 0x1011579d
mov ecx, edi
mov word [edi + 0xc], 0
call fcn.10115800
mov ecx, dword [edi]
test ecx, ecx
je 0x10115737
mov ecx, dword [ecx]
add ecx, 0x70
mov eax, dword [ecx]
push 0
push 0
push 0
push 0x10115570
push 0
mov dword [0x10298220], eax
push 0
mov dword [ecx], 0x10115b50
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x101154e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 3
lea ecx, [ebp - 0x10]
call fcn.10139310
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1011579d
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x1011579d
nop dword [eax]
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x10115790
lea ecx, [ebp - 0x10]
call fcn.101393c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x101157d3
mov eax, dword [ebp - 0x14]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10048760
add esp, 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
push 8
push eax
mov dword [ebp - 0x20], 0
call fcn.1013c8d0
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret