joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442786
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x5d0c2b
call fcn.0059d760
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x26c]
mov edi, 0x22c
xor ebx, ebx
push edi
push ebx
push eax
call fcn.005a26c0
add esp, 0xc
lea ecx, [ebp - 0x40]
push esi
call fcn.004030c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0044455a
pop ecx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x442844
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x44282f
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.004030c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0044455a
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ed86
lea ecx, [ebp - 0x28]
test al, al
jne 0x442835
mov byte [ebp - 4], bl
call fcn.00403060
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4427ea
jmp 0x44283d
xor ebx, ebx
inc ebx
call fcn.00403060
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00403060
mov eax, ebx
call fcn.0059d70a
ret

Function at 0x444bd4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00444b89
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x444c53
cmp dword [ebp - 0x118], ebx
jbe 0x444ca2
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x444ca2
cmp eax, 6
jne 0x444c7e
cmp byte [ebp - 6], 1
jne 0x444c79
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x444c75
sub eax, 1
je 0x444c71
push 6
jmp 0x444c7b
push 5
jmp 0x444c7b
push 3
jmp 0x444c7b
push 4
pop ebx
jmp 0x444ca2
cmp eax, 0xa
jne 0x444c9c
cmp dword [ebp - 0x118], ebx
jne 0x444ca2
cmp dword [ebp - 0x114], 0x4e20
sbb ebx, ebx
add ebx, 8
jmp 0x444ca2
push 9
pop ecx
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret
Function at 0x4450ec
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x114
lea eax, [ebp - 0x118]
push edi
xor ebx, ebx
xor esi, esi
push ebx
push eax
inc esi
call fcn.005a26c0
add esp, 0xc
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4451c1
cmp dword [ebp - 0x114], 5
jbe 0x4451bf
push 4
pop eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4451c1
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], ebx
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x128]
push eax
push ebx
push str.PromptOnSecureDesktop
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4451b1
cmp dword [ebp - 0x120], eax
cmove esi, eax
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4451c1
mov esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret

Function at 0x4451d2
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.005a26c0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x445235
cmp dword [ebp - 0x118], 2
jg 0x445235
xor eax, eax
inc eax
jmp 0x445237
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059d38a
leave
ret
Function at 0x446b29
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.005a26c0
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005a26c0
push ebx
mov esi, 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.005b0c72
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005b0c72
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.005b017c
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005b017c
add esp, 0x40
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.005b01fd
pop ecx
pop ecx
test eax, eax
je 0x446c79
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x446c02
push edi
push 0x5db3b0
push eax
call fcn.0043c06f
add esp, 0xc
jmp 0x446c12
push esi
push edi
push str._s.bak_d
push eax
call fcn.0043c06f
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call fcn.0044721f
pop ecx
test al, al
je 0x446c30
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.005aff5c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x446c77
call ebx
cmp esi, 0xa
jge 0x446c79
inc esi
jmp 0x446bd1
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret
Function at 0x446f64
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x5d1379
call fcn.0059d760
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb8], eax
xor esi, esi
lea ecx, [ebp - 0x28]
push 0x6568d8
mov dword [ebp - 4], esi
call fcn.004030c0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.004569c2
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov edi, esi
cmovae eax, dword [ebp + 8]
push eax
call fcn.0044721f
pop ecx
test al, al
je 0x44702c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push 0x80
push 4
push esi
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44702e
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0xb8]
push eax
mov dword [ecx], eax
call fcn.0059d3be
mov edi, eax
pop ecx
test edi, edi
je 0x44702e
mov eax, dword [ebp - 0xb8]
push dword [eax]
push esi
push edi
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0xbc]
push esi
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
lea ecx, [ebp - 0x28]
call fcn.00403060
lea ecx, [ebp + 8]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret
Function at 0x447046
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xe4
mov eax, 0x5d13c1
call fcn.0059d760
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe8], esi
mov edi, 0x6568d8
lea ecx, [ebp - 0x28]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.004030c0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 1
call fcn.004569c2
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call fcn.0044721f
pop ecx
test al, al
je 0x447189
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ebx
cmovae eax, dword [ebp + 0xc]
push 0x80
push 4
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4470d0
push edi
mov ecx, esi
call fcn.004030c0
jmp 0x4471a6
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xec], eax
inc eax
push eax
mov dword [ebp - 0xe8], eax
call fcn.0059d3be
mov edi, eax
pop ecx
test edi, edi
jne 0x4470fa
push 0x6568d8
jmp 0x4470c4
push dword [ebp - 0xe8]
push 0
push edi
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0xf0]
push 0
push eax
push dword [ebp - 0xec]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xec]
lea ecx, [ebp - 0xe4]
push edi
call fcn.0045737c
push edi
call fcn.0059d3c7
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xe4]
call fcn.00456bcd
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.004443de
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00403180
cmp dword [ebp - 0x30], 0
jbe 0x44717f
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00417ea0
lea ecx, [ebp - 0x40]
call fcn.00403060
xor ebx, ebx
mov byte [ebp - 0xe8], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0xe8]
mov ecx, esi
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.0043ec71
lea ecx, [ebp - 0x28]
call fcn.00403060
lea ecx, [ebp + 0xc]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret
Function at 0x447271
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.005a26c0
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005a26c0
push ebx
mov esi, 0x104
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.005b0c72
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005b0c72
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.005b017c
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.005b017c
add esp, 0x40
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.005b01fd
pop ecx
pop ecx
test eax, eax
je 0x4473da
push ebx
call fcn.0044721f
pop ecx
test al, al
je 0x4473da
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x44735e
push str..cdc
push edi
push 0x5d82f0
push eax
call fcn.0043c06f
add esp, 0x10
jmp 0x447373
push esi
push str..cdc
push edi
push str._s_s_d
push eax
call fcn.0043c06f
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call fcn.0044721f
pop ecx
test al, al
je 0x447391
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.005aff5c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x4473d8
call ebx
cmp esi, 0xa
jge 0x4473da
inc esi
jmp 0x447328
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret

Function at 0x4473e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push 0x80
push 2
push esi
inc edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x447418
xor eax, eax
jmp 0x447446
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x447442
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
je 0x447444
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4481e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
je 0x448294
push ebx
push esi
push edi
xor ebx, ebx
push str.b69749abbfffc7f6494ec5c0eb4c7d2c
mov dword [ebp - 4], ebx
call fcn.005b0280
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
call fcn.0059d3be
push edi
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.005a1bc0
add esp, 0x14
mov edx, ebx
test edi, edi
je 0x448244
mov ecx, ebx
mov al, byte [ecx + str.b69749abbfffc7f6494ec5c0eb4c7d2c]
xor byte [edx + esi], al
inc ecx
xor eax, eax
cmp ecx, dword [ebp - 8]
cmovge ecx, eax
inc edx
cmp edx, edi
jb 0x44822d
cmp edi, 1
jle 0x448266
cmp byte [esi], 0x37
jne 0x448266
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x448259
cmp al, 0x5a
jne 0x448266
lea eax, [ebp - 4]
push eax
push edi
push esi
call fcn.00593b80
mov ebx, eax
push esi
call fcn.0059d3c7
pop ecx
test ebx, ebx
je 0x448284
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x448284
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x448291
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x448fe7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.005b025f
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059d3be
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.005b023d
mov eax, dword [ebp - 4]
xor ebx, ebx
add esp, 0x10
xor edi, edi
inc ebx
test eax, eax
js 0x449062
push 0x5c
pop ecx
cmp word [esi + edi*2], cx
jne 0x449059
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.0044721f
pop ecx
test al, al
jne 0x44904f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x449060
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + edi*2], cx
inc edi
cmp edi, eax
jle 0x44902b
jmp 0x449062
xor ebx, ebx
push esi
call fcn.0059d3c7
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x449070
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push 0x2b8
mov eax, 0x5d1689
call fcn.0059d760
mov esi, dword [ebp + 8]
push esi
call fcn.005b025f
pop ecx
cmp eax, 3
jb 0x449273
push esi
call fcn.0044721f
pop ecx
test al, al
je 0x449273
push esi
lea ecx, [ebp - 0x28]
call fcn.004030c0
lea eax, [ebp - 0x28]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00443a68
mov ebx, 0x5d4964
pop ecx
test eax, eax
jne 0x4490d3
push ebx
call fcn.005b025f
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00405ab0
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
call fcn.0043ed0b
mov esi, 0x5d66e4
mov byte [ebp - 4], 2
push esi
call fcn.005b025f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.00405ab0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44922e
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44922e
push 0x2e
pop eax
cmp word [ebp - 0x294], ax
je 0x449137
cmp word [ebp - 0x292], 0
je 0x449137
cmp word [ebp - 0x292], ax
jne 0x449176
cmp word [ebp - 0x290], 0
je 0x449137
test byte [ebp - 0x2c0], 0x10
lea eax, [ebp - 0x28]
push eax
je 0x4491e6
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.0043ed0b
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 3
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ab0
push ebx
call fcn.005b025f
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00405ab0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00449070
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00403060
jmp 0x449137
lea ecx, [ebp - 0x58]
call fcn.00417ea0
lea eax, [ebp - 0x294]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405ab0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004030c0
call fcn.0044a67a
add esp, 0x18
jmp 0x449137
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x20
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x70]
call fcn.00403060
lea ecx, [ebp - 0x58]
call fcn.00403060
lea ecx, [ebp - 0x28]
call fcn.00403060
call fcn.0059d70a
ret
Function at 0x449c19
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x6694d4]
test bl, bl
jne 0x449cb0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x449caa
lea eax, [ebp - 0x20c]
push eax
call fcn.005b0112
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5db454
push eax
call fcn.005a2ba7
pop ecx
pop ecx
test eax, eax
jne 0x449ca2
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.005a2ba7
pop ecx
pop ecx
test eax, eax
je 0x449caa
mov byte [0x6694d4], bl
jmp 0x449cb0
mov bl, byte [0x6694d4]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0059d38a
leave
ret

Function at 0x449cbf
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x5d175a
call fcn.0059d760
mov al, byte [0x6694d5]
test al, al
jne 0x449d70
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.005a26c0
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x449d6b
push str.config_systemprofile
lea ecx, [ebp - 0x144]
call fcn.00403290
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x12c]
call fcn.00403290
push esi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00444922
movzx ecx, byte [0x6694d5]
cmp eax, 0xffffffff
cmovne ecx, edi
mov byte [0x6694d5], cl
lea ecx, [ebp - 0x12c]
call fcn.00403180
lea ecx, [ebp - 0x144]
call fcn.00403180
mov al, byte [0x6694d5]
call fcn.0059d70a
ret
Function at 0x449fc5
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2b4
mov eax, 0x5d17d5
call fcn.0059d760
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov edi, dword [ebp + 0xc]
push eax
call fcn.004030c0
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00443a68
pop ecx
test eax, eax
jne 0x44a00c
mov esi, 0x5d4964
push esi
call fcn.005b025f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00405ab0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x30], ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
call fcn.0043ed0b
mov esi, 0x5d66e4
mov byte [ebp - 4], 1
push esi
call fcn.005b025f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00405ab0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a10d
test byte [ebp - 0x2c0], 0x10
je 0x44a0f0
cmp word [ebp - 0x294], 0x2e
je 0x44a0f0
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x70]
call fcn.004030c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00444b60
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00403060
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
call fcn.0043ed0b
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 3
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405ab0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00449fc5
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00403060
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44a05c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.00403060
lea ecx, [ebp - 0x58]
call fcn.00403060
call fcn.0059d70a
ret
Function at 0x44a4bf
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x5cc458
call fcn.0059d760
xor edi, edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
call fcn.0043ed0b
mov esi, 0x5d66e4
mov byte [ebp - 4], 1
push esi
call fcn.005b025f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00405ab0
push 8
pop ebx
cmp dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a634
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44a634
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x44a525
cmp word [ebp - 0x27a], 0
je 0x44a525
cmp word [ebp - 0x27a], ax
jne 0x44a564
cmp word [ebp - 0x278], 0
je 0x44a525
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.004030c0
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push eax
je 0x44a5e0
call fcn.0043ed0b
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00405ab0
push 0x5d4964
call fcn.005b025f
pop ecx
push eax
push 0x5d4964
lea ecx, [ebp - 0x28]
call fcn.00405ab0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0043ed0b
call fcn.0044a4bf
jmp 0x44a618
call fcn.0043ed0b
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00405ab0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0043ed0b
call fcn.0044a67a
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00403060
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00403060
jmp 0x44a525
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], ebx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x44a664
cmp dword [ebp + 0x1c], ebx
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x58]
call fcn.00403060
lea ecx, [ebp + 8]
call fcn.00403060
call fcn.0059d70a
ret

Function at 0x44a903
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4