joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bbe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48bc77
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x48bc2b
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00406584
jmp 0x48bc61
call sub.kernel32.dll_GetCommandLineW_1
mov ebx, eax
cmp word [ebx], 0
jne 0x48bc44
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040649c
jmp 0x48bc57
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0048ba30
mov ebx, eax
test esi, esi
je 0x48bc57
dec esi
jmp 0x48bc32
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bc7e
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x48c058
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00419a54
add esp, 0x208
pop ebx
ret

Function at 0x48c084
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00419a54
add esp, 0x208
pop ebx
ret

Function at 0x48c158
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48c1d7
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x48c1b3
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 6
jb 0x48c1b3
lea eax, [ebp - 8]
call fcn.0048c084
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0048abd4
lea eax, [ebp - 4]
mov edx, 0x48c1f0
call fcn.00406854
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.0048b000
jmp 0x48c1bc
mov eax, esi
xor edx, edx
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c1de
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x48c440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48c578
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x48c562
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x48c49d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x48c562
cmp dword [ebp - 0x14], 0
jne 0x48c4b4
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00406448
mov bl, 1
jmp 0x48c562
cmp dword [ebp - 0x14], 0x70000000
jb 0x48c4c2
call fcn.0041d288
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00406584
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x48c466
test eax, eax
jne 0x48c562
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x48c510
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x48c562
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x48c518
dec esi
test esi, esi
je 0x48c527
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x48c517
cmp dword [ebp - 0x10], 7
jne 0x48c532
test esi, esi
je 0x48c532
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.004067bc
cmp dword [ebp - 0x10], 7
jne 0x48c555
test esi, esi
je 0x48c555
lea eax, [ebp - 4]
call fcn.00406eb8
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406448
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c57f
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x48c5a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, edx
mov ebp, eax
push 0
push 0
push 0
push 0
push esi
push ebp
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
test bl, bl
je 0x48c620
test esi, esi
je 0x48c5d1
cmp word [esi], 0
jne 0x48c620
mov eax, dword [0x541070]
cmp dword [eax], 2
je 0x48c620
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], 2
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push esi
push ebp
call sub.advapi32.dll_RegEnumValueW
mov edi, eax
test edi, edi
je 0x48c60e
cmp edi, 0xea
jne 0x48c620
test edi, edi
jne 0x48c61d
cmp word [esp], 0
jne 0x48c61d
mov bl, 1
jmp 0x48c620
inc esi
jmp 0x48c5df
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48c68c
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x48c6a0
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyW
pop esi
pop ebx
ret
cmp dword [0x5471a4], 0
jne 0x48c6c3
push 0x48c6e8
push 0x48c708
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
mov dword [0x5471a4], eax
cmp dword [0x5471a4], 0
je 0x48c6dd
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x5471a4]
jmp 0x48c6e2
mov eax, 0x7f
pop esi
pop ebx
ret

Function at 0x48c724
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x48c897
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x48c758
mov eax, dword [ebp - 0x10]
cmp word [eax], 0
jne 0x48c762
mov ebx, 0x57
jmp 0x48c881
mov eax, dword [0x541070]
cmp dword [eax], 2
jne 0x48c870
push 0
push 8
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp - 5]
call fcn.0048c664
test eax, eax
jne 0x48c870
xor eax, eax
push ebp
push 0x48c869
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00406584
xor eax, eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x48c7bd
sub ebx, 4
mov ebx, dword [ebx]
mov dword [ebp - 0x1c], ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
call fcn.00406eb8
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov esi, eax
cmp esi, 0xea
jne 0x48c828
mov edi, dword [ebp - 4]
test edi, edi
je 0x48c7f8
sub edi, 4
mov edi, dword [edi]
cmp edi, 0x10000
jge 0x48c852
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x48c817
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406584
jmp 0x48c7b1
test esi, esi
jne 0x48c852
mov eax, dword [ebp - 4]
call fcn.004064d4
mov ecx, eax
mov edx, dword [ebp - 0x14]
movzx eax, byte [ebp - 5]
call fcn.0048c724
test eax, eax
je 0x48c7b1
inc dword [ebp - 0x18]
jmp 0x48c7b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c870
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp - 5]
call fcn.0048c68c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c89e
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x48c930
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
mov eax, dword [0x541070]
cmp dword [eax], 2
je 0x48c94d
mov byte [ebp - 1], 1
jmp 0x48cb1b
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
push 0x53fe14
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x48cb1b
xor eax, eax
push ebp
push 0x48cb14
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 5
jb 0x48c9af
push 0x48cb28
push 0x48cb54
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409620
mov ebx, eax
test ebx, ebx
je 0x48c9d6
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x48cafd
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x48cafd
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x48ca27
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x48ca08
call fcn.00404b68
jmp 0x48cb1b
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x48ca27
call fcn.00404b68
jmp 0x48cb1b
xor eax, eax
push ebp
push 0x48caf6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x48ca6a
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x48ca6a
call fcn.00404b68
call fcn.00404b68
jmp 0x48cb1b
mov eax, dword [ebp - 0x14]
call fcn.00403018
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x48ca9c
call fcn.00404b68
call fcn.00404b68
jmp 0x48cb1b
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x48cad7
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x48cad3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x48cad3
mov byte [ebp - 1], 1
jmp 0x48cad7
inc ebx
dec esi
jne 0x48caa9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cafd
mov eax, dword [ebp - 0x18]
call fcn.00403034
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cb1b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d5d8
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x48d67f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x541070]
cmp dword [eax], 2
jne 0x48d61b
push 1
mov eax, esi
call fcn.004064d4
push eax
mov eax, edi
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x48d669
mov eax, esi
call fcn.004064d4
mov edx, eax
lea eax, [ebp - 4]
call fcn.00406604
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x48d64e
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x48d669
mov eax, esi
call fcn.004064d4
push eax
mov eax, edi
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d686
lea eax, [ebp - 4]
call fcn.00406438
ret

Function at 0x48e990
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x5471c8
mov eax, esi
mov edx, 8
test al, 1
je 0x48e9ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x48e9ae
shr eax, 1
dec edx
jne 0x48e99f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48e998
pop esi
ret

Function at 0x48e9c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x5471c4], 0
jne 0x48e9e7
call fcn.0048e990
push 1
push 0x5471c4
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x48ea12
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x5471c8]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x48e9ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x48f754
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004064d4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x48f7f6
mov eax, ebx
call fcn.00403018
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48f7ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x48f7d9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x48f818
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x48f7d9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f80d
mov eax, dword [ebp - 0x10]
call fcn.00403034
ret
mov eax, dword [0x541070]
cmp dword [eax], 1
je 0x48f80d
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0048f578
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48fa20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48fa41
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48fa8f
xor eax, eax
push ebp
push 0x48fa7f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fa86
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48fa98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48fabc
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48fb22
xor eax, eax
push ebp
push 0x48fb12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fb19
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x48fb30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48fb54
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48fbac
xor eax, eax
push ebp
push 0x48fb9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.004064d4
push eax
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fba3
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48fbb8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48fbd9
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48fc25
xor eax, eax
push ebp
push 0x48fc15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fc1c
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48fd90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48fdb3
mov dword [ebp - 4], 0xffffffff
jmp 0x48fdff
xor eax, eax
push ebp
push 0x48fdef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fdf6
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48ff34
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48ff58
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x48ffac
xor eax, eax
push ebp
push 0x48ff9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004064d4
push eax
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ffa3
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48ffb8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
test edi, edi
jne 0x48ffdb
test esi, 4
je 0x48ffdb
xor edi, edi
jmp 0x48ffe4
mov eax, edi
call fcn.004064d4
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x48fff9
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x490048
xor eax, eax
push ebp
push 0x490038
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_MoveFileExW
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49003f
lea eax, [ebp - 0x10]
call fcn.0048fa10
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4900c4
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x4900e5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x490131
xor eax, eax
push ebp
push 0x490121
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490128
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49013c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0048f9d4
test al, al
jne 0x490160
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4901ad
xor eax, eax
push ebp
push 0x49019d
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, esi
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4901a4
lea eax, [ebp - 0xc]
call fcn.0048fa10
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490cf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x490cf8
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x490de5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0048c20c
mov edx, dword [ebp - 8]
mov ecx, 0x490e00
xor eax, eax
call fcn.00490a58
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x490db3
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x490d12
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.0048f0cc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00418ac0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0048d1c0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x68
call fcn.0048f09c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x416460]
call fcn.0041d294
call fcn.00404a74
jmp 0x490d12
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00406448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490dec
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00406440
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406440
ret