joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58e390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ade8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6e2428]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], 0x42
call fcn.00500980
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
jle 0x58e426
or dword [esp + 0x10], 0x20
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0058e300
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.0058d910
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10

Function at 0x58f020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ade8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x6e2428]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x54]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
call fcn.00500980
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
mov dword [esp + 0x10], 2
mov dword [esp + 0x18], ecx
jle 0x58f0cd
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 6
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0058eed0
lea ecx, [esp + 8]
movzx esi, al
mov dword [esp + 0x44], 0xffffffff
call fcn.0058d910
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10
Function at 0x5a0ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61c7d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00504310
xor ecx, ecx
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi], vtable.wxTimerBase.0
mov dword [esi + 0x30], ecx
mov byte [esi + 0x34], cl
mov dword [esi + 0x28], esi
mov eax, dword [0x6e4968]
dec eax
mov dword [0x6e4968], eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esi], vtable.wxTimer.0
call fcn.005a4d40
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5a688c
call fcn.005adf42
mov dword [eax], esi
call fcn.005adf2f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005a66ee
add esp, 0x14
push 0x16
pop eax
jmp 0x5a68e1
test dword [ebp + 0xc], 0xfffffff9
jne 0x5a6868
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5a68b9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.005adf55
pop ecx
call fcn.005adf2f
mov eax, dword [eax]
jmp 0x5a68e1
test al, 0x10
jne 0x5a68df
test al, 1
je 0x5a68df
test byte [ebp + 0xc], 2
je 0x5a68df
call fcn.005adf42
mov dword [eax], 5
call fcn.005adf2f
mov dword [eax], 0xd
jmp 0x5a68b0
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5aa83a
call fcn.005adf42
mov dword [eax], esi
call fcn.005adf2f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005a66ee
add esp, 0x14
push 0x16
pop eax
jmp 0x5aa88f
test dword [ebp + 0xc], 0xfffffff9
jne 0x5aa816
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5aa867
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.005adf55
pop ecx
call fcn.005adf2f
mov eax, dword [eax]
jmp 0x5aa88f
test al, 0x10
jne 0x5aa88d
test al, 1
je 0x5aa88d
test byte [ebp + 0xc], 2
je 0x5aa88d
call fcn.005adf42
mov dword [eax], 5
call fcn.005adf2f
mov dword [eax], 0xd
jmp 0x5aa85e
xor eax, eax
pop esi
pop ebp
ret

