joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40be10
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 0x40be30
xor eax, eax
add esp, 0x14
ret
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
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 0x40be2a
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret

Function at 0x40be90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x44a1e0]
push edi
mov dword [esp + 0x264], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [0x44b18c]
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 + 0x30]
mov ecx, dword [eax + 0x3c]
push str._BuildTable
push str.wnwb_
push ecx
lea edx, [esp + 0x68]
push str._s_s__s
push edx
call fcn.0041c813
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_CreateProcessA]
test eax, eax
pop edi
jne 0x40bf5e
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x160]
push 0x43c598
push ecx
call fcn.0041c813
mov ecx, dword [0x44b18c]
add esp, 0xc
lea edx, [esp + 0x15c]
push edx
call fcn.00405510
xor eax, eax
mov ecx, dword [esp + 0x260]
call fcn.0041c40e
add esp, 0x264
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 + 0x164]
push 0x43c584
push eax
call fcn.0041c813
add esp, 0xc
lea ecx, [esp + 0x160]
push ecx
mov ecx, dword [0x44b18c]
call fcn.00405510
mov ecx, dword [esp + 0x264]
mov eax, 1
pop esi
call fcn.0041c40e
add esp, 0x264
ret
Function at 0x40bfe0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x44a1e0]
mov dword [esp + 0x260], 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 0x40c048
mov ecx, dword [0x44b18c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x3c]
push str._SetDefault_StartUp
push str.wnwb_
push ecx
push str._s_s__s
lea edx, [esp + 0x68]
push edx
jmp 0x40c06b
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 0x3c]
push str._SetDefault
push str.wnwb_
push eax
push str._s_s__s
lea ecx, [esp + 0x68]
push ecx
call fcn.0041c813
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_CreateProcessA]
test eax, eax
jne 0x40c0db
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x160]
push 0x43c598
push eax
call fcn.0041c813
add esp, 0xc
lea ecx, [esp + 0x15c]
push ecx
mov ecx, dword [0x44b18c]
call fcn.00405510
xor eax, eax
mov ecx, dword [esp + 0x260]
call fcn.0041c40e
add esp, 0x264
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 + 0x164]
push 0x43c584
push edx
call fcn.0041c813
mov ecx, dword [0x44b18c]
add esp, 0xc
lea eax, [esp + 0x160]
push eax
call fcn.00405510
mov ecx, dword [esp + 0x264]
mov eax, 1
pop esi
call fcn.0041c40e
add esp, 0x264
ret
Function at 0x40d020
Capabilities:
Delete file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x44a1e0]
push esi
mov esi, dword [esp + 0x114]
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 0x48]
test eax, eax
push edi
mov edi, ecx
jne 0x40d04b
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x40d07e
mov ecx, dword [0x44b18c]
mov ecx, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x30]
jne 0x40d072
test eax, eax
jne 0x40d072
mov eax, dword [edi + 0x28]
test eax, eax
je 0x40d07e
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40d072
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40d07e
add ecx, 8
push ecx
lea ecx, [esi + 0x3c]
call fcn.00402880
push esi
mov ecx, edi
call fcn.0040cac0
test eax, eax
mov dword [esi + 0x24], eax
jne 0x40d0a4
pop edi
pop esi
mov ecx, dword [esp + 0x108]
call fcn.0041c40e
add esp, 0x10c
ret 4
mov ecx, esi
call fcn.004102e0
mov eax, dword [esi + 0xc]
push 0x43aa4f
push eax
call fcn.0041cbad
add esp, 8
test eax, eax
jne 0x40d0cb
mov edx, dword [esi + 4]
push edx
push 0x43c7a4
jmp 0x40d145
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40d11a
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40d0e4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x40d207
mov dword [edi + 0x3c], 1
mov edx, dword [0x44b18c]
mov ecx, dword [edx + 0x20]
push esi
call fcn.004069f0
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x10]
push 0x43c778
push ecx
call fcn.0041c813
add esp, 0xc
lea edx, [esp + 0xc]
push edx
jmp 0x40d1fc
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
cmp esi, dword [ecx + 0x34]
jne 0x40d12e
mov ecx, edi
call fcn.0040c650
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40d15c
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40d15c
mov edx, dword [esi + 4]
push edx
push 0x43c768
lea eax, [esp + 0x14]
push eax
call fcn.0041c813
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
jmp 0x40d1fc
mov edx, dword [0x44b18c]
mov ecx, dword [edx + 0x20]
push esi
call fcn.004064f0
test eax, eax
mov eax, dword [esi + 4]
push eax
je 0x40d1e1
lea ecx, [esp + 0x10]
push 0x43c754
push ecx
call fcn.0041c813
mov ecx, dword [0x44b18c]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call fcn.00405510
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
cmp esi, dword [ecx + 0x34]
jne 0x40d207
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x40d207
mov ecx, dword [eax + 0x20]
call fcn.004067f0
mov edx, dword [0x44b18c]
mov eax, dword [edx + 0x14]
push str.wnwb32wnwb.ime
add eax, 4
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00404b60
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
call fcn.00401040
jmp 0x40d207
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0x14]
push 0x43c718
push edx
call fcn.0041c813
add esp, 0x10
lea eax, [esp + 0xc]
push eax
mov ecx, dword [0x44b18c]
call fcn.00405510
mov ecx, dword [esp + 0x110]
pop edi
mov eax, 1
pop esi
call fcn.0041c40e
add esp, 0x10c
ret 4
Function at 0x40d830
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x438586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x44a1e0]
push esi
push edi
xor edi, edi
push edi
mov dword [esp + 0x224], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
mov esi, dword [esp + 0x234]
jl 0x40d970
lea eax, [esp + 8]
push eax
push 0x4410e8
push 1
push edi
push 0x4410f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40d96a
mov edx, dword [esp + 0x238]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x40d8b9
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x240]
test ecx, ecx
je 0x40d8cf
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x244]
test cx, cx
je 0x40d8e6
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov ecx, dword [esp + 0x248]
test ecx, ecx
je 0x40d8fc
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x24c]
test ecx, ecx
je 0x40d912
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x441138
push eax
call dword [ecx]
test eax, eax
jl 0x40d960
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, 1
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x43c8b8
lea ecx, [esp + 0x18]
call fcn.00402e80
push esi
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x238], 0
call fcn.00404b60
mov eax, dword [eax]
mov ecx, dword [0x44b18c]
push eax
mov byte [esp + 0x230], 1
call fcn.00405510
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x21c]
pop esi
call fcn.0041c40e
add esp, 0x228
ret 0x1c
Function at 0x40de70
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4385e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x44a1e0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x16
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40e015
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
call fcn.0042aa9b
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 0x43c910
push ecx
mov byte [esp + 0x140], 1
call fcn.00402930
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x43c8f8
push ecx
call fcn.00402930
mov edx, dword [0x44b18c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00402930
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnwb
add ecx, 4
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00404b60
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x43c8c8
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d830
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x134], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dfeb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e010
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.0041c40e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e040
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4385e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x44a1e0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x17
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40e1e5
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
call fcn.0042aa9b
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 0x43c910
push ecx
mov byte [esp + 0x140], 1
call fcn.00402930
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x43c8f8
push ecx
call fcn.00402930
mov edx, dword [0x44b18c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00402930
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnwb
add ecx, 4
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00404b60
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x43c8c8
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d830
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x134], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e1bb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e1e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.0041c40e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [0x44a1e0]
push ebx
push esi
push edi
mov dword [esp + 0x12c], eax
mov dword [esp + 0x18], ecx
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x13c], 0
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x1a
lea eax, [esp + 0x28]
push eax
push 0
mov byte [esp + 0x14c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40e366
lea edi, [esp + 0x20]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40e2b0
mov ecx, 0xa
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push 0x43ca3c
push edx
movsw word es:[edi], word [esi]
call fcn.00402930
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x20]
push str._swnwbwnwb.exe
push eax
call fcn.00402930
mov ecx, dword [0x44b18c]
mov edx, dword [ecx + 0x14]
add esp, 0x18
push str.wnwb
add edx, 4
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00404b60
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push eax
push 0x657
push 1
push 0x43c8c8
push esi
push ebx
mov byte [esp + 0x158], 2
call fcn.0040d830
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x13c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x13c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e388
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x13c], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e3ad
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x12c]
mov eax, 1
call fcn.0041c40e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4385e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x44a1e0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov ebx, ecx
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov byte [esp + 0x144], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40e517
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push 0x43ca3c
push edx
call fcn.00402930
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x20]
push str._swnwbwnwb.exe
push eax
call fcn.00402930
mov ecx, dword [0x44b18c]
mov edx, dword [ecx + 0x14]
add esp, 0x18
push str.wnwb
add edx, 4
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00404b60
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x43c8c8
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d830
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e517
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x134], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e539
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 + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e562
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
mov eax, 1
call fcn.0041c40e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40eb40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4385e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x44a1e0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov ebx, ecx
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40ecbb
call fcn.0042aa9b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
call fcn.0042aa9b
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 0x43cb00
push ecx
mov byte [esp + 0x140], 1
call fcn.00402930
mov edx, dword [0x44b18c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push str._swniewnie.exe
push edx
call fcn.00402930
mov eax, dword [0x44b18c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnie
add ecx, 4
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00404b60
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push eax
push 0
push 1
push 0x43cb20
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d830
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x134], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ec96
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ecbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
mov eax, 1
call fcn.0041c40e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret