joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e8d0
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590dc8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4f4
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0041e2f0
test eax, eax
jle 0x45e928
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e94c
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x4f0]
jmp 0x45eaf0
mov dword [ebp - 0x14], 0
mov eax, dword [0x5b16b0]
mov dword [ebp - 0x220], eax
push 0x204
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 4], 1
push 0x100
push 0x2b4
lea eax, [ebp - 0x4e0]
push eax
push 0x80
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0x4e4], 0
lea edx, [ebp - 0x4e4]
push edx
push 0x5af540
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [ebp - 0x4e8], eax
cmp dword [ebp - 0x4e8], 0
jl 0x45ea92
mov dword [ebp - 0x4ec], 0
lea ecx, [ebp - 0x4ec]
push ecx
push 1
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ebp - 0x4e4]
push eax
mov ecx, dword [ebp - 0x4e4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x504]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x4e4]
mov eax, dword [edx]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x4e4]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x4ec], 0
jne 0x45ea6f
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x4f4]
jmp 0x45eaf0
mov edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x4f8]
jmp 0x45eaf0
jmp 0x45eab1
mov dword [ebp - 4], 0
jmp 0x45ead1
mov dword [ebp - 0x500], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x500]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret
Function at 0x45f070
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c8], 0
push 0x2b0
push 0
lea eax, [ebp - 0x2c4]
push eax
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x45f19f
push 0x4009
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 0xc], 0
jl 0x45f19f
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2d4], 2
call fcn.00416be0
cmp eax, 0x13
jge 0x45f130
mov dword [ebp - 0x2d4], 2
jmp 0x45f13a
mov dword [ebp - 0x2d4], 4
lea eax, [ebp - 0x2d0]
push eax
push 0x5af540
mov ecx, dword [ebp - 0x2d4]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetImageList]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x45f19f
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp - 0x2d0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [edx + 0x28]
call ecx
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2d0]
mov eax, dword [edx]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x2d0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret
Function at 0x460e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
jne 0x460ea1
or eax, 0xffffffff
jmp 0x460fe3
mov eax, dword [ebp - 0x20]
mov cl, byte [eax + 0x24]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xc]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x20]
mov cl, byte [eax + 8]
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x20]
call fcn.004609f0
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x38]
lea edx, [ecx + eax*4 + 0x28]
mov eax, dword [ebp - 0x20]
add edx, dword [eax + 0x3c]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
mov ax, word [edx + 0x12]
mov word [ebp - 0x16], ax
mov ecx, dword [ebp - 0x20]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x18], dx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x460f24
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x460fe3
push 0
lea eax, [ebp - 4]
push eax
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x460f62
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x460fe3
push 0
lea eax, [ebp - 4]
push eax
push 0x28
mov ecx, dword [ebp - 0x20]
add ecx, 4
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x20]
call fcn.004609f0
shl eax, 2
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x38]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
push str..ico
mov ecx, dword [ebp + 8]
call fcn.0041db50
mov dword [ebp - 0x14], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x461ceb
xor al, al
jmp 0x461dab
push 0
lea eax, [ebp - 0x10]
push eax
push 6
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00463bf0
shl eax, 4
add eax, 6
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea ecx, [ebp - 0xc]
call fcn.00463ce0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00463b90
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x461d48
push 0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0xc]
call fcn.00463d20
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00463bc0
push eax
lea ecx, [ebp - 0xc]
call fcn.00463d50
movzx ecx, al
test ecx, ecx
je 0x461d9f
lea ecx, [ebp - 0xc]
call fcn.00463d00
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004618e0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x10
mov dword [ebp - 8], ecx
jmp 0x461d3a
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4651b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0x5947d8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
mov ecx, dword [ebp - 4]
call fcn.00465e60
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4657d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x465834
cmp dword [ebp - 0x11c], 6
jb 0x465834
mov dword [ebp - 0x128], 1
jmp 0x46583e
mov dword [ebp - 0x128], 0
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret

Function at 0x46cef0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x224], ecx
push 0x3eb
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.00465e30
mov ecx, eax
call fcn.00401050
push eax
lea ecx, [ebp - 4]
call fcn.0046e690
mov ecx, dword [0x5949c0]
mov dword [ebp - 0x218], ecx
push 0x204
push 0
lea edx, [ebp - 0x214]
push edx
call fcn.005533a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0x6c
call fcn.0041daf0
mov ecx, dword [ebp - 0x224]
add ecx, 0x6c
call fcn.0041e2f0
test eax, eax
jg 0x46cfb0
push 0x30
push 0x5949c4
push 0x5949cc
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.0046e660
xor eax, eax
jmp 0x46d02d
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.005533a0
add esp, 0xc
push 0x3ec
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.00465e30
mov ecx, eax
call fcn.00401050
push eax
lea ecx, [ebp - 8]
call fcn.0046e690
push 0x104
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x68
call fcn.0041daf0
movzx edx, word [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x224]
call fcn.0046ea40
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d1c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585387
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6b0], ecx
mov dword [ebp - 0x6ac], 0
push 0
push 0x5949e0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x6a4]
call fcn.00416ae0
mov dword [ebp - 4], 1
mov eax, dword [0x594a7c]
mov dword [ebp - 0x21c], eax
push 0x204
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041d9b0
mov byte [ebp - 4], 2
push str.systemicon
lea ecx, [ebp - 0x10]
call fcn.0041db50
lea ecx, [ebp - 0x10]
call fcn.0041e1e0
mov dword [ebp - 0x658], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x6a4]
call fcn.0041ef40
cmp eax, 1
jne 0x46d34d
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x6a8]
call fcn.0041d9b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6a8]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d300
push 0x5949be
mov ecx, dword [ebp + 8]
call fcn.0041da30
mov ecx, dword [ebp - 0x6ac]
or ecx, 1
mov dword [ebp - 0x6ac], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6a4]
call fcn.00416b80
mov eax, dword [ebp + 8]
jmp 0x46d387
lea edx, [ebp - 0x6a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov eax, dword [ebp - 0x6ac]
or eax, 1
mov dword [ebp - 0x6ac], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6a4]
call fcn.00416b80
mov eax, dword [ebp + 8]
jmp 0x46d387
push 0x5949bf
mov ecx, dword [ebp + 8]
call fcn.0041da30
mov ecx, dword [ebp - 0x6ac]
or ecx, 1
mov dword [ebp - 0x6ac], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6a4]
call fcn.00416b80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4
Function at 0x46d780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5853fc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5deba8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x68
call fcn.0041dad0
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46d82c
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x70], 0
je 0x46d809
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x70]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x46d802
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x1c], eax
jmp 0x46d809
mov dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp + 8]
call fcn.0041e1e0
push eax
call fcn.00434810
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x70], eax
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x475bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x44]
test ecx, ecx
je 0x475bc6
jmp 0x475c0d
mov dword [ebp - 4], 0
jmp 0x475bd8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x475bf3
mov eax, dword [ebp - 8]
push eax
push 0
push 0x475c90
call fcn.00554077
add esp, 0xc
jmp 0x475bcf
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x475ef0
call fcn.00554077
add esp, 0xc
mov edx, dword [ebp - 8]
mov byte [edx + 0x44], 1
mov esp, ebp
pop ebp
ret

Function at 0x477760
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [ebp - 0x14]
push ecx
push 0xa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0x462
push 0xffffffffffffffff
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x3690], eax
cmp dword [ebp - 0x14], 0
je 0x4777df
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x478e40
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586129
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d990
mov byte [ebp - 4], 1
push 0x59509c
lea ecx, [ebp - 0x10]
call fcn.0041db30
push 0x5950a0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.0041dfe0
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x478fe1
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x478fe1
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x270]
call fcn.0041d9b0
mov byte [ebp - 4], 3
push 0x5950a8
lea ecx, [ebp - 0x270]
call fcn.0041dbd0
test eax, eax
je 0x478fcd
push 0x5950ac
lea ecx, [ebp - 0x270]
call fcn.0041dbd0
test eax, eax
je 0x478fcd
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.0041dfe0
add esp, 0xc
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
lea edx, [ebp - 0x274]
push edx
call fcn.0041d990
mov dword [ebp - 0x280], eax
call fcn.00456790
add esp, 4
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
jne 0x478fbe
lea ecx, [ebp - 0x274]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 2
jne 0x478fbe
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x27c]
add ecx, 0x10cc
call fcn.0041eaa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.0041dab0
jmp 0x478edd
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4
Function at 0x479040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x8000
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4790c1
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
jmp 0x4790e0
push 0x5950b4
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4

Function at 0x4790f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push 0x8019
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x479171
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
jmp 0x479190
push 0x5950b8
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4
Function at 0x47a850
Capabilities:
Create process on windows
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x4ac], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 1
je 0x47a8f6
cmp dword [ebp - 0x4b0], 3
je 0x47a8e4
cmp dword [ebp - 0x4b0], 5
je 0x47a892
jmp 0x47a95c
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.005533a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x5950cc
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 1
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47a9d1
push 9
push 0x5950e8
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x47a9d1
xor edx, edx
mov word [ebp - 0x468], dx
push 0x256
push 0
lea eax, [ebp - 0x466]
push eax
call fcn.005533a0
add esp, 0xc
push 0
push 0x26
lea ecx, [ebp - 0x468]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x595110
lea edx, [ebp - 0x468]
push edx
call fcn.00554811
add esp, 8
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.0041e1e0
push eax
lea eax, [ebp - 0x468]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47a9d1
lea ecx, [ebp - 0x46c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x47a9d1
push 0x3c
push 0
lea eax, [ebp - 0x4a8]
push eax
call fcn.005533a0
add esp, 0xc
mov dword [ebp - 0x4a8], 0x3c
mov dword [ebp - 0x4a4], 0x4c
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x49c], 0x595150
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x48c], 1
lea edx, [ebp - 0x4a8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp + 0xc]
call fcn.0041dab0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 8