joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a2bc
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
test edx, edx
jne 0x49fba1
mov edi, dword [ebp + 0xc]
jmp 0x49fb9c
pop edi
pop edx
pop ecx
jmp 0x437a9a
push edi
push esi
cmp dword [ebp + 8], 0
jmp 0x445191
inc ecx
call fcn.0046812a
xor eax, dword [ebp + 0x10]
jmp 0x4d4085
inc ebx
test ax, ax
jne 0x49fba3
jmp 0x49728d
jg 0x42129c
add al, 0x20
stosb byte es:[edi], al
jmp 0x4171af
pop ecx
push dword [ecx + 0xc]
pop ecx
jmp 0x444ff0
push dword fs:[0x30]
pop ecx
push dword [ecx + 0xc]
jmp 0x423faa
sub ecx, 1
mov eax, ecx
shl eax, 1
jmp 0x49f647
pop ebx
leave
ret 0x10
push ebx
push ecx
push edx
jmp 0x414c32
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edi
jmp 0x468261
add ebx, dword [ebx + 0x3c]
lea ebx, [ebx + 0x78]
mov eax, dword [ebx + 8]
jmp 0x468255
mov ecx, dword [ecx]
lea edi, [ebp - 0x104]
push edi
jmp 0x499f24
je 0x42b384
mov edi, dword [ebp + 8]
jmp 0x479a52
xor eax, eax
jmp 0x468265
push ebp
mov ebp, esp
add esp, 0xfffffef4
jmp 0x43d021
mov ebx, dword [ebx]
add ebx, edi
push dword [ebx + 0x10]
jmp 0x4722dd
mov eax, dword [eax]
add eax, edi
pop esi
jmp 0x408815
jne 0x4ee780
jmp 0x44534b
pop dword [ebp - 0x10c]
cmp dword [ebp + 0x14], 0
jne 0x488355
jmp 0x4b374f
jne 0x444ff0
mov edi, dword [ecx + 0x18]
mov ebx, edi
jmp 0x442598
cmp al, 0x40
jl 0x42129c
cmp al, 0x5b
jmp 0x421294
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10c]
jmp 0x43fb72
pop eax
call fcn.0046812a
xor eax, dword [ebp + 0xc]
jmp 0x479a49
lea edx, [ecx + 0x30]
push dword [edx]
pop edx
jmp 0x4036ff
add eax, dword [ebx + 0x24]
add eax, edi
movzx eax, word [eax]
jmp 0x43fb6f
jmp 0x479a52
xor ebx, ebx
mov ax, word [edx + ebx*2]
jmp 0x479b1e
push dword [ebx + 0x18]
pop dword [ebp - 0x108]
mov esi, dword [ebx + 0x20]
jmp 0x4e0038
jmp 0x44534b
add eax, edi
add esi, 4
jmp 0x4171a1
test eax, eax
je 0x42b489
cmp dword [ebp - 0x108], ecx
jmp 0x46827c
add esi, edi
xor ecx, ecx
jmp 0x4d408d
mov eax, dword [esi]
or eax, eax
jne 0x4c0627
jmp 0x4c0622

Function at 0x49ccfc
Capabilities:
Enumerate pe sections

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push ebx
jmp 0x49a316
pop ecx
add esi, 0x28
dec ecx
jmp 0x4771fb
add esi, dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x458dc9
push ebx
mov ecx, dword [edx + 0x54]
mov edi, dword [ebp + 0xc]
jmp 0x49d019
push esi
mov edx, dword [ebp + 8]
mov esi, edx
jmp 0x4f7fd5
jne 0x4f8022
pop esi
pop edi
jmp 0x4949d4
pop edx
pop ecx
pop ebx
jmp 0x49a18f
leave
ret 8
push ecx
push edx
push edi
jmp 0x460b85
push ebp
jmp 0x44231a
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [edx + 6]
pop esi
jmp 0x4f8022
mov ecx, dword [esi + 0x10]
push esi
mov esi, dword [esi + 0x14]
jmp 0x45b7f5
add edx, dword [edx + 0x3c]
movzx ecx, word [edx + 0x14]
lea ebx, [ecx + edx + 0x18]
jmp 0x45e04f
mov edi, dword [ebp + 0xc]
add edi, dword [esi + 0xc]
push ecx
jmp 0x4ec02f
Function at 0x518700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61aff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.005321e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x28
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], vtable.Poco::XML::LexicalHandler.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.Poco::XML::WhitespaceFilter.5.0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], vtable.Poco::XML::WhitespaceFilter.4.0
mov edx, dword [ebp - 0x38]
mov dword [edx + 8], vtable.Poco::XML::WhitespaceFilter.3.0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0xc], vtable.Poco::XML::WhitespaceFilter.2.0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], vtable.Poco::XML::WhitespaceFilter.1.0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x28], vtable.Poco::XML::WhitespaceFilter.0
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x30
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x19]
mov dword [ebp - 0x18], edx
push 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.004028c0
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x4c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5187d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b00d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.Poco::XML::WhitespaceFilter.5.0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], vtable.Poco::XML::WhitespaceFilter.4.0
mov edx, dword [ebp - 0x24]
mov dword [edx + 8], vtable.Poco::XML::WhitespaceFilter.3.0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], vtable.Poco::XML::WhitespaceFilter.2.0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], vtable.Poco::XML::WhitespaceFilter.1.0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x28], vtable.Poco::XML::WhitespaceFilter.0
mov dword [ebp - 4], 1
push 0
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x30
call fcn.004028c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.005320f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
call fcn.005322b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x560df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d7f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov dword [ebp - 0x128], ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x18]
push ecx
push 0
call fcn.005ed401
add esp, 0x18
mov edx, dword [ebp - 0x128]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0xc], 0
jne 0x560f09
lea eax, [ebp - 0xb1]
mov dword [ebp - 0xb0], eax
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.004028c0
mov dword [ebp - 0x12c], str.cannot_create_thread
mov ecx, dword [ebp - 0x12c]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x12c]
mov al, byte [edx]
mov byte [ebp - 0x131], al
add dword [ebp - 0x12c], 1
cmp byte [ebp - 0x131], 0
jne 0x560e8f
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x130]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
push edx
push str.cannot_create_thread
lea ecx, [ebp - 0x5c]
call fcn.00402910
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00564200
push 0x6a3798
lea ecx, [ebp - 0x40]
push ecx
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004028c0
mov edx, dword [ebp - 0x128]
cmp dword [edx + 0x14], 0
je 0x560ff8
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x560ff8
lea ecx, [ebp - 0xed]
mov dword [ebp - 0xec], ecx
push 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.004028c0
mov dword [ebp - 0x13c], str.cannot_set_thread_priority
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax]
mov byte [ebp - 0x141], cl
add dword [ebp - 0x13c], 1
cmp byte [ebp - 0x141], 0
jne 0x560f6f
mov edx, dword [ebp - 0x13c]
sub edx, dword [ebp - 0x140]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
push eax
push str.cannot_set_thread_priority
lea ecx, [ebp - 0xa8]
call fcn.00402910
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00564200
push 0x6a3798
lea edx, [ebp - 0x8c]
push edx
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.004028c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x561a80
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb8]
cmp dword [edx], 0xffffffff
jne 0x561b66
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.004028c0
mov dword [ebp - 0xbc], str.cannot_allocate_thread_context_key
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xbc]
mov al, byte [edx]
mov byte [ebp - 0xc1], al
add dword [ebp - 0xbc], 1
cmp byte [ebp - 0xc1], 0
jne 0x561aec
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x58]
call fcn.00402910
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00564200
push 0x6a3798
lea ecx, [ebp - 0x3c]
push ecx
call fcn.005ecf53
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004028c0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x56df40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e35f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x5d]
mov dword [ebp - 0x5c], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00404d80
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00568610
add esp, 8
mov dword [ebp - 0x34], 0x7fff
xor ecx, ecx
mov eax, 0x7fff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005df5a2
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x10], 8
jb 0x56dfdd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc8], eax
jmp 0x56dfe6
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jbe 0x56e0e3
mov edx, dword [ebp - 0x34]
sub edx, 1
cmp dword [ebp - 0x2c], edx
jae 0x56e0e3
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x34]
jb 0x56e03c
push 0x69
push str....._src_thirdpartypocoFoundationincludePoco_Buffer.h
push str.index____size
call fcn.0056bd60
add esp, 0xc
mov edx, dword [ebp - 0x30]
xor eax, eax
mov ecx, dword [ebp - 0x70]
mov word [edx + ecx*2], ax
lea edx, [ebp - 0x79]
mov dword [ebp - 0x78], edx
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.004028c0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x80]
push edx
call fcn.00568ac0
add esp, 8
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004028c0
mov eax, dword [0x68013c]
push eax
push 0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004027b0
mov edx, dword [ebp - 0x54]
or edx, 1
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.004028c0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.005e06d6
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00404d80
mov eax, dword [ebp + 8]
jmp 0x56e16a
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004028c0
mov edx, dword [0x68013c]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.004027b0
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
call fcn.005e06d6
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00404d80
mov eax, dword [ebp + 8]
jmp 0x56e16a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x56e180
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61e37f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov ecx, dword [ebp + 8]
call fcn.0041c960
lea eax, [ebp - 0x11c]
push eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x14], 0x100
jbe 0x56e1d6
mov dword [ebp - 0x238], pe_nt_image_headers32
jmp 0x56e1df
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
lea ecx, [ebp + eax*2 - 0x11c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jae 0x56e2d7
lea eax, [ebp - 0x18d]
mov dword [ebp - 0x18c], eax
push 0
push 0
lea ecx, [ebp - 0x138]
call fcn.00404d80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jae 0x56e25c
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x56e25c
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx]
mov word [ebp - 0x1a8], dx
movzx eax, word [ebp - 0x1a8]
push eax
push 1
lea ecx, [ebp - 0x138]
call fcn.00466510
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
jmp 0x56e21d
lea edx, [ebp - 0x1b1]
mov dword [ebp - 0x1b0], edx
push 0
push 0
lea ecx, [ebp - 0x154]
call fcn.004028c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.00568930
add esp, 8
lea edx, [ebp - 0x154]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403bf0
mov eax, dword [ebp - 0x10]
add eax, 2
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x154]
call fcn.004028c0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x138]
call fcn.00404d80
jmp 0x56e1ef
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x574660
push 0x74
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x57467d
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x574686
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x5746d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x13
ja case.0x5746bb.2
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x5746e4]
jmp dword [edx*4 + 0x5746dc]
xor al, al
jmp 0x5746d7
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00575560
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x574700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x574733
push 0x8a
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x574750
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x574759
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x574790
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
je 0x57477d
jmp 0x574781
xor al, al
jmp 0x574792
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00575560
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x5747d3
push 0x9d
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x5747f0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x5747f9
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x57481b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00575560
add esp, 4
mov eax, dword [ebp - 4]
and eax, 1
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x574973
push 0xb5
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x574990
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x574999
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x5749bb
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00575560
add esp, 4
mov eax, dword [ebp - 4]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x574b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x574b43
push 0xd4
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x574b60
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
jmp 0x574b69
mov ecx, dword [ebp - 8]
add ecx, 4
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 0x574b8b
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00575560
add esp, 4
mov eax, dword [ebp - 4]
and eax, 2
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x575023
push 0x121
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 8
jb 0x575040
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
jmp 0x575049
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x57506b
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call fcn.00575560
add esp, 4
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x57507e
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
jmp 0x575087
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 8
jb 0x5750a4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
jmp 0x5750ad
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x5750ce
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call fcn.00575560
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x5750f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ea16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
cmp dword [eax + 0x18], 0
sete cl
movzx edx, cl
test edx, edx
je 0x575141
push 0x137
push str.c:_build_src_thirdpartypoco_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0056bd60
add esp, 0xc
lea eax, [ebp - 0x6d]
mov dword [ebp - 0x6c], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00404d80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00568610
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x57517b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xa4], eax
jmp 0x575184
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa0]
add edx, 0x20
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x18], 8
jb 0x5751b0
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xa8], edx
jmp 0x5751bf
mov eax, dword [ebp - 0x88]
add eax, 4
mov dword [ebp - 0xa8], eax
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x575201
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
call fcn.005741b0
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x64]
call fcn.00574ff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00574400
jmp 0x575213
mov ecx, dword [ebp - 0xa0]
add ecx, 4
push ecx
call fcn.00575560
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00404d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4