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

Disassembly:
push 0xffffffffffffffff
push 0x5f90df
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
cmp dword [esp + 0x2c], 0
je 0x53e349
mov dword [esi], 0x63b91c
mov dword [esi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.0045cdd0
lea eax, [esp + 0x2c]
mov dword [edi + 0x3c], 0
lea ebx, [esi + 0x10]
mov ecx, edi
push eax
mov dword [edi + 0x38], ebx
call fcn.0045cda0
push eax
mov dword [esp + 0x28], 2
call fcn.00461e40
mov byte [esp + 0x28], 1
add esp, 4
mov ecx, dword [esp + 0x2c]
mov ebp, eax
test ecx, ecx
je 0x53e3c7
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x53e3c7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp]
mov ecx, ebp
push 0x20
mov eax, dword [eax + 0x20]
call eax
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x53e3ec
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.0045cce0
mov dword [esp + 0x24], 3
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.00464570
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x691ad4]
mov dword [ebx + 0x48], eax
mov eax, esi
mov dword [ebx + 0x40], 0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x53e4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f912f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0
cmp dword [esp + 0x2c], 0
je 0x53e509
mov dword [esi], 0x63c030
mov dword [esi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.0045cdd0
lea eax, [esp + 0x2c]
mov dword [edi + 0x3c], 0
lea ebx, [esi + 4]
mov ecx, edi
push eax
mov dword [edi + 0x38], ebx
call fcn.0045cda0
push eax
mov dword [esp + 0x28], 2
call fcn.00461e40
mov byte [esp + 0x28], 1
add esp, 4
mov ecx, dword [esp + 0x2c]
mov ebp, eax
test ecx, ecx
je 0x53e579
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x53e579
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp]
mov ecx, ebp
push 0x20
mov eax, dword [eax + 0x20]
call eax
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x53e59e
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.0045cce0
mov dword [esp + 0x24], 3
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.00464570
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x691ad4]
mov dword [ebx + 0x48], eax
mov eax, esi
mov dword [ebx + 0x40], 0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x53f9d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f92c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xb]
mov dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x1c], 0
mov dword [esp + 0xc], vtable.CryptoPP::BERGeneralDecoder.0
mov dword [esp + 0x10], vtable.CryptoPP::BERGeneralDecoder.1.0
mov dword [esp + 0x20], ecx
mov byte [esp + 0x24], 0
mov eax, dword [ecx]
push edx
call dword [eax + 0x48]
test eax, eax
je 0x53fa5e
cmp byte [esp + 0xb], 0x30
jne 0x53fa5e
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x25]
push eax
lea edx, [esp + 0x30]
call fcn.0053ca00
add esp, 4
test al, al
jne 0x53fa63
call fcn.0053c820
mov dword [esp + 0xc], vtable.CryptoPP::BERSequenceDecoder.1.0
mov dword [esp + 0x10], vtable.CryptoPP::BERSequenceDecoder.0
lea ecx, [esi + 8]
mov dword [esp + 0x48], 2
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 4]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
call dword [eax + 4]
lea ecx, [esp + 0xc]
call fcn.0053cfb0
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0xffffffff
call fcn.0053cf50
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x53fad0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f92f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.00538200
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov word [esp + 0x34], 0x3000
mov dword [esp + 8], vtable.CryptoPP::DERSequenceEncoder.0
mov dword [esp + 0xc], vtable.CryptoPP::DERSequenceEncoder.1.0
lea ecx, [esi + 8]
mov dword [esp + 0x48], 0
mov eax, dword [ecx]
lea edx, [esp + 8]
push edx
call dword [eax + 8]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 0x1c]
lea edx, [esp + 8]
push edx
call dword [eax + 8]
lea ecx, [esp + 8]
call fcn.0053d1a0
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.0053d110
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret 4
Function at 0x540700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f8fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x19
push str.Integer:_division_by_zero
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00460dd0
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00553492
mov byte [esp + 0x30], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045f9d0
cmp dword [esp + 0x20], 0x10
jb 0x5407b0
push dword [esp + 0xc]
call fcn.00496180
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Integer::DivideByZero.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0055337c
add esp, 0x2c
ret

Function at 0x540910
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5f93f8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x3c]
shl eax, 5
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
call fcn.005407e0
lea ecx, [esi + 0xc]
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x38]
mov edx, eax
push ecx
mov ecx, esi
call fcn.0053ef10
mov edx, dword [esp + 0x20]
xor eax, eax
mov ebx, dword [esp + 0x24]
mov ecx, edx
mov edi, ebx
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x540995
call fcn.005e66a1
jmp 0x54099a
call fcn.00553e69
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x540c30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f9468
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x48]
xor ecx, ecx
mov edi, dword [esp + 0x4c]
mov dword [ebx + 0xc], 0xffffffff
mov byte [ebx + 0x10], 0
mov dword [ebx], vtable.CryptoPP::StringStore.0
mov dword [ebx + 4], vtable.CryptoPP::StringStore.1.0
mov dword [esp + 0x24], 0
call fcn.004b46f0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x14], 0
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x44], 3
push eax
mov edx, str.InputBuffer
lea ecx, [esp + 0x34]
call fcn.004b4890
add esp, 8
push eax
mov ecx, ebx
mov byte [esp + 0x44], 4
call fcn.0052c3e0
mov byte [esp + 0x40], 3
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x540cdb
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x28]
xor al, al
mov ecx, dword [esp + 0x24]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.00553e69
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 8

Function at 0x54d6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f95b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0xc]
call fcn.00538200
mov eax, dword [ebp + 8]
mov dword [esp + 8], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0xc], vtable.CryptoPP::DERGeneralEncoder.1.0
mov dword [esp + 0x30], eax
mov word [esp + 0x34], 0x200
push 1
sub esp, 8
mov dword [esp + 0x54], 0
mov ecx, esi
call fcn.0054d400
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0054d580
lea ecx, [esp + 8]
call fcn.0053d1a0
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.0053d110
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret 4
Function at 0x552380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f9bb9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x66d060]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
cmp dword [0x68ffe0], 0
jne 0x5523cf
call fcn.0054b660
mov dword [0x68ffe0], 0x540e20
mov esi, dword [esp + 0x24]
mov ecx, 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.0052fb60
mov ecx, 8
call fcn.004b6040
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov ecx, edi
push dword [esp + 0x30]
mov edx, dword [edi]
push esi
mov dword [esp + 0x20], 1
call dword [edx + 0x54]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x56e10b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x66d060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0055d76d
mov dword [ebp - 0x14], eax
cmp dword [0x68c724], esi
jne 0x56e1fe
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x56e18b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x56e2de
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x56e2de
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56e2de
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x68c724], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x68c728], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x68c72c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x68c734], eax
test eax, eax
je 0x56e1fb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x68c730], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x56e223
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x56e216
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x56e238
push 4
pop eax
jmp 0x56e2e0
cmp dword [ebp - 0x14], esi
je 0x56e238
push dword [0x68c724]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x56e21d
mov eax, dword [0x68c730]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x56e296
cmp dword [0x68c734], edi
je 0x56e296
push eax
call ebx
push dword [0x68c734]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x56e296
test eax, eax
je 0x56e296
call ecx
test eax, eax
je 0x56e28b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x56e28b
test byte [ebp - 8], 1
jne 0x56e296
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x56e2c6
mov eax, dword [0x68c728]
cmp eax, edi
je 0x56e2c3
push eax
call ebx
test eax, eax
je 0x56e2c3
call eax
mov esi, eax
test esi, esi
je 0x56e2c3
mov eax, dword [0x68c72c]
cmp eax, edi
je 0x56e2c3
push eax
call ebx
test eax, eax
je 0x56e2c3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x68c724]
call ebx
test eax, eax
je 0x56e2de
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x56e2e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055337c
mov esp, ebp
pop ebp
ret
Function at 0x571f1c
Capabilities:
Copy file

Disassembly:
push 0x34
mov eax, 0x5fb330
call fcn.005e47d4
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005744b2
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005744b2
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, 1
sete bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0045fc60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.0045fc60
mov al, bl
call fcn.005e4783
ret

Function at 0x572060
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x34
mov eax, 0x5fa16b
call fcn.005e47d4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005744b2
pop ecx
pop ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 1
test eax, eax
jne 0x572048
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00572720
pop ecx
pop ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], 0
je 0x571ff7
lea eax, [ebp - 0x40]
push eax
call 0x571f9b
mov bl, al
pop ecx
test bl, bl
je 0x572038
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x572038
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x572038
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.0045fc60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0045fc60
mov al, bl
call fcn.005e4783
ret
push ebp
mov ebp, esp
pop ebp
jmp 0x571f9b
Function at 0x572069
Capabilities:
Move file

Disassembly:
push 0x50
mov eax, 0x5fa1a0
call fcn.005e47d4
push 6
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x58]
pop ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
rep stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
call fcn.005744b2
pop ecx
pop ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push dword [ebp - 0x3c]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push ebx
lea ecx, [ebp - 0x38]
call fcn.005718c2
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], bl
push eax
push 1
push dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00572e9f
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], bl
push eax
push 1
push dword [ebp - 0x34]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00572e9f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, 0x494
mov word [ebp - 0x4c], ax
cmp byte [ebp + 0xc], bl
jne 0x572122
mov eax, 0x1494
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete byte [ebp - 0x29]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x38]
call fcn.0045ebe0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.0045fc60
mov al, byte [ebp - 0x29]
call fcn.005e4783
ret
Function at 0x572246
Capabilities:
Check if file exists
Delete file
Get common file path
Set file attributes

Disassembly:
push 0x224
mov eax, 0x5fa1d0
call fcn.005e47d4
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x230]
push eax
mov byte [esi], bl
call fcn.005744b2
pop ecx
pop ecx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea eax, [ebp - 0x230]
je 0x5722d2
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x218]
push ecx
cmovae eax, dword [ebp - 0x230]
push ebx
push 0x613280
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x572351
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esi], 1
jmp 0x572351
cmp dword [ebp - 0x21c], 0x10
push 3
cmovae eax, dword [ebp - 0x230]
pop edi
push eax
lea ebx, [edi + 0x7d]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5722f9
xor edi, edi
mov ebx, 0x4000080
inc edi
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0x80
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push ebx
push edi
xor ebx, ebx
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x572351
push eax
mov byte [esi], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.0045fc60
mov al, 1
call fcn.005e4783
ret

Function at 0x572aef
Capabilities:
Get disk size

Disassembly:
push 0x3c
mov eax, 0x5fa3c4
call fcn.005e47d4
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov edi, dword [ebp + 0x14]
xor bl, bl
push 8
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0055b940
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005744b2
add esp, 0x14
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x572b6c
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
ja 0x572b5b
jb 0x572b57
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
ja 0x572b5b
mov bl, 1
jmp 0x572b5d
xor bl, bl
push 8
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0055b940
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.0045fc60
mov al, bl
call fcn.005e4783
ret
Function at 0x572b96
Capabilities:
Move file

Disassembly:
push 0x34
mov eax, 0x5fb330
call fcn.005e47d4
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005744b2
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005744b2
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
push 0xb
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 1
sete bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0045fc60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.0045fc60
mov al, bl
call fcn.005e4783
ret

Function at 0x572e06
Capabilities:
Set file attributes

Disassembly:
push 0x1c
mov eax, 0x5fa424
call fcn.005e47d4
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005744b2
pop ecx
pop ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0x80
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0045fc60
mov al, bl
call fcn.005e4783
ret