joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bf40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4481e0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebp
push esi
push edi
mov dword [esp + 0x11c], eax
push 0x104
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call ebx
lea edi, [esp + 0x18]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40bf70
mov cx, word [0x438b4c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40bf87
mov edx, dword [str.wnwb.ime]
mov eax, dword [0x43a574]
mov cl, byte [0x43a578]
mov dword [edi], edx
mov edx, dword [0x44914c]
mov dword [edi + 4], eax
mov byte [edi + 8], cl
mov ecx, dword [edx + 0x18]
call fcn.00408b00
test eax, eax
mov ebp, 1
je 0x40c006
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00408b30
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40bff1
mov dword [esi + 0x58], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
push eax
call fcn.00408b50
jmp 0x40c025
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c025
mov dword [esi + 0x58], ebp
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 0x40c036
mov cx, word [0x438b4c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c050
mov edx, dword [str.wn.ime]
mov ax, word [0x43a56c]
mov cl, byte [0x43a56e]
mov dword [edi], edx
mov edx, dword [0x44914c]
mov word [edi + 4], ax
mov byte [edi + 6], cl
mov ecx, dword [edx + 0x18]
call fcn.00408b00
test eax, eax
je 0x40c0e1
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00408b30
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c0b7
mov dword [esi + 0x54], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
push eax
call fcn.00408b50
mov ecx, dword [esp + 0x11c]
call fcn.0041b28e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c100
mov dword [esi + 0x5c], ebp
mov ecx, dword [esp + 0x11c]
call fcn.0041b28e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
Function at 0x40c120
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4481e0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebp
push esi
push edi
mov dword [esp + 0x11c], eax
push 0x104
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call ebx
lea edi, [esp + 0x18]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c150
mov cx, word [0x438b4c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c167
mov edx, dword [str.wnpy.ime]
mov eax, dword [0x43a580]
mov cl, byte [0x43a584]
mov dword [edi], edx
mov edx, dword [0x44914c]
mov dword [edi + 4], eax
mov byte [edi + 8], cl
mov ecx, dword [edx + 0x18]
call fcn.00408b00
test eax, eax
mov ebp, 1
je 0x40c1e6
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00408b30
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c1d1
mov dword [esi + 0x64], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
push eax
call fcn.00408b50
jmp 0x40c205
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c205
mov dword [esi + 0x64], ebp
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 0x40c216
mov cx, word [0x438b4c]
mov word [edi], cx
lea edi, [esp + 0x18]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c230
mov edx, dword [str.wnpy.ime]
mov eax, dword [0x43a580]
mov cl, byte [0x43a584]
mov dword [edi], edx
mov edx, dword [0x44914c]
mov dword [edi + 4], eax
mov byte [edi + 8], cl
mov ecx, dword [edx + 0x18]
call fcn.00408b00
test eax, eax
je 0x40c2bf
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.00408b30
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c295
mov dword [esi + 0x64], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [0x44914c]
mov ecx, dword [ecx + 0x18]
push eax
call fcn.00408b50
mov ecx, dword [esp + 0x11c]
call fcn.0041b28e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00402d80
mov ecx, esi
call fcn.0040b120
test eax, eax
jne 0x40c2de
mov dword [esi + 0x64], ebp
mov ecx, dword [esp + 0x11c]
call fcn.0041b28e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
Function at 0x40caa0
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x40cac9
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40cac9
mov eax, dword [0x44914c]
mov eax, dword [eax + 0x14]
lea ecx, [eax + 8]
push ecx
mov ecx, dword [eax + 0x20]
add ecx, 0x28
call fcn.00402780
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, esi
call fcn.0040c460
test eax, eax
jne 0x40cae4
pop esi
pop ecx
ret
mov ecx, esi
call fcn.0040b7a0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x40cb0a
mov ecx, dword [0x44914c]
push 0x43a7b4
call fcn.00404eb0
mov eax, 1
pop esi
pop ecx
ret
mov ecx, esi
call fcn.0040b880
mov eax, dword [0x44914c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 0x20]
push ecx
mov ecx, dword [eax + 0x20]
call fcn.00405570
test eax, eax
je 0x40cb98
mov ecx, dword [0x44914c]
push 0x43a790
call fcn.00404eb0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40cba8
mov edx, dword [0x44914c]
mov ecx, dword [edx + 0x20]
call fcn.004057d0
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
push str.wnwb32wnwb.ime
add ecx, 4
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.004047c0
mov eax, dword [eax]
push eax
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 0x40cba8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
pop ecx
ret
mov ecx, dword [0x44914c]
push 0x43a730
call fcn.00404eb0
mov eax, 1
pop esi
pop ecx
ret
Function at 0x40caa1
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x40cac9
mov eax, dword [esi + 0x44]
test eax, eax
je 0x40cac9
mov eax, dword [0x44914c]
mov eax, dword [eax + 0x14]
lea ecx, [eax + 8]
push ecx
mov ecx, dword [eax + 0x20]
add ecx, 0x28
call fcn.00402780
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, esi
call fcn.0040c460
test eax, eax
jne 0x40cae4
pop esi
pop ecx
ret
mov ecx, esi
call fcn.0040b7a0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x40cb0a
mov ecx, dword [0x44914c]
push 0x43a7b4
call fcn.00404eb0
mov eax, 1
pop esi
pop ecx
ret
mov ecx, esi
call fcn.0040b880
mov eax, dword [0x44914c]
mov edx, dword [eax + 0x14]
mov ecx, dword [edx + 0x20]
push ecx
mov ecx, dword [eax + 0x20]
call fcn.00405570
test eax, eax
je 0x40cb98
mov ecx, dword [0x44914c]
push 0x43a790
call fcn.00404eb0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40cba8
mov edx, dword [0x44914c]
mov ecx, dword [edx + 0x20]
call fcn.004057d0
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
push str.wnwb32wnwb.ime
add ecx, 4
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.004047c0
mov eax, dword [eax]
push eax
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 0x40cba8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
pop ecx
ret
mov ecx, dword [0x44914c]
push 0x43a730
call fcn.00404eb0
mov eax, 1
pop esi
pop ecx
ret
Function at 0x40d410
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4369f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x4481e0]
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 0x40d550
lea eax, [esp + 8]
push eax
push 0x43ee68
push 1
push edi
push 0x43ee78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40d54a
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 0x40d499
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 0x40d4af
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 0x40d4c6
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 0x40d4dc
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 0x40d4f2
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 0x43eeb8
push eax
call dword [ecx]
test eax, eax
jl 0x40d540
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 0x43a970
lea ecx, [esp + 0x18]
call fcn.00402d80
push esi
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x238], 0
call fcn.004047c0
mov eax, dword [eax]
mov ecx, dword [0x44914c]
push eax
mov byte [esp + 0x230], 1
call fcn.00404eb0
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 0x40d5b1
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 0x40d5da
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.0041b28e
add esp, 0x228
ret 0x1c
Function at 0x40da30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4481e0]
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 0x40dbd5
call fcn.00428fe3
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.00428fe3
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 0x43a9c8
push ecx
mov byte [esp + 0x140], 1
call fcn.00402830
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 0x43a9b0
push ecx
call fcn.00402830
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnwb
add ecx, 4
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004047c0
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x43a980
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d410
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 0x40db89
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 0x40dbab
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 0x40dbd0
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.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dc00
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4481e0]
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 0x40dda5
call fcn.00428fe3
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.00428fe3
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 0x43a9c8
push ecx
mov byte [esp + 0x140], 1
call fcn.00402830
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 0x43a9b0
push ecx
call fcn.00402830
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push str._swnwbwnwb.exe
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnwb
add ecx, 4
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004047c0
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x43a980
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d410
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 0x40dd59
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 0x40dd7b
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 0x40dda0
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.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ddd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [0x4481e0]
push ebx
push esi
push edi
mov dword [esp + 0x12c], eax
mov dword [esp + 0x18], ecx
call fcn.00428fe3
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.00428fe3
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 0x40df26
lea edi, [esp + 0x20]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40de70
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 0x43aaf4
push edx
movsw word es:[edi], word [esi]
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x20]
push str._swnwbwnwb.exe
push eax
call fcn.00402830
mov ecx, dword [0x44914c]
mov edx, dword [ecx + 0x14]
add esp, 0x18
push str.wnwb
add edx, 4
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004047c0
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 0x43a980
push esi
push ebx
mov byte [esp + 0x158], 2
call fcn.0040d410
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 0x40df26
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 0x40df48
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 0x40df6d
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.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dfa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4481e0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
mov ebx, ecx
call fcn.00428fe3
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.00428fe3
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 0x40e0d7
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push 0x43aaf4
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x20]
push str._swnwbwnwb.exe
push eax
call fcn.00402830
mov ecx, dword [0x44914c]
mov edx, dword [ecx + 0x14]
add esp, 0x18
push str.wnwb
add edx, 4
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004047c0
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push eax
push 0x657
push 1
push 0x43a980
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d410
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 0x40e0d7
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 0x40e0f9
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 0x40e122
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.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4481e0]
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 0x40e83b
call fcn.00428fe3
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.00428fe3
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 0x43abb8
push ecx
mov byte [esp + 0x140], 1
call fcn.00402830
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x20]
push str._swniewnie.exe
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
add esp, 0x18
push str.wnie
add ecx, 4
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004047c0
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push eax
push 0
push 1
push 0x43abd8
push esi
push edi
mov ecx, ebx
mov byte [esp + 0x150], 2
call fcn.0040d410
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 0x40e7f4
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 0x40e816
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 0x40e83b
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.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret