joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016e30
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x10016e94
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x10016e86
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10016e86
push edx
call fcn.10008b90
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10016e7f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x10016e93
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.1000aeb0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016efa
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x10016efa
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10016ee1
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x10016efa
jg 0x10016ef2
cmp dword [ebp - 8], 0x40000000
jbe 0x10016efa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100171c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10102f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x1010892c
mov dword [ebp - 0x28], 0x5c005c
lea esi, [ebp - 0x28]
mov dword [ebp - 0x24], 0x5c002e
mov dword [ebp - 0x20], 0x690070
mov edx, 0x12
mov dword [ebp - 0x1c], 0x650070
sub esi, eax
mov dword [ebp - 0x18], 0x62005c
mov dword [ebp - 0x14], 0x610065
mov dword [ebp - 0x10], 0x740075
mov dword [ebp - 0xc], 0x660069
mov dword [ebp - 8], 0x79
nop
lea ecx, [edx + 0x7fffffec]
test ecx, ecx
je 0x1001723e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001723e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10017220
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x1010892c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064e61
mov esp, ebp
pop ebp
ret
Function at 0x10018150
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul esi, ebx, 0x4058
mov edi, ecx
add esi, edi
push esi
push dword [esi + 0x28]
mov dword [esi + 0x4038], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x1001819b
mov byte [esi + 0x2c], 0
mov dword [esi + 0x4038], 1
mov ecx, dword [edi + 0x283ec]
test ecx, ecx
je 0x1001819b
mov eax, dword [ecx]
push 0
push ebx
push edi
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x100181c9
cmp eax, 0x3e5
je 0x100181b8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
pop edi
mov byte [esi + 0x2c], 1
mov al, 1
mov byte [esi + 0x2d], 0
pop esi
pop ebx
pop ebp
ret 4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov byte [esi + 0x2d], 0
mov al, 1
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100181e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 4], 0xffffffff
je 0x10018241
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1001821d
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call edi
mov dword [esi], 0xffffffff
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1001822f
push eax
call edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x10018241
push eax
call edi
mov dword [esi + 8], 0xffffffff
mov ebx, dword [ebp + 8]
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10018276
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018280
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esi + 0x10]
call fcn.1000c4f0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100182bf
mov eax, dword [ecx]
push 0
push esi
call dword [eax]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp byte [esi + 0x28], 0
mov dword [esi + 8], eax
jne 0x10018311
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x10018af0
push 0
push 0
call fcn.100a2eaf
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10018311
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10018306
push eax
call edi
mov dword [esi + 4], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10018320
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
cmp dword [esi + 0x283c8], 0xffffffff
je 0x1001833e
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 1
lea eax, [ebp - 0x34]
xor ecx, ecx
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], eax
lea edi, [esi + 0x28374]
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0
mov ebx, edi
mov dword [ebp - 4], eax
nop word [eax + eax]
lea eax, [ebp - 0x20]
push eax
push 0x3e8
push 0x6000
push 0x6000
push 0xa
push 6
push 0x40000003
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
cmp eax, 0xffffffff
je 0x10018459
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [ebx - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 2
mov dword [ebx], eax
mov eax, dword [ebx - 4]
mov dword [ecx], eax
mov eax, dword [ebx]
add ebx, 8
mov dword [ecx + 0x14], eax
add ecx, 0x4058
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
cmp eax, 0xa
jb 0x10018390
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 8]
mov dword [esi + ecx*4 + 0x28370], eax
mov dword [esi + 0x283c4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x100189e0
push 0
push 0
call fcn.100a2eaf
add esp, 0x18
mov dword [esi + 0x283c8], eax
test eax, eax
je 0x10018459
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0x283c4]
cmp eax, 0xffffffff
je 0x10018471
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x283c8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x10018493
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x283c8]
call ebx
push dword [esi + 0x283c4]
call ebx
mov dword [esi + 0x283c4], 0xffffffff
mov dword [esi + 0x283c0], 0xffffffff
add esi, 0x28
mov dword [ebp + 8], 0xa
nop dword [eax]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100184d8
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [esi]
call ebx
mov dword [esi], 0xffffffff
mov eax, dword [edi - 4]
cmp eax, 0xffffffff
je 0x100184ea
push eax
call ebx
mov dword [edi - 4], 0xffffffff
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100184fa
push eax
call ebx
mov dword [edi], 0xffffffff
mov dword [esi - 0x18], 0xffffffff
add edi, 8
mov dword [esi - 4], 0xffffffff
mov dword [esi + 0x4010], 0
add esi, 0x4058
sub dword [ebp + 8], 1
jne 0x100184c0
mov ecx, dword [ebp - 0x10]
call fcn.10018680
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10018700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
imul edi, ebx, 0x4058
mov esi, ecx
mov dword [ebp + 8], 0
add edi, esi
cmp byte [edi + 0x2c], 0
je 0x100187c1
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + 0x4038]
sub ecx, 0
je 0x1001879d
sub ecx, 1
jne 0x100187c1
test eax, eax
je 0x1001876c
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001876c
mov dword [edi + 0x30], eax
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x100187c1
mov edx, dword [ecx]
push 0
push eax
lea eax, [edi + 0x38]
push eax
push ebx
push esi
call dword [edx + 8]
jmp 0x100187c1
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.10018150
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x10018823
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
test eax, eax
je 0x10018850
mov dword [edi + 0x4038], 1
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x100187c1
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax]
push 0x2000
lea eax, [edi + 0x38]
push 0
push eax
call fcn.10092e90
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push 0x2000
lea eax, [edi + 0x38]
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100187f3
xor al, al
jmp 0x10018802
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1001882c
mov al, 1
mov byte [edi + 0x2c], al
test al, al
jne 0x10018823
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x10018823
mov eax, dword [ecx]
lea edx, [edi + 0x38]
push 0
push dword [edi + 0x30]
push edx
push ebx
push esi
call dword [eax + 8]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
mov ecx, esi
call fcn.10018150
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x10018850
mov eax, dword [ecx]
push 0
push ebx
push esi
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x10018c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10018ca0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10018caf
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10018cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
imul ebx, edi, 0x4058
add ebx, esi
mov dword [ebp + 8], 0
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10018cf9
xor cl, cl
jmp 0x10018d08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x10018d3e
mov cl, 1
imul eax, edi, 0x4058
mov byte [ebx + 0x2d], cl
cmp byte [eax + esi + 0x2d], 0
jne 0x10018d35
push dword [eax + esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x283ec]
test ecx, ecx
je 0x10018d35
mov eax, dword [ecx]
push 0
push edi
push esi
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push edi
mov ecx, esi
call fcn.10018150
test al, al
jne 0x10018d35
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10019790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100197b2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100197b2
push esi
call fcn.10058d60
add esp, 4
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1001a510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc43b
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.10064f50
mov eax, dword [0x10102f10]
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
mov edx, dword [ebp + 0x14]
xor esi, esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], esi
mov dword [ebp - 0x1024], esi
mov dword [ebp - 0x1020], esi
lea edx, [ebp - 0x1014]
mov dword [ebp - 4], esi
push edx
push 0x20019
push esi
push eax
push ecx
mov dword [ebp - 0x1014], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001a652
mov edi, dword [ebp - 0x1014]
push 0x1000
push eax
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x1010]
push eax
mov dword [ebp - 0x1028], edi
call fcn.10092e90
add esp, 0xc
mov dword [ebp - 0x1014], 0xffe
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1018]
push eax
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001a647
mov eax, dword [ebp - 0x1018]
cmp eax, 1
je 0x1001a5f1
cmp eax, 2
jne 0x1001a647
mov eax, dword [ebp - 0x1014]
test eax, eax
je 0x1001a60e
test al, 1
jne 0x1001a647
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x1001a617
jmp 0x1001a647
xor eax, eax
mov word [ebp - 0x1010], ax
lea edx, [ebp - 0x1010]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1001a620
mov ecx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1010]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.1000aeb0
mov esi, 1
test edi, edi
je 0x1001a652
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.10064e61
mov esp, ebp
pop ebp
ret

Function at 0x1001b8b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10102f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x101089a8
mov dword [ebp - 0x34], 0x5c005c
lea esi, [ebp - 0x34]
mov dword [ebp - 0x30], 0x5c002e
mov dword [ebp - 0x2c], 0x690070
mov edx, 0x18
mov dword [ebp - 0x28], 0x650070
sub esi, eax
mov dword [ebp - 0x24], 0x74005c
mov dword [ebp - 0x20], 0x650068
mov dword [ebp - 0x1c], 0x65006d
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x650074
mov dword [ebp - 0x10], 0x73006e
mov dword [ebp - 0xc], 0x6f0069
mov dword [ebp - 8], 0x6e
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x1001b942
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001b942
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001b924
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101089a8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064e61
mov esp, ebp
pop ebp
ret
Function at 0x1001b970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10102f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x101089d8
mov dword [ebp - 0x3c], 0x5c005c
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x5c002e
push edi
mov dword [ebp - 0x34], 0x690070
mov edx, 0x1c
mov dword [ebp - 0x30], 0x650070
sub esi, eax
mov dword [ebp - 0x2c], 0x74005c
mov dword [ebp - 0x28], 0x620061
mov dword [ebp - 0x24], 0x740078
mov dword [ebp - 0x20], 0x650068
mov dword [ebp - 0x1c], 0x65006d
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x650074
mov dword [ebp - 0x10], 0x73006e
mov dword [ebp - 0xc], 0x6f0069
mov dword [ebp - 8], 0x6e
lea ecx, [edx + 0x7fffffe2]
test ecx, ecx
je 0x1001ba11
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001ba11
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001b9f3
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x101089d8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064e61
mov esp, ebp
pop ebp
ret

Function at 0x1001e810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10102f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x10108a4c
mov dword [ebp - 0x3c], 0x5c005c
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x5c002e
push edi
mov dword [ebp - 0x34], 0x690070
mov edx, 0x1c
mov dword [ebp - 0x30], 0x650070
sub esi, eax
mov dword [ebp - 0x2c], 0x74005c
mov dword [ebp - 0x28], 0x620061
mov dword [ebp - 0x24], 0x740078
mov dword [ebp - 0x20], 0x650068
mov dword [ebp - 0x1c], 0x65006d
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x650074
mov dword [ebp - 0x10], 0x73006e
mov dword [ebp - 0xc], 0x6f0069
mov dword [ebp - 8], 0x6e
lea ecx, [edx + 0x7fffffe2]
test ecx, ecx
je 0x1001e8b1
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001e8b1
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001e893
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
mov word [ecx], ax
mov eax, 0x10108a4c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064e61
mov esp, ebp
pop ebp
ret

Function at 0x1001e8e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10102f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x10108a1c
mov dword [ebp - 0x34], 0x5c005c
lea esi, [ebp - 0x34]
mov dword [ebp - 0x30], 0x5c002e
mov dword [ebp - 0x2c], 0x690070
mov edx, 0x18
mov dword [ebp - 0x28], 0x650070
sub esi, eax
mov dword [ebp - 0x24], 0x74005c
mov dword [ebp - 0x20], 0x650068
mov dword [ebp - 0x1c], 0x65006d
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x650074
mov dword [ebp - 0x10], 0x73006e
mov dword [ebp - 0xc], 0x6f0069
mov dword [ebp - 8], 0x6e
lea ecx, [edx + 0x7fffffe6]
test ecx, ecx
je 0x1001e972
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001e972
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001e954
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x10108a1c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064e61
mov esp, ebp
pop ebp
ret
Function at 0x100233b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd060
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10102f10]
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
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10008b90
add eax, 0x10
mov dword [ebp - 0x2c], eax
push dword [esi]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push 0x100d8e38
push eax
call fcn.1001bb30
mov esi, dword [ebp - 0x2c]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10023473
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023440
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000c4f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push ebx
push edi
call fcn.10025c90
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100081c0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10023492
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.10064e61
mov esp, ebp
pop ebp
ret
Function at 0x10025b90
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc0e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10102f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10024cb0
mov ecx, edi
call fcn.10024110
mov esi, dword [edi + 0xb0]
lea ebx, [edi + 0xb0]
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x10025bff
nop dword [eax]
lea ecx, [eax + 0x10]
lea eax, [ecx + 4]
push eax
push ecx
call fcn.10022640
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.10008330
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x10025be0
push dword [edi + 0xc0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10025c1b
push dword [edi + 0xc0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0xb4], 0
je 0x10025c76
push 0
push 0x74
push 0x100
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov esi, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 0
push dword [esi + 4]
call fcn.10025fc0
mov eax, dword [ebx]
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [eax + 8], esi
mov dword [ebx + 4], 0
mov byte [edi + 0x60], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret