joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4224d4
Capabilities:
Delete registry value
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x43c4ec]
push edi
push dword [ecx + 0x44]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 0x4653b4
push eax
call fcn.00409c93
add esp, 0xc
push dword [ebp - 4]
push 0xffffffffffffffff
push 0x4653a4
push 0x465390
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and word [ebp - 0x808], 0
mov dword [ebp - 8], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._sdefaultFAV
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
cmp dword [ebp - 8], 0
pop edi
jle 0x422572
lea eax, [ebp - 8]
push 4
push eax
push 4
lea eax, [ebp - 0x808]
push 0x465374
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x422589
lea eax, [ebp - 0x808]
push 0x465374
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
leave
ret

Function at 0x4226b1
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
mov esi, 0x81
push edi
xor ebx, ebx
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], bx
push str.Software360360se5
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x464260
lea eax, [ebp - 0x210]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x416]
mov word [ebp - 0x418], bx
rep stosd dword es:[edi], eax
add esp, 0x10
mov esi, SysReAllocString
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x464640
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push edi
push eax
push esi
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x206
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422750
cmp word [ebp - 0x418], bx
jne 0x422772
mov ebx, 0x469638
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
shl eax, 1
push eax
push ebx
push 1
lea eax, [ebp - 0x210]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422829
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x212]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
push 4
pop ebx
stosw word es:[edi], ax
push str.Software360360se5
push 0x463d38
lea eax, [ebp - 0x214]
push 0x103
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 8]
mov edi, 0x465440
mov esi, SysReAllocString
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4228a8
cmp dword [ebp - 4], eax
je 0x4228c1
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push eax
push ebx
lea eax, [ebp - 0x214]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4228c6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
leave
ret

Function at 0x4228e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
mov dword [ebp - 8], 1
lea eax, [eax + eax - 2]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x465458
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42294e
cmp dword [ebp - 4], ebx
je 0x42294e
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 8]
push dword [ebp + 0x14]
push eax
lea eax, [ebp + 0x10]
push ebx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x422945
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret 0x14
Function at 0x422955
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2614
call fcn.00432710
mov eax, dword [0x43c4ec]
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
push 0x467084
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00404707
xor esi, esi
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x2612]
mov word [ebp - 0x2614], si
mov word [ebp - 0x2b4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x2b2]
mov ebx, 0x1000
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2614]
push ebx
push eax
mov edi, 0x104
lea eax, [ebp - 0x2b4]
push edi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], 1
push esi
mov ecx, dword [ebp - 0xc]
call fcn.004228e1
test al, al
je 0x422a67
cmp word [ebp - 0x2b4], si
je 0x422a20
lea eax, [ebp - 0x2b4]
push 0x465950
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x422a63
lea eax, [ebp - 0x2614]
push 0x4658bc
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x422a63
inc dword [ebp - 4]
push 0x208
lea eax, [ebp - 0x2b4]
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x2000
lea eax, [ebp - 0x2614]
push esi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 8]
add esp, 0x18
inc dword [ebp - 8]
lea ecx, [ebp - 0x2614]
push ebx
push ecx
lea ecx, [ebp - 0x2b4]
push edi
push ecx
push eax
jmp 0x4229d4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 1
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jg 0x422b47
cmp dword [ebp - 4], esi
jne 0x422b8c
push 0x55
mov esi, 0x465764
pop ecx
lea edi, [ebp - 0x614]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x614]
push 0x156
push eax
push 1
push 0x46575c
push 0x465458
push SysReAllocString
movsw word es:[edi], word [esi]
call ebx
push 0x47
lea eax, [ebp - 0x4bc]
pop ecx
mov esi, 0x465640
push 0x11c
push eax
push 1
lea edi, [ebp - 0x4bc]
push 0x465638
push 0x465458
rep movsd dword es:[edi], dword [esi]
push SysReAllocString
call ebx
push 0x3a
mov esi, 0x46554c
pop ecx
lea edi, [ebp - 0x3a0]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3a0]
push 0xea
push eax
push 1
push 0x465540
push 0x465458
push SysReAllocString
movsw word es:[edi], word [esi]
call ebx
push 0x26
lea eax, [ebp - 0xac]
pop ecx
mov esi, 0x4654a8
push 0x98
push eax
push 1
lea edi, [ebp - 0xac]
push 0x4654a0
push 0x465458
rep movsd dword es:[edi], dword [esi]
push SysReAllocString
call ebx
mov dword [ebp - 4], 4
push 0x25
mov esi, 0x4658bc
pop ecx
lea edi, [ebp - 0xa8]
lea eax, [ebp - 0xa8]
push 0x94
rep movsd dword es:[edi], dword [esi]
push eax
push 1
push 0x465950
mov esi, SysReAllocString
push 0x465458
push esi
call ebx
lea eax, [ebp - 4]
push 4
push eax
push 4
push 0x464cdc
push 0x464598
push esi
call ebx
lea ecx, [ebp - 0x10]
call fcn.00404beb
lea ecx, [ebp - 0x14]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422ba1
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00432710
push ebx
push esi
push edi
mov esi, ecx
call fcn.004226b1
mov ecx, esi
call fcn.00420216
and word [ebp - 0x1008], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1006]
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.Software360360se5
stosw word es:[edi], ax
push 0x463d38
lea eax, [ebp - 0x1008]
push 0x3ff
push eax
call ebx
mov eax, dword [esi + 0x30]
push 0x4659c4
push eax
call fcn.0042435b
mov edi, eax
mov eax, dword [esi + 0x30]
push 0x4659b4
push eax
call fcn.0042435b
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
push 0x4659a4
push eax
call fcn.0042435b
add esp, 0x28
test edi, edi
jl 0x422c32
cmp dword [ebp - 4], 0
jl 0x422c36
test eax, eax
jge 0x422c62
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x1008]
push 0x464f14
push eax
push SysReAllocString
call edi
lea eax, [ebp - 0x1008]
push 0x464eec
push eax
push SysReAllocString
call edi
mov ecx, esi
call fcn.00422955
xor edi, edi
cmp dword [0x469844], edi
je 0x422ce0
push str.5.0.9.5
lea ecx, [ebp - 4]
call fcn.00404707
mov word [ebp - 0x808], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push 0x464260
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x808]
push 0x465994
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
xor edi, edi
cmp dword [esi + 0x1528], edi
jne 0x422da0
cmp dword [0x469840], edi
jne 0x422da0
mov word [ebp - 0x808], di
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push 0x465974
lea eax, [ebp - 0x808]
push 0x3ff
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x808]
push 0x465960
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, 0x46595c
lea ecx, [esi + 0x48]
push eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00423ad7
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418486
lea ecx, [ebp - 8]
call fcn.00404beb
cmp dword [esi + 4], 6
jle 0x422d87
xor esi, esi
push esi
push esi
push 1
push dword [ebp - 4]
call fcn.004281ae
add esp, 0x10
test eax, eax
jne 0x422d98
push esi
push esi
jmp 0x422d8b
push 0
push 0
push 1
push dword [ebp - 4]
call fcn.00428281
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422f20
Capabilities:
Check if file exists
Create thread
Delete file
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
mov ebx, ecx
push esi
push 0x4659f8
lea eax, [ebx + 0x44]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418486
push eax
mov ecx, 0x46a728
call fcn.00404768
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [0x46a728]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423071
lea eax, [ebp - 0x10]
xor esi, esi
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push 0x422f10
push esi
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x422fa4
push dword [0x46a728]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x422fb3
push 4
push esi
push dword [0x46a728]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [0x469844], esi
je 0x42302c
push edi
push str.5.0.9.5
lea ecx, [ebp - 4]
call fcn.00404707
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80e]
mov word [ebp - 0x810], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push 0x464260
lea eax, [ebp - 0x810]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp - 4]
add esp, 0x10
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
lea eax, [ebp - 0x810]
push 0x465994
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
cmp dword [0x469840], esi
jne 0x423071
mov eax, 0x46595c
add ebx, 0x48
push eax
push ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00423ad7
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418486
lea ecx, [ebp - 8]
call fcn.00404beb
push esi
push esi
push 1
push dword [ebp - 4]
call fcn.00428281
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.00404beb
pop esi
pop ebx
leave
ret

Function at 0x4230db
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x4c]
push str.IDR_ZIP_MINOR
call fcn.00422da5
push dword [esi + 0x44]
mov ecx, esi
push str.IDR_ZIP_DATA
call fcn.00422da5
cmp dword [esi + 0x1514], 1
jne 0x42315e
cmp dword [esi + 0x14f4], 0
jne 0x42315e
push 4
lea eax, [ebp - 8]
pop edi
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x465a84
mov ebx, SysReAllocString
push str.Software360360se3
push ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42315e
lea eax, [ebp - 4]
push edi
push eax
push edi
push 0x465410
push 0x465a40
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x1528], edi
je 0x42316f
mov ecx, esi
call fcn.00422f20
push edi
push edi
push 0x1405
call fcn.0041009d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423562
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
and word [ebp - 0x414], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
push dword [edx + 0x4c]
xor eax, eax
lea edi, [ebp - 0x412]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x103
push 0x465c1c
lea eax, [ebp - 0x414]
push ebx
push eax
mov dword [ebp - 4], edx
call esi
and word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
add esp, 0x10
push dword [eax + 0x4c]
lea eax, [ebp - 0x20c]
push 0x465b6c
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
test eax, eax
pop ebx
je 0x423609
push 0
push 0xbb8
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00428281
add esp, 0x10
leave
ret
Function at 0x423892
Capabilities:
Check if file exists
Copy file
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
push edi
mov esi, ecx
push str.360se.exe
push dword [esi + 0x4c]
lea eax, [esi + 0x48]
push 0x43d538
push eax
call fcn.00409c93
push dword [esi + 0x4c]
call fcn.004244cb
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 8], 0
lea ebx, [esi + 0x44]
push 0x465d44
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00418486
push dword [ebp - 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x4238f3
mov dword [ebp - 8], 1
push dword [ebx]
mov ecx, esi
push str.IDR_ZIP_MAJOR_DATA
call fcn.00422da5
push dword [esi + 0x4c]
mov ecx, esi
push str.IDR_ZIP_MAJOR
call fcn.00422da5
cmp dword [ebp - 8], 0
je 0x423a62
cmp dword [esi + 0x1514], 0
je 0x423a62
mov eax, dword [esi + 0x30]
push 0x465d34
push eax
call fcn.0042435b
pop ecx
test eax, eax
pop ecx
jl 0x423a62
mov eax, dword [esi + 0x30]
push 0x465d24
push eax
call fcn.0042435b
pop ecx
test eax, eax
pop ecx
jge 0x423a62
push 0x465cfc
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00418486
push dword [ebp - 8]
call edi
test eax, eax
jne 0x4239a9
add esi, 0x50
push 0x465cfc
lea eax, [ebp - 4]
push esi
push eax
call fcn.00418486
push dword [ebp - 4]
call edi
test eax, eax
je 0x4239a1
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
call fcn.00404beb
push dword [ebp - 8]
call edi
test eax, eax
je 0x423a5a
push 0x465d44
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00418486
push dword [ebp - 4]
call edi
test eax, eax
je 0x4239d7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and word [ebp - 0x814], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0x814]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x14]
mov edi, SysReAllocString
push 4
mov dword [ebp - 0x14], 1
pop ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x814]
push 0x465ce8
push eax
push edi
call esi
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
lea eax, [ebp - 0x814]
push 0x465cd8
push eax
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 0xc]
call fcn.00404beb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424295
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424329
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x424329
push esi
push edi
mov byte [ebp - 1], bl
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
cmp esi, ebx
je 0x42431b
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42431b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp + 8]
push eax
push 0x43f45c
push esi
mov dword [ebp + 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42431b
push 0x34
lea eax, [ebp - 0x40]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x40], 0xfeef04bd
sete byte [ebp - 1]
push esi
call dword [sym.imp.MSVCRT.dll_free]
cmp byte [ebp - 1], bl
pop ecx
pop esi
jne 0x42432d
xor al, al
jmp 0x424357
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, word [ebp - 0x38]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov al, 1
pop edi
pop ebx
leave
ret

Function at 0x42454f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4245c8
and word [ebp - 0x208], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push 0x465d68
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x208]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
pop edi
jne 0x4245cc
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
leave
ret
Function at 0x4245e4
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
and dword [ebp - 0x254], 0
push ebx
push esi
push edi
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x250]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
mov ax, word [0x467084]
mov ecx, 0x81
mov word [ebp - 0x86c], ax
xor eax, eax
lea edi, [ebp - 0x86a]
push 0x465d80
push dword [ebp + 8]
mov ebx, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43d538
lea eax, [ebp - 0x86c]
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x42466c
xor eax, eax
jmp 0x424769
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x228]
push 0x465d7c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424734
lea eax, [ebp - 0x228]
push 0x43f510
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x424734
test byte [ebp - 0x254], 0x10
mov ax, word [0x467084]
je 0x4246f3
mov word [ebp - 0x45c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x45c]
push dword [ebp + 8]
push 0x43d538
push ebx
push eax
call esi
lea eax, [ebp - 0x45c]
push eax
call fcn.004245e4
add esp, 0x18
jmp 0x424734
mov word [ebp - 0x664], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x662]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x664]
push dword [ebp + 8]
push 0x43d538
push ebx
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42466c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42476e
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4247c5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], esi
push eax
mov word [ebp - 0x10], 0x50
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x4247c3
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop esi
leave
ret
Function at 0x4247c8
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x260
push ebx
push ebp
push esi
push edi
push dword [esp + 0x278]
mov dword [esp + 0x1c], 1
call fcn.004244cb
mov ebp, 0x208
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
pop ecx
mov ebx, 0x104
push dword [esp + 0x274]
mov dword [esp + 0x18], eax
push 0x465d88
push ebx
push eax
call esi
and dword [esp + 0x30], 0
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x34]
add esp, 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x424906
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x4c]
push 0x465d7c
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4248ef
lea eax, [esp + 0x4c]
push 0x43f510
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x4248ef
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x278]
push 0x43d538
push ebx
push edi
call esi
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10], eax
push ecx
push dword [esp + 0x27c]
push 0x43d538
push ebx
push eax
call esi
add esp, 0x14
test byte [esp + 0x20], 0x10
je 0x4248c9
push dword [esp + 0x10]
push edi
call fcn.004247c8
pop ecx
pop ecx
jmp 0x4248d6
push 0
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4248de
and dword [esp + 0x18], eax
push edi
call fcn.0043265a
push dword [esp + 0x14]
call fcn.0043265a
pop ecx
pop ecx
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424843
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0x14]
call fcn.0043265a
mov eax, dword [esp + 0x1c]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret

Function at 0x424929
Capabilities:
Move file

Disassembly:
push 1
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret