joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fd14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push 1
push str.GGetSpecialFolderLocation
lea ecx, [ebp - 0x44]
call fcn.0040502b
mov dword [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40fd86
push 0x4d96ec
mov ecx, dword [ebp + 8]
call fcn.004053d4
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004050e2
mov eax, dword [ebp + 8]
jmp 0x40fe3d
lea ecx, [ebp - 0x24]
call fcn.004054e3
mov byte [ebp - 4], 2
push 0x105
lea ecx, [ebp - 0x24]
call fcn.004065f0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0
lea ecx, [ebp - 0x24]
call fcn.00408571
movsx eax, al
cmp eax, 0x5c
je 0x40fde4
push 0x4dae74
lea ecx, [ebp - 0x2d]
call fcn.004053d4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2d]
call fcn.004055b0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp dword [ebp - 0x10], 0
je 0x40fe0d
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push dword [ebp - 0x10]
call dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
call fcn.004052c0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004050e2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40fe4b
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov byte [ebp - 0xd], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.004052c0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004085af
test eax, eax
jne 0x40fea0
and dword [ebp - 0x38], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov eax, dword [ebp - 0x38]
jmp 0x410066
lea ecx, [ebp - 0x24]
call fcn.004085af
dec eax
push eax
lea ecx, [ebp - 0x24]
call fcn.00405ab8
movsx eax, byte [eax]
cmp eax, 0x5c
je 0x40fec4
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.00406212
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x410028
lea ecx, [ebp - 0xc4]
call fcn.0042583a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0040238f
mov byte [ebp - 4], 2
push 0x4dae78
lea ecx, [ebp - 0x41]
call fcn.004053d4
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x41]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00410872
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x41]
call fcn.004055b0
and dword [ebp - 0x14], 0
jmp 0x40ff3c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x88]
call fcn.0047e16a
cmp dword [ebp - 0x14], eax
jge 0x40ffcb
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x88]
call fcn.0041d468
add eax, 0x3c
push eax
lea eax, [ebp - 0x4a]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405cc1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x34]
call fcn.00410074
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x40ff93
mov dword [ebp - 0x28], 1
jmp 0x40ff97
and dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a]
call fcn.004055b0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x40ffc6
push str.Error
push str.GRemoveFile_failed
call fcn.00403bb4
pop ecx
pop ecx
mov byte [ebp - 0xd], 0
jmp 0x40ff35
and dword [ebp - 0x18], 0
jmp 0x40ffd8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xc4]
call fcn.0047e16a
cmp dword [ebp - 0x18], eax
jge 0x41000a
push 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.004259cf
push eax
call fcn.0040fe4b
pop ecx
pop ecx
test eax, eax
jne 0x410008
mov byte [ebp - 0xd], 0
jmp 0x40ffd1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004023ee
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00425937
lea ecx, [ebp - 0x24]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x410050
push str.Error
push str.RemoveDirectory_failed
call fcn.00403bb4
pop ecx
pop ecx
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004055b0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41083f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41085f
xor eax, eax
jmp 0x41086e
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x41086c
xor eax, eax
inc eax
jmp 0x41086e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4117be
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cddb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x411800
xor eax, eax
inc eax
jmp 0x4118f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x4dadf4
lea eax, [ebp - 0x5a]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
call fcn.004294f4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
call fcn.0042acdf
push eax
push dword [ebp + 8]
push 0x4dadf4
lea eax, [ebp - 0x51]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
call fcn.004294f4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
call fcn.0042acdf
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4118a3
mov dword [ebp - 0x14], 1
jmp 0x4118a7
and dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00429657
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x51]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00429657
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a]
call fcn.004055b0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x4118f2
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4118f5
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4186e6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov dword [ebp - 0x38], ecx
push str.GSETUP::MyCopyFile
lea ecx, [ebp - 0x68]
call fcn.00404f76
and dword [ebp - 4], 0
push dword [ebp + 0xc]
call fcn.0040a883
pop ecx
test eax, eax
je 0x41885a
lea ecx, [ebp - 0xdc]
call fcn.0042709d
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0xdc]
call fcn.00427762
lea ecx, [ebp - 0x150]
call fcn.0042709d
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea ecx, [ebp - 0x150]
call fcn.00427762
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0042797c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
call fcn.004085af
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x53]
call fcn.004055b0
cmp dword [ebp - 0x34], 0
je 0x41883c
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebp - 0x150]
call fcn.0042797c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x28]
lea eax, [ebp - 0x4a]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0042797c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
call fcn.00405854
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4a]
call fcn.004055b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x41]
call fcn.004055b0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x41883c
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00427188
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00427188
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004050e2
mov eax, dword [ebp - 0x14]
jmp 0x418886
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00427188
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.00427188
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00405b2a
push eax
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004050e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4199bf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cea4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x18], ecx
push str.GSETUP::RunApp
lea ecx, [ebp - 0xb8]
call fcn.00404f76
and dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.004afe60
add esp, 0xc
mov dword [ebp - 0x90], 0x44
and dword [ebp - 0x8c], 0
and dword [ebp - 0x84], 0
and dword [ebp - 0x88], 0
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
and dword [ebp - 0x78], 0
and dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0x50
mov dword [ebp - 0x6c], 0x33
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x64], 0x19
cmp dword [ebp + 0xc], 0
je 0x419a63
xor eax, eax
inc eax
mov word [ebp - 0x60], ax
jmp 0x419a69
xor eax, eax
mov word [ebp - 0x60], ax
and dword [ebp - 0x5c], 0
xor eax, eax
mov word [ebp - 0x5e], ax
cmp dword [ebp + 0x14], 0
je 0x419a86
mov ecx, dword [ebp + 0x14]
call fcn.00405b2a
mov dword [ebp - 0x14], eax
jmp 0x419a8a
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x14]
push 0
push 0
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00405b2a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp dword [ebp + 0x10], 0
je 0x419b38
push 0xffffffffffffffff
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push str.ERROR_LEVEL
lea ecx, [ebp - 0x3a]
call fcn.004053d4
mov byte [ebp - 4], 1
push 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0xa2]
push eax
call fcn.00407505
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x24]
lea eax, [ebp - 0x3a]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041a5f8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa2]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a]
call fcn.004055b0
jmp 0x419b98
push str.ERROR_LEVEL
lea ecx, [ebp - 0x31]
call fcn.004053d4
mov byte [ebp - 4], 3
push 0
push 0
push 0
lea eax, [ebp - 0x99]
push eax
call fcn.00407505
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x1c]
lea eax, [ebp - 0x31]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0041a5f8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x99]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x31]
call fcn.004055b0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.004050e2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41aea7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cecaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x40b0
call fcn.004b0380
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 8], 0
jne 0x41aede
xor eax, eax
inc eax
jmp 0x41b0ac
mov byte [ebp - 0x40c0], 0
push 0x3fff
push 0
lea eax, [ebp - 0x40bf]
push eax
call fcn.004afe60
add esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
push 0x4000
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0047b467
add esp, 0xc
cmp dword [ebp - 0x14], 0x3c00
jge 0x41afe3
push 0x4000
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax + 0xc]
call fcn.0047af2e
add esp, 0x10
cmp dword [ebp - 0x14], 0x3c00
jge 0x41afe3
push 0x4000
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0047adfa
add esp, 0x10
cmp dword [ebp - 0x14], 0x3c00
jge 0x41afe3
push 0x4000
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x14]
push eax
push 0xa
push 0xa
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax + 0xc]
call fcn.0047ab97
add esp, 0x18
cmp dword [ebp - 0x14], 0x3c00
jge 0x41afe3
push dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.0047b5cf
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x4000
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.0047b1c1
add esp, 0x14
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push str.except.log
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
push 2
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x40c0]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call fcn.0041ad81
pop ecx
jmp 0x41b045
or dword [ebp - 4], 0xffffffff
jmp 0x41b04f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [ebp + 0xc]
push str.Structured_exception_caught._Class_0x_08X._Thread_:_0x_08X
lea eax, [ebp - 0xc0]
push eax
call fcn.004afddb
add esp, 0x10
lea eax, [ebp - 0xc0]
push eax
push str.EXCEPTION_EXECUTE_HANDLER
push 0x293
push str.D:projectsUTIL_srcplatform.cpp
call fcn.0040472f
add esp, 0x10
lea eax, [ebp - 0x40c0]
push eax
push str.EXCEPTION_EXECUTE_HANDLER
push 0x294
push str.D:projectsUTIL_srcplatform.cpp
call fcn.0040472f
add esp, 0x10
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b145
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
cmp dword [ebp - 4], 0
je 0x41b1c0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x41b19b
call fcn.004b1d70
push eax
push dword [ebp - 8]
movsx eax, word [ebp - 0x20]
movsx ecx, word [ebp - 0x1e]
imul eax, ecx
push eax
push 0x20
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
jmp 0x41b1b4
call fcn.004b1d70
push eax
push dword [ebp - 8]
push 0x7d0
push 0x20
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov esp, ebp
pop ebp
ret
Function at 0x423d3a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
and dword [ebp - 0x14], 0
push 1
push str.GRemoveReservedFilesystemCharsFromString
lea ecx, [ebp - 0x58]
call fcn.0040502b
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.004052c0
mov byte [ebp - 4], 2
mov byte [ebp - 0x44], 0x5c
mov byte [ebp - 0x43], 0x2f
mov byte [ebp - 0x42], 0x3a
mov byte [ebp - 0x41], 0x2a
mov byte [ebp - 0x40], 0x3f
mov byte [ebp - 0x3f], 0x22
mov byte [ebp - 0x3e], 0x3c
mov byte [ebp - 0x3d], 0x3e
mov byte [ebp - 0x3c], 0x7c
mov byte [ebp - 0x3b], 0
and dword [ebp - 0x10], 0
jmp 0x423db3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movsx eax, byte [ebp + eax - 0x44]
test eax, eax
je 0x423e4e
push 1
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409a58
test eax, eax
je 0x423e49
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.004087ee
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x423e44
mov byte [ebp + 0x10], 0
push dword [ebp + 0xc]
push str.Illegal_chars_found_in_value_name:
lea eax, [ebp - 0x35]
push eax
call fcn.00405b42
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
call fcn.00405b2a
push eax
push str.GREG
push 0x427
push str.D:projectsUTIL_srcgfio.cpp
call fcn.004049b8
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35]
call fcn.004055b0
jmp 0x423dc3
jmp 0x423dac
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004052c0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004055b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004050e2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x424c07
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d01ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x10], ecx
push str.GFIO::Read
lea ecx, [ebp - 0x38]
call fcn.00404f76
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 5], 0
jne 0x424c5b
push str.m_handle
push str.GFIO
push 0x1ac
push str.D:projectsUTIL_srcgfio.cpp
call fcn.004044d6
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp dword [eax + 5], 0
jne 0x424c7c
and dword [ebp - 0x14], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004050e2
mov eax, dword [ebp - 0x14]
jmp 0x424cfc
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 5]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x424cc9
xor eax, eax
inc eax
je 0x424cb4
push 0x1af
push str.D:projectsUTIL_srcgfio.cpp
push 0x4d9734
call fcn.00403b39
add esp, 0xc
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004050e2
mov eax, dword [ebp - 0x18]
jmp 0x424cfc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
je 0x424ce6
and dword [ebp - 0x20], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004050e2
mov eax, dword [ebp - 0x20]
jmp 0x424cfc
mov dword [ebp - 0x24], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004050e2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x424f9c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 5], 0
jne 0x424fc8
push str.m_handle
push str.GFIO
push 0x1b8
push str.D:projectsUTIL_srcgfio.cpp
call fcn.004044d6
add esp, 0x10
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 5], 0
jne 0x424fdb
xor eax, eax
jmp 0x425019
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [eax + 5]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425016
xor eax, eax
inc eax
je 0x425012
push 0x1bc
push str.D:projectsUTIL_srcgfio.cpp
push 0x4d9734
call fcn.00403b39
add esp, 0xc
xor eax, eax
jmp 0x425019
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42501f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0239
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x14], ecx
push str.GFIO::SetFileSize
lea ecx, [ebp - 0x34]
call fcn.00404f76
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 5], 0
jne 0x425073
push str.m_handle
push str.GFIO
push 0x241
push str.D:projectsUTIL_srcgfio.cpp
call fcn.004044d6
add esp, 0x10
mov eax, dword [ebp - 0x14]
cmp dword [eax + 5], 0
jne 0x425091
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004050e2
mov eax, dword [ebp - 0x18]
jmp 0x4250e8
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
call dword [eax + 0x18]
test eax, eax
jne 0x4250b8
and dword [ebp - 0x1c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004050e2
mov eax, dword [ebp - 0x1c]
jmp 0x4250e8
mov eax, dword [ebp - 0x14]
push dword [eax + 5]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4250ce
mov byte [ebp - 0xd], 1
jmp 0x4250d2
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x20], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004050e2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x425117
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
push str.GFIO::Size
lea ecx, [ebp - 0x2c]
call fcn.00404f76
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 5], 0
jne 0x42516b
push str.m_handle
push str.GFIO
push 0x22f
push str.D:projectsUTIL_srcgfio.cpp
call fcn.004044d6
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp dword [eax + 5], 0
jne 0x425189
and dword [ebp - 0x14], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004050e2
mov eax, dword [ebp - 0x14]
jmp 0x4251b2
push 0
mov eax, dword [ebp - 0x10]
push dword [eax + 5]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x18], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004050e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4