joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469ef0
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
sub esp, 8
mov eax, dword [0x5379e0]
test eax, eax
je 0x469f70
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x469f90
mov dword [eax + 0x18], 0x5210f0
mov ebx, 0x5210f0
call sym._TlsAlloc_0
mov dword [ebx], eax
mov eax, dword [0x5379e0]
test eax, eax
je 0x469f48
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x469f68
mov dword [eax + 0x18], 0x5210f0
mov eax, 0x5210f0
cmp dword [eax], 0xffffffff
je sym._pthread_tls_init.cold
add esp, 8
pop ebx
ret
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x5379e0]
mov edx, dword [edx + 0x18]
test edx, edx
je 0x469f2b
test eax, eax
jne 0x469f68
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x469f37
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ebx, dword [eax + 0x18]
mov eax, dword [0x5379e0]
test ebx, ebx
je 0x469f08
test eax, eax
jne 0x469f90
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov ebx, dword [eax + 0x18]
jmp 0x469f14

Function at 0x469fa0
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push edi
xor eax, eax
mov ecx, 0x10
sub esp, 0x88
lea edi, [esp + 0x40]
mov dword [esp + 0x15], 0x6f727245
mov dword [esp + 0x19], 0x6c632072
mov dword [esp + 0x1d], 0x696e6165
mov dword [esp + 0x21], 0x7520676e
mov dword [esp + 0x25], 0x70732070
mov dword [esp + 0x29], 0x6b5f6e69
mov dword [esp + 0x2d], 0x20737965
mov dword [esp + 0x31], 0x20726f66
mov dword [esp + 0x35], 0x65726874
mov dword [esp + 0x39], 0x206461
mov dword [esp + 0x3d], 0
mov dword [esp + 0x7c], 0
rep stosd dword es:[edi], eax
call sym._GetCurrentThreadId_0
lea edx, [esp + 0x3c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.__ultoa
cmp byte [esp + 0x3c], 0
je 0x46a07a
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x46a04d
cmp eax, 0x6a
je 0x46a06a
mov ecx, eax
add eax, 1
cmp byte [edx + eax], 0
jne 0x46a048
cmp eax, 0x6a
je 0x46a06a
add ecx, 2
mov byte [esp + eax + 0x15], 0xa
mov byte [esp + ecx + 0x15], 0
mov dword [esp], edx
call sym._OutputDebugStringA_4
sub esp, 4
call sym._abort
mov ecx, 0x28
mov eax, 0x27
lea edx, [esp + 0x15]
jmp 0x46a060
Function at 0x46d280
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x46d2a2
call sym.__pthread_cleanup_dest.part.0
test byte [ebx + 0x20], 0x30
je 0x46d447
mov eax, dword [0x5379e0]
test eax, eax
je 0x46d328
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x46d348
mov dword [eax + 0x18], 0x5210f0
mov eax, 0x5210f0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
test eax, eax
je 0x46d313
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
je 0x46d350
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x46d302
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x46d3f8
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.___shmem3_winpthreads_tdm_init_local_region
mov ecx, dword [eax + 0x18]
mov eax, dword [0x5379e0]
test ecx, ecx
je 0x46d2c0
test eax, eax
jne 0x46d348
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x46d2cc
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x46d365
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebx + 0xb0]
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], 0
test eax, eax
je 0x46d3e8
mov eax, dword [0x5379e0]
test eax, eax
je 0x46d3c0
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x46d3e0
mov dword [eax + 0x18], 0x5210f0
mov eax, 0x5210f0
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
mov dword [esp + 0x20], esi
add esp, 0x14
pop ebx
pop esi
jmp sym.__endthreadex
call sym.___shmem3_winpthreads_tdm_init_local_region
mov edx, eax
mov eax, dword [0x5379e0]
mov ebx, dword [edx + 0x18]
test ebx, ebx
je 0x46d389
test eax, eax
jne 0x46d3e0
call sym.___shmem3_winpthreads_tdm_init_local_region
lea esi, [esi]
mov eax, dword [eax + 0x18]
jmp 0x46d395
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x46d379
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call sym._CloseHandle_4
mov ecx, dword [ebx + 0xb0]
mov dword [ebx + 0x14], 0
sub esp, 4
test ecx, ecx
jne 0x46d424
mov eax, ebx
call sym._push_pthread_mem.part.0
mov eax, dword [0x5379e0]
test eax, eax
jne 0x46d382
call sym.___shmem3_winpthreads_tdm_init_local_region
mov eax, dword [eax + 0x18]
test eax, eax
mov eax, dword [0x5379e0]
jne 0x46d3d3
jmp 0x46d389
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
lea esi, [esi]
Function at 0x46f0a0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x38
call sym._GetLastError_0
test eax, eax
jne 0x46f0b8
add esp, 0x38
pop ebx
ret
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1100
call sym._FormatMessageA_28
sub esp, 0x1c
test eax, eax
jne 0x46f108
call sym._IsDebuggerPresent_0
test eax, eax
je 0x46f0af
int3
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._OutputDebugStringA_4
sub esp, 4
mov dword [esp], ebx
call sym._OutputDebugStringA_4
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._LocalFree_4
sub esp, 4
jmp 0x46f0f7

Function at 0x46f140
Capabilities:
Check mutex on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp + 8], 0x537a40
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
jne 0x46f208
mov edx, dword [0x5379e0]
mov eax, dword [edx + 4]
test eax, eax
je 0x46f1d0
cmp edx, 0x5379e0
jne 0x46f1b5
mov dword [0x5379e0], eax
cmp eax, 0x5379e0
je 0x46f1bc
lea esi, [esi]
test eax, eax
je 0x46f1e4
mov edx, dword [edx]
mov dword [eax], edx
mov edx, eax
mov eax, dword [edx + 4]
cmp eax, 0x5379e0
jne 0x46f1a8
mov eax, dword [0x5379e4]
mov dword [edx + 4], eax
test eax, eax
je 0x46f1e4
mov edx, eax
jmp 0x46f1b2
mov dword [esp], 0x537a80
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x46f224
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
mov eax, str.failed_to_to_lock_cleanup_mutex_n
call sym.___shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x18
pop ebx
ret
movzx eax, ax
mov dword [esp], eax
call sym._DeleteAtom_4
sub esp, 4
jmp 0x46f1e4
Function at 0x46f240
Capabilities:
Check mutex on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
call sym._GetCurrentProcessId_0
xor edx, edx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + edx + 0x1c]
mov ecx, eax
and eax, 0xf
shr cl, 4
add eax, 0x61
add ecx, 0x41
mov byte [edx + edx + 0x537a41], al
mov byte [edx + edx + 0x537a40], cl
add edx, 1
cmp edx, 4
jne 0x46f252
xor eax, eax
mov edx, 0x5f
jmp 0x46f28f
movzx edx, byte [eax + str.__shmem3_winpthreads_tdm_]
mov byte [eax + 0x537a48], dl
add eax, 1
cmp eax, 0x1a
jne 0x46f288
xor eax, eax
mov edx, 0x5f
jmp 0x46f2b7
movzx edx, byte [eax + str.__shmem3_winpthreads_tdm_]
mov byte [eax + 0x537a80], dl
add eax, 1
cmp eax, 0x19
jne 0x46f2b0
mov dword [esp + 8], 0x537a40
mov dword [esp + 4], 0
mov dword [esp], 0
mov byte [0x537a99], 0x2d
mov dword [0x537a9a], 0x61616161
mov dword [0x537a9e], 0x61616161
mov dword [0x537aa2], 0x61616161
mov dword [0x537aa6], 0x61616161
mov dword [0x537aaa], 0x61616161
mov dword [0x537aae], 0x61616161
mov dword [0x537ab2], 0x61616161
mov dword [0x537ab6], 0x61616161
mov byte [0x537aba], 0
call sym._CreateMutexA_12
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov esi, eax
test eax, eax
jne 0x46f49a
mov dword [esp], 0x537a80
call sym._FindAtomA_4
sub esp, 4
test ax, ax
jne 0x46f3f0
mov edx, 0x5379e0
mov eax, 0x20
nop
bt edx, eax
jae 0x46f390
mov ecx, eax
neg ecx
mov byte [ecx + 0x537aba], 0x41
sub eax, 1
jne 0x46f380
mov dword [esp], 0x537a80
call sym._AddAtomA_4
sub esp, 4
test ax, ax
je 0x46f489
mov dword [esp], sym.___shmem3_winpthreads_tdm_cleanup_local_region
mov dword [0x5379e0], 0x5379e0
call sym.__onexit
mov dword [esp], ebx
call sym._ReleaseMutex_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
mov eax, dword [0x5379e0]
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, ax
mov ebp, 0x20
mov edi, 1
mov dword [esp + 8], 0x3b
mov dword [esp + 4], 0x537a80
mov dword [esp], eax
call sym._GetAtomNameA_12
mov edx, eax
sub esp, 0xc
xor eax, eax
test edx, edx
je 0x46f4b9
lea esi, [esi]
cmp byte [eax + 0x537a9a], 0x41
jne 0x46f43b
mov ecx, ebp
mov edx, edi
sub ecx, eax
shl edx, cl
or esi, edx
add eax, 1
cmp eax, 0x20
jne 0x46f428
mov eax, esi
mov dword [0x5379e0], eax
jmp 0x46f45c
cmp edx, 0x5379e0
je 0x46f3c3
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x46f450
cmp edx, 0x5379e0
je 0x46f3c3
mov dword [edx + 4], 0x5379e0
mov dword [esp], sym.___shmem3_winpthreads_tdm_cleanup_local_region
call sym.__onexit
jmp 0x46f3c3
mov eax, str.failed_to_add_string_to_atom_table_n
call sym.___shmem_get_error
xor eax, eax
jmp 0x46f3de
mov eax, str.failed_to_to_lock_creation_mutex_n
call sym.___shmem_get_error
mov dword [esp], ebx
call sym._CloseHandle_4
xor eax, eax
sub esp, 4
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, str.failed_to_get_string_from_atom_n
call sym.___shmem_get_error
xor eax, eax
jmp 0x46f445
Function at 0x47a080
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._setlocale
test eax, eax
je 0x47a154
mov dword [esp], eax
mov esi, eax
mov ebx, esp
call sym._strlen
lea edx, [eax + 1]
add eax, 0x10
shr eax, 4
shl eax, 4
call fcn.00465630
sub esp, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 4], 0x52b064
mov dword [esp], 2
mov esi, eax
call sym._setlocale
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._strcmp
test eax, eax
je 0x47a160
mov dword [esp + 4], esi
mov dword [esp], 2
call sym._setlocale
mov eax, esi
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sym._strchr
test eax, eax
je 0x47a150
add eax, 1
mov dword [esp], eax
call sym._atoi
mov edi, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._GetCPInfo_8
sub esp, 8
test eax, eax
je 0x47a150
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x47a1a0
xor edi, edi
mov esp, ebx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.LC_ALL
call sym._getenv
test eax, eax
jne 0x47a112
mov dword [esp], str.LC_CTYPE
call sym._getenv
test eax, eax
jne 0x47a112
mov dword [esp], str.LANG
call sym._getenv
test eax, eax
jne 0x47a112
mov eax, esi
jmp 0x47a112
mov esp, ebx
jmp 0x47a154
Function at 0x1400104d
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x14045b88]
push ebx
push esi
push edi
mov edi, 0x80
mov ebx, ecx
mov dword [ebp - 0x118], eax
mov eax, dword [0x14045c68]
push edi
push ebx
mov dword [ebp - 0x114], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
push esi
push edi
push 3
push esi
push 2
push 0x1f01ff
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x14001194
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x114]
mov edi, 0x140388b8
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400c634
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.1400bd87
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400c634
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.1400bd87
push 0
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x114]
mov edi, str._06d
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400c634
add esp, 0xc
push 0
lea eax, [ebp - 0x11c]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400c634
add esp, 0xc
push 0
lea eax, [ebp - 0x11c]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1401f2d2
leave
ret
Function at 0x14001521
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x210], ax
xor edi, edi
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.1401f600
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push edi
push eax
call fcn.1401f600
mov ecx, dword [0x14045ca8]
add esp, 0xc
lea edx, [ebp - 0x210]
call fcn.1400bde4
mov edx, 0x14038928
lea ecx, [ebp - 0x210]
call fcn.1400bd9e
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x64c], eax
cmp eax, 0xffffffff
jne 0x140015b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1401f2d2
leave
ret
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
mov dword [ebp - 0x648], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140015e9
xor esi, esi
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x140015a8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.14001403
push dword [ebp - 0x640]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x650], eax
test eax, eax
je 0x140016e9
lea esi, [ebp - 0x624]
call fcn.1400146f
test eax, eax
jne 0x140016dd
lea eax, [ebp - 0x210]
push eax
mov eax, esi
push eax
call fcn.1401f479
pop ecx
pop ecx
test eax, eax
je 0x140016dd
push 0xffffffffffffffff
push dword [ebp - 0x650]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, esi
push eax
mov esi, 0x104
push str.Application_cannot_be_executed._The_file__ws_is_infected._nPlease_activate_your_antivirus_software.
mov ecx, esi
lea edi, [ebp - 0x418]
call section..text
pop ecx
pop ecx
call ebx
cmp dword [0x140464e0], eax
jae 0x140016dd
call ebx
add eax, 0x2710
cmp dword [0x14045c00], 0
mov dword [0x140464e0], eax
jne 0x14001696
mov eax, esi
call fcn.1400cbe2
mov dword [0x14045c00], eax
cmp dword [0x14045b84], 0
jne 0x140016ab
mov eax, esi
call fcn.1400cbe2
mov dword [0x14045b84], eax
mov edx, dword [0x14045c00]
lea ecx, [ebp - 0x418]
call fcn.1400bde4
mov edx, dword [0x14045b84]
mov ecx, str.WARNING_
call fcn.1400bde4
mov eax, dword [0x14045be8]
test eax, eax
je 0x140016dd
push 9
push eax
call fcn.14008781
push dword [ebp - 0x650]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140015ef
xor esi, esi
inc esi
jmp 0x140015d9
Function at 0x1400170b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44
pop edx
lea eax, [ebp - 0x54]
push edx
push eax
call fcn.1400cb6c
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x54], edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001753
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop esi
leave
ret

Function at 0x14001755
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
mov eax, dword [ebp + 0x3b0]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x140018b3
lea eax, [ebp - 0x78]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x140018b3
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x78]
test eax, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
jne 0x140017cc
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x140018b3
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x140018b3
lea eax, [ebp - 0x70]
push eax
push 0x140364e8
push 1
push 0
push 0x140364f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x140018ad
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push esi
push ebx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x70]
mov esi, dword [eax]
mov eax, str.Tztufn_Tfdvsjuz_311:
call fcn.1401c4b3
push eax
push dword [ebp - 0x70]
call dword [esi + 0x1c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 0
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x14036508
push eax
call dword [ecx]
pop esi
test eax, eax
jl 0x140018a4
lea ecx, [ebp - 0x6c]
lea edx, [ebp + 0x19c]
call fcn.1400bde4
mov eax, str._Tztufn_Tfdvsjuz_311:_mol
call fcn.1401c4b3
mov edx, eax
lea ecx, [ebp + 0x19c]
call fcn.1400bd9e
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x19c]
call fcn.1400bde4
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x19c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.1401f2d2
add ebp, 0x3a8
leave
ret
Function at 0x140018c8
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x14043524]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3b8]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x14001a7e
push edi
lea eax, [ebp - 0x74]
push eax
push 2
xor edi, edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x14001a7d
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x74]
test eax, eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
jne 0x1400194a
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14001a7d
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, str._Tztufn_Tfdvsjuz
call fcn.1401c4b3
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.1400bd9e
push edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x14001a7d
lea eax, [ebp - 0x6c]
push eax
push 0x140364e8
push 1
push edi
push 0x140364f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x14001a77
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov ecx, esi
call fcn.1400be2e
test eax, eax
je 0x140019f9
push 0x104
lea eax, [ebp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, str._ahui.exe
lea ecx, [ebp + 0x1a0]
call fcn.1400bd9e
push edi
lea edx, [ebp + 0x1a0]
push edx
jmp 0x140019fb
push edi
push esi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x14036508
push eax
call dword [ecx]
test eax, eax
jl 0x14001a6e
lea ecx, [ebp - 0x68]
lea edx, [ebp + 0x1a0]
call fcn.1400bde4
mov edx, 0x14038ae0
lea ecx, [ebp + 0x1a0]
call fcn.1400bd9e
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp + 0x1a0]
call fcn.1400bd9e
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x1a0]
call fcn.1400bde4
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x1a0]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov ecx, dword [ebp + 0x3a8]
xor ecx, ebp
call fcn.1401f2d2
add ebp, 0x3ac
leave
ret