joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47592c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x4759bf
xor ebx, ebx
mov byte [ebp - 9], 0
lea eax, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
mov edx, dword [ebp + 8]
call fcn.0044fafc
dec edi
test edi, edi
jl 0x4759bf
inc edi
mov dword [ebp - 0x10], edi
xor edx, edx
inc ebx
mov esi, ebx
and esi, 0xff
mov al, byte [ebp + esi - 0x110]
add byte [ebp - 9], al
xor ecx, ecx
mov cl, byte [ebp - 9]
mov cl, byte [ebp + ecx - 0x110]
mov byte [ebp + esi - 0x110], cl
xor ecx, ecx
mov cl, byte [ebp - 9]
mov byte [ebp + ecx - 0x110], al
add al, byte [ebp + esi - 0x110]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x10]
jne 0x475968
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x483990
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x4839a4
call fcn.004835dc
pushal
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4e453c]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x483a14
mov eax, dword [0x4dc194]
mov eax, dword [eax]
mov eax, dword [eax + 0x180]
mov ebx, eax
mov edx, dword [0x4dc194]
mov esi, eax
mov edx, dword [0x4dc194]
mov edx, dword [edx]
add esi, dword [edx + 0x308]
mov edx, dword [0x4dc194]
mov edi, eax
mov eax, dword [0x4dc194]
mov eax, dword [eax]
add edi, dword [eax + 0x30c]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call esi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x484cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x484d83
add edx, ebx
mov eax, edx
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x20]
add edx, ebx
mov dword [ebp - 4], edx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0xc]
cmp edx, 0xffff
jbe 0x484d67
test edi, edi
jbe 0x484d83
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.00408cd4
test eax, eax
jne 0x484d58
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x484d83
add ebx, esi
mov esi, ebx
jmp 0x484d83
add dword [ebp - 8], 2
add dword [ebp - 4], 4
dec edi
test edi, edi
ja 0x484d2d
jmp 0x484d83
mov edi, edx
sub edi, dword [eax + 0x10]
cmp edi, dword [eax + 0x14]
jae 0x484d83
mov eax, edi
shl eax, 2
add eax, dword [ebp - 0xc]
mov esi, dword [eax]
test esi, esi
je 0x484d83
add ebx, esi
mov esi, ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x490e80
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x490eb1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x490e99
add dl, dl
jne 0x490ebc
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x490f0d
xor eax, eax
add dl, dl
jne 0x490ec9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x490faa
add dl, dl
jne 0x490ed8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x490ee3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x490eee
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x490ef9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x490f03
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x490ea8
mov eax, 1
add dl, dl
jne 0x490f1b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x490f26
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x490f12
sub eax, ebx
mov ebx, 1
jne 0x490f59
mov ecx, 1
add dl, dl
jne 0x490f3f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x490f4a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x490f36
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x490ea8
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x490f70
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x490f7b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x490f67
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x490ea8
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x490fcb
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x490ea8
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x402810
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x18
cmp word [0x560388], 0
push esi
je 0x4028c2
push 0x560388
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4028c2
push 0x560388
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4028c2
mov ecx, 0x5614a0
call fcn.004060b0
xorps xmm0, xmm0
mov dword [0x5614cc], 0
lea edx, [esp + 8]
mov word [0x5614c2], 0
mov ecx, 0x560388
mov dword [esp + 0x18], 0
movups xmmword [esp + 8], xmm0
call fcn.004026c0
mov esi, eax
cmp esi, 0xffffffff
je 0x4028c2
push esi
mov ecx, 0x5614a0
call fcn.004061b0
test eax, eax
je 0x4028a3
cmp eax, 1
je 0x4028a3
cmp eax, 2
je 0x4028a3
xor eax, eax
jmp 0x4028a8
mov eax, 1
lea edx, [esp + 8]
mov dword [0x5614cc], eax
mov ecx, esi
call fcn.004027b0
mov eax, dword [0x5614cc]
pop esi
add esp, 0x18
ret
xor eax, eax
pop esi
add esp, 0x18
ret

Function at 0x404070
Capabilities:
Check if file exists
Create directory
Get file size

Disassembly:
push ecx
cmp word [0x560388], 0
push esi
push edi
je 0x404158
push 0x5c
push 0
push 0x560388
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
je 0x4040b0
xor eax, eax
push eax
push 0x560388
push eax
mov word [esi], ax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, 0x5c
mov word [esi], ax
push 0x560388
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40411a
push 0x560388
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40411a
push eax
push pe_nt_image_headers32
push 3
push eax
push 1
push 0x80000000
push 0x560388
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x404158
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x404143
mov eax, 1
pop edi
pop esi
pop ecx
ret
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
push 0x560388
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x404143
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov edx, str.minipath
call fcn.00403560
add esp, 8
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x404160
Capabilities:
Check if file exists
Get common file path
Query environment variable

Disassembly:
sub esp, 0x414
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
push 0x104
lea eax, [esp + 0x21c]
mov ebx, ecx
push eax
push ebx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4042c4
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x10]
push esi
push eax
call ebp
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4041ee
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
je 0x4042b5
push esi
lea eax, [esp + 0x14]
push eax
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x10]
push str._np3_
push eax
call esi
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x14]
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40423c
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
je 0x4042b5
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1a
push 0
call esi
test eax, eax
jne 0x404282
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404282
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
je 0x4042b5
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x28
push 0
call esi
test eax, eax
jne 0x4042fe
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x10]
call fcn.004025d0
test eax, eax
je 0x4042fe
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov eax, 1
jmp 0x404300
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4042fe
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4042fe
lea eax, [esp + 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
jmp 0x404300
xor eax, eax
mov ecx, dword [esp + 0x420]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422d0c
add esp, 0x414
ret
Function at 0x404320
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x41c
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
mov esi, dword [esp + 0x428]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x428]
push 0x104
push eax
push 0x48d420
push edx
mov edx, ecx
mov ecx, edi
call fcn.004033b0
add esp, 0x10
test eax, eax
je 0x40442c
mov edx, esi
lea ecx, [esp + 8]
call fcn.00404160
test eax, eax
je 0x40439f
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00422d0c
add esp, 0x41c
ret
push 0x104
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x404401
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call esi
lea eax, [esp + 0x210]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call esi
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00422d0c
add esp, 0x41c
ret
lea eax, [esp + 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00422d0c
add esp, 0x41c
ret
mov ecx, dword [esp + 0x41c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00422d0c
add esp, 0x41c
ret
Function at 0x4061b0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esp + 0x1c]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x406253
cmp dword [esp + 0xc], 0
jne 0x406253
lea ecx, [esi + 1]
push 0x485565
push ecx
call fcn.0042330c
mov edi, eax
add esp, 8
test edi, edi
jne 0x406200
lea eax, [edi - 2]
pop edi
pop esi
pop ebp
add esp, 8
ret 4
push 0
lea eax, [esp + 0x14]
mov byte [edi + esi], 0
push eax
push esi
push edi
push dword [esp + 0x28]
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40624a
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x40624a
push eax
push edi
mov ecx, ebp
call fcn.00408880
push edi
mov esi, eax
call fcn.00422d58
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 8
ret 4
push edi
call fcn.00422d58
add esp, 4
pop edi
pop esi
mov eax, 0xfffffffd
pop ebp
add esp, 8
ret 4

Function at 0x407770
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 8]
mov eax, edx
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407786
push 0
lea ecx, [esp + 0xc]
sub eax, edi
push ecx
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ecx
ret 4
Function at 0x40da00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x434
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0x430], eax
push ebp
push esi
mov esi, dword [esp + 0x444]
lea eax, [esp + 0x2c]
push edi
mov edi, dword [esp + 0x444]
mov ebp, edx
push 0x200
push 0
push eax
mov dword [esp + 0x18], ecx
call fcn.00425950
push 0x208
lea eax, [esp + 0x240]
push 0
push eax
call fcn.00425950
add esp, 0x18
lea eax, [esp + 0x30]
push 0x48d420
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100
lea eax, [esp + 0x34]
push eax
push ebp
push dword [0x560844]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x40da95
push 0x100
lea eax, [esp + 0x34]
push eax
push ebp
push dword [0x560a58]
call dword [sym.imp.USER32.dll_LoadStringW]
test esi, esi
je 0x40dab0
cmp word [esi], 0
je 0x40dab0
push esi
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x40dac3
lea eax, [esp + 0x230]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x230]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0x41
mov dword [esp + 0x28], 0x40d9d0
mov dword [esp + 0x30], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
je 0x40db3f
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00422d0c
add esp, 0x434
ret
mov ecx, dword [esp + 0x43c]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00422d0c
add esp, 0x434
ret
Function at 0x411bb0
Capabilities:
Copy file
Create process on windows
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x884
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0x87c], eax
push ebx
push ebp
push esi
mov esi, dword [0x560844]
mov ebx, ecx
push edi
mov ecx, 0x6a
mov dword [esp + 0x50], 1
mov ebp, edx
call fcn.00417a20
mov edi, eax
lea eax, [esp + 0x50]
push eax
push 0x411240
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov esi, eax
test edi, edi
je 0x411c06
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, 1
jne 0x411dc4
push 0x210
lea eax, [esp + 0x67c]
push 0
push eax
call fcn.00425950
add esp, 0xc
lea edx, [esp + 0x678]
lea ecx, [esp + 0x54]
lea esi, [ebp + 4]
push 0x210
call fcn.004161b0
add esp, 4
test eax, eax
je 0x411d0e
push 0x210
lea eax, [esp + 0x46c]
push 0
push eax
call fcn.00425950
add esp, 0xc
lea eax, [esp + 0x468]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x468]
mov dword [esp + 0x2e], 0
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x678]
movlpd qword [esp + 0x26], xmm0
mov dword [esp + 0x20], eax
mov eax, 0x40
mov word [esp + 0x24], ax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x411d04
cmp dword [0x5633e8], eax
je 0x411d04
lea eax, [esp + 0x678]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x411d04
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 1
jmp 0x411dc6
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x468]
movlpd qword [esp + 0x34], xmm0
mov ecx, esi
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x5634ac
mov dword [esp + 0x30], 1
call fcn.00416000
test eax, eax
je 0x411d8f
push 0x104
lea edx, [esp + 0x46c]
mov ecx, esi
call fcn.00416080
add esp, 4
test eax, eax
jne 0x411d9e
push esi
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
lea eax, [esp + 0x46c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, 1
jmp 0x411dc6
xor eax, eax
mov ecx, dword [esp + 0x88c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422d0c
add esp, 0x884
ret
Function at 0x413080
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push ebp
push 0x2b4
lea eax, [esp + 0xc]
mov ebp, ecx
push 0
push eax
call fcn.00425950
add esp, 0xc
push 0x22c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4130d6
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.00422d0c
add esp, 0x2b8
ret
push esi
push ebx
push str.DirListData
push ebp
call dword [sym.imp.USER32.dll_SetPropW]
push 0x48d420
lea eax, [ebx + 0x10]
mov dword [ebx], ebp
push eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4001
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push 0x48e200
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x1003
push ebp
call esi
push 0x4000
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push 0x48e200
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 0
push 0x1003
push ebp
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x21c], 0
call esi
push 0
push 1
push 1
push 0
mov dword [ebx + 0x224], eax
call esi
mov ecx, dword [esp + 0x2c0]
pop esi
mov dword [ebx + 0x228], eax
mov eax, 1
pop ebp
pop ebx
xor ecx, esp
call fcn.00422d0c
add esp, 0x2b8
ret

Function at 0x413230
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
push str.DirListData
push esi
call dword [sym.imp.USER32.dll_GetPropW]
mov ecx, esi
mov edi, eax
call fcn.00413280
push dword [edi + 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call esi
push dword [edi + 0x228]
call esi
push edi
push 0
push 0x413860
call fcn.00451528
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
Function at 0x414140
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x938
mov eax, dword [0x493008]
xor eax, esp
mov dword [esp + 0x934], eax
push ebx
mov ebx, dword [esp + 0x940]
lea eax, [esp + 0x5c]
push ebp
push esi
push edi
mov edi, dword [0x561c6c]
mov esi, edx
push 0x2b4
push 0
push eax
call fcn.00425950
add esp, 0xc
test ebx, ebx
je 0x414285
cmp word [ebx], 0
je 0x414285
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [esp + 0x738]
push 0x104
push eax
push ebx
call ebp
test esi, esi
je 0x4141e3
cmp word [esi], 0
je 0x4141e3
lea ecx, [esp + 0x74]
mov edx, 0x104
mov eax, ecx
sub esi, eax
nop word [eax + eax]
movzx eax, word [esi + ecx]
test ax, ax
je 0x4141d4
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4141c0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x4141fb
push 0x200
push 0x2b4
lea eax, [esp + 0x70]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x74]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push 0x1053
push edi
mov dword [esp + 0x24], 2
mov dword [esp + 0x330], 7
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x414285
lea eax, [esp + 0x320]
mov edx, esi
push eax
mov ecx, edi
call fcn.00413ce0
add esp, 4
lea eax, [esp + 0x324]
push 0x104
push eax
push eax
call ebp
lea eax, [esp + 0x738]
push eax
lea eax, [esp + 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4142a0
lea eax, [esp + 0x14]
push eax
push esi
push 0x1053
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x414232
xor eax, eax
mov ecx, dword [esp + 0x944]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422d0c
add esp, 0x938
ret
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 3
push eax
push esi
push 0x102b
push edi
mov dword [esp + 0x48], 3
call ebx
push 0
push esi
push 0x1013
push edi
call ebx
mov eax, 1
jmp 0x414287