joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bf8c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4d82d4]
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 0x48c0e1
cmp byte [edi], 0x30
je 0x48c0e1
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.00438b01
push 0x22
mov edi, eax
call fcn.004388d4
add esp, 0x14
cmp dword [ebp + 8], ebx
jbe 0x48c017
push 0xf7f
push str.File.c
push str.CreateDirectorySuper
mov eax, edi
push eax
push 0x48a3e5
xor ecx, ecx
call fcn.0048bde2
mov esi, eax
jmp 0x48c019
xor esi, esi
cmp esi, ebx
jne 0x48c056
push ebx
push dword [ebp - 0x110]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x48c04e
cmp eax, 0x50
je 0x48c04e
cmp eax, 0xb7
je 0x48c04e
cmp eax, 0x4c7
je 0x48c04e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x48c0e1
xor eax, eax
inc eax
jmp 0x48c0e3
call fcn.0041b82a
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], ebx
jmp 0x48c093
cmp dword [ebp - 0x10c], 0x103
jne 0x48c0b3
call fcn.0041b82a
sub eax, dword [ebp - 0x114]
cmp eax, dword [ebp + 8]
ja 0x48c0a3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10c]
push eax
push esi
call edi
test eax, eax
jne 0x48c06f
jmp 0x48c0b3
mov dword [ebp - 0x10c], ebx
mov dword [0x4ec758], 0x5b4
call fcn.0048ad7b
push dword [0x4ec758]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
cmp dword [ebp - 0x10c], ebx
jne 0x48c04e
mov eax, dword [ebp - 0x110]
call fcn.0048a6e8
push dword [0x4ec758]
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 0x48c2f4
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.00439c56
test eax, eax
je 0x48c308
xor eax, eax
jmp 0x48c344
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x48c341
call fcn.0048c243
test eax, eax
je 0x48c341
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x48c304
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 0x48c344
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x48c348
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4d82d4]
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.00439c56
test eax, eax
jne 0x48c4b0
mov edx, edi
call fcn.00439c56
test eax, eax
jne 0x48c4b0
push ebx
call fcn.00401a80
mov esi, 0x104
pop ecx
cmp eax, esi
jae 0x48c465
push edi
call fcn.00401a80
pop ecx
cmp eax, esi
jae 0x48c465
push dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
call ebx
test eax, eax
jne 0x48c460
push edi
call fcn.0048a4a9
pop ecx
test eax, eax
je 0x48c42e
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.00438b01
pop ecx
mov esi, eax
call fcn.0043897b
mov edx, esi
call fcn.00439c56
test eax, eax
jne 0x48c4b0
mov edx, edi
mov ecx, esi
call fcn.0043aa27
push dword [ebp + 0x10]
mov eax, esi
push eax
push dword [ebp - 0x114]
call ebx
jmp 0x48c4b2
cmp dword [ebp + 0x10], 0
jne 0x48c4b0
call fcn.0048c243
test eax, eax
je 0x48c4b0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x48c4b0
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 0x48c421
xor eax, eax
inc eax
jmp 0x48c4b2
mov eax, ebx
call fcn.00439e21
mov esi, eax
mov eax, edi
call fcn.00439e21
mov edi, eax
test esi, esi
je 0x48c4a5
test edi, edi
je 0x48c49e
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 0x48c4b2
push esi
call fcn.00401a00
pop ecx
test edi, edi
je 0x48c4b0
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 0x48c59e
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.00439c56
test eax, eax
jne 0x48c692
mov edx, dword [ebp + 0xc]
call fcn.00439c56
test eax, eax
jne 0x48c692
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 0x48c635
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 0x48c622
mov dword [ebp - 4], 1
jmp 0x48c630
cmp dword [0x4df76c], ebx
je 0x48c630
mov dword [0x4df76c], ebx
call fcn.0048ad7b
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048c348
add esp, 0xc
test eax, eax
je 0x48c692
cmp dword [ebp - 4], ebx
jne 0x48c652
xor eax, eax
inc eax
jmp 0x48c694
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 0x48c64d
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 0x48c68b
inc dword [0x4ec76c]
call fcn.0048ad7b
jmp 0x48c64d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48c9ae
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x4d82d4]
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.00439c56
test eax, eax
je 0x48c9f5
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.0041b82a
push ebx
mov edi, 0x80
push edi
mov dword [esp + 0x1c], eax
push 3
push closesocket
mov eax, esi
call fcn.0048c6b2
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x48ca82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x48ca36
call fcn.0041b82a
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x48ca76
mov eax, dword [esp + 0x10]
push ebx
push edi
push 3
push 0x2000000
call fcn.0048c6b2
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x48ca82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x48ca6b
call fcn.0041b82a
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x48ca76
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0048c0f2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x48c9de
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x48ca9f
call fcn.0048ad7b
jmp 0x48c9de
cmp eax, ebx
jbe 0x48cad0
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 0x48cac4
cmp dword [esp + 0x10], ebx
jne 0x48cad0
call fcn.0048ad7b
mov eax, ebx
jmp 0x48c9e0
mov ebx, dword [esp + 0x14]
jmp 0x48cac4
Function at 0x48cc6a
Capabilities:
Read file on windows
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4d82d4]
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 0x48cd18
cmp byte [esi], bl
je 0x48cd18
cmp edi, ebx
je 0x48cd18
cmp byte [edi], bl
je 0x48cd18
cmp dword [ebp + 8], ebx
je 0x48cce5
mov eax, 0x81
mov dword [ebp - 0x118], 0x106
jmp 0x48ccf2
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.0048c6b2
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp eax, 0xffffffff
jne 0x48cd29
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.00438b01
pop ecx
mov esi, eax
call fcn.00439757
mov edx, esi
call fcn.00439c56
test eax, eax
jne 0x48cd83
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x48cd83
push dword [ebp - 0x130]
mov ecx, 0x104
mov eax, esi
call fcn.00438b01
pop ecx
push dword [ebp - 0x11c]
call fcn.0043adc0
pop ecx
push edi
push 0x80000020
push 2
push dword [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.0048c6b2
add esp, 0x10
mov dword [ebp - 0x11c], eax
cmp eax, 0xffffffff
jne 0x48cdc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x124]
call fcn.0048ad7b
jmp 0x48cd18
mov esi, 0x100000
push esi
call fcn.004028f8
mov edi, eax
pop ecx
cmp edi, ebx
je 0x48ce58
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 0x48ce0e
inc dword [0x4eca2c]
inc dword [ebp - 0x128]
cmp dword [ebp - 0x120], ebx
jbe 0x48ce4f
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 0x48ce47
inc dword [0x4eca2c]
inc dword [ebp - 0x118]
cmp dword [ebp - 0x120], ebx
ja 0x48cde2
push edi
call fcn.00401a00
pop ecx
jmp 0x48ce62
mov dword [ebp - 0x118], 1
cmp dword [ebp + 8], ebx
je 0x48cead
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 0x48cead
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.0048ad7b
mov esi, dword [ebp - 0x124]
call fcn.0048ad7b
cmp dword [ebp - 0x128], ebx
jne 0x48cd18
cmp dword [ebp - 0x118], ebx
jne 0x48cd18
xor eax, eax
inc eax
jmp 0x48cd1a
Function at 0x48ceff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4d82d4]
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.00438b01
pop ecx
mov esi, eax
call fcn.00439757
push 0
push 0x5c
call fcn.00439677
pop ecx
pop ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48cfa3
test al, 0x10
je 0x48cfa3
mov eax, esi
push 1
push eax
call fcn.0048cee3
mov eax, esi
push eax
call fcn.0048a974
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x114], eax
test esi, esi
jne 0x48cf9b
lea edi, [ebp - 0x110]
call fcn.0048c243
push dword [ebp - 0x114]
jmp 0x48cfbc
xor esi, esi
cmp eax, 0xffffffff
je 0x48cfba
call fcn.0048c243
test eax, eax
je 0x48cfba
push edi
call fcn.0048a4a9
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 0x48da49
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4d82d4]
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.00439c56
test eax, eax
je 0x48da94
xor eax, eax
jmp 0x48dc40
push edi
push str._s.manifest
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004392d1
add esp, 0x10
cmp dword [ebp + 0xc], ebx
jne 0x48dacf
push 0x80
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
call fcn.0048c2f4
jmp 0x48dc40
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0048da49
add esp, 0xc
push 0x18de
push str.File.c
mov edx, 0x4ab580
lea ecx, [esp + 0x18]
call fcn.0048ae1a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x48db86
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.00438b01
pop ecx
call fcn.0043893a
push eax
call fcn.0048a4a9
pop ecx
test eax, eax
jne 0x48da8d
cmp dword [0x4ecb3c], ebx
jne 0x48da8d
push ebx
lea ecx, [esp + 0x11c]
call fcn.0048bf8c
pop ecx
push dword [ebp + 0x10]
mov dword [0x4ecb3c], 1
push dword [ebp + 0xc]
push edi
call fcn.0048da49
add esp, 0xc
mov dword [0x4ecb3c], ebx
jmp 0x48dc40
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 0x48dbd7
push str._n__________level_requireAdministrator_
jmp 0x48dbdc
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 0x4a9914
push esi
call fcn.00402261
add esp, 0x30
mov ecx, esi
call fcn.0048d8ca
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 0x48dd29
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4d82d4]
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.00439c56
test eax, eax
je 0x48dd6f
xor eax, eax
jmp 0x48ddf3
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438b01
mov esi, eax
call fcn.0043897b
mov eax, esi
push edi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x48ddb9
push edi
push eax
push eax
call fcn.004541af
pop ecx
pop ecx
push eax
push 0x4a8ed8
mov eax, esi
push 0x104
push eax
call fcn.004392d1
add esp, 0x14
mov edi, esi
push 0x1546
push str.File.c
mov edx, 0x4a82dc
mov ecx, edi
call fcn.0048ae1a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48dd68
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.0048d8ca
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x48de01
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4d82d4]
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 0x48de4e
lea edi, [ebp - 0x118]
mov edx, esi
call fcn.00439c56
test eax, eax
je 0x48de62
mov dword [edi], ebx
xor eax, eax
jmp 0x48defd
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438b01
mov esi, eax
call fcn.0043897b
push dword [ebp - 0x114]
mov eax, esi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x48debc
push dword [ebp - 0x114]
push ebx
push ebx
call fcn.004541af
pop ecx
pop ecx
push eax
push 0x4a8ed8
mov eax, esi
push 0x104
push eax
call fcn.004392d1
mov eax, esi
add esp, 0x14
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
push 0x1520
push str.File.c
mov edx, 0x4a829c
call fcn.0048ae1a
mov esi, eax
pop ecx
pop ecx
mov dword [edi], ebx
cmp esi, ebx
je 0x48de5b
push esi
push 1
push 4
push edi
call fcn.00402244
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0048d8ca
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x48df29
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x103
mov dword [ebp - 0x114], eax
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.00439c56
test eax, eax
je 0x48df78
xor eax, eax
jmp 0x48e018
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438b01
pop ecx
mov esi, eax
call fcn.0043897b
mov eax, esi
push edi
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
jne 0x48dfc2
push edi
push eax
push eax
call fcn.004541af
pop ecx
pop ecx
push eax
push 0x4a8ed8
mov eax, esi
push 0x104
push eax
call fcn.004392d1
add esp, 0x14
mov edi, esi
cmp dword [ebp - 0x114], 0
je 0x48e00d
push 0x14e8
push str.File.c
mov edx, 0x4a82dc
mov ecx, edi
call fcn.0048ae1a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48df71
push edi
push 1
push 0x64
push dword [ebp - 0x114]
call fcn.0040257f
mov esi, eax
add esp, 0x10
neg esi
sbb esi, esi
mov ecx, edi
neg esi
call fcn.0048d8ca
jmp 0x48e016
mov eax, edi
call fcn.0048c2f4
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x48e026
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x10f]
mov esi, edx
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
test esi, esi
je 0x48e105
mov edx, edi
call fcn.00439c56
test eax, eax
jne 0x48e105
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438b01
mov esi, eax
call fcn.0043897b
mov eax, esi
push edi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x48e0c3
push edi
push eax
push eax
call fcn.004541af
pop ecx
pop ecx
push eax
push 0x4a8ed8
mov eax, esi
push 0x104
push eax
call fcn.004392d1
add esp, 0x14
mov edi, esi
push 0x14c8
push str.File.c
mov edx, 0x4a829c
mov ecx, edi
call fcn.0048ae1a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48e105
push edi
push 1
push 0x64
push dword [ebp - 0x114]
call fcn.00402244
add esp, 0x10
neg eax
sbb esi, esi
mov ecx, edi
neg esi
call fcn.0048d8ca
mov eax, esi
jmp 0x48e107
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x48e115
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 5
pop ecx
mov esi, str.ThisIsAFileLockxxxx
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0041b82a
mov edx, ebx
mov dword [ebp - 0x24], eax
call fcn.00439c56
test eax, eax
jne 0x48e22c
mov edi, ebx
call fcn.0048c243
test eax, eax
jne 0x48e162
inc eax
jmp 0x48e22e
push 0x148f
mov edi, str.File.c
mov esi, 0x4a829c
push edi
mov edx, esi
mov ecx, ebx
call fcn.0048ae1a
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x48e1a3
push 0x64
call ebx
mov ecx, dword [ebp - 0x1c]
push 0x1493
push edi
mov edx, esi
call fcn.0048ae1a
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
call fcn.00438b7b
xor edi, edi
inc edi
cmp dword [ebp - 0x20], 0
je 0x48e1cb
push dword [ebp - 0x20]
push edi
push 0x14
push eax
call fcn.00402244
mov ecx, dword [ebp - 0x20]
add esp, 0x10
call fcn.0048d8ca
lea eax, [ebp - 0x18]
push str.ThisIsAFileLockxxxx
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
jne 0x48e22c
mov eax, dword [ebp - 0x1c]
call fcn.0048c2f4
test eax, eax
je 0x48e1ef
mov eax, edi
jmp 0x48e22e
push 0x64
call ebx
call fcn.0041b82a
sub eax, dword [ebp - 0x24]
mov esi, 0x2710
cmp eax, esi
jae 0x48e210
mov eax, dword [ebp - 0x1c]
call fcn.0048c2f4
test eax, eax
jne 0x48e1eb
push 0x64
call ebx
call fcn.0041b82a
sub eax, dword [ebp - 0x24]
cmp eax, esi
jae 0x48e22c
mov eax, dword [ebp - 0x1c]
call fcn.0048c2f4
test eax, eax
jne 0x48e1eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x48e23d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d82d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
mov edx, esi
stosw word es:[edi], ax
call fcn.00439c56
test eax, eax
je 0x48e271
xor eax, eax
jmp 0x48e2f3
call fcn.0041b82a
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041c1f8
pop ecx
jmp 0x48e29d
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041b82a
sub eax, edi
cmp eax, 0x7530
ja 0x48e2aa
xor edx, edx
mov ecx, esi
call fcn.0048c9ae
test eax, eax
jne 0x48e284
push 0x140a
push str.File.c
mov edx, 0x4a82dc
mov ecx, esi
call fcn.0048ae1a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48e26a
push esi
push 1
push 0x14
push str.ThisIsAFileLockxxxx
call fcn.0040257f
push esi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0040257f
add esp, 0x20
mov ecx, esi
mov edi, eax
call fcn.0048d8ca
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret