joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44505f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
test byte [0x514a84], 1
jne 0x445088
or dword [0x514a84], 1
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x514a80], eax
test byte [0x514a84], 2
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x4450b2
or dword [0x514a84], 2
push str.GetModuleFileNameExW
push dword [0x514a80]
call esi
mov dword [0x514a7c], eax
test byte [0x514a84], 4
jne 0x4450d4
or dword [0x514a84], 4
push str.GetProcessImageFileNameW
push dword [0x514a80]
call esi
mov dword [0x514a78], eax
test byte [0x514a84], 8
jne 0x4450fc
or dword [0x514a84], 8
cmp dword [0x508708], 6
sbb eax, eax
and eax, 0xfffff400
add eax, 0x1000
mov dword [0x514a74], eax
xor ebx, ebx
cmp dword [0x514a78], ebx
jne 0x44510d
xor eax, eax
jmp 0x4452a8
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x445106
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00446b72
xor eax, eax
push 0x246
mov word [ebp - 0x684], ax
lea eax, [ebp - 0x682]
push ebx
push eax
call fcn.00446b72
push 0x228
lea eax, [ebp - 0x438]
push ebx
push eax
mov dword [ebp - 0x43c], 0x22c
call fcn.00446b72
add esp, 0x24
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44529c
push edi
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0x434], 4
je 0x445267
push dword [ebp - 0x434]
mov eax, dword [0x514a74]
push ebx
or eax, 0x50
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x445267
xor eax, eax
mov word [ebp - 0x210], ax
mov word [ebp - 0x684], ax
push 0x124
lea eax, [ebp - 0x684]
push eax
push esi
call dword [0x514a78]
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
push esi
call dword [0x514a7c]
test eax, eax
jne 0x445210
push 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x684]
push eax
call fcn.0042ae1e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x210]
push 0x4512a8
mov eax, esi
push eax
call fcn.0042838f
test eax, eax
je 0x445234
lea esi, [ebp - 0x208]
push dword [ebp + 8]
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x445267
push esi
call fcn.0042a955
inc dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x434]
mov dword [edi], eax
mov eax, dword [ebp - 4]
add edi, 0x10
cmp eax, dword [ebp + 0x10]
jge 0x445280
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x445190
jmp 0x44529b
cmp dword [0x515894], 5
jl 0x44529b
push dword [ebp - 4]
push str.max_number_of_processes_reached___i_____abort
push 5
call fcn.0044c79b
add esp, 0xc
pop edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x4452b4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x4452ae
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x44530c
push 0x32
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4452fe
and dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
jmp 0x44530e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x100
jmp 0x44530e
xor eax, eax
pop esi
leave
ret 4

Function at 0x445339
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x810
mov dword [ebp - 4], 0x102
call fcn.00446ca6
mov esi, eax
mov eax, dword [ebp + 8]
or dword [esi + 0x80c], 0xffffffff
pop ecx
mov dword [esi], eax
lea eax, [esi + 0xc]
mov dword [esi + 8], eax
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esi + 4], ax
mov eax, 0x800
mov word [esi + 6], ax
lea eax, [ebp - 8]
push eax
xor edi, edi
push edi
push esi
push 0x445313
push 0x10000
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, edi
jne 0x4453ab
push esi
call fcn.00446ce1
pop ecx
xor eax, eax
jmp 0x445442
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x445429
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x80c]
mov dword [ebp - 4], eax
movzx eax, word [esi + 4]
cmp ax, di
je 0x44543f
mov ecx, dword [esi + 8]
cmp word [ecx], di
je 0x44543f
mov ebx, dword [ebp + 0x10]
movzx eax, ax
dec ebx
cmp eax, ebx
jge 0x4453e7
mov ebx, eax
mov edi, dword [ebp + 0xc]
push ebx
push ecx
push edi
call fcn.00446bdc
push esi
call fcn.00446ce1
mov eax, ebx
xor ecx, ecx
shr eax, 1
add esp, 0x10
mov word [edi + eax*2], cx
cmp dword [ebp - 4], ecx
je 0x44543f
cmp dword [ebp - 4], 0xc000026e
jne 0x4453a4
add ebx, 0xe
cmp ebx, dword [ebp + 0x10]
jge 0x44543f
push str.dismounted
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x44543f
push str.__timeout_
push 3
call fcn.0044c79b
pop ecx
pop ecx
push 0x79
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x44647e
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x446490
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x446470
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
pop esi
pop ecx
ret
Function at 0x446a03
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
and dword [esi], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call ebx
cmp eax, 0x200
jb 0x446a34
mov eax, dword [esp + 0x14]
mov dword [eax], 0x451138
jmp 0x446ac4
call edi
push eax
mov edi, 0x514aa0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call ebx
test eax, eax
jbe 0x446ac4
mov ecx, dword [esi]
mov ebx, dword [esp + 0x14]
mov dword [ebx + ecx*4], edi
inc dword [esi]
mov edi, dword [esi]
xor ecx, ecx
test eax, eax
jbe 0x446ab7
lea edx, [ecx*2 + 0x514aa0]
cmp word [edx], 0x22
jne 0x446a8b
movzx edx, word [ecx*2 + 0x514aa2]
inc ecx
test dx, dx
je 0x446a7e
cmp dx, 0x22
jne 0x446a6a
lea edx, [ecx*2 + 0x514aa0]
cmp word [edx], 0
je 0x446ac4
cmp word [edx], 0x20
jne 0x446ab2
xor edi, edi
mov word [edx], di
inc ecx
cmp word [ecx*2 + 0x514aa0], 0x20
je 0x446a96
mov edi, dword [esi]
lea edx, [ecx*2 + 0x514aa0]
mov dword [ebx + edi*4], edx
inc dword [esi]
mov edi, dword [esi]
inc ecx
cmp ecx, eax
jb 0x446a5d
mov eax, dword [ebx + edi*4 - 4]
cmp word [eax], 0
jne 0x446ac4
dec edi
mov dword [esi], edi
pop edi
pop esi
pop ebx
ret 8

Function at 0x446aca
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
and dword [ebp - 0x40], 0
push 0x3c
mov dword [0x514a98], eax
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [ebp - 0x44], 0x44
call fcn.00446b72
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x18], 1
je 0x446b0c
movzx eax, word [ebp - 0x14]
jmp 0x446b0f
push 0xa
pop eax
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x44a04a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x44a10e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jb 0x44a10e
cmp word [esi], 0x5c
mov eax, esi
jne 0x44a081
cmp word [esi + 6], 0x5c
jne 0x44a081
lea eax, [esi + 8]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x410]
push ecx
push eax
call edi
test eax, eax
je 0x44a0ab
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x44a10c
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x5c
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
lea eax, [ebp - 0x1b8]
cmp esi, eax
jbe 0x44a10c
xor eax, eax
mov word [esi], ax
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x200]
push eax
call edi
test eax, eax
je 0x44a10c
add esi, 2
push esi
lea eax, [ebp - 0x410]
push eax
push 0x4512b4
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x44bb25
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x213]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00446b72
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea ecx, [ebp - 4]
push ecx
mov eax, 0x200
push eax
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
mov edi, 0x2d1400
push edi
push dword [ebp + 8]
mov dword [ebp - 0x214], 0x28
call esi
mov dword [ebp - 8], 1
cmp eax, ebx
jne 0x44bbeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x44bc00
call fcn.00449d30
push eax
push str._spq_err_s
push 2
call fcn.0044c79b
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x210]
lea eax, [ebp - 0x214]
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
call esi
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x44bb91
cmp eax, ebx
je 0x44bc00
cmp dword [ebp - 4], ebx
je 0x44bc00
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1f8]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x44bc17
call fcn.00449d30
push eax
push str.IOCTL_STORAGE_QUERY_PROPERTY_err_s
push 1
call fcn.0044c79b
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44c683
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [0x515aac], ebx
je 0x44c794
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x24]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
add ebp, ebp
mov dword [esp + 0x10], ebx
mov edi, 0x40000000
mov eax, dword [0x4a1f9c]
cmp eax, 0xffffffff
jne 0x44c736
push ebx
push ebx
push 4
push dword [0x515834]
push 1
push edi
push dword [esp + 0x38]
call esi
mov dword [0x4a1f9c], eax
cmp eax, 0xffffffff
jne 0x44c736
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x44c704
push ebx
push ebx
push 4
push ebx
push 1
push edi
push dword [esp + 0x38]
call esi
mov dword [0x4a1f9c], eax
mov eax, dword [0x4a1f9c]
cmp eax, 0xffffffff
jne 0x44c736
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x44c72c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xa
jl 0x44c6bf
mov eax, dword [0x4a1f9c]
cmp eax, 0xffffffff
je 0x44c791
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebp
push dword [esp + 0x30]
push dword [0x4a1f9c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x515aa8], ebx
je 0x44c77b
push dword [0x4a1f9c]
mov esi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call esi
mov eax, dword [0x4a1fa0]
cmp eax, 0xffffffff
je 0x44c77b
push eax
call esi
push dword [0x515858]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x44c79b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
cmp dword [0x515aa0], 0
jne 0x44c7ba
cmp dword [0x515aa4], 0
je 0x44c8f0
mov eax, dword [ebp + 8]
cmp eax, dword [0x515894]
jg 0x44c8f0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x51586c
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x400
mov esi, 0x516b10
push esi
push dword [ebp + 0xc]
call fcn.0042aac9
lea eax, [ebp + 0x10]
push eax
push esi
mov esi, 0x516310
push esi
call dword [sym.imp.USER32.dll_wvsprintfW]
cmp eax, 0x3b0
jle 0x44c813
xor eax, eax
mov word [0x516a70], ax
test byte [0x516308], 1
jne 0x44c833
or dword [0x516308], 1
call fcn.0042ac69
mov dword [0x516300], eax
mov dword [0x516304], edx
call fcn.0042ac69
mov edi, eax
lea eax, [ebp - 0x24]
push eax
mov ebx, edx
push ebx
push edi
push dword [0x516304]
push dword [0x516300]
call fcn.0042ac9e
lea eax, [ebp - 0xa4]
push eax
mov dword [0x516300], edi
mov dword [0x516304], ebx
call fcn.0044c549
push esi
push dword [ebp + 8]
xor ebx, ebx
push ebx
call fcn.0044c601
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
push str._s___s___s___i___s_r_n
mov esi, 0x515b00
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jle 0x44c8d9
cmp dword [0x515aa4], ebx
je 0x44c8ac
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x515aa0], ebx
je 0x44c8d9
cmp edi, 0x400
jne 0x44c8ce
push 0xd
pop eax
push 0xa
mov word [0x5162fc], ax
pop eax
mov word [0x5162fe], ax
push esi
push 0x515898
call fcn.0044c683
push 0x51586c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c9c4
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [0x517310], esi
je 0x44ca00
push str.CreateLogFile
push 0x291
push str..LogFile.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044c79b
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44cb09
push ebx
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
xor ebx, ebx
push eax
inc ebx
push ebx
push str.D:_A_OICI_GA___WD_
mov dword [0x517310], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
cmp eax, esi
je 0x44ca67
cmp dword [ebp - 4], esi
je 0x44ca3b
cmp dword [ebp - 0xc], esi
je 0x44ca3b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
cmp eax, esi
je 0x44ca67
mov eax, dword [ebp - 4]
mov dword [0x515828], 0xc
mov dword [0x51582c], eax
mov dword [0x515830], esi
mov dword [0x515834], 0x515828
mov dword [0x515838], ebx
mov dword [ebp - 8], esi
push esi
push esi
push 2
push dword [0x515834]
push 3
push 0x40000000
push 0x515898
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44caab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x44cada
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x64
jl 0x44ca6a
jmp 0x44cada
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push 2
lea eax, [ebp - 8]
push eax
push 0x9c040
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
lea eax, [ebp - 0x14]
push eax
push 2
push 0x455430
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0xffffffff
je 0x44caee
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44cb01
cmp dword [0x515aa4], esi
je 0x44cb01
push str.UsbTreeView:_error_creating_the_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov dword [0x517310], esi
pop ebx
pop esi
leave
ret
Function at 0x44cb0c
Capabilities:
Check if file exists
Create thread
Delete file
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
push ebx
push 0x51586c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
cmp dword [0x515aa0], ebx
je 0x44cc59
cmp word [0x515898], bx
je 0x44cc59
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, 0x515898
push esi
lea eax, [ebp - 0x210]
push eax
call edi
push 0x104
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push esi
call fcn.0042786d
test eax, eax
je 0x44cbd4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44cbd4
push 0x2e
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov ebx, eax
test ebx, ebx
je 0x44cbd2
xor eax, eax
mov word [ebx], ax
push esi
lea eax, [ebp - 0x620]
push eax
call edi
add ebx, 2
push ebx
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x620]
push eax
push str._s__u._s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
xor ebx, ebx
cmp dword [0x515aa0], ebx
je 0x44cc24
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44cbed
call fcn.0044c9c4
cmp dword [0x515aa8], ebx
je 0x44cc24
mov al, byte [0x515898]
push ebx
mov esi, str..X:
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
push ebx
push 3
movsw word es:[edi], word [esi]
push ebx
push 3
movsb byte es:[edi], byte [esi]
mov byte [ebp - 4], al
push 0xc0000000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4a1fa0], eax
pop edi
pop esi
cmp dword [0x515858], ebx
jne 0x44cc59
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x515858], eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x44c8f2
push ebx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x515854], eax
mov dword [0x515aac], 1
pop ebx
leave
ret

Function at 0x44e694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push 0x5c
push 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
jne 0x44e6b4
mov esi, dword [ebp + 8]
push str.api_ms_win_
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, esi
jne 0x44e6c9
xor eax, eax
inc eax
jmp 0x44e712
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x44e710
test esi, esi
je 0x44e710
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push 0x4512b4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call fcn.0042786d
test eax, eax
jne 0x44e6c4
xor eax, eax
pop esi
leave
ret 4
Function at 0x44e717
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x6a8
push esi
push edi
mov esi, str.psapi.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x44e769
push esi
call fcn.00428887
mov edi, eax
test edi, edi
jne 0x44e769
cmp dword [0x508720], 0x500
jbe 0x44e762
push 0x10
push dword [0x4a0aac]
push str.Error:_psapi.dll_not_loaded
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x44e90c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push str.EnumProcessModules
push edi
call esi
push str.GetModuleFileNameExW
push edi
mov ebx, eax
call esi
xor esi, esi
mov dword [ebp + 0x68], eax
cmp ebx, esi
je 0x44e8f7
cmp eax, esi
je 0x44e8f7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 0x74], eax
cmp eax, esi
je 0x44e909
push 0x18c
xor edi, edi
lea eax, [ebp - 0x42c]
push esi
inc edi
push eax
mov dword [ebp + 0x6c], edi
mov dword [ebp - 0x430], esi
call fcn.00446b72
add esp, 0xc
push 0x40
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp + 0x70], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x40
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x70]
push eax
push 0x190
lea eax, [ebp - 0x430]
push eax
push dword [ebp + 0x74]
call ebx
test eax, eax
je 0x44e8e9
mov esi, dword [ebp + 0x70]
shr esi, 2
cmp esi, edi
jle 0x44e8e9
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp + edi*4 - 0x430]
push dword [ebp + 0x74]
call dword [ebp + 0x68]
test eax, eax
je 0x44e87b
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x220]
push eax
call ebx
lea ecx, [ebp - 0x220]
cmp ecx, eax
je 0x44e87b
lea eax, [ebp - 0x18]
push eax
mov eax, ecx
push eax
call ebx
lea ecx, [ebp - 0x220]
cmp ecx, eax
je 0x44e87b
mov eax, ecx
push eax
call fcn.0044e694
test eax, eax
jne 0x44e882
inc edi
cmp edi, esi
jl 0x44e825
jmp 0x44e8e9
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e8a9
test al, 6
je 0x44e8a9
and eax, 0xfffffff9
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x630]
push str.ERROR:_System_DLL_was_not_loaded_from__S:_r_n_r_n_S_r_n_r_nProbably_it_is_Malware_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x10
push dword [0x4a0aac]
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
and dword [ebp + 0x6c], 0
push dword [ebp + 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x6c]
jmp 0x44e90b
push esi
push 0x47fab8
push 0x47fab4
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
pop edi
pop esi
add ebp, 0x78
leave
ret