joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ce45
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00439c75
test eax, eax
jne 0x48cf30
mov edx, dword [ebp + 0xc]
call fcn.00439c75
test eax, eax
jne 0x48cf30
push dword [ebp + 8]
call fcn.00401a80
push dword [ebp + 8]
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
push dword [ebp + 0xc]
mov esi, eax
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
add esp, 0x1c
mov edi, eax
cmp esi, ebx
je 0x48cf30
cmp edi, ebx
je 0x48cf30
push dword [ebp + 8]
push esi
call fcn.00401ba0
push dword [ebp + 0xc]
push edi
call fcn.00401ba0
push esi
call fcn.00401a80
push edi
mov byte [eax + esi + 1], bl
call fcn.00401a80
mov byte [eax + edi + 1], bl
mov eax, 0x1694
mov word [ebp - 0x14], ax
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0xa], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401a00
push edi
call fcn.00401a00
xor eax, eax
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
sete al
jmp 0x48cf32
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48cf37
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
mov edx, edi
call fcn.00439c75
test eax, eax
je 0x48cf62
xor eax, eax
jmp 0x48cfdc
push esi
push edi
call fcn.00401a80
push edi
call fcn.00401a80
add eax, 0xa
push eax
push 1
call fcn.00401a3a
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x48cf87
xor eax, eax
jmp 0x48cfdb
push edi
push esi
call fcn.00401ba0
push esi
call fcn.00401a80
mov byte [eax + esi + 1], bl
mov eax, 0x614
mov word [ebp - 0x10], ax
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.00401a00
xor eax, eax
cmp edi, ebx
pop ecx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x48d9b9
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x107]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x210], edi
mov byte [ebp - 0x108], bl
call fcn.00401f80
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.00401f80
add esp, 0x18
mov edx, edi
call fcn.00439c75
test eax, eax
jne 0x48dafa
mov edx, dword [ebp - 0x214]
call fcn.00439c75
test eax, eax
jne 0x48dafa
push dword [ebp - 0x214]
lea edi, [esi + 1]
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.00438aa8
mov edx, eax
call fcn.00439822
mov esi, edx
call fcn.00439776
mov eax, esi
push eax
call fcn.00401a80
pop ecx
pop ecx
jmp 0x48da72
lea ecx, [ebp + eax - 0x108]
cmp byte [ecx], 0x5c
jne 0x48da77
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x48da64
lea esi, [ebp - 0x108]
call fcn.00438922
push dword [ebp - 0x210]
mov ecx, edi
lea eax, [ebp - 0x20c]
call fcn.00438aa8
mov edx, eax
call fcn.00439822
mov esi, edx
call fcn.00439776
mov eax, esi
push eax
call fcn.00401a80
pop ecx
pop ecx
jmp 0x48dabd
lea ecx, [ebp + eax - 0x20c]
cmp byte [ecx], 0x5c
jne 0x48dac2
mov byte [ecx], bl
dec eax
cmp eax, ebx
jg 0x48daaf
lea eax, [ebp - 0x20c]
call fcn.004388e1
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.0043aa46
lea eax, [ebp - 0x108]
cmp dword [ebp + 0xc], ebx
je 0x48daf6
push 0xb
push eax
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x48dafc
push 0xa
jmp 0x48dae7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48dec6
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [0x4fbee4]
xor ebx, ebx
call fcn.0044454e
xor esi, esi
jmp 0x48defc
cmp esi, 0x56ce
jge 0x48df04
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xa8]
je 0x48df02
mov edi, dword [0x4fbee4]
call fcn.00444501
inc esi
test eax, eax
jne 0x48dedd
jmp 0x48df04
mov ebx, eax
mov eax, ebx
call fcn.0048d392
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x48e3a5
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x14]
push 0x103
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x107]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x110], esi
mov byte [ebp - 0x108], 0
call fcn.00401f80
push 0x1c8
push 1
call fcn.00401a3a
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x48e412
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x48e503
mov eax, dword [0x4fbee4]
test eax, eax
jne 0x48e425
call fcn.00444328
mov dword [0x4fbee4], eax
push ebx
push edi
mov ebx, eax
call fcn.004442d7
xor ebx, ebx
pop ecx
cmp dword [0x4fbee4], ebx
jne 0x48e44d
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call fcn.00401a00
pop ecx
jmp 0x48e500
push 0xc
lea eax, [edi + 4]
push ebx
push eax
mov dword [edi], ebx
call fcn.00401f80
mov eax, dword [ebp + 8]
push dword [ebp - 0x114]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x18], eax
push 0x40
lea eax, [edi + 0x24]
pop ecx
mov dword [edi + 0x10], esi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
call fcn.00438aa8
push dword [ebp - 0x10c]
mov ecx, 0x104
lea eax, [ebp - 0x108]
call fcn.00438aa8
mov esi, eax
call fcn.00438922
mov eax, esi
push eax
push 0x40
lea eax, [edi + 0x64]
pop ecx
call fcn.00438aa8
mov eax, dword [ebp + 0x18]
add esp, 0x18
mov dword [edi + 0xa4], eax
mov dword [edi + 0xb0], ebx
call fcn.0041a877
mov dword [edi + 0xb4], eax
lea eax, [edi + 0xb8]
call fcn.00438b22
push ebx
push ebx
push edi
push 0x48df1d
push dword [ebp - 0x110]
mov dword [edi + 0xac], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xa8], eax
cmp eax, ebx
jne 0x48e502
mov eax, edi
call fcn.0048d392
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret 0x14
Function at 0x48e54f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], ebx
cmp edi, ebx
je 0x48e6a4
cmp byte [edi], 0x30
je 0x48e6a4
mov esi, 0x104
push esi
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00401f80
push edi
mov ecx, esi
lea eax, [ebp - 0x108]
call fcn.00438aa8
push 0x22
mov edi, eax
call fcn.0043887b
add esp, 0x14
cmp dword [ebp + 8], ebx
jbe 0x48e5da
push 0xf7f
push str.File.c
push str.CreateDirectorySuper
mov eax, edi
push eax
push 0x48c9a8
xor ecx, ecx
call fcn.0048e3a5
mov esi, eax
jmp 0x48e5dc
xor esi, esi
cmp esi, ebx
jne 0x48e619
push ebx
push dword [ebp - 0x110]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x48e611
cmp eax, 0x50
je 0x48e611
cmp eax, 0xb7
je 0x48e611
cmp eax, 0x4c7
je 0x48e611
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x48e6a4
xor eax, eax
inc eax
jmp 0x48e6a6
call fcn.0041a877
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], ebx
jmp 0x48e656
cmp dword [ebp - 0x10c], 0x103
jne 0x48e676
call fcn.0041a877
sub eax, dword [ebp - 0x114]
cmp eax, dword [ebp + 8]
ja 0x48e666
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10c]
push eax
push esi
call edi
test eax, eax
jne 0x48e632
jmp 0x48e676
mov dword [ebp - 0x10c], ebx
mov dword [0x4fa450], 0x5b4
call fcn.0048d33e
push dword [0x4fa450]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
cmp dword [ebp - 0x10c], ebx
jne 0x48e611
mov eax, dword [ebp - 0x110]
call fcn.0048ccab
push dword [0x4fa450]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x48e8b7
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.00439c75
test eax, eax
je 0x48e8cb
xor eax, eax
jmp 0x48e907
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x48e904
call fcn.0048e806
test eax, eax
je 0x48e904
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x48e8c7
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
jmp 0x48e907
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x48e90b
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov dword [ebp - 0x114], ebx
call fcn.00439c75
test eax, eax
jne 0x48ea73
mov edx, edi
call fcn.00439c75
test eax, eax
jne 0x48ea73
push ebx
call fcn.00401a80
mov esi, 0x104
pop ecx
cmp eax, esi
jae 0x48ea28
push edi
call fcn.00401a80
pop ecx
cmp eax, esi
jae 0x48ea28
push dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
call ebx
test eax, eax
jne 0x48ea23
push edi
call fcn.0048ca6c
pop ecx
test eax, eax
je 0x48e9f1
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
push dword [ebp - 0x114]
mov ecx, esi
lea eax, [ebp - 0x110]
call fcn.00438aa8
pop ecx
mov esi, eax
call fcn.00438922
mov edx, esi
call fcn.00439c75
test eax, eax
jne 0x48ea73
mov edx, edi
mov ecx, esi
call fcn.0043aa46
push dword [ebp + 0x10]
mov eax, esi
push eax
push dword [ebp - 0x114]
call ebx
jmp 0x48ea75
cmp dword [ebp + 0x10], 0
jne 0x48ea73
call fcn.0048e806
test eax, eax
je 0x48ea73
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x48ea73
and eax, 0xfffffffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
jmp 0x48e9e4
xor eax, eax
inc eax
jmp 0x48ea75
mov eax, ebx
call fcn.00439e40
mov esi, eax
mov eax, edi
call fcn.00439e40
mov edi, eax
test esi, esi
je 0x48ea68
test edi, edi
je 0x48ea61
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
mov ebx, eax
call fcn.00401a00
pop ecx
push edi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x48ea75
push esi
call fcn.00401a00
pop ecx
test edi, edi
je 0x48ea73
push edi
call fcn.00401a00
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48eb61
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 8]
mov dword [ebp - 0xc], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
call fcn.00439c75
test eax, eax
jne 0x48ec55
mov edx, dword [ebp + 0xc]
call fcn.00439c75
test eax, eax
jne 0x48ec55
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x20
push 3
push ebx
push 7
push 0x80
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x48ebf8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x48ebe5
mov dword [ebp - 4], 1
jmp 0x48ebf3
cmp dword [0x4f07b0], ebx
je 0x48ebf3
mov dword [0x4f07b0], ebx
call fcn.0048d33e
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048e90b
add esp, 0xc
test eax, eax
je 0x48ec55
cmp dword [ebp - 4], ebx
jne 0x48ec15
xor eax, eax
inc eax
jmp 0x48ec57
push ebx
push 0x80000020
push 3
push ebx
push 7
push 0x100
push dword [ebp + 0xc]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x48ec10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x48ec4e
inc dword [0x4fa464]
call fcn.0048d33e
jmp 0x48ec10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48ef71
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edx, esi
mov dword [esp + 0x10], esi
call fcn.00439c75
test eax, eax
je 0x48efb8
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
call fcn.0041a877
push ebx
mov edi, 0x80
push edi
mov dword [esp + 0x1c], eax
push 3
push closesocket
mov eax, esi
call fcn.0048ec75
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x48f045
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x48eff9
call fcn.0041a877
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x48f039
mov eax, dword [esp + 0x10]
push ebx
push edi
push 3
push 0x2000000
call fcn.0048ec75
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x48f045
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x48f02e
call fcn.0041a877
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x48f039
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0048e6b5
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x48efa1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x48f062
call fcn.0048d33e
jmp 0x48efa1
cmp eax, ebx
jbe 0x48f093
push ebx
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48f087
cmp dword [esp + 0x10], ebx
jne 0x48f093
call fcn.0048d33e
mov eax, ebx
jmp 0x48efa3
mov ebx, dword [esp + 0x14]
jmp 0x48f087
Function at 0x48f099
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
mov esi, ecx
mov edi, edx
push ebx
push eax
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x114], bl
call fcn.00401f80
add esp, 0xc
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
cmp esi, ebx
je 0x48f147
cmp byte [esi], bl
je 0x48f147
cmp edi, ebx
je 0x48f147
cmp byte [edi], bl
je 0x48f147
cmp dword [ebp + 8], ebx
je 0x48f114
mov eax, 0x81
mov dword [ebp - 0x118], 0x106
jmp 0x48f121
xor eax, eax
inc eax
mov dword [ebp - 0x118], 6
mov edi, 0x61a8
push edi
push 0x20
push 3
push eax
mov eax, esi
call fcn.0048ec75
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp eax, 0xffffffff
jne 0x48f158
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
push dword [ebp - 0x11c]
mov ecx, 0x104
lea eax, [ebp - 0x114]
call fcn.00438aa8
pop ecx
mov esi, eax
call fcn.00439776
mov edx, esi
call fcn.00439c75
test eax, eax
jne 0x48f1b2
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x48f1b2
push dword [ebp - 0x130]
mov ecx, 0x104
mov eax, esi
call fcn.00438aa8
pop ecx
push dword [ebp - 0x11c]
call fcn.0043addf
pop ecx
push edi
push 0x80000020
push 2
push dword [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.0048ec75
add esp, 0x10
mov dword [ebp - 0x11c], eax
cmp eax, 0xffffffff
jne 0x48f1ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x124]
call fcn.0048d33e
jmp 0x48f147
mov esi, 0x100000
push esi
call fcn.004028f8
mov edi, eax
pop ecx
cmp edi, ebx
je 0x48f287
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x128], ebx
push ebx
lea eax, [ebp - 0x120]
push eax
push esi
push edi
push dword [ebp - 0x124]
mov dword [ebp - 0x120], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48f23d
inc dword [0x4fa724]
inc dword [ebp - 0x128]
cmp dword [ebp - 0x120], ebx
jbe 0x48f27e
push ebx
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x120]
mov dword [ebp - 0x12c], ebx
push edi
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48f276
inc dword [0x4fa724]
inc dword [ebp - 0x118]
cmp dword [ebp - 0x120], ebx
ja 0x48f211
push edi
call fcn.00401a00
pop ecx
jmp 0x48f291
mov dword [ebp - 0x118], 1
cmp dword [ebp + 8], ebx
je 0x48f2dc
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x48f2dc
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [ebp - 0x11c]
call fcn.0048d33e
mov esi, dword [ebp - 0x124]
call fcn.0048d33e
cmp dword [ebp - 0x128], ebx
jne 0x48f147
cmp dword [ebp - 0x118], ebx
jne 0x48f147
xor eax, eax
inc eax
jmp 0x48f149
Function at 0x48f32e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438aa8
pop ecx
mov esi, eax
call fcn.00439776
push 0
push 0x5c
call fcn.00439696
pop ecx
pop ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48f3d2
test al, 0x10
je 0x48f3d2
mov eax, esi
push 1
push eax
call fcn.0048f312
mov eax, esi
push eax
call fcn.0048cf37
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x114], eax
test esi, esi
jne 0x48f3ca
lea edi, [ebp - 0x110]
call fcn.0048e806
push dword [ebp - 0x114]
jmp 0x48f3eb
xor esi, esi
cmp eax, 0xffffffff
je 0x48f3e9
call fcn.0048e806
test eax, eax
je 0x48f3e9
push edi
call fcn.0048ca6c
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x48fe78
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4e22e4]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x15]
push ebx
push eax
mov byte [esp + 0x1c], bl
call fcn.00401f80
add esp, 0xc
mov edx, edi
call fcn.00439c75
test eax, eax
je 0x48fec3
xor eax, eax
jmp 0x49006f
push edi
push str._s.manifest
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004392ef
add esp, 0x10
cmp dword [ebp + 0xc], ebx
jne 0x48fefe
push 0x80
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
call fcn.0048e8b7
jmp 0x49006f
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0048fe78
add esp, 0xc
push 0x18de
push str.File.c
mov edx, 0x4b0634
lea ecx, [esp + 0x18]
call fcn.0048d3dd
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x48ffb5
push 0x103
lea eax, [esp + 0x11d]
push ebx
push eax
mov byte [esp + 0x124], bl
call fcn.00401f80
lea eax, [esp + 0x1c]
add esp, 0xc
push eax
mov ecx, 0x104
lea eax, [esp + 0x11c]
call fcn.00438aa8
pop ecx
call fcn.004388e1
push eax
call fcn.0048ca6c
pop ecx
test eax, eax
jne 0x48febc
cmp dword [0x4fa834], ebx
jne 0x48febc
push ebx
lea ecx, [esp + 0x11c]
call fcn.0048e54f
pop ecx
push dword [ebp + 0x10]
mov dword [0x4fa834], 1
push dword [ebp + 0xc]
push edi
call fcn.0048fe78
add esp, 0xc
mov dword [0x4fa834], ebx
jmp 0x49006f
push str.__xml_version_1.0__encoding_UTF_8__standalone_yes___
push esi
call fcn.00402261
push str._n_assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0__
push esi
call fcn.00402261
push str._n___trustInfo_xmlns_urn:schemas_microsoft_com:asm.v2__
push esi
call fcn.00402261
push str._n_____security_
push esi
call fcn.00402261
push str._n_______requestedPrivileges_
push esi
call fcn.00402261
push str._n_________requestedExecutionLevel
push esi
call fcn.00402261
add esp, 0x30
cmp dword [ebp + 0x10], ebx
je 0x490006
push str._n__________level_requireAdministrator_
jmp 0x49000b
push str._n__________level_asInvoker_
push esi
call fcn.00402261
pop ecx
pop ecx
push str._n__________uiAccess_false___
push esi
call fcn.00402261
push str._n________requestedPrivileges_
push esi
call fcn.00402261
push str._n______security_
push esi
call fcn.00402261
push str._n____trustInfo_
push esi
call fcn.00402261
push str._n__assembly_
push esi
call fcn.00402261
push 0x4afe8c
push esi
call fcn.00402261
add esp, 0x30
mov ecx, esi
call fcn.0048fcf9
push 7
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x490158
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
mov edx, edi
call fcn.00439c75
test eax, eax
je 0x49019e
xor eax, eax
jmp 0x490222
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438aa8
mov esi, eax
call fcn.00438922
mov eax, esi
push edi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x4901e8
push edi
push eax
push eax
call fcn.0045531b
pop ecx
pop ecx
push eax
push 0x4af44c
mov eax, esi
push 0x104
push eax
call fcn.004392ef
add esp, 0x14
mov edi, esi
push 0x1546
push str.File.c
mov edx, 0x4ae7a4
mov ecx, edi
call fcn.0048d3dd
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x490197
push esi
push 1
lea eax, [ebp + 8]
push 4
push eax
call fcn.0040257f
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0048fcf9
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x490230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x114], esi
mov edi, edx
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
cmp edi, ebx
jne 0x49027d
lea edi, [ebp - 0x118]
mov edx, esi
call fcn.00439c75
test eax, eax
je 0x490291
mov dword [edi], ebx
xor eax, eax
jmp 0x49032c
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438aa8
mov esi, eax
call fcn.00438922
push dword [ebp - 0x114]
mov eax, esi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x4902eb
push dword [ebp - 0x114]
push ebx
push ebx
call fcn.0045531b
pop ecx
pop ecx
push eax
push 0x4af44c
mov eax, esi
push 0x104
push eax
call fcn.004392ef
mov eax, esi
add esp, 0x14
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push 0x1520
push str.File.c
mov edx, 0x4ae668
call fcn.0048d3dd
mov esi, eax
pop ecx
pop ecx
mov dword [edi], ebx
cmp esi, ebx
je 0x49028a
push esi
push 1
push 4
push edi
call fcn.00402244
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0048fcf9
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret