joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d00
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
push edi
mov ecx, 0x200
mov esi, 0x408940
lea edi, [ebp - 0x800]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x800]
push eax
call fcn.0040113c
push 0x80
lea ecx, [ebp - 0x800]
call fcn.004016c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x4080b4
mov ecx, 0x408940
call fcn.004016c0
push eax
call fcn.004023e8
add esp, 8
mov dword [ebp - 0x804], eax
push 0x4080b0
lea ecx, [ebp - 0x800]
call fcn.004016c0
push eax
call fcn.004023e8
add esp, 8
mov dword [ebp - 0x808], eax
cmp dword [ebp - 0x804], 0
je 0x401e31
cmp dword [ebp - 0x808], 0
je 0x401e31
push 1
push 0x9000
mov ecx, dword [ebp - 0x804]
push ecx
call fcn.004026cb
add esp, 0xc
push 0
mov edx, dword [ebp - 0x808]
push edx
mov eax, dword [ebp - 0x804]
push eax
call fcn.00401aa0
cmp dword [ebp - 0x804], 0
je 0x401de4
mov ecx, dword [ebp - 0x804]
push ecx
call fcn.00402372
add esp, 4
mov dword [ebp - 0x804], 0
cmp dword [ebp - 0x808], 0
je 0x401e06
mov edx, dword [ebp - 0x808]
push edx
call fcn.00402372
add esp, 4
mov dword [ebp - 0x808], 0
push 6
lea ecx, [ebp - 0x800]
call fcn.004016c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 8]
push eax
push 0
lea ecx, [ebp - 0x800]
call fcn.004016c0
push eax
call fcn.0040107f
cmp dword [ebp - 0x804], 0
je 0x401e53
mov ecx, dword [ebp - 0x804]
push ecx
call fcn.00402372
add esp, 4
mov dword [ebp - 0x804], 0
cmp dword [ebp - 0x808], 0
je 0x401e75
mov edx, dword [ebp - 0x808]
push edx
call fcn.00402372
add esp, 4
mov dword [ebp - 0x808], 0
lea ecx, [ebp - 0x800]
call fcn.004016c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401e90
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa810
call fcn.00402180
push esi
push edi
push str.mc42.exe
lea eax, [ebp - 0xa810]
push eax
push 0x4080e8
lea ecx, [ebp - 0xa010]
push ecx
mov ecx, 0x409140
call fcn.00401630
mov ecx, eax
call fcn.00401630
mov esi, eax
mov ecx, 0x200
lea edi, [ebp - 0x9804]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x980c]
push edx
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x409940
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x9804]
call fcn.00401ce0
add eax, 1
push eax
lea ecx, [ebp - 0x9804]
push ecx
push 2
push 0
push str.mc42.exe
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4080b4
mov ecx, 0x408940
call fcn.004016c0
push eax
call fcn.004023e8
add esp, 8
mov dword [ebp - 0x9808], eax
push 0x4080b0
lea ecx, [ebp - 0x9804]
call fcn.004016c0
push eax
call fcn.004023e8
add esp, 8
mov dword [ebp - 0x9810], eax
cmp dword [ebp - 0x9808], 0
je 0x401fbe
cmp dword [ebp - 0x9810], 0
je 0x401fbe
mov ecx, dword [ebp - 0x9808]
push ecx
push 0x9000
push 1
lea edx, [ebp - 0x9004]
push edx
call fcn.00402505
add esp, 0x10
mov eax, dword [ebp - 0x9810]
push eax
push 0x9000
push 1
lea ecx, [ebp - 0x9004]
push ecx
call fcn.004023fb
add esp, 0x10
cmp dword [ebp - 0x9808], 0
je 0x401fe0
mov edx, dword [ebp - 0x9808]
push edx
call fcn.00402372
add esp, 4
mov dword [ebp - 0x9808], 0
cmp dword [ebp - 0x9810], 0
je 0x402002
mov eax, dword [ebp - 0x9810]
push eax
call fcn.00402372
add esp, 4
mov dword [ebp - 0x9810], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4046f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4081b8
cmp edx, dword [eax]
je 0x40471b
add eax, 8
inc ecx
cmp eax, 0x408248
jl 0x40470c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4081b8]
jne 0x404849
mov eax, dword [0x409950]
cmp eax, 1
je 0x404823
test eax, eax
jne 0x40474c
cmp dword [0x408104], 1
je 0x404823
cmp edx, 0xfc
je 0x404849
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404783
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402010
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402650
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4047c6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402650
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407424
push edi
call fcn.004063a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402010
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402020
lea eax, [ebp - 0xa0]
push 0x407404
push eax
call fcn.00402020
push dword [esi + 0x4081bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402020
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00406313
add esp, 0x2c
pop edi
jmp 0x404849
lea eax, [ebp + 8]
lea esi, [esi + 0x4081bc]
push 0
push eax
push dword [esi]
call fcn.00402650
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10901177
Capabilities:
Get common file path

Disassembly:
jmp 0x10902410
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
sub esp, 0x300
cmp dword [eax], 0
push esi
mov esi, dword [sym.imp.Core.dll_unsigned_short_int____cdecl_appStrcpy_unsigned_short_int___unsigned_short_int_const__]
push edi
jne 0x109024f9
push 0xff
lea ecx, [esp + 0x10d]
push 0
push ecx
mov byte [esp + 0x114], 0
call fcn.10921810
push 0xff
lea edx, [esp + 0x19]
push 0
push edx
mov byte [esp + 0x20], 0
call fcn.10921810
push 0xff
lea eax, [esp + 0x225]
push 0
push eax
mov byte [esp + 0x22c], 0
call fcn.10921810
add esp, 0x24
push 0x100
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100
lea eax, [esp + 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_appFromAnsi_char_const___unsigned_short_int__]
lea ecx, [esp + 0x108]
push 0
push ecx
call edi
push eax
push 0x1096f610
call esi
lea edx, [esp + 0x18]
push 0
push edx
call edi
push eax
push 0x1096f810
call esi
lea eax, [esp + 0x228]
push 0
push eax
call edi
push eax
push 0x1096fa10
call esi
add esp, 0x30
jmp 0x1090252b
push 0x100
push 0x1096f610
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100
push 0x1096f810
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x100
push 0x1096fa10
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.Core.dll_int___cdecl_appStrlen_unsigned_short_int_const__]
push str..ICD
push 0x1096fa10
call edi
lea ecx, [eax*2 + 0x1096fa08]
add esp, 4
push ecx
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_unsigned_short_int_const___unsigned_short_int_const__]
add esp, 8
test eax, eax
jne 0x10902571
push str..EXE
push 0x1096fa10
call edi
lea edx, [eax*2 + 0x1096fa08]
add esp, 4
push edx
call esi
add esp, 8
pop edi
pop esi
add esp, 0x300
ret
Function at 0x10903960
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10952430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_]
cmp dword [esi + 0x20678], edi
je 0x109039aa
push 0x1b8
push str.....CoreIncFMallocWindows.h
push str._MemInit
call ebx
add esp, 0xc
mov dword [esi + 0x20678], 1
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [sym.imp.Core.dll_unsigned_long_int_GPageSize]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov ecx, dword [sym.imp.Core.dll_unsigned_long_int_GPageSize]
mov eax, dword [ecx]
lea edx, [eax - 1]
test eax, edx
je 0x109039f6
push 0x1c6
push str.....CoreIncFMallocWindows.h
push str.__GPageSize_GPageSize_1__
call ebx
add esp, 0xc
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edi
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, 0x31
jae 0x10903a3c
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*4]
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov edx, eax
and edx, 3
add edx, 4
mov ecx, eax
shr ecx, 2
add ecx, 1
shl edx, cl
lea ecx, [eax + eax*2 + 9]
mov dword [esi + ecx*4], edx
add eax, 1
jmp 0x10903a0a
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
xor eax, eax
cmp ecx, 0x8001
jae 0x10903a6f
mov dword [ebp - 0x18], eax
lea edx, [eax + eax*2 + 9]
cmp dword [esi + edx*4], ecx
jae 0x10903a5c
add eax, 1
jmp 0x10903a4b
lea eax, [eax + eax*2]
lea edx, [esi + eax*4 + 0x1c]
mov dword [esi + ecx*4 + 0x674], edx
add ecx, 1
jmp 0x10903a3e
mov dword [ebp - 0x20], eax
cmp eax, 0x100
jae 0x10903a85
mov dword [esi + eax*4 + 0x274], edi
add eax, 1
jmp 0x10903a6f
cmp dword [esi + 0x264], 0x8000
je 0x10903aa5
push 0x1dd
push str.....CoreIncFMallocWindows.h
push str.POOL_MAX_1PoolTable_POOL_COUNT_1_.BlockSize
call ebx
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x109047a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x109524e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
push 5
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x10], 0
je 0x109048cd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x109048cd
mov ecx, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [ecx], 0
je 0x10904807
mov edx, dword [ebp + 8]
push edx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10904856
mov edi, dword [ebp + 8]
push edi
mov ebx, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
call ebx
add esp, 4
test eax, eax
jne 0x1090481e
xor ebx, ebx
jmp 0x10904834
push edi
call ebx
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov ebx, esp
push edi
call dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
push eax
push edi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
push 0
push 0xc
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [sym.imp.Core.dll_int_GUnicodeOS]
push 0x640000
push 0
push 0x401
cmp dword [ecx], 0
je 0x10904879
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10904883
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x18]
push ecx
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
mov ecx, dword [esi + 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
call edi
test eax, eax
je 0x109048cd
lea eax, [ebp - 0x34]
push eax
call ebx
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x109048a7
add dword [esi + 0xc], 1
mov esi, dword [esi + 0xc]
xor edx, edx
test esi, esi
setg dl
mov eax, dword [sym.imp.Core.dll_int_GIsSlowTask]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
lea esp, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x109049a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x109524f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
jg 0x109049e5
push 0x73
push str.....CoreIncFFeedbackContextWindows.h
push str.SlowTaskCount_0
call dword [sym.imp.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_]
add esp, 0xc
or edi, 0xffffffff
add dword [esi + 0xc], edi
mov eax, dword [esi + 0xc]
xor ecx, ecx
test eax, eax
setg cl
mov edx, dword [sym.imp.Core.dll_int_GIsSlowTask]
mov dword [edx], ecx
mov eax, dword [sym.imp.Core.dll_int_GIsSlowTask]
cmp dword [eax], 0
jne 0x10904a13
push 0
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1090c071
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
jmp 0x1090c070
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push edi
xor edi, edi
cmp eax, edi
je 0x1090c119
mov ecx, dword [esi + 0x38]
cmp ecx, 0x6f
je 0x1090c0ac
cmp ecx, 0x79
je 0x1090c0ac
cmp ecx, 0x137
jne 0x1090c0d3
mov ecx, dword [sym.imp.Core.dll_class_FCodec__GL2DESCodec]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
lea eax, [esi + 0x4c]
push eax
call edx
jmp 0x1090c0d3
cmp eax, edi
jle 0x1090c0d3
mov ecx, 0xffffffb4
lea eax, [esi + 0x4c]
sub ecx, esi
lea ebx, [ebx]
mov dl, byte [esi + 0x44c]
xor byte [eax], dl
add eax, 1
lea edx, [ecx + eax]
cmp edx, dword [esi + 0x48]
jl 0x1090c0c0
mov ecx, dword [esi + 0x48]
push edi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x3c]
push ecx
lea edx, [esi + 0x4c]
push edx
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1090c119
push edi
push str.Core
push str.WriteFailed
mov dword [esi + 0x2c], 1
call dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_LocalizeError_char_const___unsigned_short_int_const___unsigned_short_int_const__]
mov ecx, dword [esi + 0x40]
push eax
push ecx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_unsigned_short_int_const__]
add esp, 0x14
mov dword [esi + 0x48], edi
pop edi
pop esi
pop ecx
ret
Function at 0x1090cab0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10952840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], edi
je 0x1090cafb
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x1090cb4c
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
call ebx
add esp, 4
test eax, eax
je 0x1090cb24
push esi
call ebx
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov edi, esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call ebx
push eax
push esi
push edi
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1090cb6b
or eax, eax
lea esp, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1090cb55
Function at 0x1090cc00
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10952850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x10], ebx
je 0x1090cc43
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], ebx
je 0x1090cc5d
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
mov ecx, dword [sym.imp.Core.dll_int_GUnicodeOS]
push esi
cmp dword [ecx], 0
je 0x1090cca0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1090ccd9
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
call edi
add esp, 4
test eax, eax
je 0x1090cc83
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov ebx, esp
push 0x80
push esi
call edi
push eax
push esi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x1090cc49
call edi
add esp, 4
test eax, eax
jne 0x1090ccad
xor ebx, ebx
jmp 0x1090ccc3
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov ebx, esp
push esi
call edi
push eax
push esi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1090cd34
cmp dword [ebp + 0xc], eax
jne 0x1090cced
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1090cd34
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.Core.dll_class_FOutputDevice__GLog]
cmp dword [ecx], edi
je 0x1090cd17
push eax
push esi
push str.Error_deleting_file__s___d_
push 0x2ff
mov edx, dword [ecx]
push edx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf2_enum_EName__unsigned_short_int_const__]
add esp, 0x14
xor eax, eax
test edi, edi
setne al
lea esp, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, 1
jmp 0x1090cd17
Function at 0x1090cdd0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10952860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov edx, dword [ebp + 0x14]
push edx
push 0
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [sym.imp.Core.dll_int_GUnicodeOS]
push ebx
cmp dword [ecx], 0
je 0x1090ce24
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x1090cea4
mov esi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
call esi
add esp, 4
test eax, eax
jne 0x1090ce38
mov dword [ebp + 0x14], eax
jmp 0x1090ce4f
push ebx
call esi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x14], esp
mov edi, dword [ebp + 0xc]
push edi
call esi
add esp, 4
test eax, eax
jne 0x1090ce61
mov dword [ebp + 0xc], eax
jmp 0x1090ce78
push edi
call esi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov dword [ebp + 0xc], esp
push ebx
call esi
push eax
push ebx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
push edi
call esi
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, eax
test esi, esi
jne 0x1090ced3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.Core.dll_class_FOutputDevice__GLog]
cmp dword [ecx], esi
je 0x1090ced3
push eax
push ebx
push edi
push str.Error_moving_file__s_to__s___d_
push 0x2ff
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf2_enum_EName__unsigned_short_int_const__]
add esp, 0x18
xor eax, eax
test esi, esi
setne al
lea esp, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1090d050
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10952870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], edi
je 0x1090d08b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x1090d0ca
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_unsigned_short_int_const__]
call ebx
add esp, 4
test eax, eax
je 0x1090d0b4
push esi
call ebx
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10921890
mov dword [ebp - 0x10], esp
mov edi, esp
push esi
call ebx
push eax
push esi
push edi
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___unsigned_short_int_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor edx, edx
test eax, eax
setne dl
mov eax, edx
lea esp, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1090d150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1095289a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], ebx
je 0x1090d1e2
mov word [ebp - 0xc20], bx
push 0x7fe
push ebx
lea ecx, [ebp - 0xc1e]
push ecx
call fcn.10921810
add esp, 0xc
lea edx, [ebp - 0xc20]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0xc20]
push eax
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.Core.dll_public:_void___thiscall_FString::constructor_unsigned_short_int_const__]
mov dword [ebp - 0x14], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x420], bl
push 0x3ff
push ebx
lea ecx, [ebp - 0x41f]
push ecx
call fcn.10921810
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_appFromAnsi_char_const___unsigned_short_int__]
add esp, 8
push eax
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.Core.dll_public:_void___thiscall_FString::constructor_unsigned_short_int_const__]
jmp 0x1090d1ca
Function at 0x1090d431
Capabilities:
Read file on windows

Disassembly:
jmp 0x1090d430
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
push edi
je 0x1090d452
mov edi, dword [sym.imp.Core.dll_void___cdecl_appSleep_float_]
fldz
push ecx
fstp dword [esp]
call edi
add esp, 4
cmp dword [esi + 0x50], 0
jne 0x1090d441
mov edx, dword [esi + 0x44]
mov ecx, edx
and ecx, 0x3ff
mov eax, 0x400
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov edi, 1
add dword [esi + 0x50], edi
cmp ecx, eax
mov dword [esi + 0x48], edx
jg 0x1090d479
mov eax, ecx
mov ecx, dword [esi + 0x40]
sub ecx, edx
cmp eax, ecx
jg 0x1090d484
mov ecx, eax
push 0
lea edx, [esp + 0xc]
push edx
push ecx
lea eax, [esi + 0x54]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esi + 0x38]
push eax
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x4c]
je 0x1090d4d5
push 0
mov dword [esi + 0x2c], edi
call dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_appGetSystemErrorMessage_int_]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x3c]
push eax
mov eax, dword [esi + 0x4c]
push eax
push ecx
push str.ReadFile_failed:_Count_i_BufferCount_i_Error_s
push edx
call dword [sym.imp.Core.dll_public:_void___cdecl_FOutputDevice::Logf_unsigned_short_int_const__]
add esp, 0x18
add dword [esi + 0x50], 0xffffffff
pop edi
pop esi
pop ecx
ret 4