joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e4b7
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 0x48e60c
cmp byte [edi], 0x30
je 0x48e60c
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.00438c78
push 0x22
mov edi, eax
call fcn.00438a4b
add esp, 0x14
cmp dword [ebp + 8], ebx
jbe 0x48e542
push 0xf7f
push str.File.c
push str.CreateDirectorySuper
mov eax, edi
push eax
push 0x48c919
xor ecx, ecx
call fcn.0048e30d
mov esi, eax
jmp 0x48e544
xor esi, esi
cmp esi, ebx
jne 0x48e581
push ebx
push dword [ebp - 0x110]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
cmp eax, ebx
je 0x48e579
cmp eax, 0x50
je 0x48e579
cmp eax, 0xb7
je 0x48e579
cmp eax, 0x4c7
je 0x48e579
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x48e60c
xor eax, eax
inc eax
jmp 0x48e60e
call fcn.0041a958
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], ebx
jmp 0x48e5be
cmp dword [ebp - 0x10c], 0x103
jne 0x48e5de
call fcn.0041a958
sub eax, dword [ebp - 0x114]
cmp eax, dword [ebp + 8]
ja 0x48e5ce
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10c]
push eax
push esi
call edi
test eax, eax
jne 0x48e59a
jmp 0x48e5de
mov dword [ebp - 0x10c], ebx
mov dword [0x4fa464], 0x5b4
call fcn.0048d2af
push dword [0x4fa464]
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
cmp dword [ebp - 0x10c], ebx
jne 0x48e579
mov eax, dword [ebp - 0x110]
call fcn.0048cc1c
push dword [0x4fa464]
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 0x48e81f
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov edx, edi
call fcn.00439e45
test eax, eax
je 0x48e833
xor eax, eax
jmp 0x48e86f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x48e86c
call fcn.0048e76e
test eax, eax
je 0x48e86c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x48e82f
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 0x48e86f
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret
Function at 0x48e873
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.00439e45
test eax, eax
jne 0x48e9db
mov edx, edi
call fcn.00439e45
test eax, eax
jne 0x48e9db
push ebx
call fcn.00401a80
mov esi, 0x104
pop ecx
cmp eax, esi
jae 0x48e990
push edi
call fcn.00401a80
pop ecx
cmp eax, esi
jae 0x48e990
push dword [ebp + 0x10]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
call ebx
test eax, eax
jne 0x48e98b
push edi
call fcn.0048c9dd
pop ecx
test eax, eax
je 0x48e959
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.00438c78
pop ecx
mov esi, eax
call fcn.00438af2
mov edx, esi
call fcn.00439e45
test eax, eax
jne 0x48e9db
mov edx, edi
mov ecx, esi
call fcn.0043ac16
push dword [ebp + 0x10]
mov eax, esi
push eax
push dword [ebp - 0x114]
call ebx
jmp 0x48e9dd
cmp dword [ebp + 0x10], 0
jne 0x48e9db
call fcn.0048e76e
test eax, eax
je 0x48e9db
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 3
je 0x48e9db
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 0x48e94c
xor eax, eax
inc eax
jmp 0x48e9dd
mov eax, ebx
call fcn.0043a010
mov esi, eax
mov eax, edi
call fcn.0043a010
mov edi, eax
test esi, esi
je 0x48e9d0
test edi, edi
je 0x48e9c9
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 0x48e9dd
push esi
call fcn.00401a00
pop ecx
test edi, edi
je 0x48e9db
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 0x48eac9
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.00439e45
test eax, eax
jne 0x48ebbd
mov edx, dword [ebp + 0xc]
call fcn.00439e45
test eax, eax
jne 0x48ebbd
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 0x48eb60
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 0x48eb4d
mov dword [ebp - 4], 1
jmp 0x48eb5b
cmp dword [0x4f07b0], ebx
je 0x48eb5b
mov dword [0x4f07b0], ebx
call fcn.0048d2af
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048e873
add esp, 0xc
test eax, eax
je 0x48ebbd
cmp dword [ebp - 4], ebx
jne 0x48eb7d
xor eax, eax
inc eax
jmp 0x48ebbf
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 0x48eb78
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 0x48ebb6
inc dword [0x4fa734]
call fcn.0048d2af
jmp 0x48eb78
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48eed9
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.00439e45
test eax, eax
je 0x48ef20
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.0041a958
push ebx
mov edi, 0x80
push edi
mov dword [esp + 0x1c], eax
push 3
push closesocket
mov eax, esi
call fcn.0048ebdd
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x48efad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x48ef61
call fcn.0041a958
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x48efa1
mov eax, dword [esp + 0x10]
push ebx
push edi
push 3
push 0x2000000
call fcn.0048ebdd
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x48efad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x48ef96
call fcn.0041a958
sub eax, dword [esp + 0x14]
cmp eax, ebx
jae 0x48efa1
mov ecx, dword [esp + 0x10]
push ebx
call fcn.0048e61d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x48ef09
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x48efca
call fcn.0048d2af
jmp 0x48ef09
cmp eax, ebx
jbe 0x48effb
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 0x48efef
cmp dword [esp + 0x10], ebx
jne 0x48effb
call fcn.0048d2af
mov eax, ebx
jmp 0x48ef0b
mov ebx, dword [esp + 0x14]
jmp 0x48efef
Function at 0x48f001
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 0x48f0af
cmp byte [esi], bl
je 0x48f0af
cmp edi, ebx
je 0x48f0af
cmp byte [edi], bl
je 0x48f0af
cmp dword [ebp + 8], ebx
je 0x48f07c
mov eax, 0x81
mov dword [ebp - 0x118], 0x106
jmp 0x48f089
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.0048ebdd
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp eax, 0xffffffff
jne 0x48f0c0
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.00438c78
pop ecx
mov esi, eax
call fcn.00439946
mov edx, esi
call fcn.00439e45
test eax, eax
jne 0x48f11a
mov eax, esi
push eax
call fcn.00401a80
pop ecx
mov ecx, esi
cmp byte [eax + ecx - 1], 0x5c
jne 0x48f11a
push dword [ebp - 0x130]
mov ecx, 0x104
mov eax, esi
call fcn.00438c78
pop ecx
push dword [ebp - 0x11c]
call fcn.0043afaf
pop ecx
push edi
push 0x80000020
push 2
push dword [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.0048ebdd
add esp, 0x10
mov dword [ebp - 0x11c], eax
cmp eax, 0xffffffff
jne 0x48f157
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x124]
call fcn.0048d2af
jmp 0x48f0af
mov esi, 0x100000
push esi
call fcn.004028f8
mov edi, eax
pop ecx
cmp edi, ebx
je 0x48f1ef
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 0x48f1a5
inc dword [0x4fa738]
inc dword [ebp - 0x128]
cmp dword [ebp - 0x120], ebx
jbe 0x48f1e6
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 0x48f1de
inc dword [0x4fa738]
inc dword [ebp - 0x118]
cmp dword [ebp - 0x120], ebx
ja 0x48f179
push edi
call fcn.00401a00
pop ecx
jmp 0x48f1f9
mov dword [ebp - 0x118], 1
cmp dword [ebp + 8], ebx
je 0x48f244
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 0x48f244
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.0048d2af
mov esi, dword [ebp - 0x124]
call fcn.0048d2af
cmp dword [ebp - 0x128], ebx
jne 0x48f0af
cmp dword [ebp - 0x118], ebx
jne 0x48f0af
xor eax, eax
inc eax
jmp 0x48f0b1
Function at 0x48f296
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.00438c78
pop ecx
mov esi, eax
call fcn.00439946
push 0
push 0x5c
call fcn.00439866
pop ecx
pop ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48f33a
test al, 0x10
je 0x48f33a
mov eax, esi
push 1
push eax
call fcn.0048f27a
mov eax, esi
push eax
call fcn.0048cea8
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x114], eax
test esi, esi
jne 0x48f332
lea edi, [ebp - 0x110]
call fcn.0048e76e
push dword [ebp - 0x114]
jmp 0x48f353
xor esi, esi
cmp eax, 0xffffffff
je 0x48f351
call fcn.0048e76e
test eax, eax
je 0x48f351
push edi
call fcn.0048c9dd
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 0x48fde0
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.00439e45
test eax, eax
je 0x48fe2b
xor eax, eax
jmp 0x48ffd7
push edi
push str._s.manifest
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.004394bf
add esp, 0x10
cmp dword [ebp + 0xc], ebx
jne 0x48fe66
push 0x80
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
call fcn.0048e81f
jmp 0x48ffd7
push dword [ebp + 0x10]
push ebx
push edi
call fcn.0048fde0
add esp, 0xc
push 0x18de
push str.File.c
mov edx, 0x4b062c
lea ecx, [esp + 0x18]
call fcn.0048d34e
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x48ff1d
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.00438c78
pop ecx
call fcn.00438ab1
push eax
call fcn.0048c9dd
pop ecx
test eax, eax
jne 0x48fe24
cmp dword [0x4fa744], ebx
jne 0x48fe24
push ebx
lea ecx, [esp + 0x11c]
call fcn.0048e4b7
pop ecx
push dword [ebp + 0x10]
mov dword [0x4fa744], 1
push dword [ebp + 0xc]
push edi
call fcn.0048fde0
add esp, 0xc
mov dword [0x4fa744], ebx
jmp 0x48ffd7
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 0x48ff6e
push str._n__________level_requireAdministrator_
jmp 0x48ff73
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.0048fc61
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 0x4900c0
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.00439e45
test eax, eax
je 0x490106
xor eax, eax
jmp 0x49018a
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438c78
mov esi, eax
call fcn.00438af2
mov eax, esi
push edi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x490150
push edi
push eax
push eax
call fcn.004557a2
pop ecx
pop ecx
push eax
push 0x4af44c
mov eax, esi
push 0x104
push eax
call fcn.004394bf
add esp, 0x14
mov edi, esi
push 0x1546
push str.File.c
mov edx, 0x4ae7a4
mov ecx, edi
call fcn.0048d34e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4900ff
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.0048fc61
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret

Function at 0x490198
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 0x4901e5
lea edi, [ebp - 0x118]
mov edx, esi
call fcn.00439e45
test eax, eax
je 0x4901f9
mov dword [edi], ebx
xor eax, eax
jmp 0x490294
push esi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438c78
mov esi, eax
call fcn.00438af2
push dword [ebp - 0x114]
mov eax, esi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x490253
push dword [ebp - 0x114]
push ebx
push ebx
call fcn.004557a2
pop ecx
pop ecx
push eax
push 0x4af44c
mov eax, esi
push 0x104
push eax
call fcn.004394bf
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.0048d34e
mov esi, eax
pop ecx
pop ecx
mov dword [edi], ebx
cmp esi, ebx
je 0x4901f2
push esi
push 1
push 4
push edi
call fcn.00402244
add esp, 0x10
mov ecx, esi
mov edi, eax
call fcn.0048fc61
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x4902c0
Capabilities:
Write file on windows

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 + 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.00439e45
test eax, eax
je 0x49030f
xor eax, eax
jmp 0x4903af
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438c78
pop ecx
mov esi, eax
call fcn.00438af2
mov eax, esi
push edi
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
jne 0x490359
push edi
push eax
push eax
call fcn.004557a2
pop ecx
pop ecx
push eax
push 0x4af44c
mov eax, esi
push 0x104
push eax
call fcn.004394bf
add esp, 0x14
mov edi, esi
cmp dword [ebp - 0x114], 0
je 0x4903a4
push 0x14e8
push str.File.c
mov edx, 0x4ae7a4
mov ecx, edi
call fcn.0048d34e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x490308
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.0048fc61
jmp 0x4903ad
mov eax, edi
call fcn.0048e81f
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 0x4903bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4e22e4]
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 0x49049c
mov edx, edi
call fcn.00439e45
test eax, eax
jne 0x49049c
push edi
mov ecx, 0x104
lea eax, [ebp - 0x110]
call fcn.00438c78
mov esi, eax
call fcn.00438af2
mov eax, esi
push edi
push eax
call fcn.004023a0
add esp, 0xc
test eax, eax
jne 0x49045a
push edi
push eax
push eax
call fcn.004557a2
pop ecx
pop ecx
push eax
push 0x4af44c
mov eax, esi
push 0x104
push eax
call fcn.004394bf
add esp, 0x14
mov edi, esi
push 0x14c8
push str.File.c
mov edx, 0x4ae668
mov ecx, edi
call fcn.0048d34e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49049c
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.0048fc61
mov eax, esi
jmp 0x49049e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x4904ac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e22e4]
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.0041a958
mov edx, ebx
mov dword [ebp - 0x24], eax
call fcn.00439e45
test eax, eax
jne 0x4905c3
mov edi, ebx
call fcn.0048e76e
test eax, eax
jne 0x4904f9
inc eax
jmp 0x4905c5
push 0x148f
mov edi, str.File.c
mov esi, 0x4ae668
push edi
mov edx, esi
mov ecx, ebx
call fcn.0048d34e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x49053a
push 0x64
call ebx
mov ecx, dword [ebp - 0x1c]
push 0x1493
push edi
mov edx, esi
call fcn.0048d34e
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
call fcn.00438cf2
xor edi, edi
inc edi
cmp dword [ebp - 0x20], 0
je 0x490562
push dword [ebp - 0x20]
push edi
push 0x14
push eax
call fcn.00402244
mov ecx, dword [ebp - 0x20]
add esp, 0x10
call fcn.0048fc61
lea eax, [ebp - 0x18]
push str.ThisIsAFileLockxxxx
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
jne 0x4905c3
mov eax, dword [ebp - 0x1c]
call fcn.0048e81f
test eax, eax
je 0x490586
mov eax, edi
jmp 0x4905c5
push 0x64
call ebx
call fcn.0041a958
sub eax, dword [ebp - 0x24]
mov esi, 0x2710
cmp eax, esi
jae 0x4905a7
mov eax, dword [ebp - 0x1c]
call fcn.0048e81f
test eax, eax
jne 0x490582
push 0x64
call ebx
call fcn.0041a958
sub eax, dword [ebp - 0x24]
cmp eax, esi
jae 0x4905c3
mov eax, dword [ebp - 0x1c]
call fcn.0048e81f
test eax, eax
jne 0x490582
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x4905d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4e22e4]
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.00439e45
test eax, eax
je 0x490608
xor eax, eax
jmp 0x49068a
call fcn.0041a958
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041b326
pop ecx
jmp 0x490634
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041a958
sub eax, edi
cmp eax, 0x7530
ja 0x490641
xor edx, edx
mov ecx, esi
call fcn.0048eed9
test eax, eax
jne 0x49061b
push 0x140a
push str.File.c
mov edx, 0x4ae7a4
mov ecx, esi
call fcn.0048d34e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x490601
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.0048fc61
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret