joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f732
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cd420]
push ebx
push esi
xor esi, esi
push edi
mov ecx, 0x4cd420
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [eax + 0xc]
push dword [ebp + 0xc]
mov ebx, eax
mov edi, 0x4ce834
mov dword [ebp - 4], esi
push str.GetPacketData__d
mov esi, edi
add ebx, 0x10
call fcn.00426876
mov esi, dword [ebp + 8]
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.0041f81e
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp + 0xc], eax
call fcn.00426876
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
jne 0x41f7a1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
jmp 0x41f7ff
call fcn.004631b8
test eax, eax
mov dword [ebp - 4], eax
je 0x41f7ff
push str.Extract...
call fcn.00426876
mov eax, dword [ebp - 4]
pop ecx
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp - 8]
push dword [ebp + 0xc]
push eax
call dword [ecx]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp + 0xc], eax
push ecx
push str.Extract_return:_d
call fcn.00426876
xor esi, esi
cmp dword [ebp + 0xc], esi
pop ecx
pop ecx
je 0x41f7f8
lea eax, [ebx - 0x10]
call fcn.00405cc6
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
mov dword [ebp - 0xc], 1
cmp dword [ebx - 0xc], 0
je 0x41f80c
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f819
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0xc]
jmp 0x41f7e7
Function at 0x41f8ff
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.0046eea0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41f98b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0xc
jmp 0x41fa03
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x41f9be
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x41f9e6
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x41f9f5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0xc
jmp 0x41f9fc
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420a1e
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x4ce7f8], esi
mov dword [ebp - 4], esi
je 0x420a3a
xor eax, eax
inc eax
jmp 0x420afa
push edi
push str.B7FAECB4_15E8_4317_8141_2736DC76108C
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push str.Global4B9139C8_EDBE_4ff4_8D0B_AF021AF5D733_EXIST
push esi
push 1
push esi
mov dword [0x4ce51c], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea edi, [ebp - 4]
mov dword [0x4ce520], eax
call fcn.0042096b
test eax, eax
jge 0x420a75
xor eax, eax
jmp 0x420af9
cmp dword [ebp - 4], esi
je 0x420af7
mov eax, dword [0x4ce7f0]
push ebx
mov ebx, dword [eax]
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x420af3
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
call ebx
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
xor esi, esi
inc esi
pop ebx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x42129c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
call dword [section..data]
mov eax, dword [ebp + 8]
xor edi, edi
push 2
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x40c], edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp + 0xc], ebx
jne 0x4212e0
call fcn.004225c2
mov esi, eax
jmp 0x4213bf
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x4212fd
call fcn.004225c2
jmp 0x4213b4
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x4212f3
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x421340
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x421336
lea eax, [ebp - 0x40c]
call fcn.004213e1
mov eax, 0x8007000e
jmp 0x4213da
push 2
push eax
call fcn.0041c9d6
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x421360
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.004221f8
jmp 0x42136c
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], eax
mov ebx, dword [ebp - 0x40c]
cmp ebx, edi
jne 0x42137d
mov esi, 0x8007000e
jmp 0x4213b6
call dword [section..data]
push esi
push ebx
push esi
push dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, edi
je 0x4212f3
mov ecx, dword [ebp - 0x40c]
push dword [ebp + 0x18]
mov word [ecx + eax*2], di
push dword [ebp - 0x40c]
lea ecx, [ebp - 8]
call fcn.004213ea
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x4213d8
lea eax, [ebp - 0x40c]
call fcn.004213e1
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x422219
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x42222c
push 0x80004005
call fcn.0040d1c8
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x422233
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4225eb
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x422674
push ebx
call fcn.0046d2e2
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x422665
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b2530
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x422665
cmp dword [ebp - 0xc], ebx
je 0x422665
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x422674
push dword [ebp - 4]
call fcn.0046fb30
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x422727
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov ecx, 0x4cd420
call fcn.004073d2
and word [ebp - 0x208], 0
push 0x206
lea eax, [ebp - 0x206]
push 0
push eax
call fcn.0046eea0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.0040d2cf
push esi
call fcn.004226b0
pop ecx
mov eax, esi
pop esi
leave
ret
Function at 0x422835
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0046eea0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x42288e
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x422944
mov eax, dword [ebp - 0x94]
dec eax
je 0x422930
dec eax
jne 0x422944
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x4228dd
cmp dword [ebp - 0x9c], edx
jne 0x4228c7
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x42292c
cmp dword [ebp - 0x9c], edi
jne 0x422915
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x42292c
cmp eax, 5
jne 0x422907
cmp dword [ebp - 0x9c], 2
jne 0x4228ee
push eax
jmp 0x42290e
cmp dword [ebp - 0x9c], 1
jne 0x4228fb
mov edi, ecx
jmp 0x422944
cmp dword [ebp - 0x9c], edi
jne 0x422944
push 3
jmp 0x42290e
cmp eax, 4
ja 0x422911
push 4
pop edi
jmp 0x422944
cmp eax, ecx
jb 0x422944
cmp dword [ebp - 0x9c], 2
jae 0x422922
cmp eax, ecx
jbe 0x422944
cmp byte [ebp + 0x76], dl
jne 0x422944
call fcn.00422786
mov edi, eax
jmp 0x422944
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x4229bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x422a4d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x4229f6
cmp dword [ebp - 8], 2
jne 0x422a4c
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040d10e
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.0040d0e8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x422a34
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x422a44
push eax
call fcn.00470006
pop ecx
mov edx, esi
call fcn.00406d29
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x422ce2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00405c67
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x422d8f
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x422d8e
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00405cde
mov esi, eax
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x422d8e
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x422d8e
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x422d3f
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x422d79
xor eax, eax
jmp 0x422d80
push eax
call fcn.0046f250
pop ecx
mov edx, esi
call fcn.00405ca6
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x422d9f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x423205
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x42321e
mov eax, dword [ebp - 4]
jmp 0x4232f8
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4232d3
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4b2bd8]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4b2bd8]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4b2bd8]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4b2bd8]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4b2bd8]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4b2bd8]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4b2bd8]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4b2bd8]
dec ebp
jne 0x42323d
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4232ef
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4b2bd8]
dec ecx
jne 0x4232dd
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425f7d
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
mov esi, str.Administrators
cmp eax, esi
je 0x426040
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x426040
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
push ebx
jmp 0x42601a
cmp dword [ebp - 4], ebx
je 0x425fd3
push dword [ebp - 4]
call fcn.0046f308
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x425fe4
push dword [ebp - 8]
call fcn.0046f308
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x426025
push dword [ebp - 0x10]
call fcn.0046ea1f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.0046ea1f
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push esi
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x425fc2
push dword [ebp - 8]
call fcn.0046f308
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x426042
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x426042
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x4261f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
push ebx
push esi
push edi
xor esi, esi
push 0xd2
lea eax, [ebp - 0xde]
push esi
push eax
mov word [ebp - 0xe0], si
call fcn.0046eea0
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
push 0x69
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
cmp eax, esi
jne 0x426234
xor eax, eax
jmp 0x4262e3
cdq
and edx, 3
add eax, edx
mov edi, eax
push 0x208
lea eax, [ebp - 0x2ee]
push esi
push eax
sar edi, 2
mov word [ebp - 0x2f0], si
call fcn.0046eea0
mov word [ebp - 0xe8], si
mov esi, dword [ebp + 8]
add esp, 0xc
add esi, 4
lea ebx, [ebp - 0xe0]
call fcn.00401fdc
test edi, edi
jle 0x4262e0
mov dword [ebp - 4], edi
and word [ebx + 4], 0
push 0x104
lea eax, [ebp - 0x2f0]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x4262d8
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp + 8]
call fcn.0040d2a4
lea eax, [ebp + 8]
push eax
mov edi, esi
call fcn.00401f81
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cc6
push ebx
lea eax, [ebp - 8]
call fcn.0040d2a4
lea eax, [ebp - 8]
push eax
call fcn.00401f81
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405cc6
add ebx, 8
dec dword [ebp - 4]
jne 0x42627a
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x426310
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x426391
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x426391
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push str.EnumProcesses
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push str.GetModuleFileNameExW
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push str.GetProcessImageFileNameW
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x42638c
cmp dword [esi + 4], ebx
je 0x42638c
cmp dword [esi + 8], ebx
je 0x42638c
cmp dword [esi + 0xc], ebx
je 0x42638c
cmp eax, ebx
je 0x42638c
xor eax, eax
inc eax
jmp 0x42638e
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret

Function at 0x4264b5
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x4c28c0
call fcn.004a7720
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x42653a
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x42653a
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x42653a
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
call fcn.0042654e
mov eax, dword [ebp - 0x20]
call fcn.004a775b
ret

Function at 0x426662
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov esi, eax
mov ecx, 0x4cd420
call fcn.004073d2
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.0046eea0
add esp, 0xc
push edi
push 0x23
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4266c2
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0040d2cf
push esi
call fcn.004226b0
pop ecx
jmp 0x4266ed
push 0x400000
lea eax, [ebp - 4]
call fcn.004691a3
pop ecx
mov edi, esi
call fcn.0040d365
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405cc6
push str.appdata_
push esi
call fcn.00401d83
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x42677c
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xe8
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov byte [ebp + 0x54], bl
lea edi, [ebp + 0x55]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp + 0x68], ebx
lea edi, [ebp + 0x6c]
stosd dword es:[edi], eax
push 0xc6
stosd dword es:[edi], eax
lea eax, [ebp - 0x72]
push ebx
push eax
mov word [ebp - 0x74], bx
call fcn.0046eea0
add esp, 0xc
push dword [ebp + 0x7c]
push 0x4ce848
call fcn.0040d2cf
call fcn.00426af2
xor edi, edi
inc edi
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp + 0x54]
push 0x4ce84c
mov dword [ebp + 0x68], 0xc
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x74]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push eax
call fcn.00426dd5
mov esi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
call esi
push ebx
push ebx
push edi
push ebx
mov dword [0x4ce83c], eax
call esi
cmp dword [0x4ce83c], ebx
mov dword [0x4ce840], eax
je 0x42686a
cmp eax, ebx
je 0x42686a
push ebx
push ebx
push 0x4ce834
push 0x426986
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [0x4ce844], eax
mov eax, ecx
jmp 0x42686c
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x426992
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov esi, eax
call fcn.00426c65
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jmp 0x426ac3
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
push dword [esi + 0xc]
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [esp + 0x20], edi
je 0x426abf
cmp dword [esi + 4], edi
jne 0x426a14
mov eax, dword [esi + 0x14]
push 0x4b62c8
push eax
call fcn.004739cc
cmp eax, edi
pop ecx
pop ecx
mov dword [esi + 4], eax
je 0x426abf
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
call fcn.00404610
jmp 0x426a97
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
cmp ebx, eax
jne 0x426a37
call fcn.0046eca2
push 0xffffffffffffffff
push edi
add ebx, 8
push ebx
lea ecx, [esp + 0x30]
call fcn.0040462c
mov eax, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x24]
call fcn.00426c0f
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x426a6f
lea ecx, [esp + 0x28]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x426a97
push eax
push dword [esp + 0x3c]
push 1
push ecx
call fcn.00474929
push dword [esi + 4]
push 2
push 1
push 0x4b62d0
call fcn.00474929
add esp, 0x20
cmp dword [esp + 0x20], edi
jne 0x426a28
mov eax, dword [esi + 4]
cmp eax, edi
je 0x426aae
push eax
call fcn.00473c77
pop ecx
mov dword [esi + 4], edi
push edi
push 1
lea ecx, [esp + 0x2c]
call fcn.004045c5
jmp 0x4269b4
cmp dword [esi], edi
jne 0x426ad6
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x4269b4
lea esi, [esp + 0x18]
call fcn.00426cbb
push dword [esp + 0x1c]
call fcn.0046f308
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret