joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57ad80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.0057a820
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x57afa8
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.0057e440
test al, al
jne 0x57afa2
mov ecx, edi
call fcn.0057e470
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.0057ea60
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x57af82
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x57adf7
xor esi, esi
mov ecx, ebx
call fcn.0057c340
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.0057e9a0
mov ebp, eax
cmp dword [ebp], esi
jne 0x57ae51
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x57ae8f
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0057c9b0
lea ecx, [ebx + 8]
call fcn.0057ea70
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0057a800
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x57aed5
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x57aeda
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x57aee9
or esi, 0x80
mov ecx, ebx
call fcn.0057c340
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x57aeff
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x57af1e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x57af1e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0057c9b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x57adf5
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.0057e470
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x57afa2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.0057c970
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x57edc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e9b71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.00576640
xor ebx, ebx
mov eax, 0xa1e858
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
xor eax, eax
mov dword [esi + 0x40], ebx
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
push 0x80
xor edi, edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x5c], 0xffffff
mov dword [esi + 0x64], 0x808080
call fcn.005bf980
mov eax, dword [eax]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6c], eax
call fcn.005bf980
mov ecx, dword [eax]
push 0xc0
push 0xc0
mov dword [esi + 0x74], ecx
push 0xc0
lea ecx, [esp + 0x1c]
call fcn.005bf980
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5bd6f0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5e9cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x14], ebx
mov eax, esi
je 0x5bd73e
inc ecx
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x5bd732
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
cmp edi, ebx
je 0x5bd793
cmp ebp, dword [edi]
jne 0x5bd78c
mov eax, dword [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x5bd77f
cmp cl, bl
je 0x5bd77b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x5bd77f
add eax, 2
add esi, 2
cmp cl, bl
jne 0x5bd75b
xor eax, eax
jmp 0x5bd784
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x5bd7ae
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x5bd754
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x5bd7e4
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.005bd6f0
jmp 0x5bd827
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], 0x40
call fcn.005bd550
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x5bd81f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x5bd821
mov esi, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push 0xa8b0f0
mov dword [esp + 0x28], 1
mov dword [esi + 0xc], 0x40
call fcn.005bd550
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x5bd81f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x5bd821
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x5bd840
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e9d27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.005bd6f0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x64
push edx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.005bd900
mov esi, dword [esp + 0x48]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x48], 2
mov dword [esi + 0xc], 0x40
call fcn.005bd550
mov edx, dword [esp + 0x38]
mov dword [esi], eax
neg eax
sbb eax, eax
mov dword [esp + 0x24], 1
and eax, edx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x48], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.005d857a
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x5dabde
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5dac16
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005d8c6b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005d8c43
jmp 0x5dac22
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5dc2d3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5dc315
call fcn.005e20d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5dc315
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5dc30c
xor eax, eax
jmp 0x5dc31d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005dc323
pop edi
pop esi
pop ebx
ret 4

Function at 0x5e2602
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5e2630
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5e264e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005e2568
jmp 0x5e264e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5e264e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005e2568
test edi, edi
mov eax, edi
jne 0x5e2638
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408950
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
call fcn.00408983
xor dword [edi], eax
or ecx, edx
inc edi
cmp edi, ebx
jne fcn.00408950
sub esp, 4
mov dword [esp], edx
mov edx, dword [esp]
add esp, 4
sub ecx, 0x729236f1
ret
Function at 0x4c4ee7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4f621b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f5edb

Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x2a401a99
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x2a4af584]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x2a42b969
push 0x2a401bc4
push esi
push 0x2a4b0d18
mov ecx, 0x2a4af958
call fcn.2a40255b
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [0x2a4af398]
or eax, dword [0x2a4af39c]
jne 0x2a401baf
xor ebx, ebx
cmp byte [0x2a4afb80], bl
jne 0x2a401b89
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2a401b26
cmp dword [ebp - 0x114], 6
setb al
mov byte [0x2a4afb81], al
cmp al, bl
jne 0x2a401b82
push edi
push 0x2a40241c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
je 0x2a42b9bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2a402410
push edi
call esi
mov dword [0x2a4afb8c], eax
cmp eax, ebx
je 0x2a42b9bc
push 0x2a402400
push edi
call esi
mov dword [0x2a4afb84], eax
cmp eax, ebx
je 0x2a434f96
push 0x2a4023f0
push edi
call esi
mov dword [0x2a4afb90], eax
cmp eax, ebx
je 0x2a434f96
pop edi
mov byte [0x2a4afb80], 1
cmp byte [0x2a4afb81], bl
jne 0x2a434fa5
push 0x2a4af398
push 0x2a4afc10
push 0x2a402511
push 0x2a4023e0
call dword [0x2a4afb84]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.2a401bd9
leave
ret 0xc
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x2a401baf
cmp byte [0x2a4afb80], bl
je 0x2a42b9ad
mov esi, dword [0x2a4af398]
mov eax, dword [0x2a4af39c]
mov ecx, esi
or ecx, eax
je 0x2a42b9ad
cmp byte [0x2a4afb81], bl
jne 0x2a434fe7
push eax
push esi
call dword [0x2a4afb90]
mov dword [0x2a4af398], ebx
mov dword [0x2a4af39c], ebx
mov ecx, 0x2a4af958
call fcn.2a42b9cd
jmp 0x2a401baf
mov byte [0x2a4afb81], 1
jmp 0x2a401b81
mov dword [0x2a4afb84], 0x2a44048b
jmp 0x2a42b9bc
mov ecx, 0x2a4afc10
push ecx
push ebx
mov eax, ecx
cdq
push ebx
mov dword [0x2a4af39c], edx
lea edx, [ebp - 0x120]
push edx
push 1
mov dword [0x2a4af398], eax
mov eax, 0x2a4023e0
push eax
push ecx
push 0x2a440419
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
jmp 0x2a401baf
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov dword [esi + 0x20], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
jmp 0x2a42b9a1
Function at 0x2a402aaa
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0xcc
and cl, cl
nop
nop
nop
nop
nop
nop
nop
push ecx
add ecx, 0x369b
mov bl, byte [ecx + esi - 0x369c]
pop ecx
nop
add esi, 0x45053af8
sub esi, 0x45053af8
mov ah, ah
inc edi
dec edi
xor bl, al
nop
and ebx, ebx
sub esi, 0x564bc572
add esi, 0x564bc572
mov cx, cx
add edx, 0x4467
mov word [edx + ecx*2 - 0x4469], bx
sub edx, 0x4467
add eax, 0x5ec1437c
sub eax, 0x5ec1437c
sub eax, 0x30675854
add eax, 0x30675854
and bl, bl
add di, 0x54ee
sub di, 0x54ee
dec ecx
jne 0x2a402aaf
sub si, 0xae4b
add si, 0xae4b
mov eax, eax
dec dl
inc dl
nop
nop
nop
nop
nop
mov di, di
jmp 0x2a402b53
pop ebx
nop
nop
nop
ret

Function at 0x2a407f14
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x2a407f54
mov eax, dword [esi]
test eax, eax
je 0x2a407f2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
push ebx
push edi
lea edi, [esi + 0x210]
mov ebx, dword [edi]
test ebx, ebx
jne 0x2a4390b0
add esi, 0x214
cmp byte [esi], 0
pop edi
pop ebx
jne 0x2a4390c6
pop esi
ret
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi + 4], 0
jmp 0x2a407f20
mov ecx, ebx
call fcn.2a407f14
push ebx
call fcn.2a40748e
and dword [edi], 0
pop ecx
jmp 0x2a407f41
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [esi], 0
jmp 0x2a407f52

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x2a4093db
cmp word [edx], 0
je 0x2a4093db
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2a4093ae
sub eax, esi
sar eax, 1
pop esi
cmp eax, 0x104
jae 0x2a4093db
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x2a4093db
test al, 0x10
je 0x2a4093db
mov al, 1
pop ebp
ret 4
xor al, al
pop ebp
ret 4
Function at 0x2a40c432
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
xor esi, esi
mov ebx, 0x20019
push ebx
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x2a43906c
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], eax
call esi
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x2a43906c
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push 0x2a40c558
push dword [ebp - 0xc]
mov dword [ebp + 8], eax
call edi
push dword [ebp - 0xc]
mov edi, eax
call esi
xor eax, eax
cmp edi, eax
jne 0x2a43906c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x14]
push ecx
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call ebx
test eax, eax
jne 0x2a439075
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.2a40b4f7
mov edi, eax
pop ecx
test edi, edi
je 0x2a43907c
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp + 8]
call ebx
push dword [ebp + 8]
mov ebx, eax
call esi
test ebx, ebx
jne 0x2a40c54d
cmp dword [ebp - 0x14], 1
jne 0x2a40c52e
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
test edi, edi
je 0x2a40c539
push edi
call fcn.2a40748e
pop ecx
cmp dword [ebp - 4], 0
jl 0x2a439086
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp - 4], 0x800401f3
jmp 0x2a40c52e
mov dword [ebp - 4], 0x800401f3
jmp 0x2a439086
push dword [ebp + 8]
call esi
jmp 0x2a43906c
push dword [ebp + 8]
call esi
jmp 0x2a40c54d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jl 0x2a40c543
mov dword [ebp - 4], eax
jmp 0x2a40c543
Function at 0x2a40e97d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
jne 0x2a432aa2
cmp dword [esi + 0x1c], edi
je 0x2a40ea6a
cmp dword [esi + 0x24], edi
jne 0x2a40ea6a
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x2a40ea6a
push edi
push edi
push edi
push eax
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x2a40ea6a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push 0xc
push esi
push dword [esi + 0xc]
call ebx
test eax, eax
je 0x2a40ea6e
mov eax, dword [esi]
cmp eax, dword [0x2a4b1260]
jne 0x2a40ea6e
cmp dword [esi + 8], edi
jbe 0x2a40ea5f
mov eax, dword [esi + 4]
cmp eax, edi
jbe 0x2a40ea5f
push eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [esi + 0x10], eax
cmp eax, edi
je 0x2a40ea6e
push edi
lea ecx, [ebp - 4]
push ecx
push dword [esi + 4]
push eax
push dword [esi + 0xc]
call ebx
test eax, eax
je 0x2a40ea6e
mov eax, dword [esi + 8]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.2a40b4f7
pop ecx
mov dword [esi + 0x20], eax
cmp eax, edi
je 0x2a40ea6e
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
xor ecx, ecx
inc ecx
cmp dword [esi + 8], ecx
jbe 0x2a40ea5f
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*4]
mov edx, dword [eax - 4]
movzx edi, word [edx]
add edi, edx
inc ecx
mov dword [eax], edi
cmp ecx, dword [esi + 8]
jb 0x2a40ea49
xor eax, eax
inc eax
mov dword [esi + 0x14], eax
pop ebx
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x2a40ea66
xor eax, eax
inc eax
jmp 0x2a40ea65
cmp dword [esi + 0x24], edi
jne 0x2a40e992
mov eax, dword [esi + 0x14]
jmp 0x2a40ea66
Function at 0x2a419514
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x2a4af584]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x1004
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x2a419561
push 0xa
lea eax, [ebp - 0x10]
push 0
push eax
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
test eax, eax
je 0x2a419561
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.2a401bd9
leave
ret 4
call dword [sym.imp.KERNEL32.dll_GetACP]
jmp 0x2a419553

Function at 0x2a419e01
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
pop esi
test eax, eax
je 0x2a419e22
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret