joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439630
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x56c1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
mov eax, dword [0x5a53f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
lea ecx, [edi + 4]
push edx
mov dword [edi], eax
call fcn.00403750
mov eax, dword [esp + 0x3c]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00403750
mov edx, dword [esp + 0x40]
lea ecx, [edi + 0xc]
push edx
call fcn.00403750
mov eax, dword [esp + 0x44]
lea ecx, [edi + 0x10]
push eax
call fcn.00403750
mov edx, dword [esp + 0x48]
lea ecx, [edi + 0x14]
push edx
call fcn.00403750
mov eax, dword [esp + 0x4c]
lea ecx, [edi + 0x18]
push eax
call fcn.00403750
mov edx, dword [esp + 0x50]
lea ecx, [edi + 0x1c]
push edx
call fcn.00403750
mov eax, dword [edi]
mov ecx, dword [esi]
push eax
lea esi, [esp + 0x10]
call fcn.00438f90
add esp, 4
xor edx, edx
mov dword [esp + 0x30], edx
cmp dword [eax + 0x18], 8
jb 0x4396d6
mov eax, dword [eax + 4]
jmp 0x4396d9
add eax, 4
lea ecx, [edi + 0x20]
cmp eax, edx
je 0x4396f4
mov edx, eax
lea ebp, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x4396e5
sub edx, ebp
sar edx, 1
push edx
push eax
call fcn.00403930
cmp dword [esp + 0x24], 8
jb 0x43972a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005303ae
mov dl, byte [esp + 0x58]
add esp, 4
mov byte [edi + 0x24], dl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x28
ret 0x20
mov al, byte [esp + 0x54]
mov byte [edi + 0x24], al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x28
ret 0x20

Function at 0x4397f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
cmp eax, str.SOFTWARE360Safe_safemon
je 0x43985c
push 0x20019
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
call fcn.004140d0
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x43985c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.LockSearch
push esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43985c
cmp dword [esp + 0x10], 4
jne 0x43985c
mov bl, 1
jmp 0x43985e
xor bl, bl
test esi, esi
je 0x439869
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x439940
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
cmp eax, str.SOFTWARE360Safe_safemon
je 0x43999e
push 0x20006
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
call fcn.004140d0
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x43999e
mov ecx, dword [esp + 0x18]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
push str.LockSearch
push esi
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43999e
mov bl, 1
jmp 0x4399a0
xor bl, bl
test esi, esi
je 0x4399ab
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret

Function at 0x4399f0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
test eax, eax
je 0x439a54
or ecx, 0x20006
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.004140d0
test eax, eax
jne 0x439a50
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx]
test esi, esi
je 0x439a50
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push esi
mov esi, dword [esp + 0x10]
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x439a54
mov bl, 1
jmp 0x439a56
mov esi, dword [esp + 8]
xor bl, bl
test esi, esi
je 0x439a61
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x439b70
Capabilities:
Get file version info

Disassembly:
sub esp, 0x94
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push edi
mov ebx, ecx
mov byte [esp + 0x13], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x439bb7
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005308cb
add esp, 0x94
ret
push ebp
push esi
call fcn.005351d9
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x439c44
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x439c44
test ebx, ebx
je 0x439c44
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xFileDescription
lea eax, [esp + 0x28]
push 0x80
push eax
call fcn.004082f0
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x439c44
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
push ecx
push edx
push ebx
call fcn.00407af0
mov bl, 1
test eax, eax
jge 0x439c48
mov bl, byte [esp + 0xf]
push ebp
call fcn.00534c33
mov ecx, dword [esp + 0xa0]
add esp, 4
pop ebp
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.005308cb
add esp, 0x94
ret
Function at 0x43af30
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [edx]
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push ebp
push esi
push edi
xor ebp, ebp
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.004640f0
test al, al
jne 0x43af74
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x43af68
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebp
je 0x43afa0
cmp eax, 0xffffffff
je 0x43afa0
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.Codepage
push esi
call edi
mov ebx, dword [ebx + 0xc]
cmp dword [ebx - 0xc], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x43afc7
test ebx, ebx
je 0x43afc7
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.DisplayName
push esi
call edi
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx + 0x10]
cmp dword [ebx - 0xc], 0
je 0x43afed
test ebx, ebx
je 0x43afed
push ebx
call ebp
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.FaviconPath
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x14]
cmp dword [ebx - 0xc], 0
je 0x43b013
test ebx, ebx
je 0x43b013
push ebx
call ebp
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.FaviconURL
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x18]
cmp dword [ebx - 0xc], 0
je 0x43b039
test ebx, ebx
je 0x43b039
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.OSDFileURL
push esi
call edi
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp dword [edx + 0x1c], eax
setne al
cmp eax, 0xffffffff
je 0x43b061
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ShowSearchSuggestions
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x20]
cmp dword [ebx - 0xc], 0
je 0x43b087
test ebx, ebx
je 0x43b087
push ebx
call ebp
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.SuggestionsURL_JSON
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x24]
cmp dword [ebx - 0xc], 0
je 0x43b0ad
test ebx, ebx
je 0x43b0ad
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push 0x5894a4
push esi
call edi
test esi, esi
je 0x43b0b8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4

Function at 0x43b0d0
Capabilities:
Delete registry key

Disassembly:
push ecx
mov ecx, dword [esi]
push eax
push str.DefaultScope
push ecx
xor ecx, ecx
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
call fcn.004399f0
add esp, 0xc
test al, al
jne 0x43b0f1
xor al, al
pop ecx
ret
mov edx, dword [esi]
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x43b108
cmp eax, 2
jne 0x43b0ed
mov al, 1
pop ecx
ret
Function at 0x43b410
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push ebp
push esi
push edi
xor ebp, ebp
mov eax, 0x100
mov edx, reloc.OLEAUT32.dll_SysReAllocString
lea edi, [esp + 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.004640f0
test al, al
jne 0x43b458
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x43b44e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebp
je 0x43b484
cmp eax, 0xffffffff
je 0x43b484
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.Codepage
push esi
call edi
mov ebx, dword [ebx + 0xc]
cmp dword [ebx - 0xc], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x43b4ab
test ebx, ebx
je 0x43b4ab
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.DisplayName
push esi
call edi
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx + 0x10]
cmp dword [ebx - 0xc], 0
je 0x43b4d1
test ebx, ebx
je 0x43b4d1
push ebx
call ebp
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push str.FaviconPath
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x14]
cmp dword [ebx - 0xc], 0
je 0x43b4f7
test ebx, ebx
je 0x43b4f7
push ebx
call ebp
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.FaviconURL
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x18]
cmp dword [ebx - 0xc], 0
je 0x43b51d
test ebx, ebx
je 0x43b51d
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.OSDFileURL
push esi
call edi
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp dword [edx + 0x1c], eax
setne al
cmp eax, 0xffffffff
je 0x43b545
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.ShowSearchSuggestions
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x20]
cmp dword [ebx - 0xc], 0
je 0x43b56b
test ebx, ebx
je 0x43b56b
push ebx
call ebp
lea edx, [eax + eax + 2]
push edx
push ebx
push 1
push 0
push str.SuggestionsURL_JSON
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x24]
cmp dword [ebx - 0xc], 0
je 0x43b591
test ebx, ebx
je 0x43b591
push ebx
call ebp
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push 0x5894a4
push esi
call edi
test esi, esi
je 0x43b59c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x43b5b0
Capabilities:
Delete registry key

Disassembly:
push ecx
push eax
push str.DefaultScope
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, 0x100
mov eax, str.SOFTWAREMicrosoftInternet_ExplorerSearchScopes
call fcn.004399f0
add esp, 0xc
test al, al
jne 0x43b5d6
xor al, al
pop ecx
ret
push str.SOFTWAREMicrosoftInternet_ExplorerUser_Preferences
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x43b5ef
cmp eax, 2
jne 0x43b5d2
mov al, 1
pop ecx
ret
Function at 0x4464e2
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x568798
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov eax, dword [0x5a53f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44653f
push eax
lea ecx, [esp + 0xc]
call fcn.00403220
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 8]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x4465ab
cmp eax, ecx
jg 0x4465ab
movzx eax, word [edx + eax*2]
mov ecx, 0x5c
cmp cx, ax
lea ecx, [esp + 8]
jne 0x4464e2
push 0x1d
push str.safemonwebprotection_firefox
jmp 0x4464e9
push 0x1e
push str._safemonwebprotection_firefox
call fcn.00406d20
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edx, [ecx + ecx]
push edx
push eax
push 1
push str.WebProtection_360safe.com
push str.SOFTWAREMozillaFirefoxExtensions
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x44655d
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44653f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005308cb
add esp, 0x18
ret
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push str.nptswp_status
push str.SOFTWARE360TotalSecurityFirefox
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
call esi
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4465a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x446541
push 0x80070057
call fcn.00404da0
int3
Function at 0x448cf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x208], eax
test edi, edi
je 0x448dd8
mov eax, 0x5c
cmp ax, word [edi + 2]
je 0x448dbc
mov ecx, eax
cmp cx, word [edi + 4]
je 0x448dbc
push ebx
push esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x12]
push eax
mov word [esp + 0x14], dx
call fcn.00534b20
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x58a008
lea edx, [esp + 0xc]
push edx
call esi
push edi
lea eax, [esp + 0xc]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 8]
push ecx
call ebx
test eax, eax
jne 0x448da5
push 0x58a01c
lea edx, [esp + 0xc]
push edx
call esi
push 0x58a01c
lea eax, [esp + 0xc]
push eax
call esi
push edi
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 8]
push edx
call ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005308cb
add esp, 0x20c
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.005308cb
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.005308cb
add esp, 0x20c
ret
Function at 0x45d500
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x56a0a6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x2c4], eax
push ebx
push ebp
push esi
mov eax, dword [0x5a53f4]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
xor ebp, ebp
push 0x24c
lea eax, [esp + 0x8c]
push ebp
push eax
mov esi, ecx
mov dword [esp + 0x90], ebp
call fcn.00534b20
push 0x585ea8
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.0040b0e0
push esi
push eax
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x304], ebp
call fcn.00412e00
mov esi, 8
add esp, 0x24
cmp dword [eax + 0x18], esi
jb 0x45d58d
mov eax, dword [eax + 4]
jmp 0x45d590
add eax, 4
lea ecx, [esp + 0x84]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x64], esi
jb 0x45d5b8
mov edx, dword [esp + 0x50]
push edx
call fcn.005303ae
add esp, 4
xor eax, eax
mov dword [esp + 0x2e0], 0xffffffff
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], ax
cmp dword [esp + 0x2c], esi
jb 0x45d5e9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005303ae
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
cmp ebx, 0xffffffff
jne 0x45d608
xor al, al
jmp 0x45d6c0
mov ebx, 1
lea ecx, [ecx]
push 0x585ea8
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.0040b0e0
lea ecx, [esp + 0xbc]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x2f8], ebx
call fcn.0040b0e0
add esp, 0x18
cmp dword [eax + 0x18], esi
jb 0x45d647
mov eax, dword [eax + 4]
jmp 0x45d64a
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x48], esi
jb 0x45d664
mov eax, dword [esp + 0x34]
push eax
call fcn.005303ae
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2e0], 0xffffffff
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], cx
cmp dword [esp + 0x80], esi
jb 0x45d698
mov edx, dword [esp + 0x6c]
push edx
call fcn.005303ae
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x84]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d610
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c4]
xor ecx, esp
call fcn.005308cb
add esp, 0x2d4
ret
Function at 0x45d6f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x56b846
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a53f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2d0]
mov esi, dword [esp + 0x2d4]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jne 0x45d747
xor al, al
jmp 0x45d86f
mov ecx, esi
call fcn.0045d500
push str..
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0040b0e0
mov ebp, 8
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x45d770
mov eax, dword [eax + 4]
jmp 0x45d773
add eax, 4
lea ecx, [esp + 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x4c], ebp
jb 0x45d796
mov edx, dword [esp + 0x38]
push edx
call fcn.005303ae
add esp, 4
xor eax, eax
cmp dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
je 0x45d740
cmp word [esp + 0x98], 0x2e
je 0x45d84a
test byte [esp + 0x6c], 0x10
je 0x45d84a
push 0x585ea8
lea ecx, [esp + 0x54]
push edi
push ecx
call fcn.0040b0e0
lea edx, [esp + 0xa4]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x2e0], ebx
call fcn.0040b0e0
push esi
push eax
mov byte [esp + 0x2e8], 1
call fcn.0045d6f0
add esp, 0x20
cmp dword [esp + 0x30], ebp
jb 0x45d819
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005303ae
add esp, 4
xor edx, edx
mov dword [esp + 0x2c8], 0xffffffff
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
cmp dword [esp + 0x68], ebp
jb 0x45d84a
mov eax, dword [esp + 0x54]
push eax
call fcn.005303ae
add esp, 4
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45d7b0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.005308cb
add esp, 0x2b8
ret
Function at 0x45d920
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebp
test eax, eax
je 0x45d935
mov eax, 1
pop ebp
ret
push ebx
push edi
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 0xffffffff
je 0x45d961
test al, 0x10
je 0x45d961
push esi
mov edi, 1
call ebx
test eax, eax
je 0x45d968
mov eax, edi
pop edi
pop ebx
pop ebp
ret
push esi
call ebp
test eax, eax
jne 0x45d983
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x45d992
push esi
test edi, edi
jne 0x45d98c
call ebp
test eax, eax
je 0x45d992
pop edi
pop ebx
mov eax, 1
pop ebp
ret
call ebx
test eax, eax
jne 0x45d983
cmp byte [esp + 0x10], 0
je 0x45d9af
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d983
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
xor eax, eax
pop ebp
ret

Function at 0x45dce0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.005308e0
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x201c]
cmp esi, ebx
je 0x45dd9c
push 0x1fff
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call fcn.00534b20
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x45dd9c
cmp eax, 0x1fff
ja 0x45dd9c
lea edx, [esp + 0x14]
push edx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45dd83
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x585ea8
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45dd83
mov eax, dword [esp + 8]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp], edx
mov bl, 1
pop ebp
mov al, bl
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.005308cb
add esp, 0x2010
ret
mov ecx, dword [esp + 0x2014]
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.005308cb
add esp, 0x2010
ret