joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081500
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10055b90
mov esi, dword [0x100a4098]
add esp, 0xc
test esi, esi
je 0x10014492
lock inc dword [esi + 4]
mov esi, dword [0x100a4098]
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], esi
mov byte [ebp - 4], 2
lea edx, [ebp - 0x220]
mov eax, dword [ecx]
push edx
call dword [eax + 0xec]
push dword [ebp + 8]
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
push 0x10093244
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100144f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
test esi, esi
je 0x1001451d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001451d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1001451d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, 0x2a
cmp ax, word [ebp - 0x21c]
je 0x10014559
lea edx, [ebp - 0x21c]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10014534
sub edx, esi
lea eax, [ebp - 0x21c]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.10007d40
mov esi, 1
jmp 0x1001455b
xor esi, esi
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014579
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x10014598
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100145c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008154d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.1002e7b0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jne 0x10014617
xor edi, edi
jmp 0x100146dc
push str.config.ini
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.1000c1f0
add esp, 4
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001466a
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10014738
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.10069596
cdq
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
call fcn.10014740
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x20]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100146be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100146dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100146fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10014719
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 4
xor edi, edi
jmp 0x100146be
Function at 0x10016980
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081958
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
mov edx, esi
movq qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x50]
call fcn.10016ba0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10016c40
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
push ecx
lea eax, [ebp - 0x48]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1001ab90
push 0x100079b0
push 2
push 4
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
call fcn.100537c2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x10016b12
nop dword [eax]
mov esi, dword [eax]
xorps xmm0, xmm0
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x40000
push esi
push SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10001910
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10016af9
lea eax, [ebp - 0x40]
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x10016b38
cmp dword [edi], 0
je 0x10016ad9
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10016aeb
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10016aeb
push 0
push dword [edi]
push 0
push 0
push 0x1008f490
push esi
call eax
jmp 0x10016aeb
cmp dword [edi + 4], 0
je 0x10016aeb
push 0x1008f490
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x48]
jne 0x10016a30
lea ecx, [ebp - 0x2c]
call fcn.1000c4b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [0x100a40de], 0
jne 0x10016b78
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10016b6a
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100a40e0], eax
mov byte [0x100a40de], 1
jmp 0x10016b7d
mov eax, dword [0x100a40e0]
mov byte [0x100a40de], 1
jmp 0x10016b7d
mov eax, dword [0x100a40e0]
test eax, eax
je 0x10016adf
push 0
push dword [ebp - 0x1c]
push 0x1008f490
push esi
call eax
jmp 0x10016aeb
Function at 0x10016ce0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100819cd
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.10055b90
add esp, 0xc
mov dword [ebp - 0x140], 0x11c
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10016d51
lea ecx, [ebp - 0x140]
push ecx
call eax
cmp dword [ebp - 0x13c], 0xa
jb 0x10016e1c
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10016e37
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.sesAppX43hnxtbyyps62jhe9s
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.SoftwareClas_sqpdzxn1790zetc
push eax
call fcn.10007310
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x2001f
push esi
push SysReAllocString
call fcn.10001910
mov edi, dword [ebp - 0x20]
push 0
push 0
push 0
push 0
push str.NoOpenWith
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x10016df2
push eax
push 0x1008f490
push 1
push 0
push str.NoOpenWith
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x10016dfd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10016e1c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001410
int3
Function at 0x1001b570
Capabilities:
Check os version
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0x140], ebx
xor esi, esi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push pe_nt_image_headers32
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.10055b90
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
jae 0x1001b64c
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
cmp eax, ebx
je 0x1001b64c
mov ecx, 0x2710
nop dword [eax + eax]
cmp dword [ebp + 0x10], eax
jne 0x1001b664
cmp esi, 5
ja 0x1001b664
mov eax, 0xaaaaaaab
mul dword [ebp - 8]
shr edx, 1
cmp edx, 0x3e8
jae 0x1001b623
mov edx, 0x3e8
jmp 0x1001b62c
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
inc esi
push eax
push dword [ebp - 0x140]
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, 0x2710
cmp eax, ebx
jne 0x1001b600
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100535a4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001b680
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], edi
test edi, edi
jne 0x1001b6be
mov eax, 0x80070057
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 0xc
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.10055b90
add esp, 0xc
lea eax, [ebp - 0x214]
push edi
push str._sRes.cab
push 0x104
push eax
call fcn.1000cb60
add esp, 0x10
test esi, esi
jne 0x1001b703
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x1001b80d
movzx ecx, word [ebp + 8]
push 0xa
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x1001b7e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1001b7e8
push dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 4
push 0
push 2
mov edi, eax
lea eax, [ebp - 0x214]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x220], ecx
cmp ecx, 0xffffffff
je 0x1001b822
test ecx, ecx
je 0x1001b822
xor esi, esi
mov dword [ebp - 0x21c], 0
test edi, edi
je 0x1001b7cb
push 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esi, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x1001b7c5
mov ecx, dword [ebp - 0x220]
cmp esi, edi
jb 0x1001b788
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp - 0x21c], 0
je 0x1001b80d
mov edi, dword [ebp - 0x224]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, edi
lea ecx, [ebp - 0x214]
call fcn.10026e70
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100535a4
mov esp, ebp
pop ebp
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1001b80d
Function at 0x1001c180
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x100874c0
push 1
push 0
push 0x100874e0
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1001c27e
cmp dword [edi + 0x60], 7
lea edx, [edi + 0x4c]
mov dword [ebp - 0xc], 0
jbe 0x1001c1cd
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [edi + 0x48], 7
lea edx, [edi + 0x34]
jbe 0x1001c1e2
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [edi + 0x74], 0
je 0x1001c207
cmp dword [edi + 0x78], 7
lea edx, [edi + 0x64]
jbe 0x1001c1fd
mov edx, dword [edx]
mov eax, dword [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push esi
push edx
push 0x100874f0
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
js 0x1001c272
cmp dword [edi + 0x90], 7
lea esi, [edi + 0x7c]
mov eax, esi
jbe 0x1001c22f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001c249
cmp dword [esi + 0x14], 7
jbe 0x1001c242
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add edi, 0x7c
cmp dword [edi + 0x14], 7
jbe 0x1001c254
mov edi, dword [edi]
mov eax, dword [ebp - 0xc]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100535a4
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c290
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082102
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4c0]
mov eax, dword [esi]
mov dword [ebp - 0x4c4], eax
lea eax, [esi + 4]
push eax
call fcn.1000c140
lea eax, [esi + 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4a8]
call fcn.1000c140
lea eax, [esi + 0x34]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x490]
call fcn.1000c140
lea eax, [esi + 0x4c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x478]
call fcn.1000c140
lea eax, [esi + 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x460]
call fcn.1000c140
lea edi, [esi + 0x7c]
mov byte [ebp - 4], 4
push edi
lea ecx, [ebp - 0x448]
call fcn.1000c140
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 5
push 0
push eax
call fcn.10055b90
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x490]
add esp, 0xc
cmp dword [ebp - 0x47c], 7
cmova eax, dword [ebp - 0x490]
push eax
lea eax, [ebp - 0x21c]
push 0x10092f90
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push 0
push eax
call fcn.10055b90
add esp, 0xc
lea eax, [ebp - 0x4c0]
cmp dword [ebp - 0x4ac], 7
cmova eax, dword [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x424]
push str._s.lnk
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001c3e0
sub eax, edx
lea ecx, [ebp - 0x448]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1000c570
lea eax, [ebp - 0x4c4]
push eax
call fcn.1001c180
test eax, eax
js 0x1001c4c2
cmp dword [edi + 0x14], 7
jbe 0x1001c41e
mov edi, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x1001c4ec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
push str.barP
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 6
push str.Task_sin
push eax
call fcn.10007310
add esp, 0xc
lea eax, [ebp - 0x448]
cmp dword [ebp - 0x434], 7
cmova eax, dword [ebp - 0x448]
push 0
push 0
push 0
push eax
push 0x1008f490
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x434], 7
lea eax, [ebp - 0x448]
cmova eax, dword [ebp - 0x448]
push eax
call esi
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c4c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4c4]
call fcn.1000c8d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10001410
int3
Function at 0x1001cd50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082240
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x1001cddb
push 0x10
lea eax, [ebp - 0x234]
push eax
call fcn.1001cf60
push eax
mov ecx, edi
call fcn.1000bfd0
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x1001cddb
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001cdd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf3c
push ecx
push edx
call fcn.10053bf1
add esp, 8
cmp dword [edi + 0x28], 0
jne 0x1001ce38
push 2
lea eax, [ebp - 0x234]
push eax
call fcn.1001cf60
push eax
lea ecx, [edi + 0x18]
call fcn.1000bfd0
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x1001ce38
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ce2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf41
push ecx
push edx
call fcn.10053bf1
add esp, 8
cmp dword [edi + 0x40], 0
jne 0x1001cf0e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10055b90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x1001cf46
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0x10093b04
push str.k_LaunchUser_P
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push str.MicrosoftInternet_ExplorerQuic_sinnedTas_s
push eax
call fcn.10007310
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
add esp, 0x10
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ced0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.1000c570
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001cf0e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
mov eax, 0x80004005
je 0x1001cf21
xor ecx, ecx
cmp dword [edi + 0x10], ecx
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
ret
call fcn.10058b57
call fcn.10058b57
push 0x80004005
call fcn.10001410
int3