Function at 0x5acc10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6ea244]
jne 0x5acc1a
repz ret
jmp fcn.005be9ec
Function at 0x5c8480
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005b67e5
and dword [ebp - 4], 0
cmp dword [0x71fc5c], 0
mov ebx, eax
jne 0x5c8531
push 0x66d444
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x5c85e2
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x66d438
push edi
call esi
test eax, eax
je 0x5c85e2
push eax
call fcn.005b6773
mov dword [esp], 0x66d428
push edi
mov dword [0x71fc5c], eax
call esi
push eax
call fcn.005b6773
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x71fc60], eax
call esi
push eax
call fcn.005b6773
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x71fc64], eax
call esi
push eax
call fcn.005b6773
pop ecx
mov dword [0x71fc6c], eax
test eax, eax
je 0x5c8531
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005b6773
pop ecx
mov dword [0x71fc68], eax
mov eax, dword [0x71fc68]
cmp eax, ebx
je 0x5c8589
cmp dword [0x71fc6c], ebx
je 0x5c8589
push eax
call fcn.005b67ee
push dword [0x71fc6c]
mov esi, eax
call fcn.005b67ee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5c8589
test edi, edi
je 0x5c8589
call esi
test eax, eax
je 0x5c8580
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5c8580
test byte [ebp - 0xc], 1
jne 0x5c8589
or dword [ebp + 0x10], 0x200000
jmp 0x5c85c2
mov eax, dword [0x71fc60]
cmp eax, ebx
je 0x5c85c2
push eax
call fcn.005b67ee
pop ecx
test eax, eax
je 0x5c85c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5c85c2
mov eax, dword [0x71fc64]
cmp eax, ebx
je 0x5c85c2
push eax
call fcn.005b67ee
pop ecx
test eax, eax
je 0x5c85c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x71fc5c]
call fcn.005b67ee
pop ecx
test eax, eax
je 0x5c85e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5c85e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5c9a21
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005b67e5
and dword [ebp - 4], 0
cmp dword [0x71fc70], 0
mov ebx, eax
jne 0x5c9ad2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5c9b83
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x66d4d8
push edi
call esi
test eax, eax
je 0x5c9b83
push eax
call fcn.005b6773
mov dword [esp], 0x66d428
push edi
mov dword [0x71fc70], eax
call esi
push eax
call fcn.005b6773
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x71fc74], eax
call esi
push eax
call fcn.005b6773
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x71fc78], eax
call esi
push eax
call fcn.005b6773
pop ecx
mov dword [0x71fc80], eax
test eax, eax
je 0x5c9ad2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005b6773
pop ecx
mov dword [0x71fc7c], eax
mov eax, dword [0x71fc7c]
cmp eax, ebx
je 0x5c9b2a
cmp dword [0x71fc80], ebx
je 0x5c9b2a
push eax
call fcn.005b67ee
push dword [0x71fc80]
mov esi, eax
call fcn.005b67ee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5c9b2a
test edi, edi
je 0x5c9b2a
call esi
test eax, eax
je 0x5c9b21
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5c9b21
test byte [ebp - 0xc], 1
jne 0x5c9b2a
or dword [ebp + 0x10], 0x200000
jmp 0x5c9b63
mov eax, dword [0x71fc74]
cmp eax, ebx
je 0x5c9b63
push eax
call fcn.005b67ee
pop ecx
test eax, eax
je 0x5c9b63
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5c9b63
mov eax, dword [0x71fc78]
cmp eax, ebx
je 0x5c9b63
push eax
call fcn.005b67ee
pop ecx
test eax, eax
je 0x5c9b63
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x71fc70]
call fcn.005b67ee
pop ecx
test eax, eax
je 0x5c9b83
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5c9b85
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d43a0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6ea244]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [0x6eb7a4]
push ebx
push esi
push edi
jle 0x5d43d4
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005acc10
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
test eax, eax
jl 0x5d43f8
mov eax, dword [0x720510]
test eax, eax
je 0x5d441d
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteConsoleW]
jmp 0x5d441d
mov eax, dword [0x720514]
test eax, eax
je 0x5d4413
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteConsoleW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
lea ebx, [edi*4]
lea eax, [ebx + 8]
cmp eax, 0x400
ja 0x5d4444
call fcn.005bc1b0
mov esi, esp
test esi, esi
je 0x5d445c
mov dword [esi], 0xcccc
add esi, 8
jmp 0x5d445c
push eax
call fcn.005a6c5e
add esp, 4
test eax, eax
je 0x5d445a
mov dword [eax], 0xdddd
add eax, 8
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
push ecx
call fcn.00414180
add esp, 0x10
cmp dword [ebp + 8], 0xffffffff
jne 0x5d448e
mov ecx, dword [0x71fd0c]
test ecx, ecx
je 0x5d448e
push ecx
push 1
push eax
push esi
call fcn.005ac293
mov edx, dword [0x71fd0c]
push edx
jmp 0x5d44a8
mov ecx, dword [0x71fd08]
test ecx, ecx
je 0x5d44b0
push ecx
push 1
push eax
push esi
call fcn.005ac293
mov eax, dword [0x71fd08]
push eax
call fcn.005ab83c
add esp, 0x14
test esi, esi
je 0x5d44c9
cmp dword [esi - 8], 0xdddd
lea eax, [esi - 8]
jne 0x5d44c9
push eax
call fcn.005a6b81
add esp, 4
mov al, 1
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005acc10
mov esp, ebp
pop ebp
ret
Function at 0x5d51d0
Capabilities:
Read file via mapping

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
lea esi, [ebx + ebp]
call edx
cmp esi, eax
ja 0x5d5241
mov ecx, dword [esp + 0x14]
call fcn.005d6740
push 0
push esi
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [edi + 0x24], eax
test eax, eax
jne 0x5d524a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
call fcn.005d6830
push eax
push str.CREATE_FILE_MAPPING_ERROR_diskFile_s__errno_lu_
push str.EL_MappedFile::Map
push 0x4f
push str..MappedFile.cpp
push 0xffffffffffffffff
push 0x200
call fcn.005d6630
add esp, 0x20
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc
mov ecx, dword [0x723348]
call fcn.00593280
mov ecx, dword [edi + 0x24]
mov esi, eax
dec esi
and esi, ebx
lea eax, [esi + ebp]
push eax
sub ebx, esi
push ebx
push 0
push 4
push ecx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [edi + 8], eax
test eax, eax
jne 0x5d52b0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
call fcn.005d6830
push eax
push 0x66e148
push str.EL_MappedFile::Map
push 0x60
push str..MappedFile.cpp
push 0xffffffffffffffff
push 0x200
call fcn.005d6630
add esp, 0x20
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc
add eax, esi
mov dword [edi + 0x18], ebp
mov dword [edi + 4], eax
mov dword [edi + 0x14], 0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
Function at 0x5d56d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
push esi
cmp edx, 0x10
jb 0x5d5853
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 2]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 3]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 4]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 5]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 6]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 7]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 8]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 9]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 0xa]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 0xb]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 0xc]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 0xd]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 0xe]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
movzx esi, byte [ecx + 0xf]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
add ecx, 0x10
sub edx, 0x10
cmp edx, 0x10
jae 0x5d56e5
test edx, edx
je 0x5d587b
jmp 0x5d5860
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x6eb870]
inc ecx
sub edx, 1
jne 0x5d5860
not eax
pop esi
ret

Function at 0x5d68e0
Capabilities:
Get file size

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
mov esi, ecx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5d68f0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esi + 0xc]
call fcn.00401fa7
mov ebx, dword [esp + 0x14]
movsx eax, bl
and eax, 2
or eax, 0xfffffffc
xor ecx, ecx
shl eax, 0x1d
cmp ebx, 1
setne cl
push 0
push 0x80
add ecx, 3
push ecx
push 0
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x28], eax
cmp eax, 0xffffffff
jne 0x5d694f
pop edi
mov dword [esi + 0x28], 0
pop esi
xor al, al
pop ebx
ret 8
push 0
push eax
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
pop edi
mov dword [esi + 8], eax
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x5d7680
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x61d0a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.005d7360
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x720d1c
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x6867f3
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.005d6a60
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5dc3b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x5dc3bf
mov eax, dword [eax + 4]
jmp 0x5dc3c2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5dc454
push esi
mov esi, dword [0x720d38]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
cmp eax, 2
je 0x5dc439
cmp eax, 3
je 0x5dc439
cmp eax, 0x7b
je 0x5dc439
cmp eax, 0xf
je 0x5dc439
cmp eax, 0x57
je 0x5dc439
cmp eax, 0xa1
je 0x5dc439
cmp eax, 0x35
je 0x5dc439
cmp eax, 0x20
jne 0x5dc42e
mov eax, dword [0x720d3c]
mov dword [ecx], eax
mov edx, dword [0x720d40]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x720d3c]
mov dword [ecx], eax
mov edx, dword [0x720d40]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x720d3c]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x720d40]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x5dc481
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret

Function at 0x5dc570
Capabilities:
Delete directory

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x5dc58b
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x5dc5a0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x5dc5bb
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x5dc5f0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x5dc603
mov ecx, dword [eax + 4]
jmp 0x5dc606
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x5dc614
mov eax, dword [eax + 4]
jmp 0x5dc617
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x5dc635
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x720d38]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x720d38]
mov dword [eax + 4], ecx
ret
Function at 0x5dc650
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x5dc663
mov ecx, dword [eax + 4]
jmp 0x5dc666
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x5dc674
mov eax, dword [eax + 4]
jmp 0x5dc677
add eax, 4
movzx edx, byte [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x5dc69b
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x720d38]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x720d38]
mov dword [eax + 4], ecx
ret

Function at 0x5dc7e0
Capabilities:
Create directory

Disassembly:
sub esp, 8
push ebp
push esi
push edi
xor esi, esi
call fcn.005dcfc0
mov ebp, eax
mov dword [esp + 0xc], esi
call fcn.005dcfc0
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x18], 8
mov dword [esp + 0x10], eax
jb 0x5dc80b
mov eax, dword [edi + 4]
jmp 0x5dc80e
lea eax, [edi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x5dc82f
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 1
pop ebp
add esp, 8
ret
mov ebp, dword [0x720d38]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x5dc87f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.005dc3b0
add esp, 0xc
cmp dword [esp + 0x1c], 3
jne 0x5dc87f
mov eax, dword [esp + 0x18]
mov edx, dword [0x720d3c]
mov ecx, dword [0x720d40]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebp
mov byte [eax + 8], 0
pop ebp
add esp, 8
ret

Function at 0x5dcb70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x61d3c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ea244]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x5dcbab
mov edi, 1
push edi
call fcn.005a51fc
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
push esi
push edi
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x5dcbdf
mov ebx, dword [0x720d38]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, dword [esp + 0x24]
mov dword [edi + 4], ebx
jmp 0x5dcc0a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5dcbe4
mov ecx, dword [esp + 0x28]
sub eax, edx
push eax
push esi
call fcn.00401dad
mov edi, dword [esp + 0x24]
mov ecx, dword [0x720d40]
mov eax, dword [0x720d3c]
mov dword [edi + 4], ecx
push esi
mov dword [edi], eax
call fcn.005a60f9
mov eax, edi
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret