joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b930
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x489cc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
call fcn.00416880
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 0xc]
cmp edx, 3
jg 0x44b9b0
or ebp, 0xffffffff
mov dword [esp + 0x24], ebp
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x44b997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea eax, [edx - 1]
cmp eax, ebx
jl 0x44bb05
cmp eax, edx
jg 0x44bb05
movzx edx, word [ecx + eax*2]
or ebp, 0xffffffff
cmp dx, 0x5c
jne 0x44ba12
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
call fcn.00421810
lea edi, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0040b8a0
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ba0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebp
je 0x44ba25
test al, 0x10
jne 0x44baf5
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call fcn.0046bde9
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ebx
je 0x44ba44
sub eax, ecx
sar eax, 1
cmp eax, ebp
jne 0x44ba77
lea eax, [ecx - 0x10]
mov dword [esp + 0x24], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x44ba61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
call fcn.00421810
mov byte [esp + 0x24], 2
mov esi, dword [esp + 0x18]
push esi
call fcn.0044b930
mov ecx, dword [esp + 0x18]
add esp, 4
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov byte [esp + 0x24], bl
lea eax, [esi - 0x10]
jne 0x44badd
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44bac5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
jmp 0x44ba53
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44baf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x44b981
push 0x80070057
call fcn.00416be0
int3
Function at 0x44cbb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44cbd7
xor eax, eax
pop esi
pop ecx
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44cbf5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret
push ebx
push edi
call fcn.0046aefd
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x44cc2b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, dword [esp + 0xc]
jne 0x44cc4d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx], ebx
pop ebx
mov dword [eax], edi
pop edi
mov eax, 1
pop esi
pop ecx
ret
test ebx, ebx
je 0x44cc5a
push ebx
call fcn.00469050
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x44cde0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x489448
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4be140]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x44ce95
lea ecx, [esp + 8]
push ecx
call fcn.00405d00
add esp, 4
mov edi, 0x4be140
mov dword [esp + 0x14], 0
call fcn.0040b8a0
mov dword [esp + 0x14], 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 0x44ce59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4be140]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jle 0x44ce84
lea eax, [ecx - 1]
test eax, eax
jl 0x44cebc
cmp eax, ecx
jg 0x44cebc
cmp word [edx + eax*2], 0x5c
je 0x44ce84
push 0x5c
mov edi, 0x4be140
call fcn.00416550
push 5
push str.EUDC_
push 0x4be140
call fcn.004164c0
mov ecx, dword [0x4be140]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, 0x4be140
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret
push 0x80070057
call fcn.00416be0
int3
Function at 0x44dfe0
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
mov ebx, dword [esi + 0x4b9360]
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.00409750
mov eax, dword [eax]
add esp, 8
push eax
call edi
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e02f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x44e043
add esi, 4
cmp esi, 0x14
jb 0x44dff1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret

Function at 0x44e050
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x488610
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x48]
or ebx, 0xffffffff
cmp dword [esi - 0xc], ebp
je 0x44e193
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e193
mov ecx, dword [esi - 0xc]
cmp ecx, ebp
jle 0x44e0cf
lea eax, [ecx - 1]
cmp eax, ebp
jl 0x44e1d6
cmp eax, ecx
jg 0x44e1d6
movzx eax, word [esi + eax*2]
cmp ax, 0x5c
je 0x44e0cf
push 0x5c
lea edi, [esp + 0x4c]
call fcn.00416550
mov esi, dword [esp + 0x48]
mov esi, dword [esi - 0xc]
lea eax, [esi - 1]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x48]
call fcn.00421810
lea edi, [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.0040b8a0
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x48]
mov word [esp + 0x28], 0x414
mov dword [esp + 0x2e], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x32], ebp
mov ebp, dword [esi - 0xc]
xor ecx, ecx
lea ebx, [ebp + 2]
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00460f82
mov edi, eax
lea eax, [ebx + ebx]
push eax
push 0
push edi
call fcn.0046ea20
lea ecx, [ebp + ebp]
push ecx
push esi
push edi
call fcn.0046e6b0
add esp, 0x1c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
mov ebx, eax
call fcn.0046a201
add esp, 4
xor ebp, ebp
xor eax, eax
cmp ebx, ebp
sete al
add esi, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
mov edi, eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e1c0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x80070057
call fcn.00416be0
int3
Function at 0x44e470
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48aeb1
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
mov edi, edx
jbe 0x44e4bc
call fcn.0046a455
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x44e4c9
call fcn.0046a455
push ebx
push esi
push ebp
push esi
lea eax, [esp + 0x28]
push eax
mov ebx, esi
call fcn.004506c0
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44e62a
mov eax, dword [edi]
sub eax, 0x10
call fcn.00415d10
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov dword [esp + 0x280], 0
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x44e539
lea ecx, [eax - 1]
test ecx, ecx
jl 0x44e635
cmp ecx, eax
jg 0x44e635
movzx eax, word [edi + ecx*2]
cmp ax, 0x5c
je 0x44e539
push 0x5c
lea edi, [esp + 0x1c]
call fcn.00416550
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ebx, 0x49ba3c
call fcn.00409750
add esp, 8
lea eax, [esp + 0x24]
mov byte [esp + 0x280], 1
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44e5db
nop
test byte [esp + 0x24], 0x10
jne 0x44e5c4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ebx, [esp + 0x58]
call fcn.00409750
add esp, 8
mov ebx, eax
mov byte [esp + 0x280], 2
call fcn.0043f950
mov byte [esp + 0x280], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e5c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44e570
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x280], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e603
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x280], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e62a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x44e63f
xor esi, esi
jmp 0x44e647
push 0x80070057
call fcn.00416be0
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 2
xor ecx, ecx
cmp ecx, esi
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00469efd
add esp, 0x270
ret
Function at 0x44e680
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48bde8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00415d10
lea ecx, [eax + 0x10]
mov dword [esp + 0x44], ecx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x44e6f1
lea edx, [eax - 1]
cmp edx, ebx
jl 0x44e7e0
cmp edx, eax
jg 0x44e7e0
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x44e6f1
push 0x5c
lea edi, [esp + 0x48]
call fcn.00416550
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.0044e470
test al, al
mov eax, dword [esp + 0x24]
je 0x44e7ea
cmp eax, ebx
je 0x44e804
mov edi, dword [esp + 0x28]
mov ecx, edi
sub ecx, eax
sar ecx, 2
je 0x44e7ee
xor esi, esi
lea ecx, [ecx]
cmp eax, ebx
je 0x44e804
mov ecx, edi
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x44e7ee
cmp dword [ebp - 0xc], ebx
je 0x44e7ac
cmp esi, ecx
jb 0x44e77d
call fcn.0046a455
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi*4]
cmp dword [ecx - 0xc], ebx
lea ebp, [eax + esi*4]
jl 0x44e7ac
mov edx, dword [esp + 0x18]
push edx
push ecx
call fcn.00469d2b
add esp, 8
cmp eax, ebx
je 0x44e7a4
sub eax, dword [ebp]
sar eax, 1
cmp eax, 0xffffffff
jne 0x44e7cc
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x44e7b9
sub edi, eax
sar edi, 2
cmp esi, edi
jb 0x44e7c2
call fcn.0046a455
mov eax, dword [esp + 0x24]
mov eax, dword [eax + esi*4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
add esi, 1
jmp 0x44e750
push 0x80070057
call fcn.00416be0
mov edi, dword [esp + 0x28]
cmp eax, ebx
je 0x44e804
call fcn.0043fd30
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00469050
add esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e830
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e858
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x44ea40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48bdaa
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
mov esi, ecx
mov eax, dword [esi]
xor bl, bl
cmp dword [eax - 0xc], 0
mov byte [esp + 0x17], bl
je 0x44ebe6
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ebe6
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
je 0x44ebe6
lea ecx, [esp + 0x28]
push ecx
xor edi, edi
call fcn.004429e0
mov dword [esp + 0x6c], edi
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.00442b60
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ebx, 1
mov byte [esp + 0x6c], bl
mov eax, dword [ecx]
mov ecx, dword [edx]
lea edx, [esp + 0x28]
push edx
mov edi, 0x4992cc
lea esi, [esp + 0x20]
call fcn.00443460
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
jle 0x44eb9b
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, ebp
lea edi, [esp + 0x18]
mov byte [esp + 0x6c], 2
call fcn.0040b8a0
mov eax, edi
call fcn.00434b20
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, edi
mov byte [esp + 0x74], 3
call fcn.00421880
add esp, 8
lea edi, [esp + 0x20]
mov byte [esp + 0x6c], 4
call fcn.0040b8a0
lea ecx, [esp + 0x24]
call fcn.00416ba0
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44eb89
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x20]
call fcn.00416ba0
lea ecx, [esp + 0x18]
call fcn.00416ba0
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ebbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x70], 0xffffffff
call fcn.00442ab0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov al, bl
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x450470
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48c581
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
call fcn.0044f520
add esp, 4
mov dword [esp + 0x234], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
or ebp, 0xffffffff
cmp eax, 2
jle 0x4505e4
cmp eax, 1
jge 0x4504e4
push 0x80070057
call fcn.00416be0
movzx eax, word [ecx + 2]
cmp ax, 0x3a
je 0x4505e4
push 0x20a
lea ecx, [esp + 0x22]
push 0
push ecx
mov word [esp + 0x28], 0
call fcn.0046ea20
add esp, 0xc
push 1
push 0x14
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x450550
or ebp, 0xffffffff
mov dword [esp + 0x234], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x450549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x450653
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00416880
lea eax, [esp + 0x14]
mov byte [esp + 0x234], 1
call fcn.00434b20
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ebx, [esp + 0x1c]
call fcn.00421880
add esp, 8
lea edi, [esp + 0x10]
mov byte [esp + 0x234], 2
call fcn.0040b8a0
mov byte [esp + 0x234], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4505bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4505e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45061f
mov dword [esp + 0x234], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x450549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x450653
lea ecx, [esp + 0x10]
call fcn.0044db50
test al, al
mov dword [esp + 0x234], ebp
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x450651
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00469efd
add esp, 0x228
ret
Function at 0x450870
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48ae68
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov edi, edx
mov eax, dword [esp + 0x24]
push eax
push edi
call fcn.00451570
test al, al
je 0x45099d
mov esi, edi
call fcn.00451b40
test al, al
je 0x4509ae
push ebx
lea ecx, [edi + 0x60]
push ecx
call fcn.00451570
test al, al
je 0x45099d
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp]
mov ebx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ecx
push eax
push ebx
call esi
test eax, eax
je 0x45099d
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
push 0
push eax
push ecx
call esi
test eax, eax
je 0x450994
mov eax, dword [ebp]
push 3
push 0xc0000000
push eax
lea eax, [esp + 0x3c]
xor edx, edx
push eax
mov eax, 0x80
lea ecx, [edx + 3]
call fcn.00416b60
test eax, eax
jne 0x45097a
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.004509f0
test al, al
je 0x45097a
lea edx, [esp + 0x30]
push edx
mov eax, edi
call fcn.00450ad0
test al, al
je 0x45097a
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00450bb0
test al, al
je 0x45097a
lea esi, [esp + 0x30]
call fcn.004510b0
test al, al
je 0x45097a
mov ecx, dword [esp + 0x28]
push ebx
push ecx
call fcn.00451200
test al, al
jne 0x4509a1
lea esi, [esp + 0x30]
call fcn.00415e20
mov edx, dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edx
call esi
mov eax, dword [ebx]
push eax
call esi
lea esi, [esp + 0x30]
call fcn.00415e20
xor al, al
jmp 0x4509da
lea esi, [esp + 0x30]
call fcn.00415e20
mov al, 1
jmp 0x4509da
mov eax, dword [ebp]
mov ebx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push eax
push ebx
call esi
test eax, eax
je 0x45099d
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
push 0
push eax
push ecx
call esi
test eax, eax
setne al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14