joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002710
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x10052ed0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1000273b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10002746
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10002751
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000275c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10002767
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10002772
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000277d
bts eax, 1
test cl, 2
je 0x10002786
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x10052ed0], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x10002826
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10002817
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x10052ed0], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10002730
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002850
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100457c8
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
push eax
or ebx, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x1000292f
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x1000292f
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call edi
mov edx, eax
add esp, 0x10
test edx, edx
je 0x1000290a
push esi
lea esi, [ebp - 0x404]
test edx, edx
je 0x100028ea
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10052ed0]
sub edx, 1
jne 0x100028d0
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push 0x400
push 1
push eax
call edi
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x100028c2
pop esi
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
not ebx
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100404d0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop ebx
call fcn.100404d0
mov esp, ebp
pop ebp
ret 4
Function at 0x10004310
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.10002710
call fcn.10001f80
test al, al
je 0x10004338
call fcn.10002410
test al, al
je 0x10004338
call fcn.10002490
test al, al
je 0x10004338
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push 0
push 0
push 0
push 0x10001e90
push 0
push 0
call esi
mov dword [0x1005334c], eax
test eax, eax
je 0x10004362
mov ecx, eax
call fcn.10013650
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10003ec0
push 0
push 0
mov dword [0x100532d8], eax
mov dword [0x100532dc], edx
mov dword [0x100532e8], eax
mov dword [0x100532ec], edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x1000439d
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0x100041c0
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x100043bc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
push 0x64
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x10009680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042246
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
push 0
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x70
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x16f], 0
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
call fcn.10004ea0
mov dword [ebp - 4], 0
test edi, edi
jne 0x1000972f
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.100044f0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x100098b5
inc ecx
push ecx
jmp 0x100098aa
movaps xmm0, xmmword [0x1004abf0]
xor ecx, ecx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x5b53135b
mov dword [ebp - 0x178], 0x365b5e1a
mov dword [ebp - 0x174], 0x335b44
nop dword [eax]
mov al, byte [ebp - 0x18c]
xor byte [ebp + ecx - 0x18b], al
inc ecx
cmp ecx, 0x1a
jb 0x10009760
cmp byte [ebp - 0x18b], 0
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x100097a2
xor ecx, ecx
jmp 0x100097b9
lea ecx, [ebp - 0x18b]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100097b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x18b]
push eax
lea ecx, [ebp - 0x128]
call fcn.10004ea0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x148], edi
push eax
mov dword [ebp - 0x144], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x10009832
xor ecx, ecx
jmp 0x10009849
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009840
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x140]
call fcn.10004ea0
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.100044f0
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x10009882
inc eax
push eax
push dword [ebp - 0x128]
call fcn.10005610
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x100098b5
inc eax
push eax
push dword [ebp - 0x140]
call fcn.10005610
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100404d0
mov esp, ebp
pop ebp
ret
Function at 0x1000c1f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10051018]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1000c23a
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100404d0
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x1c], 0
jg 0x1000c24a
jl 0x1000c219
cmp dword [esp + 0x18], 0
jbe 0x1000c219
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
xor esi, esi
call ebx
test eax, eax
jne 0x1000c271
nop dword [eax]
inc esi
cmp esi, 3
ja 0x1000c219
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x1000c260
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.10041370
mulsd xmm0, qword [0x1004a208]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.10041370
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.1004121f
mov ecx, dword [esp + 0x24]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100404d0
mov esp, ebp
pop ebp
ret

Function at 0x1000c5b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000c60c
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp - 0x128], edi
je 0x1000c626
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x1000c5f6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100404d0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100404d0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x1005107c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x1005107c], edx
inc eax
cmp eax, 0x270
jl 0x1000c781
mov dword [0x10051078], 0x270
pop ebp
ret 8
Function at 0x1000d4b0
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, 0x44
movaps xmm0, xmmword [0x1004a580]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
push esi
movaps xmm0, xmmword [0x1004a5b0]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x1004a410]
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x1000d4e0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x10053334
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000d5cc
push 0x10053330
push 0
push 0
push 0x8004
push dword [0x10053334]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1000d5cc
movaps xmm0, xmmword [0x1004ac50]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x4b134542
movaps xmm0, xmmword [str.sueDuP]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x41175163
movaps xmm0, xmmword [0x1004a5e0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x2535976
mov word [ebp - 4], 0x5e
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x1000d570
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x10053330]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1000d5cc
push 0x1005332c
push 0x800000
push dword [0x10053330]
push 0x6801
push dword [0x10053334]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1000d5cc
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10053328], eax
call fcn.1003f120
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003f5f0
push 0x1000d390
push 0x10053324
call fcn.1003ee30
call fcn.1003f180
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000d63a
mov dword [0x10053324], 0x60f6e0
call fcn.1003f120
call esi
push eax
call fcn.1003f5f0
push 0x1000d390
push 0x10053324
call fcn.1003e9a0
call fcn.1003f180
call fcn.1003f120
call esi
push eax
call fcn.1003f5f0
push 0x1000d3c0
push 0x10053320
call fcn.1003ee30
call fcn.1003f180
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000d697
mov dword [0x10053320], 0x60eab0
call fcn.1003f120
call esi
push eax
call fcn.1003f5f0
push 0x1000d3c0
push 0x10053320
call fcn.1003e9a0
call fcn.1003f180
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010c20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x6d12c0
call fcn.1000f020
cmp al, 0xe9
jne 0x10010c46
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
test eax, eax
jne 0x10010c89
mov dword [0x1005336c], 0x6d12c0
call fcn.1003f120
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003f5f0
push 0x1000f9f0
push 0x1005336c
call fcn.1003e9a0
call fcn.1003f180
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x6d141e
push eax
call esi
test eax, eax
jne 0x10010ccd
push 4
push 0x1000f990
call esi
test eax, eax
jne 0x10010ccd
call fcn.1003f120
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003f5f0
push 0x1000f990
lea eax, [ebp - 8]
push eax
call fcn.1003e9a0
call fcn.1003f180
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100404d0
mov esp, ebp
pop ebp
ret

Function at 0x10010e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10051018]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x1004a970]
xor ecx, ecx
mov eax, dword [0x100533d8]
push ebx
push esi
push edi
mov edi, dword [0x100533d4]
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x10], xmm0
mov byte [esp + 0x20], 0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x10010e90
sub esp, 0x18
mov byte [esp + 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x29], 0
jne 0x10010ec4
xor ecx, ecx
jmp 0x10010ed9
lea ecx, [esp + 0x29]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010ed0
sub ecx, esi
push ecx
lea eax, [esp + 0x2d]
mov ecx, edx
push eax
call fcn.10004ea0
lea ecx, [esp + 0x44]
call fcn.1003c530
mov edx, dword [esp + 0x44]
add esp, 0x18
xor ebx, ebx
test edi, edi
mov edi, dword [esp + 0x40]
jle 0x10010f3e
cmp edi, 0x10
lea ecx, [esp + 0x2c]
cmovae ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010f10
sub ecx, esi
mov eax, ebx
cmp edi, 0x10
lea esi, [esp + 0x2c]
cmovae esi, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x24]
mov al, byte [edx + esi]
xor byte [ecx + ebx], al
inc ebx
mov edx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0xc]
jl 0x10010f00
cmp edi, 0x10
jb 0x10010f4d
lea eax, [edi + 1]
push eax
push edx
call fcn.10005610
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100404d0
mov esp, ebp
pop ebp
ret
Function at 0x10011b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042940
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10051018]
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 [0x1005331e], 0
je 0x10011d52
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x10053350]
sbb edx, dword [0x10053354]
mov dword [ebp - 0x48], edx
jne 0x10011bdb
cmp eax, 0xbb8
jb 0x10011d52
call esi
movaps xmm0, xmmword [0x1004a450]
xor ecx, ecx
mov dword [0x10053350], eax
mov dword [0x10053354], edx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10011bf5
sub esp, 0x18
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10004570
lea ecx, [ebp - 0x44]
call fcn.1003c530
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x4d], 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.10008ca0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov edi, edx
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], vtable.Packet.0
cmp edi, 0x989680
ja 0x10011cbf
lea esi, [eax + 1]
cmp edi, esi
jae 0x10011cb2
push esi
lea ecx, [ebp - 0x1c]
call fcn.10008e40
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
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 - 0x4d], 0xa2
cmp edx, 0x989680
ja 0x10011cf1
lea esi, [eax + 1]
cmp edx, esi
jae 0x10011ce7
push esi
lea ecx, [ebp - 0x1c]
call fcn.10008e40
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x4d]
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.10008b30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], eax
cmp ecx, 0x4000
ja 0x10011d31
mov ecx, dword ds:[0x10045a8c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x54]
push dword [ebp - 0x48]
call dword [0x10045a88]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], vtable.ByteBuffer.0
call fcn.10008dd0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10011d52
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10005610
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.100404d0
mov esp, ebp
pop ebp
ret
Function at 0x10013410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10051018]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x1004ac90]
push esi
mov esi, ecx
mov dword [esp + 0x14], 0x535f5512
movups xmmword [esp + 4], xmm0
mov byte [esp + 0x18], 0
xor ecx, ecx
mov al, byte [esp + 4]
xor byte [esp + ecx + 5], al
inc ecx
cmp ecx, 0x13
jb 0x10013442
lea eax, [esp + 5]
mov byte [esp + 0x18], 0
push eax
mov edx, 0x10053678
lea ecx, [esp + 0x20]
call fcn.1000e440
mov eax, dword [esi + 0x1fc]
add esp, 4
test eax, eax
je 0x1001347c
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [esp + 0x30], 0x10
lea eax, [esp + 0x1c]
push 0x8010
cmovae eax, dword [esp + 0x20]
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 0x100134bd
cmp byte [esi + 0x200], 0
mov dword [esi + 0x14], eax
je 0x100134bd
push esi
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x100134d1
inc eax
push eax
push dword [esp + 0x20]
call fcn.10005610
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.100404d0
mov esp, ebp
pop ebp
ret

Function at 0x10013650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov byte [ebp - 0x10], 0x73
mov al, 0x1d
xor al, byte [ebp - 0x10]
mov bl, 0x1f
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x17
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 7
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x5d
mov byte [ebp - 0xe], cl
xor ch, al
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
test edx, edx
jne 0x100136c6
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x1004acb0]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x475d615b
mov dword [ebp - 0x14], 0x515450
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x100136e1
push edi
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x1001370d
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x10013719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
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 0x1001376e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10013772
cmp edx, esi
jne 0x10013757
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 0x10013792
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10013796
cmp edx, esi
jne 0x1001377b
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 0x100137b6
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100137ba
cmp edx, esi
jne 0x1001379f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013870
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.1000c5b0
test eax, eax
je 0x1001397c
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x1001397c
push eax
call esi
test ebx, ebx
je 0x1001397c
movaps xmm0, xmmword [str.mWqFPVNFwKQFBG]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x100138d0
mov byte [ebp - 0x18], 0x65
mov al, 0xb
xor al, byte [ebp - 0x18]
mov bl, 9
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 1
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x19], 0
xor bh, al
mov byte [ebp - 0x13], ah
mov dh, dl
mov byte [ebp - 0x14], bl
xor dl, al
mov byte [ebp - 0x10], bh
xor dh, al
mov byte [ebp - 0x15], dl
mov cl, 0x11
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x4b
mov byte [ebp - 0x16], cl
xor ch, al
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov ebx, eax
call fcn.1000f090
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10013995
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
call ebx
test eax, eax
jns 0x10013984
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 8], 0
jbe 0x10013992
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100404d0
mov esp, ebp
pop ebp
ret