joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fbd8
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 0x43fc09
mov eax, dword [esp + 0x14]
mov dword [eax], 0x44ad64
jmp 0x43fc99
call edi
push eax
mov edi, 0x506c40
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call ebx
test eax, eax
jle 0x43fc99
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
jle 0x43fc8c
lea edx, [ecx*2 + 0x506c40]
cmp word [edx], 0x22
jne 0x43fc60
movzx edx, word [ecx*2 + 0x506c42]
inc ecx
test dx, dx
je 0x43fc53
cmp dx, 0x22
jne 0x43fc3f
lea edx, [ecx*2 + 0x506c40]
cmp word [edx], 0
je 0x43fc99
cmp word [edx], 0x20
jne 0x43fc87
xor edi, edi
mov word [edx], di
inc ecx
cmp word [ecx*2 + 0x506c40], 0x20
je 0x43fc6b
mov edi, dword [esi]
lea edx, [ecx*2 + 0x506c40]
mov dword [ebx + edi*4], edx
inc dword [esi]
mov edi, dword [esi]
inc ecx
cmp ecx, eax
jl 0x43fc32
mov eax, dword [ebx + edi*4 - 4]
cmp word [eax], 0
jne 0x43fc99
dec edi
mov dword [esi], edi
pop edi
pop esi
pop ebx
ret 8

Function at 0x43fc9f
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 [0x506c3c], eax
lea eax, [ebp - 0x3c]
push 0
push eax
mov dword [ebp - 0x44], 0x44
call fcn.0043fd94
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x18], 1
je 0x43fce1
movzx eax, word [ebp - 0x14]
jmp 0x43fce4
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 0x443c15
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x443cd9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jb 0x443cd9
cmp word [esi], 0x5c
mov eax, esi
jne 0x443c4c
cmp word [esi + 6], 0x5c
jne 0x443c4c
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 0x443c76
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x443cd7
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 0x443cd7
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 0x443cd7
add esi, 2
push esi
lea eax, [ebp - 0x410]
push eax
push 0x44aee0
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 0x445df0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [0x507c3c], ebx
je 0x445f01
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 [0x4941f8]
cmp eax, 0xffffffff
jne 0x445ea3
push ebx
push ebx
push 4
push dword [0x5079c4]
push 1
push edi
push dword [esp + 0x38]
call esi
mov dword [0x4941f8], eax
cmp eax, 0xffffffff
jne 0x445ea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x445e71
push ebx
push ebx
push 4
push ebx
push 1
push edi
push dword [esp + 0x38]
call esi
mov dword [0x4941f8], eax
mov eax, dword [0x4941f8]
cmp eax, 0xffffffff
jne 0x445ea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x445e99
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0xa
jl 0x445e2c
mov eax, dword [0x4941f8]
cmp eax, 0xffffffff
je 0x445efe
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 [0x4941f8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x507c38], ebx
je 0x445ee8
push dword [0x4941f8]
mov esi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call esi
mov eax, dword [0x4941fc]
cmp eax, 0xffffffff
je 0x445ee8
push eax
call esi
push dword [0x5079e8]
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 0x445f0b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
cmp dword [0x507c30], 0
jne 0x445f2a
cmp dword [0x507c34], 0
je 0x446060
mov eax, dword [ebp + 8]
cmp eax, dword [0x507a24]
jg 0x446060
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5079fc
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x400
mov esi, 0x508ca0
push esi
push dword [ebp + 0xc]
call fcn.00427600
lea eax, [ebp + 0x10]
push eax
push esi
mov esi, 0x5084a0
push esi
call dword [sym.imp.USER32.dll_wvsprintfW]
cmp eax, 0x3b0
jle 0x445f83
xor eax, eax
mov word [0x508c00], ax
test byte [0x508498], 1
jne 0x445fa3
or dword [0x508498], 1
call fcn.0042779b
mov dword [0x508490], eax
mov dword [0x508494], edx
call fcn.0042779b
mov edi, eax
lea eax, [ebp - 0x24]
push eax
mov ebx, edx
push ebx
push edi
push dword [0x508494]
push dword [0x508490]
call fcn.004277d0
lea eax, [ebp - 0xa4]
push eax
mov dword [0x508490], edi
mov dword [0x508494], ebx
call fcn.00445cb6
push esi
push dword [ebp + 8]
xor ebx, ebx
push ebx
call fcn.00445d6e
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, 0x507c90
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jle 0x446049
cmp dword [0x507c34], ebx
je 0x44601c
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x507c30], ebx
je 0x446049
cmp edi, 0x400
jne 0x44603e
push 0xd
pop eax
push 0xa
mov word [0x50848c], ax
pop eax
mov word [0x50848e], ax
push esi
push 0x507a28
call fcn.00445df0
push 0x5079fc
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 0x446134
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
cmp dword [0x5094a0], esi
je 0x446170
push str.CreateLogFile
push 0x28c
push str..LogFile.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.00445f0b
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44627f
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 [0x5094a0], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
cmp eax, esi
je 0x4461d7
cmp dword [ebp - 4], esi
je 0x4461ab
cmp dword [ebp - 0xc], esi
je 0x4461ab
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
cmp eax, esi
je 0x4461d7
mov eax, dword [ebp - 4]
mov dword [0x5079b8], 0xc
mov dword [0x5079bc], eax
mov dword [0x5079c0], esi
mov dword [0x5079c4], 0x5079b8
mov dword [0x5079c8], ebx
mov dword [ebp - 8], esi
push esi
push esi
push 2
push dword [0x5079c4]
push 3
push 0x40000000
push 0x507a28
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44621b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x446250
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x64
jl 0x4461da
jmp 0x446250
push esi
lea eax, [ebp - 0x14]
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 - 0x18]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0xffffffff
je 0x446264
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x446277
cmp dword [0x507c34], esi
je 0x446277
push str.UsbTreeView:_error_creating_the_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov dword [0x5094a0], esi
pop ebx
pop esi
leave
ret
Function at 0x446282
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 esi
push 0x5079fc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
cmp dword [0x507c30], ebx
je 0x44639b
cmp word [0x507a28], bx
je 0x44639b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, 0x507a28
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.00424cbd
test eax, eax
je 0x44634a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44634a
push 0x2e
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov ebx, eax
test ebx, ebx
je 0x446348
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 [0x507c30], ebx
je 0x44639a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x446363
call fcn.00446134
cmp dword [0x507c38], ebx
je 0x44639a
mov al, byte [0x507a28]
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 [0x4941fc], eax
pop edi
xor esi, esi
inc esi
cmp dword [0x5079e8], ebx
jne 0x4463d0
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5079e8], eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x446062
push ebx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5079e4], eax
mov dword [0x507c3c], esi
pop esi
pop ebx
leave
ret

Function at 0x447cff
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 0x447d1f
mov esi, dword [ebp + 8]
push str.api_ms_win_
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
cmp eax, esi
jne 0x447d34
xor eax, eax
inc eax
jmp 0x447d7d
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x447d7b
test esi, esi
je 0x447d7b
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push 0x44aee0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call fcn.00424cbd
test eax, eax
jne 0x447d2f
xor eax, eax
pop esi
leave
ret 4
Function at 0x447d82
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 0x447dd4
push esi
call fcn.00425ce3
mov edi, eax
test edi, edi
jne 0x447dd4
cmp dword [0x4fabd8], 0x500
jbe 0x447dcd
push 0x10
push dword [0x493a1c]
push str.Error:_psapi.dll_not_loaded
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x447f77
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 0x447f62
cmp eax, esi
je 0x447f62
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 0x447f74
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.0043fd94
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 0x447f54
mov esi, dword [ebp + 0x70]
shr esi, 2
cmp esi, edi
jle 0x447f54
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 0x447ee6
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x220]
push eax
call ebx
lea ecx, [ebp - 0x220]
cmp ecx, eax
je 0x447ee6
lea eax, [ebp - 0x18]
push eax
mov eax, ecx
push eax
call ebx
lea ecx, [ebp - 0x220]
cmp ecx, eax
je 0x447ee6
mov eax, ecx
push eax
call fcn.00447cff
test eax, eax
jne 0x447eed
inc edi
cmp edi, esi
jl 0x447e90
jmp 0x447f54
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x447f14
test al, 6
je 0x447f14
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 [0x493a1c]
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 0x447f76
push esi
push 0x473920
push 0x47391c
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x448114
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
mov ebx, 0x4fad68
push ebx
lea eax, [ebp - 0x664]
push str.__s.dll
push eax
call esi
and dword [ebp - 0x254], 0
push 0x24c
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.0043fd94
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esp, 0x18
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x664]
push eax
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4481a8
push ebx
lea eax, [ebp - 0x664]
push str._s.dll
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x664]
push eax
call edi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4481a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
test byte [ebp - 0x254], 0x10
jne 0x4481f2
lea eax, [ebp - 0x228]
push eax
call fcn.00447cff
test eax, eax
je 0x4481d1
lea eax, [ebp - 0x228]
push eax
call fcn.00447f81
test eax, eax
je 0x44820a
cmp word [ebp - 0x20], 0
je 0x4481f2
lea eax, [ebp - 0x20]
push eax
call fcn.00447cff
test eax, eax
je 0x4481f2
lea eax, [ebp - 0x20]
push eax
call fcn.00447f81
test eax, eax
je 0x44822b
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4481a8
xor esi, esi
jmp 0x44823b
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x4481a1
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x4481a1

Function at 0x44824b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
sub esp, 0x810
cmp dword [0x4fb1b4], eax
je 0x448261
inc eax
leave
ret
push esi
push edi
mov edi, 0x206
push edi
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push 0
push eax
call fcn.0043fd94
add esp, 0xc
push 0x4fa888
mov esi, 0x4fad68
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x448339
lea eax, [ebp - 0x410]
push eax
call fcn.00448114
test eax, eax
je 0x448339
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push str.Suspicious_System_DLL___S__found_in_UsbTreeViews_folder____abort_for_safety
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
xor eax, eax
push edi
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0043fd94
add esp, 0x18
push 0x104
lea eax, [ebp - 0x208]
push eax
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, esi
jne 0x44831c
push str._n_nHint:_Starting_applications_from_TEMP_folder_is_risky.
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x10
push 0x44e65c
lea eax, [ebp - 0x810]
push eax
push dword [0x4fb1c0]
call fcn.004475c9
xor eax, eax
jmp 0x44833c
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x1000dcc4
Capabilities:
Query environment variable

Disassembly:
push esi
push edi
mov edi, 0x100834d0
push edi
call sym.glib_lite.dll_Ordinal_240
xor esi, esi
inc esi
pop ecx
test eax, eax
je 0x1000dcff
push str.G_MAIN_POLL_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov ecx, dword [0x100834b0]
test eax, eax
push esi
cmovne ecx, esi
push edi
mov dword [0x100834b0], ecx
call sym.glib_lite.dll_Ordinal_241
add esp, 0xc
push ebx
push 0x70
push esi
call sym.glib_lite.dll_Ordinal_200
mov edi, eax
push edi
call sym.glib_lite.dll_Ordinal_211
lea ecx, [edi + 8]
push ecx
call sym.glib_lite.dll_Ordinal_52
xor ebx, ebx
push ebx
push ebx
call sym.glib_lite.dll_Ordinal_128
mov dword [edi + 0x24], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x5c], 0x1001baf7
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
call fcn.100016bb
mov dword [edi + 0x28], eax
mov dword [edi + 0x68], ebx
call fcn.1001c0f2
lea esi, [edi + 0x50]
mov dword [edi + 0x4c], eax
push esi
push eax
call fcn.1001c0de
push esi
push ebx
push edi
call fcn.1000d835
mov esi, 0x100834c4
push esi
call sym.glib_lite.dll_Ordinal_212
push edi
push dword [0x100834cc]
call sym.glib_lite.dll_Ordinal_328
add esp, 0x38
mov dword [0x100834cc], eax
cmp dword [0x100834b0], 0
pop ebx
je 0x1000dd9c
push edi
push str.created_context_p_n
call fcn.100259e1
pop ecx
pop ecx
push esi
call sym.glib_lite.dll_Ordinal_213
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x1000f4ca
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10083304]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
lea eax, [ebp - 0x80]
xor esi, esi
push eax
push dword [ebp + 0x19c]
mov dword [ebp - 0x80], esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1000f52c
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1000f523
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push 0xffffffffffffffff
push eax
call sym.glib_lite.dll_Ordinal_446
add esp, 0x14
mov esi, eax
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100319bd
add ebp, 0x194
leave
ret
Function at 0x10010d21
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1040
call fcn.10031b90
mov eax, dword [0x10083304]
xor eax, esp
mov dword [esp + 0x103c], eax
and dword [esp], 0
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x1048]
push edi
mov edi, dword [esp + 0x1058]
push eax
push dword [esp + 0x1054]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64]
pop ecx
pop ecx
test eax, eax
jns 0x10010d93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [eax]
push esi
call sym.glib_lite.dll_Ordinal_364
pop ecx
push eax
push esi
call fcn.100030dd
pop ecx
push eax
call fcn.100031d3
push eax
push edi
call fcn.100259e1
add esp, 0x10
xor eax, eax
jmp 0x10010e72
test dword [esp + 0x12], 0x8000
jne 0x10010dab
push str.Not_a_regular_file
push 1
call fcn.10010763
jmp 0x10010d82
push ebx
mov bl, byte [esi + 0x14]
push esi
call fcn.100106e7
push esi
call fcn.10010bbf
mov eax, dword [esp + 0x1060]
pop ecx
pop ecx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
push ebp
push 0x1000
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1060]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
test ebp, ebp
je 0x10010e3e
jns 0x10010e20
cmp ebx, 4
je 0x10010e34
cmp ebx, 0xb
je 0x10010e34
push ebx
call sym.glib_lite.dll_Ordinal_364
pop ecx
push eax
push ebx
call fcn.100030dd
pop ecx
push eax
call fcn.100031d3
push eax
push edi
call fcn.100259e1
add esp, 0x10
jmp 0x10010e69
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100110da
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010dcb
jmp 0x10010e46
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010e49
push eax
jmp 0x10010e61
lea eax, [esp + 0x10]
push eax
push esi
call fcn.100259e1
cmp dword [esp + 0x18], 0
pop ecx
pop ecx
je 0x10010e6d
push dword [esp + 0x10]
push edi
call fcn.100259e1
pop ecx
pop ecx
xor eax, eax
jmp 0x10010e70
xor eax, eax
inc eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
pop edi
pop esi
xor ecx, esp
call fcn.100319bd
add esp, 0x1040
ret