joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
call fcn.0041ce80
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x5807cc]
push ecx
push str._s:__s:_Not_enough_memory._n
push 3
call fcn.00406100
add esp, 0x10
push 1
call fcn.004bcfbf
pop ebp
ret

Function at 0x449a70
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x57594c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], ecx
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp eax, 1
jne 0x449aae
cmp dword [ebp - 0x88], 1
jne 0x449aae
mov dword [0x5812dc], 1
mov ecx, 0x101
mov word [ebp - 0x22c], cx
lea edx, [ebp - 0x228]
push edx
movzx eax, word [ebp - 0x22c]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x449af6
mov ecx, dword [0x5807cc]
push ecx
push str._s:_Couldnt_find_usable_socket_driver._n
call fcn.00425720
add esp, 8
xor al, al
jmp 0x449b3a
movzx edx, word [ebp - 0x228]
movzx eax, word [ebp - 0x22c]
cmp edx, eax
jge 0x449b26
mov ecx, dword [0x5807cc]
push ecx
push str._s:_Couldnt_find_usable_socket_driver._n
call fcn.00425720
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x449b3a
push 0
call fcn.00449b80
add esp, 4
mov edx, dword [ebp - 0x230]
mov dword [edx], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8d48
mov esp, ebp
pop ebp
ret
Function at 0x45abc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5291ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00407040
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00407040
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00407040
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x48], ax
mov edx, dword [ebp - 0x10]
add edx, 0x4c
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00407040
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
add edx, 0x64
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00407040
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
add edx, 0x7c
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
call fcn.00407040
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.0045d910
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45b6f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00407040
mov eax, dword [0x5523c8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00406f60
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x18
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00407040
mov edx, dword [0x5523c8]
push edx
push 0
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00406f60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00407040
mov ecx, dword [0x5523c8]
push ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00406f60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x48]
mov word [eax + 0x48], dx
mov eax, dword [ebp - 0x10]
add eax, 0x4c
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00407040
mov eax, dword [0x5523c8]
push eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x4c
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00406f60
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
add edx, 0x64
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00407040
mov edx, dword [0x5523c8]
push edx
push 0
mov eax, dword [ebp + 8]
add eax, 0x64
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00406f60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x14], 0
push 0
push 0
mov ecx, dword [ebp - 0x28]
call fcn.00407040
mov ecx, dword [0x5523c8]
push ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x7c
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00406f60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45fc70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0xffffffff
je 0x45fc93
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 1
jne 0x45fc98
or eax, 0xffffffff
jmp 0x45fd0a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 2
je 0x45fcb6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45fcf0
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
call fcn.00463510
add esp, 4
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0x70]
adc edx, dword [eax + 0x74]
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45fd10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0xffffffff
je 0x45fd33
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 2
jne 0x45fd3b
or eax, 0xffffffff
jmp 0x45fdf1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x45fd9d
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 2
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x45fd8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x45fd8e
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.00463510
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x74], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45fdd7
mov edx, dword [ebp - 4]
add edx, 0x50
push edx
call fcn.00463510
add esp, 4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x70]
adc ecx, dword [edx + 0x74]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov dword [edx + 0x74], ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0
jne 0x46146b
mov dword [ebp - 0x14], 1
jmp 0x461472
mov dword [ebp - 0x14], 0
movzx ecx, byte [ebp - 0x14]
test ecx, ecx
je 0x46148e
push 0x60
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov edx, dword [ebp - 0x10]
add edx, 0x1c
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 8
jb 0x4614b0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x4614b6
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x461505
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
ja case.0x4614eb.2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x461514]
jmp dword [edx*4 + 0x46150c]
xor al, al
jmp 0x461507
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x461530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x46154b
mov dword [ebp - 0x10], 1
jmp 0x461552
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x46156e
push 0x76
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x461590
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x461596
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4615cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
je 0x4615ba
jmp 0x4615be
xor al, al
jmp 0x4615cf
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4615e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4615fb
mov dword [ebp - 0x10], 1
jmp 0x461602
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x461621
push 0x89
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x461643
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x461649
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x46166b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 1
jne 0x46167c
mov dword [ebp - 0x18], 1
jmp 0x461683
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x461790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4617ab
mov dword [ebp - 0x10], 1
jmp 0x4617b2
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4617d1
push 0xa1
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x4617f3
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x4617f9
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x46181b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 0x10
je 0x46182c
mov dword [ebp - 0x18], 1
jmp 0x461833
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x461a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x461a3b
mov dword [ebp - 0x10], 1
jmp 0x461a42
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x461a61
push 0xc2
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov edx, dword [ebp - 0xc]
add edx, 0x1c
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 8
jb 0x461a83
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x461a89
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x461aab
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov ecx, dword [ebp - 0x14]
and ecx, 2
je 0x461abc
mov dword [ebp - 0x18], 1
jmp 0x461ac3
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x461f70
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x461f8b
mov dword [ebp - 0x1c], 1
jmp 0x461f92
mov dword [ebp - 0x1c], 0
movzx ecx, byte [ebp - 0x1c]
test ecx, ecx
je 0x461fb1
push 0x10f
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 0x1c
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 8
jb 0x461fd3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x461fd9
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x461ffb
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.00462530
add esp, 4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x46200e
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
jmp 0x462017
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x462039
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x46203f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x462060
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x462080
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5298d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4620b0
mov dword [ebp - 0x20], 1
jmp 0x4620b7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x4620d6
push 0x125
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004072e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00477ca0
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x46211b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x462121
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x462143
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x462149
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x462185
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x74]
call fcn.004610f0
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x74]
call fcn.00461f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00461290
jmp 0x462194
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
call fcn.00462530
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004072e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4621c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5298e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4621f0
mov dword [ebp - 0x20], 1
jmp 0x4621f7
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0x20]
test ecx, ecx
je 0x462216
push 0x134
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004072e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00477ca0
add esp, 8
cmp dword [ebp - 0x2c], 8
jb 0x46225b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], edx
jmp 0x462261
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1c
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 8
jb 0x462283
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x462289
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4622aa
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004072e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4622d0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x4622eb
mov dword [ebp - 0x18], 1
jmp 0x4622f2
mov dword [ebp - 0x18], 0
movzx ecx, byte [ebp - 0x18]
test ecx, ecx
je 0x462311
push 0x13f
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.00461790
movzx edx, al
test edx, edx
je 0x462367
mov eax, dword [ebp - 4]
add eax, 0x1c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 8
jb 0x462342
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x462348
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x462365
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.00462530
add esp, 4
jmp 0x4623ac
mov edx, dword [ebp - 4]
add edx, 0x1c
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 8
jb 0x462389
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
jmp 0x46238f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4623ac
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00462530
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x462480
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
jne 0x46249b
mov dword [ebp - 0x10], 1
jmp 0x4624a2
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x4624c1
push 0x162
push str.d:_sdkpoco_1.5.4_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.00465360
add esp, 0xc
mov ecx, dword [ebp - 4]
call fcn.00461450
movzx edx, al
test edx, edx
je 0x4624e3
mov ecx, dword [ebp - 4]
call fcn.00461790
movzx eax, al
test eax, eax
je 0x4624e3
xor al, al
jmp 0x46252c
mov ecx, dword [ebp - 4]
add ecx, 0x1c
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x462505
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
jmp 0x46250b
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x46252a
mov edx, dword [ebp - 4]
add edx, 4
push edx
call fcn.00462530
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret