joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410380
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x880
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x87c], eax
mov eax, dword [esp + 0x888]
push ebx
mov ebx, dword [esp + 0x8a0]
push ebp
mov ebp, dword [esp + 0x8a0]
push esi
mov esi, dword [esp + 0x890]
push edi
push esi
mov edi, ecx
lea ecx, [esp + 0x684]
push 0x104
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
call fcn.004299fa
add esp, 0xc
push 0x4466d8
lea edx, [esp + 0x684]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x684]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x410430
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.__Error_0x_X_retrieving_folder_contents
push 0x450638
xor eax, eax
call fcn.0041ee40
add esp, 0xc
jmp 0x4105a7
mov ecx, 0x446730
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410466
test dx, dx
je 0x410462
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410466
add eax, 4
add ecx, 4
test dx, dx
jne 0x410440
xor eax, eax
jmp 0x41046b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410575
mov ecx, 0x446734
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4104a6
test dx, dx
je 0x4104a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4104a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x410480
xor eax, eax
jmp 0x4104ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410575
push esi
lea edx, [esp + 0x47c]
push 0x104
push edx
call fcn.004299fa
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x47c]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.004299fa
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call esi
test byte [esp + 0x20], 0x10
je 0x410541
mov eax, dword [esp + 0x8a4]
mov ecx, dword [esp + 0x8a0]
mov edx, dword [esp + 0x89c]
push ebx
push ebp
push eax
push ecx
push edx
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x490]
push ecx
mov ecx, edi
call fcn.00410380
jmp 0x41056b
mov edx, dword [esp + 0x8a4]
mov eax, dword [esp + 0x89c]
push ebp
push edx
push eax
lea ecx, [esp + 0x27c]
push ecx
lea edx, [esp + 0x488]
push edx
mov edx, ebx
mov ecx, edi
call fcn.00410730
mov esi, eax
test esi, esi
jne 0x41059c
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410430
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x41059c
xor esi, esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x88c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00426d9a
add esp, 0x880
ret 0x1c
Function at 0x4105d0
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x418], eax
push ebp
mov ebp, dword [esp + 0x424]
push edi
lea eax, [esp + 0x218]
push eax
push 0x104
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x44673c
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
push 3
push 0
push 1
push 0x20000
lea ecx, [esp + 0x28]
push ecx
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41067b
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 8]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 4
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x4106d8
push str.____Transfering_source_file_security
push 0x450638
call fcn.0041ee40
mov ecx, dword [esp + 0x14]
add esp, 8
push 0
push ecx
push 0
push 0
push 0x80000004
push 1
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov eax, dword [esp + 8]
test eax, eax
je 0x4106d8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 5
push ebp
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x10]
push ecx
push str.____Source:__s
push 0x450638
xor eax, eax
call fcn.0041ee40
push ebp
push str.____Destination:__s
push 0x450638
xor eax, eax
call fcn.0041ee40
mov ecx, dword [esp + 0x438]
add esp, 0x18
pop edi
pop ebp
xor ecx, esp
call fcn.00426d9a
add esp, 0x41c
ret 4
Function at 0x410de0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43f366
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f3d8]
xor eax, esp
push eax
lea eax, [esp + 0xa68]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa78]
mov ebp, dword [esp + 0xa7c]
mov dword [esp + 0x20], ecx
xor ecx, ecx
or edi, 0xffffffff
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ecx
mov word [esp + 0x44], cx
mov dword [esp + 0xa70], ecx
cmp byte [eax + 0x3e], cl
je 0x410f85
add eax, 0x18
push eax
mov ebx, str.Uninstall
lea esi, [esp + 0x28]
call fcn.004196a0
add esp, 4
push edi
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0xa78], 1
call fcn.00404070
mov esi, 8
mov byte [esp + 0xa70], 0
cmp dword [esp + 0x3c], esi
jb 0x410ea4
mov edx, dword [esp + 0x28]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x410eb2
lea eax, [esp + 0x44]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, edi
add edi, 1
push edi
push ebp
lea edx, [esp + 0x64]
push str._s_d
push edx
call esi
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
push ecx
call ebx
cmp eax, 2
jne 0x410ee0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x268]
push eax
mov eax, dword [esp + 0x28]
call fcn.00425760
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [ecx + ecx]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x268]
push eax
push 7
push 0
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x410f66
push eax
push str.Error_creating_uninstall_key_0x_X
push 0x450638
mov eax, 2
call fcn.0041ee40
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], 8
jb 0x410f85
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004286d5
add esp, 4
mov ecx, dword [esp + 0xa68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.00426d9a
add esp, 0xa60
ret 8
Function at 0x413ef0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43e918
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x44f3d8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x3c]
push 0x44541c
push eax
call fcn.00428644
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x10]
neg esi
sbb esi, esi
add esi, 1
test eax, eax
je 0x413f56
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
sub esi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
je 0x413f81
sub esi, 1
jne 0x413f99
call fcn.00423030
test al, al
je 0x413fc0
mov eax, 0x100
mov dword [esp + 0x14], eax
jmp 0x413f99
call fcn.00423030
test al, al
je 0x413f95
mov eax, 0x200
mov dword [esp + 0x14], eax
jmp 0x413f99
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
or eax, 0xf003f
push eax
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x413fc5
mov eax, 3
test eax, eax
mov esi, eax
mov dword [esp + 0x34], esi
jne 0x414101
mov eax, ebp
lea edx, [eax + 2]
jmp 0x413fe0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413fe0
sub eax, edx
sar eax, 1
je 0x414101
push str._default_
push ebp
call fcn.00428644
add esp, 8
test eax, eax
jne 0x414009
xor ebp, ebp
mov esi, dword [esp + 0x38]
push 0x447094
push esi
call fcn.00428644
add esp, 8
test eax, eax
jne 0x414031
push ebp
lea ecx, [esp + 0x14]
push ecx
mov edx, edi
call fcn.0041f0d0
jmp 0x4140ef
push 0x44709c
push esi
call fcn.00428644
add esp, 8
test eax, eax
jne 0x4140aa
movzx eax, word [edi]
cmp ax, 0x78
jne 0x41405e
push 0x10
push 0
add edi, 2
push edi
call fcn.0042996b
add esp, 0xc
jmp 0x414086
cmp ax, 0x30
jne 0x41407d
cmp word [edi + 2], 0x78
jne 0x41407d
push 0x10
push 0
add edi, 4
push edi
call fcn.0042996b
add esp, 0xc
jmp 0x414086
push edi
call fcn.00428cca
add esp, 4
push 4
lea edx, [esp + 0x40]
push edx
push 4
push 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
jmp 0x4140ef
push 0x445680
push esi
call fcn.00428644
add esp, 8
test eax, eax
jne 0x4140eb
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4140c1
sub eax, edx
sar eax, 1
test al, 1
je 0x414127
push str.Hex_string_should_be_even
push 0x450638
mov eax, 2
call fcn.0041ee40
add esp, 8
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4140fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414110
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x14
push ebp
lea ecx, [esp + 0x14]
push ecx
mov eax, edi
call fcn.0041f150
jmp 0x4140ef
Function at 0x4196a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43f3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x44f3d8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00404070
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4196f4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00403fa0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00404070
cmp dword [esp + 0x24], 8
jb 0x41973a
mov eax, dword [esp + 0x10]
push eax
call fcn.004286d5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x41b000
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Get file attributes

Disassembly:
sub esp, 0x220
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x228]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
mov ebx, edx
lea edx, [esp + 0x20]
push 0x104
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.004299fa
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41b1b3
test al, 0x10
jne 0x41b1b3
push edi
push 0
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x41b0b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41b0b7
test edi, edi
jle 0x41b09d
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00426d9a
add esp, 0x220
ret
lea edx, [esp + 0xc]
push edx
push 0x44249c
push 1
push 0
push 0x4424ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jl 0x41b09d
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
test eax, eax
jl 0x41b09f
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b0f0
sub eax, edx
sar eax, 1
jne 0x41b123
push esi
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.004299fa
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ebx, [esp + 0x20]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jl 0x41b09f
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x41b09f
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jl 0x41b09f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4424bc
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
test edi, edi
jl 0x41b1a2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebp
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41b09d
mov ecx, dword [esp + 0x224]
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x80070057
call fcn.00426d9a
add esp, 0x220
ret
Function at 0x41b1d0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41b1fb
xor eax, eax
pop edi
add esp, 8
ret
push ebx
push ebp
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ebp, [esi + 2]
push ebp
call fcn.00426d0b
push ebp
mov ebx, eax
push 0
push ebx
call fcn.00431d40
add esp, 0x10
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xfe
jbe 0x41b246
mov esi, 0xfe
jmp 0x41b249
and esi, 0xfffffffe
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
je 0x41b29f
cmp byte [ebx], 0xff
jne 0x41b274
cmp byte [ebx + 1], 0xfe
jne 0x41b274
mov eax, dword [esp + 0x1c]
lea edx, [ebx + 2]
push eax
call fcn.00402b40
jmp 0x41b336
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b280
mov esi, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
push ebx
call fcn.00404120
jmp 0x41b336
cmp byte [ebx], 0xef
mov dword [esp + 0x10], ebx
jne 0x41b2bb
cmp byte [ebx + 1], 0xbb
jne 0x41b2bb
cmp byte [ebx + 2], 0xbf
jne 0x41b2bb
lea ecx, [ebx + 3]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
xor ecx, ecx
lea esi, [ebp + 2]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426d0b
push esi
mov edi, eax
push 0
push edi
call fcn.00431d40
mov eax, dword [esp + 0x20]
add esp, 0x10
push ebp
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b313
mov esi, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00404120
push edi
call fcn.004286d5
add esp, 4
push ebx
call fcn.004286d5
add esp, 4
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 8
ret
Function at 0x41b720
Capabilities:
Get file version info

Disassembly:
sub esp, 0x220
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
mov ebx, ecx
test ebx, ebx
push esi
push edi
jne 0x41b752
push 0x208
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ebx, [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x41b77d
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00426d9a
add esp, 0x220
ret
push edi
call fcn.00426d0b
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x445424
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
xor edx, edx
xor edi, edi
push esi
or edi, ecx
or ebx, edx
call fcn.004286d5
mov ecx, dword [esp + 0x228]
add esp, 4
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.00426d9a
add esp, 0x220
ret

Function at 0x41b970
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.temp
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push 0
push 0x44673c
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00426d9a
add esp, 0x20c
ret
Function at 0x41b9e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x670
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x66c], eax
mov eax, dword [esp + 0x674]
push ebx
mov ebx, dword [esp + 0x67c]
push ebp
push esi
push edi
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x474]
push 0x104
push eax
mov esi, ecx
xor edi, edi
call fcn.004299fa
add esp, 0xc
lea ecx, [esp + 0x470]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
lea edx, [esp + 0x474]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41ba68
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41bb9f
mov ebp, dword [esp + 0x68c]
nop
mov ecx, 0x446730
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41baa6
test dx, dx
je 0x41baa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41baa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ba80
xor eax, eax
jmp 0x41baab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41bb5e
mov ecx, 0x446734
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41bae6
test dx, dx
je 0x41bae2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41bae6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41bac0
xor eax, eax
jmp 0x41baeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41bb5e
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push 0x104
push eax
call fcn.004299fa
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [esp + 0x18], 0x10
push ebp
je 0x41bb46
push ebx
lea eax, [esp + 0x270]
push eax
mov ecx, esi
call fcn.0041b9e0
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov edi, eax
push ebp
lea eax, [esp + 0x26c]
push eax
jmp 0x41bb52
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x26c]
push ecx
mov ecx, esi
call edx
test al, al
jne 0x41bbba
test edi, edi
jne 0x41bb86
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ba70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x41ba70
cmp edi, 0x12
je 0x41bb90
cmp edi, 3
jne 0x41bb92
xor edi, edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00426d9a
add esp, 0x670
ret 0xc
mov edi, 0x4c7
jmp 0x41bb92
Function at 0x41bd00
Capabilities:
Create directory

Disassembly:
sub esp, 0x878
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [esp + 0x880]
push ebx
push ebp
mov ebp, dword [esp + 0x884]
push esi
push edi
push ebp
lea ecx, [esp + 0x67c]
push 0x104
push ecx
mov dword [esp + 0x20], eax
call fcn.004299fa
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push 0x4451dc
lea edx, [esp + 0x67c]
push edx
call edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x67c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x41bd7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41bef5
mov ebx, dword [esp + 0x894]
jmp 0x41bd90
mov ecx, 0x446730
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41bdc6
test dx, dx
je 0x41bdc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41bdc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41bda0
xor eax, eax
jmp 0x41bdcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41bec5
mov ecx, 0x446734
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41be06
test dx, dx
je 0x41be02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41be06
add eax, 4
add ecx, 4
test dx, dx
jne 0x41bde0
xor eax, eax
jmp 0x41be0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41bec5
push ebp
lea edx, [esp + 0x474]
push 0x104
push edx
call fcn.004299fa
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x474]
push ecx
call edi
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push 0x104
push eax
call fcn.004299fa
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x26c]
push edx
call edi
test byte [esp + 0x18], 0x10
je 0x41be99
test bl, bl
je 0x41bec5
push 0
lea eax, [esp + 0x26c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
lea ecx, [esp + 0x26c]
push ecx
lea edx, [esp + 0x478]
push edx
call fcn.0041bd00
add esp, 0xc
jmp 0x41bebb
push 0
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41bec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x41bee8
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41bd90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x41bee8
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [esp + 0x884]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00426d9a
add esp, 0x878
ret