joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1189640
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
mov ecx, 0x10000
sub ecx, eax
push edi
cmp ecx, 0x100
jae 0x1189685
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x10]
sub edi, eax
push edi
lea edx, [ecx + eax]
push edx
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], edi
call fcn.0117fd60
mov eax, dword [esi + 0x44]
lea ecx, [eax + 7]
cmp ecx, dword [esi + 0x40]
jbe 0x118969a
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
push ebx
mov ebx, dword [esi + 0x10]
push 7
mov ecx, edi
add ebx, eax
call fcn.01184d20
mov eax, dword [edi + 0x14]
add eax, dword [edi]
mov edx, dword [ebx]
mov dword [eax], edx
mov cx, word [ebx + 4]
mov word [eax + 4], cx
mov dl, byte [ebx + 6]
mov byte [eax + 6], dl
mov eax, 7
add dword [edi + 0x14], eax
add dword [esi + 0x44], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + 3]
cmp edx, eax
jae 0x118970a
mov eax, dword [edi]
movzx ebx, byte [ecx + eax + 2]
lea edx, [ecx + eax]
movzx eax, byte [edx + 3]
shl eax, 8
add eax, ebx
movzx ebx, byte [edx + 1]
movzx edx, byte [edx]
shl eax, 8
add eax, ebx
shl eax, 8
add eax, edx
add ecx, 4
mov dword [edi + 0x18], ecx
mov dword [ebp - 4], eax
jmp 0x1189711
mov dword [ebp - 4], 0
mov eax, 4
cmp dword [edi + 0x14], eax
jbe 0x118972c
mov ecx, dword [edi]
lea ecx, [ecx]
test byte [ecx + eax], 0x80
je 0x118977b
inc eax
cmp eax, dword [edi + 0x14]
jb 0x1189720
xor ebx, ebx
mov ecx, edi
call fcn.011798d0
lea ecx, [eax + ebx - 3]
mov dword [ebp + 8], ecx
test ecx, ecx
jl 0x11897e4
test ebx, ebx
je 0x11897e4
or eax, edx
je 0x11897e4
mov ebx, dword [esi + 0x40]
sub ebx, dword [esi + 0x44]
mov dword [ebp - 8], ebx
test ecx, ecx
jg 0x1189786
mov ecx, edi
call fcn.01179a20
xor edx, edx
cmp dword [ebp - 4], eax
pop ebx
sete dl
pop edi
mov al, dl
pop esi
mov esp, ebp
pop ebp
ret 4
lea ebx, [eax - 3]
jmp 0x118972e
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ebx, ecx
jb 0x118978c
mov ebx, ecx
mov eax, dword [esi + 0x10]
add eax, dword [esi + 0x44]
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x11897ba
push ebx
mov ecx, edi
call fcn.01184d20
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 0xc]
add ecx, dword [edi]
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 8]
add esp, 0xc
add dword [edi + 0x14], ebx
add dword [esi + 0x44], ebx
sub ecx, ebx
xor eax, eax
cmp ecx, eax
mov dword [ebp + 8], ecx
jle 0x1189761
mov ecx, esi
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
call fcn.0117fd60
test eax, eax
jne 0x1189780
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
pop edi
mov byte [esi + 0x18], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1189950
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x11899a7
push edi
lea edi, [esi + 4]
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x1186bc0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11899ad
mov dword [edi], eax
inc dword [esi + 0x84]
mov eax, dword [0x11a6c04]
test eax, eax
je 0x118999e
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x1189966
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10254e8
push 0x11a3474
call fcn.01178410
add esp, 8
push 2
mov ecx, 0x11a3474
call fcn.01173a60
push 0x119c06c
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], 2
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x118ad60
Capabilities:
Check if file exists
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.011972f0
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x118ad80
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2 - 2]
jne 0x118ad97
mov eax, edi
movzx eax, word [eax]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp ax, 0x2e
je 0x118adb5
cmp ax, 0x20
je 0x118adb5
push 0
push edi
call esi
test eax, eax
jne 0x118ade5
push edi
call fcn.01185f00
cmp eax, 0xffffffff
jne 0x118adff
push 0x800
lea eax, [ebp - 0x1000]
push eax
push edi
call fcn.0117fb00
test al, al
je 0x118adff
push 0
lea ecx, [ebp - 0x1000]
push ecx
call esi
test eax, eax
je 0x118adff
cmp byte [ebp + 0xc], 0
je 0x118adf5
mov edx, dword [ebp + 0x10]
push edx
push edi
call fcn.01185f60
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x118ae14
cmp eax, 3
mov eax, 1
jne 0x118ae19
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x118c820
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x5024
call fcn.011972f0
push edi
mov edi, dword [ebp + 8]
push 0x800
lea eax, [ebp - 0x4024]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
test eax, eax
je 0x118ca0f
cmp eax, 0x800
jae 0x118ca0f
push 0x800
lea ecx, [ebp - 0x5024]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
test eax, eax
je 0x118ca0f
cmp eax, 0x800
jae 0x118ca0f
push ebx
push esi
lea edx, [ebp - 0x4024]
push edx
call fcn.01178bc0
mov ebx, eax
lea eax, [ebp - 0x5024]
push eax
mov dword [ebp + 8], ebx
call fcn.01178bc0
mov esi, eax
cmp word [esi], 0
je 0x118ca04
push esi
push ebx
call fcn.0117a190
test eax, eax
je 0x118ca04
push esi
push edi
call fcn.01178bc0
push eax
call fcn.0117a190
test eax, eax
jne 0x118ca04
mov ebx, dword [sym.imp.msvcrt.dll_wcsncpy]
mov word [ebp - 0x1000], ax
xor esi, esi
lea ecx, [ecx]
test ax, ax
jne 0x118c953
push 0x7ff
lea ecx, [ebp - 0x1000]
push edi
push ecx
call ebx
add esp, 0xc
push esi
push 0x1029478
push 0x800
lea eax, [ebp - 0x1000]
xor edx, edx
push eax
mov word [ebp - 2], dx
call fcn.01178bc0
push eax
call fcn.01197c5e
add esp, 0x10
lea ecx, [ebp - 0x1000]
push ecx
call fcn.01189320
test al, al
je 0x118c938
xor eax, eax
mov word [ebp - 0x1000], ax
jmp 0x118c93f
mov ax, word [ebp - 0x1000]
add esi, 0x7b
cmp esi, 0x2710
jl 0x118c8e0
test ax, ax
je 0x118ca04
push 0x7ff
lea edx, [ebp - 0x2000]
push edi
push edx
call ebx
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x800
push ecx
lea edx, [ebp - 0x2000]
xor eax, eax
push edx
mov word [ebp - 0x1002], ax
call fcn.01178d80
mov esi, dword [sym.imp.KERNEL32.DLL_MoveFileW]
lea eax, [ebp - 0x1000]
push eax
lea ecx, [ebp - 0x2000]
push ecx
call esi
test eax, eax
je 0x118ca04
lea ecx, [ebp - 0x3024]
call fcn.01173c60
push edi
xor bl, bl
call fcn.01189320
test al, al
jne 0x118c9c4
push 0x12
push edi
lea ecx, [ebp - 0x3024]
call fcn.01185da0
mov bl, al
lea edx, [ebp - 0x2000]
push edx
lea eax, [ebp - 0x1000]
push eax
call esi
test bl, bl
je 0x118c9ee
lea ecx, [ebp - 0x3024]
call fcn.0117f580
lea ecx, [ebp - 0x3024]
call fcn.01189170
lea ecx, [ebp - 0x3024]
call fcn.0118ad30
pop esi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x118cdd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.011972f0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x118cde9
mov byte [eax], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x118ce30
push 0x800
lea eax, [ebp - 0x1000]
push eax
push esi
call fcn.0117fb00
test al, al
je 0x118cebd
lea ecx, [ebp - 0x1000]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x118cebd
test bl, bl
jne 0x118ce40
push esi
mov bl, 1
call fcn.0118c820
test al, al
jne 0x118cdf4
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
xor edx, edx
xor bl, bl
test edi, edi
sete dl
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push esi
push ecx
call fcn.011899f0
test eax, eax
je 0x118cebd
cmp eax, 1
je 0x118cea8
cmp eax, 6
jne 0x118cdf4
cmp byte [0x11a347c], bl
je 0x118cdf4
cmp dword [0x11a3474], 0
mov eax, 0xff
jne 0x118ce91
mov dword [0x11a3474], eax
inc dword [0x11a3478]
push 0x119c06c
lea edx, [ebp + 0x28]
push edx
mov dword [ebp + 0x28], eax
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x118ceb2
mov byte [eax], 1
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x24
xor ebx, ebx
cmp byte [ebp + 0x28], bl
setne bl
add ebx, 0x11
test edi, edi
je 0x118cee4
push ebx
push esi
mov ecx, edi
call fcn.01185da0
test al, al
je 0x118cee4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 1
push esi
call fcn.0118ae30
test edi, edi
je 0x118cf02
push ebx
push esi
mov ecx, edi
call fcn.01185da0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push esi
call fcn.01185fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x11971eb
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x119c278
call fcn.01198194
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x11a9248
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedCompareExchange]
test eax, eax
je 0x1196fa2
cmp eax, esi
jne 0x1196f95
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1196fa5
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x1196f7c
xor esi, esi
inc esi
mov eax, dword [0x11a9244]
cmp eax, esi
jne 0x1196fb8
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1196fe7
mov eax, dword [0x11a9244]
test eax, eax
jne 0x1196fe1
mov dword [0x11a9244], esi
push 0x1001894
push 0x1001884
call fcn.01196ee1
pop ecx
pop ecx
test eax, eax
je 0x1196fe7
jmp 0x119710f
mov dword [0x11a6efc], esi
mov eax, dword [0x11a9244]
cmp eax, esi
jne 0x119700b
push 0x1001880
push 0x1001858
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x11a9244], 2
test ebx, ebx
jne 0x1197017
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [0x11a9258], 0
je 0x119703b
push 0x11a9258
call fcn.01198109
pop ecx
test eax, eax
je 0x119703b
push 0
push 2
push 0
call dword [0x11a9258]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1197097
test al, al
je 0x1197055
cmp dword [ebp - 0x1c], 0
jne 0x1197097
mov al, byte [esi]
test al, al
je 0x1197065
cmp al, 0x20
ja 0x1197065
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1197055
test byte [ebp - 0x3c], 1
je 0x1197071
movzx eax, word [ebp - 0x38]
jmp 0x1197074
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x11a6ef8], eax
cmp dword [0x11a6eec], 0
jne 0x11970eb
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x11970a6
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x11970b9
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1197042
cmp dword [0x11a6efc], 0
jne 0x11970fa
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x11a6ef8]
jmp 0x119711b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.011981d9
ret
call fcn.011982e1
jmp 0x1196f42
Function at 0x119a5ac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
jne 0x119a5db
call dword [sym.imp.msvcrt.dll__errno]
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.0119794e
add esp, 0x14
jmp 0x119a6b9
mov eax, dword [esi + 0xc]
test al, 0x83
je 0x119a6b9
test al, 0x40
jne 0x119a6b9
test al, 2
je 0x119a5fd
or eax, 0x20
mov dword [esi + 0xc], eax
jmp 0x119a6b9
or eax, 1
mov dword [esi + 0xc], eax
test eax, 0x10c
je 0x119a5bd
push dword [esi + 0x18]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push esi
mov dword [esi], eax
call edi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
mov dword [esi + 4], eax
cmp eax, ebx
je 0x119a6a9
cmp eax, 0xffffffff
je 0x119a6a9
test byte [esi + 0xc], 0x82
jne 0x119a67e
push esi
call edi
pop ecx
cmp eax, 0xffffffff
je 0x119a669
push esi
call edi
pop ecx
cmp eax, 0xfffffffe
je 0x119a669
push esi
call edi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push esi
lea ebx, [ecx + eax*4]
call edi
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [ebx]
pop ecx
pop ecx
jmp 0x119a66e
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
cmp al, 0x82
jne 0x119a67e
or dword [esi + 0xc], 0x2000
cmp dword [esi + 0x18], 0x200
jne 0x119a69c
mov eax, dword [esi + 0xc]
test al, 8
je 0x119a69c
test eax, 0x400
jne 0x119a69c
mov dword [esi + 0x18], 0x1000
mov ecx, dword [esi]
dec dword [esi + 4]
movzx eax, byte [ecx]
inc ecx
mov dword [esi], ecx
jmp 0x119a6bc
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [esi + 0xc], eax
mov dword [esi + 4], ebx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10001500
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xc
push 0x1008cf68
call fcn.1003c350
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x10001541
call fcn.1003c396
ret

Function at 0x10001547
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10094084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
call fcn.10001500
test eax, eax
jne 0x10001617
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], ebx
jne 0x10001617
movaps xmm0, xmmword [0x10089f50]
mov ecx, ebx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x417f7e78
mov dword [ebp - 0x20], 0x74727e63
mov word [ebp - 0x1c], 0x6262
mov byte [ebp - 0x1a], bl
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x19
jb 0x100015ab
mov byte [ebp - 0x1a], bl
mov cl, 0x14
mov dword [ebp - 0x18], 0x70607a14
mov eax, ebx
mov dword [ebp - 0x14], 0x703a7878
mov word [ebp - 0x10], 0x7878
mov byte [ebp - 0xe], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 9
jae 0x100015e5
mov cl, byte [ebp - 0x18]
jmp 0x100015d6
lea eax, [ebp - 0x33]
mov byte [ebp - 0xe], 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]
test eax, eax
je 0x1000161f
push ebx
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1000161f
cmp dword [ebp - 0xc], ebx
je 0x1000161f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1003b125
mov esp, ebp
pop ebp
ret

Function at 0x1000162e
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x10089a20]
xor edx, edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x3d270b2d
mov ecx, edx
mov dword [ebp - 0x18], 0x3a2d3c26
mov byte [ebp - 0x14], dl
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001654
mov byte [ebp - 0x14], dl
mov cl, 0x6b
mov dword [ebp - 0x10], 0x190e006b
mov eax, edx
mov dword [ebp - 0xc], 0x58070e05
mov dword [ebp - 8], 0x70f4559
mov word [ebp - 4], 7
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001692
mov cl, byte [ebp - 0x10]
jmp 0x10001683
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], dl
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000dca3
cmp al, 0xe9
jne 0x100016bd
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x100016c1
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor edx, edx
mov dword [ebp - 0x10], 0x7d796410
mov cl, 0x10
mov dword [ebp - 0xc], 0x64755775
mov dword [ebp - 8], 0x757d7944
mov eax, edx
mov byte [ebp - 4], dl
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x100016f4
mov cl, byte [ebp - 0x10]
jmp 0x100016e5
mov byte [ebp - 4], dl
mov cl, 0x4a
mov dword [ebp - 0x20], 0x382f214a
mov eax, edx
mov dword [ebp - 0x1c], 0x79262f24
mov dword [ebp - 0x18], 0x262e6478
mov word [ebp - 0x14], 0x26
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001725
mov cl, byte [ebp - 0x20]
jmp 0x10001716
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.1000dca3
cmp al, 0xe9
jne 0x10001750
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x100017ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10094084]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10089280]
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 0x1000180a
mov byte [ebp - 0x19], bl
mov cl, 0x7d
mov dword [ebp - 0x18], 0x2f38367d
mov eax, ebx
mov dword [ebp - 0x14], 0x4e313833
mov dword [ebp - 0x10], 0x1119534f
mov word [ebp - 0xc], 0x11
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001848
mov cl, byte [ebp - 0x18]
jmp 0x10001839
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.1003b125
mov esp, ebp
pop ebp
ret
Function at 0x10001917
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008cf88
push 0x10055a70
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x38
mov eax, dword [0x10094084]
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 0x10001995
xor al, al
jmp 0x10001a15
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 0x100019be
xor al, al
jmp 0x10001a15
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001a03
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.1003b125
mov esp, ebp
pop ebp
ret
Function at 0x10001ee3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x10089d60]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x555b
mov byte [ebp - 2], 0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10001f00
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002248
cmp eax, 0xba2d38a3
je 0x10001f25
xor al, al
jmp 0x10001f54
movaps xmm0, xmmword [str._tMhhSfglzke]
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 0x10001f32
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002248
cmp eax, 0x27b35bb1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x1000219e
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
push 0x400
xor edi, edi
mov esi, 0x100987c0
push edi
push esi
call fcn.10053790
add esp, 0xc
push 8
push edi
call fcn.10002213
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 0x100021c6
push 0x20
push eax
call fcn.10002213
mov dword [esi], eax
inc edi
add esi, 4
cmp esi, 0x10098bbc
jle 0x100021b6
call fcn.10001a80
pop edi
pop esi
test al, al
je 0x10002210
call fcn.10001ee3
test al, al
je 0x10002210
call fcn.10001f58
test al, al
je 0x10002210
mov al, 1
ret
xor al, al
ret

Function at 0x10002248
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10094084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
push 0x100837ec
push eax
lea eax, [ebp - 0x408]
or esi, 0xffffffff
push eax
mov dword [ebp - 0x40c], esi
call fcn.10056a48
add esp, 0xc
test eax, eax
jne 0x100022f7
cmp dword [ebp - 0x408], eax
je 0x100022f7
push edi
push dword [ebp - 0x408]
mov edi, 0x400
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.10056c5b
add esp, 0x10
test eax, eax
je 0x100022e8
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.1000230a
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.10056c5b
add esp, 0x10
test eax, eax
jne 0x100022b2
mov esi, dword [ebp - 0x40c]
push dword [ebp - 0x408]
call fcn.10056d81
pop ecx
not esi
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b125
mov esp, ebp
pop ebp
ret 4

Function at 0x1000230a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1000233b
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 + 0x100987c0]
inc edi
mov dword [ebx], edx
sub esi, 1
jne 0x1000231d
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x10002340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movaps xmm0, xmmword [0x10089910]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], 0x21242d
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 0x10002376
push ecx
mov byte [ebp - 1], dl
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x13]
call fcn.100324f9
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret