joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409bd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x4441e0]
push ebx
mov ebx, dword [esp + 0x26c]
push esi
mov esi, ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x268], eax
mov eax, dword [edx + 0x20]
shl ebx, 5
mov ecx, dword [eax + ebx + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x409ceb
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x44
mov ecx, dword [edx + 0x20]
lea eax, [ecx + ebx]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [edx + 0xc]
push eax
push ecx
lea edx, [esp + 0x174]
push str._s_s__s
push edx
call fcn.00418f95
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x7c]
push 0x43711c
push ecx
call fcn.00418f95
add esp, 0x20
lea edx, [esp + 0x64]
push edx
mov ecx, esi
call fcn.00409800
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x188]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
jne 0x409d04
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + ebx + 4]
add ecx, ebx
mov ecx, dword [ecx + 0x14]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
lea eax, [esp + 0x6c]
push str._s_s
push eax
call fcn.00418f95
add esp, 0x14
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.00409800
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x409ceb
push 0
push 0x4370f4
lea edx, [esp + 0x68]
push edx
call fcn.00427caf
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x260]
call fcn.004185be
add esp, 0x264
ret 4
mov eax, dword [esp + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
mov ecx, dword [esp + 0x268]
mov eax, dword [esp + 0x18]
pop esi
pop ebx
call fcn.004185be
add esp, 0x264
ret 4
Function at 0x409e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00405b30
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401d40
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x409ee2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x409f70
Capabilities:
Create process on windows
Get common file path
Move file

Disassembly:
sub esp, 0x36c
mov eax, dword [0x4441e0]
push ebx
push esi
push edi
mov dword [esp + 0x374], eax
mov ebx, ecx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], eax
push str.wnwb_
add ecx, 0xc
mov dword [esp + 0x14], eax
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], eax
push edx
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x24], eax
call fcn.00405dc0
mov ecx, dword [eax]
lea edx, [esp + 0x68]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x409fc8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ff0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebx + 0xc]
call fcn.00407eb0
lea edi, [esp + 0x68]
dec edi
test eax, eax
je 0x40a010
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a001
mov esi, str.ImeReg64.exe__UnsetupIME_wnwb.ime
jmp 0x40a01d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a010
mov esi, str.ImeReg32.exe__UnsetupIME_wnwb.ime
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x170]
push 0x43711c
push ecx
movsw word es:[edi], word [esi]
call fcn.00418f95
add esp, 0xc
lea edx, [esp + 0x16c]
push edx
mov ecx, ebx
call fcn.00409800
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x88]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40a0b5
lea eax, [esp + 0x16c]
push 0x437138
push eax
call fcn.00418f95
add esp, 8
lea ecx, [esp + 0x16c]
push ecx
mov ecx, ebx
call fcn.00409800
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x368]
call fcn.004185be
add esp, 0x36c
ret
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
push 0x104
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x270]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a101
mov edx, dword [0x43712c]
mov eax, dword [0x437130]
mov cx, word [0x437134]
mov dword [edi], edx
push 5
push 0
lea edx, [esp + 0x278]
mov dword [edi + 4], eax
push edx
mov word [edi + 8], cx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x374]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
call fcn.004185be
add esp, 0x36c
ret
Function at 0x40ae40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4441e0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x114], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x20]
push edi
mov edi, dword [esp + 0x120]
shl edi, 5
mov eax, dword [ecx + edi + 4]
lea ebx, [ecx + edi + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x40af9e
push 0x435db8
push eax
call fcn.0041904f
add esp, 8
test eax, eax
je 0x40af9e
sub eax, dword [ebx]
cmp eax, 0xffffffff
je 0x40af9e
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
add edx, edi
push edx
add eax, 0xc
push eax
push ecx
call fcn.00409e50
mov ecx, esi
call fcn.00409b50
test eax, eax
mov ebx, 1
jne 0x40aec8
mov dword [esi + 0x5c], ebx
push 0x104
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x14]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40aee0
mov ax, word [0x435b1c]
mov word [edi], ax
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40aef6
mov ecx, dword [str.wnwbio.ime]
mov edx, dword [0x43737c]
mov ax, word [0x437380]
mov dword [edi], ecx
mov cl, byte [0x437382]
mov dword [edi + 4], edx
mov word [edi + 8], ax
mov byte [edi + 0xa], cl
mov ecx, dword [esi + 0xc]
call fcn.00407eb0
test eax, eax
je 0x40af7f
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0xc]
push edx
call fcn.00407ee0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40af5a
mov dword [esi + 0x60], ebx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407f00
mov ecx, dword [esp + 0x118]
call fcn.004185be
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40af9e
mov dword [esi + 0x60], ebx
mov ecx, dword [esp + 0x118]
call fcn.004185be
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
Function at 0x40ae4c
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4441e0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x114], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x20]
push edi
mov edi, dword [esp + 0x120]
shl edi, 5
mov eax, dword [ecx + edi + 4]
lea ebx, [ecx + edi + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x40af9e
push 0x435db8
push eax
call fcn.0041904f
add esp, 8
test eax, eax
je 0x40af9e
sub eax, dword [ebx]
cmp eax, 0xffffffff
je 0x40af9e
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
add edx, edi
push edx
add eax, 0xc
push eax
push ecx
call fcn.00409e50
mov ecx, esi
call fcn.00409b50
test eax, eax
mov ebx, 1
jne 0x40aec8
mov dword [esi + 0x5c], ebx
push 0x104
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x14]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40aee0
mov ax, word [0x435b1c]
mov word [edi], ax
lea edi, [esp + 0x14]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40aef6
mov ecx, dword [str.wnwbio.ime]
mov edx, dword [0x43737c]
mov ax, word [0x437380]
mov dword [edi], ecx
mov cl, byte [0x437382]
mov dword [edi + 4], edx
mov word [edi + 8], ax
mov byte [edi + 0xa], cl
mov ecx, dword [esi + 0xc]
call fcn.00407eb0
test eax, eax
je 0x40af7f
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0xc]
push edx
call fcn.00407ee0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40af5a
mov dword [esi + 0x60], ebx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407f00
mov ecx, dword [esp + 0x118]
call fcn.004185be
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40af9e
mov dword [esi + 0x60], ebx
mov ecx, dword [esp + 0x118]
call fcn.004185be
pop edi
pop esi
pop ebx
add esp, 0x110
ret 4
Function at 0x40afc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4441e0]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x118], eax
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
shl ecx, 5
mov eax, dword [edx + ecx + 4]
push edi
lea edi, [edx + ecx + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x40b190
push 0x437398
push eax
call fcn.0041904f
add esp, 8
test eax, eax
je 0x40b190
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x40b190
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [esp + 0x1c]
push eax
call ebx
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b033
mov cx, word [0x435b1c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b050
mov edx, dword [str.wnwb.ime]
mov eax, dword [0x437390]
mov cl, byte [0x437394]
mov dword [edi], edx
mov dword [edi + 4], eax
mov byte [edi + 8], cl
mov ecx, dword [esi + 0xc]
call fcn.00407eb0
test eax, eax
mov ebp, 1
je 0x40b0bd
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
call fcn.00407ee0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b0ae
mov dword [esi + 0x64], ebp
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407f00
jmp 0x40b0dc
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b0dc
mov dword [esi + 0x64], ebp
push 0x104
lea eax, [esp + 0x1c]
push eax
call ebx
lea edi, [esp + 0x18]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b0f0
mov cx, word [0x435b1c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b107
mov edx, dword [str.wn.ime]
mov ax, word [0x437388]
mov cl, byte [0x43738a]
mov dword [edi], edx
mov word [edi + 4], ax
mov byte [edi + 6], cl
mov ecx, dword [esi + 0xc]
call fcn.00407eb0
test eax, eax
je 0x40b171
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
call fcn.00407ee0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b162
mov dword [esi + 0x60], ebp
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407f00
jmp 0x40b190
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b190
mov dword [esi + 0x68], ebp
mov ecx, dword [esp + 0x11c]
call fcn.004185be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x40afcd
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4441e0]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x118], eax
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
shl ecx, 5
mov eax, dword [edx + ecx + 4]
push edi
lea edi, [edx + ecx + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x40b190
push 0x437398
push eax
call fcn.0041904f
add esp, 8
test eax, eax
je 0x40b190
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x40b190
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [esp + 0x1c]
push eax
call ebx
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b033
mov cx, word [0x435b1c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b050
mov edx, dword [str.wnwb.ime]
mov eax, dword [0x437390]
mov cl, byte [0x437394]
mov dword [edi], edx
mov dword [edi + 4], eax
mov byte [edi + 8], cl
mov ecx, dword [esi + 0xc]
call fcn.00407eb0
test eax, eax
mov ebp, 1
je 0x40b0bd
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
call fcn.00407ee0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b0ae
mov dword [esi + 0x64], ebp
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407f00
jmp 0x40b0dc
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b0dc
mov dword [esi + 0x64], ebp
push 0x104
lea eax, [esp + 0x1c]
push eax
call ebx
lea edi, [esp + 0x18]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b0f0
mov cx, word [0x435b1c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40b107
mov edx, dword [str.wn.ime]
mov ax, word [0x437388]
mov cl, byte [0x43738a]
mov dword [edi], edx
mov word [edi + 4], ax
mov byte [edi + 6], cl
mov ecx, dword [esi + 0xc]
call fcn.00407eb0
test eax, eax
je 0x40b171
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
call fcn.00407ee0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b162
mov dword [esi + 0x60], ebp
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
call fcn.00407f00
jmp 0x40b190
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402ea0
mov ecx, esi
call fcn.00409b50
test eax, eax
jne 0x40b190
mov dword [esi + 0x68], ebp
mov ecx, dword [esp + 0x11c]
call fcn.004185be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x40b9b0
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x40b9db
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40b9db
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x40]
lea ecx, [eax + 0x10]
mov eax, dword [eax + 0x20]
shl edx, 5
push ecx
lea ecx, [edx + eax + 0x1c]
call fcn.004025d0
mov ecx, dword [esi + 0x40]
push ecx
mov ecx, esi
call fcn.0040b350
test eax, eax
jne 0x40b9ed
pop esi
pop ecx
ret
mov eax, dword [esi + 0x68]
test eax, eax
mov ecx, esi
je 0x40ba08
push 0x4375dc
call fcn.00409800
mov eax, 1
pop esi
pop ecx
ret
mov edx, dword [esi + 0x40]
push edx
call fcn.00409bd0
test eax, eax
mov ecx, esi
je 0x40ba74
push 0x4375b8
call fcn.00409800
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x40ba7e
mov ecx, esi
call fcn.00409f70
mov eax, dword [esi + 8]
push str.wnwb32wnwb.ime
add eax, 0xc
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00405dc0
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
pop ecx
ret
push 0x437558
call fcn.00409800
mov eax, 1
pop esi
pop ecx
ret

Function at 0x40b9b1
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x40b9db
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40b9db
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x40]
lea ecx, [eax + 0x10]
mov eax, dword [eax + 0x20]
shl edx, 5
push ecx
lea ecx, [edx + eax + 0x1c]
call fcn.004025d0
mov ecx, dword [esi + 0x40]
push ecx
mov ecx, esi
call fcn.0040b350
test eax, eax
jne 0x40b9ed
pop esi
pop ecx
ret
mov eax, dword [esi + 0x68]
test eax, eax
mov ecx, esi
je 0x40ba08
push 0x4375dc
call fcn.00409800
mov eax, 1
pop esi
pop ecx
ret
mov edx, dword [esi + 0x40]
push edx
call fcn.00409bd0
test eax, eax
mov ecx, esi
je 0x40ba74
push 0x4375b8
call fcn.00409800
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x40ba7e
mov ecx, esi
call fcn.00409f70
mov eax, dword [esi + 8]
push str.wnwb32wnwb.ime
add eax, 0xc
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00405dc0
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
pop ecx
ret
push 0x437558
call fcn.00409800
mov eax, 1
pop esi
pop ecx
ret
Function at 0x40c120
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x433c26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x4441e0]
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 0x40c24a
lea eax, [esp + 8]
push eax
push 0x43ba38
push 1
push edi
push 0x43ba48
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40c244
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 0x40c1a9
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 0x40c1bf
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 0x40c1d6
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 0x40c1ec
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x43ba88
push eax
call dword [ecx]
test eax, eax
jl 0x40c23a
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 0x437700
lea ecx, [esp + 0x18]
call fcn.00402ea0
push esi
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x238], 0
call fcn.00405dc0
mov eax, dword [eax]
push eax
mov ecx, 0x445240
mov byte [esp + 0x230], 1
call fcn.00409800
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 0x40c2aa
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 0x40c2d3
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.004185be
add esp, 0x228
ret 0x18
Function at 0x40c300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433c51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4441e0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov ebx, ecx
call fcn.00426313
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.00426313
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 0x1a
lea eax, [esp + 0x20]
push eax
push 0
mov byte [esp + 0x144], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40c445
lea edi, [esp + 0x18]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c3a0
mov ecx, 0xa
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push 0x437730
push edx
movsw word es:[edi], word [esi]
call fcn.00409e30
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00409e30
mov eax, dword [ebx]
add esp, 0x18
push str.wnwb
add eax, 0xc
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00405dc0
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push 0x657
push 1
push 0x437710
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x14c], 2
call fcn.0040c120
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 0x40c445
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 0x40c467
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 0x40c490
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.004185be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret