joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f4d0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40f4f0
xor eax, eax
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40f4ea
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret

Function at 0x40f550
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x46c
mov eax, dword [0x4551e4]
push edi
mov dword [esp + 0x46c], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [0x45616c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x48]
push str._BuildTable
push str.wnwbWnExeTool.exe
push ecx
lea edx, [esp + 0x68]
push str._s_s__s
push edx
call fcn.0042396a
add esp, 0x14
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x7c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x40f61e
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x264]
push 0x446764
push ecx
call fcn.0042396a
mov ecx, dword [0x45616c]
add esp, 0xc
lea edx, [esp + 0x260]
push edx
call fcn.00408490
xor eax, eax
mov ecx, dword [esp + 0x468]
call fcn.00423492
add esp, 0x46c
ret
mov eax, dword [esp]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x268]
push 0x446750
push eax
call fcn.0042396a
add esp, 0xc
lea ecx, [esp + 0x264]
push ecx
mov ecx, dword [0x45616c]
call fcn.00408490
mov ecx, dword [esp + 0x46c]
mov eax, 1
pop esi
call fcn.00423492
add esp, 0x46c
ret
Function at 0x40f6a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x46c
mov eax, dword [0x4551e4]
mov dword [esp + 0x468], eax
xor eax, eax
push edi
mov edx, ecx
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x3c]
test eax, eax
mov dword [esp + 0x18], 0x44
pop edi
je 0x40f708
mov ecx, dword [0x45616c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x68]
mov ecx, dword [eax + 0x48]
push str._SetDefault_StartUp
push str.wnwbWnExeTool.exe
push ecx
push str._s_s__s
lea edx, [esp + 0x68]
push edx
jmp 0x40f72b
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + 0x48]
push str._SetDefault
push str.wnwbWnExeTool.exe
push eax
push str._s_s__s
lea ecx, [esp + 0x68]
push ecx
call fcn.0042396a
add esp, 0x14
lea edx, [esp]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f79b
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x264]
push 0x446764
push eax
call fcn.0042396a
add esp, 0xc
lea ecx, [esp + 0x260]
push ecx
mov ecx, dword [0x45616c]
call fcn.00408490
xor eax, eax
mov ecx, dword [esp + 0x468]
call fcn.00423492
add esp, 0x46c
ret
mov edx, dword [esp]
push esi
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x268]
push 0x446750
push edx
call fcn.0042396a
mov ecx, dword [0x45616c]
add esp, 0xc
lea eax, [esp + 0x264]
push eax
call fcn.00408490
mov ecx, dword [esp + 0x46c]
mov eax, 1
pop esi
call fcn.00423492
add esp, 0x46c
ret
Function at 0x413710
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4414a0
push eax
mov dword fs:[0], esp
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
mov esi, dword [esp + 0x18]
jl 0x41380e
lea eax, [esp + 0x18]
push eax
push 0x44bfa0
push 1
push edi
push 0x44bfb0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x413808
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41377e
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x413791
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x28]
test cx, cx
je 0x4137a5
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4137b8
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4137cb
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x44bff0
push eax
call dword [ecx]
test eax, eax
jl 0x4137fe
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edi, 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x446f38
lea ecx, [esp + 0x28]
call fcn.00403ca0
push esi
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x1c], 0
call fcn.00403020
mov eax, dword [eax]
mov ecx, dword [0x45616c]
push eax
mov byte [esp + 0x14], 1
call fcn.00408490
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x10], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41388c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x1c
Function at 0x413cf0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
xor esi, esi
xor eax, eax
mov word [esp + 0x18], si
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x16
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x413e8f
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x234], esi
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x446fa0
push ecx
mov byte [esp + 0x240], 1
call fcn.00403000
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x446f80
push ecx
call fcn.00403000
mov edx, dword [0x45616c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00403000
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnwb
add ecx, 0x1c
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403020
mov eax, dword [eax]
mov edi, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push eax
push 0x657
push 1
push 0x446f48
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00413710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413e65
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413e8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
call fcn.00423492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413eb0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
xor esi, esi
xor eax, eax
mov word [esp + 0x18], si
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x17
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41404f
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x234], esi
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x446fa0
push ecx
mov byte [esp + 0x240], 1
call fcn.00403000
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x446f80
push ecx
call fcn.00403000
mov edx, dword [0x45616c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00403000
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnwb
add ecx, 0x1c
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403020
mov eax, dword [eax]
mov edi, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push eax
push 0x657
push 1
push 0x446f48
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00413710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414003
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414025
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41404a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
call fcn.00423492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor edi, edi
mov dword [esp + 0x234], edi
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov word [esp + 0x18], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x1a
lea eax, [esp + 0x20]
push eax
push 0
mov byte [esp + 0x244], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4141b4
lea ecx, [esp + 0x18]
push str.MicrosoftInternet_ExplorerQuick_Launch
push ecx
call fcn.00423ed7
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push 0x447118
push eax
call fcn.00403000
mov ecx, dword [0x45616c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x28]
push str._swnwbwnwb.exe
push ecx
call fcn.00403000
mov edx, dword [0x45616c]
mov eax, dword [edx + 0x14]
add esp, 0x20
push str.wnwb
add eax, 0x1c
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403020
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x446f48
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00413710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4141d6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4141ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.00423492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414230
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor edi, edi
mov dword [esp + 0x234], edi
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov word [esp + 0x18], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov byte [esp + 0x244], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x414364
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push 0x447118
push edx
call fcn.00403000
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
push edx
lea eax, [esp + 0x20]
push str._swnwbwnwb.exe
push eax
call fcn.00403000
mov ecx, dword [0x45616c]
mov edx, dword [ecx + 0x14]
add esp, 0x18
push str.wnwb
add edx, 0x1c
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00403020
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x446f48
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00413710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414386
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4143af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.00423492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414960
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
xor esi, esi
xor eax, eax
mov word [esp + 0x18], si
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x10
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x414ad4
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x234], esi
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x447244
push ecx
mov byte [esp + 0x240], 1
call fcn.00403000
mov edx, dword [0x45616c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push str._swniewnie.exe
push edx
call fcn.00403000
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnie
add ecx, 0x1c
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403020
mov eax, dword [eax]
mov edi, dword [esp + 0xc]
push esi
push eax
push esi
mov esi, dword [esp + 0x1c]
push 1
push 0x447270
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00413710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414aaf
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ad4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.00423492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441511
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [esp + 0x224], eax
mov ebx, ecx
xor esi, esi
xor eax, eax
mov word [esp + 0x18], si
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x1a
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x414c86
lea ecx, [esp + 0x18]
push str.MicrosoftInternet_ExplorerQuick_Launch
push ecx
call fcn.00423ed7
add esp, 8
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x234], esi
call fcn.004335c2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x447244
push ecx
mov byte [esp + 0x240], 1
call fcn.00403000
mov edx, dword [0x45616c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push str._swniewnie.exe
push edx
call fcn.00403000
mov eax, dword [0x45616c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnie
add ecx, 0x1c
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403020
mov eax, dword [eax]
mov edi, dword [esp + 0xc]
push esi
push eax
push esi
mov esi, dword [esp + 0x1c]
push 1
push 0x447270
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x250], 2
call fcn.00413710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x234], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414c61
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
mov eax, 1
call fcn.00423492
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret