joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e849
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e4da0
add esp, 0xc
call fcn.0040ee0d
or dword [0x58b00c], 0xffffffff
xor esi, esi
or dword [0x58b010], 0xffffffff
inc esi
and dword [0x5a0534], 0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
jne 0x40e8ad
push str._GetLastError_
push str.:7:InitConsole___FAILED:_AllocConsole___FAILED:__s
xor esi, esi
call fcn.004255b9
pop ecx
pop ecx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 7
push 0xfffffffffffffff6
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push eax
call ebx
test eax, eax
jne 0x40e8db
push str._GetLastError_
push str.:7:InitConsole___FAILED:_SetConsoleMode_STD_INPUT_HANDLE__FAILED:__s
xor esi, esi
call fcn.004255b9
pop ecx
pop ecx
push 3
push 0xfffffffffffffff5
call edi
push eax
call ebx
mov ebx, str._GetLastError_
test eax, eax
jne 0x40e8fc
push ebx
push str.:7:InitConsole___FAILED:_SetConsoleMode_STD_OUTPUT_HANDLE__FAILED:__s
xor esi, esi
call fcn.004255b9
pop ecx
pop ecx
push 1
push 0x40d64d
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x40e91c
push ebx
push str.:7:InitConsole___FAILED:_SetConsoleCtrlHandler___FAILED:__s
xor esi, esi
call fcn.004255b9
pop ecx
pop ecx
mov edi, 0x35c
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
test eax, eax
jne 0x40e93b
push edi
push str.:9:InitConsole___FAILED:_SetConsoleOutputCP___FAILED:_could_not_set_code_page__d___
xor esi, esi
call fcn.004255b9
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [0x59e0e0], eax
test eax, eax
jne 0x40e959
push ebx
push str.:7:InitConsole___FAILED:_GetConsoleWindow___FAILED:__s
xor esi, esi
call fcn.004255b9
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
pop edi
pop ebx
test eax, eax
je 0x40e9a6
lea eax, [ebp - 0x108]
push eax
call fcn.004a03e7
lea eax, [ebp - 0x108]
mov dword [esp], 0x50aeb0
push eax
call fcn.004a0ea0
pop ecx
pop ecx
test eax, eax
jne 0x40e9a6
push eax
push eax
call fcn.0047cdb0
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.Sounds_
push 0
call fcn.0047cdb0
push eax
call fcn.0049b447
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x40e9c7
mov dword [0x59e0dc], eax
call fcn.004ca9ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004ee4ba
pop ecx
call fcn.004ee499
call fcn.004ee499
call fcn.004ee499
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e3632
leave
ret
Function at 0x40f8da
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
call fcn.0040dd84
movzx edi, word [ebp + 8]
mov esi, eax
movzx ebx, word [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
xor eax, eax
mov word [ebp + 8], di
mov word [ebp + 0xa], bx
inc eax
push dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
test eax, eax
jne 0x40f927
or eax, 0xffffffff
jmp 0x40f9b5
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [ebp + 8], eax
mov dl, cl
inc eax
mov word [ebp - 0x12], bx
mov word [ebp + 0xc], ax
mov word [ebp + 0xe], ax
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], al
mov eax, ecx
xor eax, 8
movzx ecx, cx
test dl, 8
movzx eax, ax
mov word [ebp - 0x14], di
cmovne ecx, eax
mov word [ebp - 0xe], bx
cmp dword [ebp + 0x10], 0x20
mov word [ebp - 0x10], di
mov word [ebp - 2], cx
jge 0x40f99d
lea eax, [ebp + 0xc]
mov word [ebp + 8], di
push eax
mov word [ebp + 0xa], bx
lea eax, [ebp - 4]
push dword [ebp + 8]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 2]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
jmp 0x40f9b2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f9ba
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x81c], eax
xor ebx, ebx
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.004e4da0
mov esi, dword [ebp + 0xc]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x810], ebx
cmp byte [ebp + 0x14], cl
mov eax, 0x400
mov dword [ebp - 0x814], ebx
setne cl
mov dword [ebp - 0x80c], ebx
sub eax, ecx
cmp esi, eax
jl 0x40fa1f
mov esi, 0x3ff
sub esi, ecx
call fcn.0040dd84
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0040dced
cmp byte [ebp + 0x14], 0
mov edi, dword [ebp - 0x810]
mov ebx, dword [ebp - 0x814]
pop ecx
pop ecx
mov word [ebp - 0x808], di
mov word [ebp - 0x806], bx
je 0x40fa60
inc esi
test esi, esi
jle 0x40fbc1
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push esi
push eax
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
test eax, eax
je 0x40fbe7
mov eax, dword [ebp - 0x80c]
test eax, eax
je 0x40fbe7
cmp eax, esi
je 0x40fab8
push esi
push eax
push str.:8:ReadConsoleOutputAttribute___FAILED:_Read__ld__not__ld.
call fcn.004255b9
mov esi, dword [ebp - 0x80c]
add esp, 0xc
xor eax, eax
mov ecx, 0xfff7
cmp dword [ebp + 0x10], eax
je 0x40fad8
test esi, esi
jle 0x40fae9
or word [ebp + eax*2 - 0x804], 8
inc eax
cmp eax, esi
jl 0x40fac8
jmp 0x40fae9
test esi, esi
jle 0x40fae9
and word [ebp + eax*2 - 0x804], cx
inc eax
cmp eax, esi
jl 0x40fadc
cmp byte [ebp + 0x14], 0
je 0x40faf7
and word [ebp + eax*2 - 0x806], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push esi
push eax
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
xor ecx, ecx
lea eax, [ebp - 0x80c]
cmp byte [ebp + 0x14], cl
push eax
push dword [ebp - 0x808]
setne cl
mov eax, esi
sub eax, ecx
push eax
push dword [ebp - 0x81c]
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
call fcn.0040df0f
xor ecx, ecx
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x810], ecx
test esi, esi
jle 0x40fbc1
cmp byte [ebp + 0x14], 0
je 0x40fb9b
lea eax, [esi - 1]
cmp ecx, eax
jne 0x40fb9b
lea eax, [ebp - 0x80c]
mov word [ebp - 0x808], di
push eax
mov word [ebp - 0x806], bx
lea eax, [ebp + 0x14]
push dword [ebp - 0x808]
push 1
push eax
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ecx, dword [ebp - 0x810]
inc edi
cmp edi, dword [ebp - 0x814]
jl 0x40fbb6
call fcn.0040e60c
xor edi, edi
inc ebx
cmp ebx, eax
jge 0x40fbdb
mov ecx, dword [ebp - 0x810]
inc ecx
mov dword [ebp - 0x810], ecx
cmp ecx, esi
jl 0x40fb5b
push ebx
push edi
call fcn.00410118
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
mov edi, dword [ebp - 0x814]
lea ebx, [eax - 1]
dec edi
jmp 0x40fbc1
or eax, 0xffffffff
jmp 0x40fbcc
Function at 0x40fcbd
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x40fccd
mov eax, 0x80040002
jmp 0x40fcd9
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
add eax, 0x80040001
push eax
xor eax, eax
cmp dword [ebp + 0xc], eax
sete al
push eax
push dword [ebp + 0x10]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExA]
test eax, eax
jne 0x40fd0f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:3:RestartWindows__d___d___d__FAILED:_InitiateSystemShutdownEx___FAILED_
call fcn.004255b9
add esp, 0x10
xor eax, eax
pop ebp
ret
xor eax, eax
inc eax
pop ebp
ret

Function at 0x410118
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
call fcn.0040ead4
test eax, eax
je 0x410129
xor eax, eax
inc eax
pop ebp
ret
pop ebp
jmp fcn.0041012f

Function at 0x41012f
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
call fcn.0040dd84
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov word [ebp + 8], cx
mov word [ebp + 0xa], dx
test eax, eax
je 0x410165
cmp eax, 0xffffffff
je 0x410165
push dword [ebp + 8]
push eax
call edi
mov dword [ebp - 4], eax
jmp 0x41017a
push str._GetLastError_
push eax
push edx
push ecx
push str.:7:SetConsoleCursorPosServer__d___d_:_FAILED___x:__s
call fcn.004255b9
add esp, 0x14
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x410191
cmp eax, 0xffffffff
je 0x410191
push dword [ebp + 8]
push eax
call edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4101a8
cmp eax, 0xffffffff
je 0x4101a8
push dword [ebp + 8]
push eax
call edi
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push 0x510930
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x4101d0
push dword [ebp + 8]
push eax
call edi
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x4110cb
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 0x104
push esi
push eax
call fcn.004e4da0
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004e4da0
add esp, 0x18
mov dword [ebp - 0x210], esi
test ebx, ebx
jne 0x411123
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionRun
test edi, edi
je 0x411128
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004a11a5
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x20c]
push eax
push connect
call esi
test eax, eax
je 0x4111a7
xor ecx, ecx
lea eax, [ebp - 0x210]
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
push connect
call esi
test eax, eax
je 0x4111a7
push eax
push str._GetLastError_
push edi
push ebx
push str.:8:SetPaulaServerRegStartup__d__d__FAILED:_RegCreateKeyEx___FAILED:__s_ld
call fcn.004255b9
add esp, 0x14
xor eax, eax
jmp 0x41127f
push str.PAULA.exe
xor esi, esi
push esi
push esi
call fcn.0047cdb0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x108]
test edi, edi
jne 0x4111ff
test ebx, ebx
jne 0x4111f8
push str._s_s__InitServer
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x108]
push eax
call fcn.004ee800
add esp, 0x18
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push esi
push str.PAULA_Server
jmp 0x41122f
push str._s_s__StartOnce
jmp 0x4111cb
push str._s_s__CreateTerminal
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x108]
push eax
call fcn.004ee800
add esp, 0x18
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push esi
push str.PAULA_Create
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41127c
push 0
push 0
push esi
call fcn.004268af
add esp, 0xc
push eax
push esi
push 0
push 0
call fcn.0047cdb0
pop ecx
pop ecx
push eax
push edi
push ebx
push str.:8:SetPaulaServerRegStartup__d__d__FAILED:_RegSetValueEx___FAILED:__s:__d:__s
call fcn.004255b9
add esp, 0x18
jmp 0x4111a0
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x4113d5
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5a0804]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
inc ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x41141c
mov dword [0x5a0808], ebx
test eax, eax
je 0x411403
push 0x19
call edi
mov eax, dword [0x5a0804]
test esi, esi
je 0x41140d
test eax, eax
jne 0x4113f0
jmp 0x411424
test eax, eax
je 0x411532
mov eax, ebx
jmp 0x411534
test esi, esi
je 0x411532
push 0x104
push esi
push 0x5a0810
call fcn.004a11a5
push esi
call fcn.0049e2d6
xor ecx, ecx
add esp, 0x10
xor esi, esi
cmp byte [0x5a0810], cl
je 0x41148e
mov dl, byte [ecx + 0x5a0810]
test esi, esi
je 0x411461
xor eax, eax
mov bl, 0x20
cmp dl, 0x29
cmovne eax, esi
mov esi, eax
jmp 0x41146e
cmp dl, 0x28
jne 0x41146c
mov esi, ebx
mov bl, 0x20
jmp 0x41146e
mov bl, dl
mov byte [ecx + 0x5a0918], bl
inc ecx
push 1
mov eax, ecx
pop ebx
cmp byte [ecx + 0x5a0810], 0
jne 0x411449
cmp eax, 0x104
jae 0x41153b
push 0x5a0918
mov esi, 0x5a0810
mov byte [ecx + 0x5a0918], 0
push esi
call fcn.004ee5d0
pop ecx
pop ecx
test eax, eax
je 0x411517
call fcn.0040e69e
test eax, eax
jne 0x411517
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor edi, edi
and dword [0x5a0808], edi
cmp dword [0x59e0e4], 0
jne 0x411507
mov dword [0x5a0804], ebx
test edi, edi
je 0x4114e3
push 0x5a0918
call esi
mov eax, 0x2ee
jmp 0x4114ef
push 0x5a0810
call esi
mov eax, 0x5dc
push 0x5a0808
push eax
call fcn.004cb09b
pop ecx
xor edi, ebx
cmp dword [0x5a0808], 0
pop ecx
je 0x4114c2
push 0x5a0810
call esi
and dword [0x5a0804], 0
jmp 0x411532
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
and dword [0x5a0804], 0
push 0x3e8
mov dword [0x5a0808], ebx
call edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.004e37db
int3

Function at 0x411541
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x41154e
xor eax, eax
pop ebp
ret
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test edi, edi
je 0x41158f
push edi
push str._GetLastError_
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.:4:SetRegDword___s____ld__FAILED:_RegSetValueEx___FAILED:__s_ld
call fcn.00425c08
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x411592
xor eax, eax
inc eax
pop edi
pop ebp
ret
Function at 0x4121e8
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push edi
push 0x124
push 0
push eax
call fcn.004e4da0
add esp, 0xc
test esi, esi
je 0x41237c
cmp byte [esi], 0
je 0x41237c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
or ebx, 0xffffffff
cmp edi, ebx
jne 0x412257
push str._GetLastError_
push dword [ebp + 0xc]
push esi
push str.:5:TerminateProcessByName__s___d__FAILED:_CreateToolhelp32Snapshot___FAILED:__s
call fcn.004255b9
add esp, 0x10
mov eax, ebx
jmp 0x41237f
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x41229f
push str._GetLastError_
push dword [ebp + 0xc]
push esi
push str.:5:TerminateProcessByName__s___d__FAILED:_Process32First___FAILED:__s
call fcn.004255b9
add esp, 0x10
push 0x794
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Console.c
push str.TerminateProcessByNameCaseSens
push edi
call fcn.00426fac
jmp 0x412250
mov dword [ebp - 0x130], ebx
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x108]
push esi
push eax
je 0x4122d2
cmp dword [ebp + 0x10], 0
je 0x4122c0
call fcn.004ee5d0
jmp 0x4122c5
call fcn.004ee718
pop ecx
pop ecx
test eax, eax
jne 0x4122ce
inc eax
jmp 0x4122e6
xor eax, eax
jmp 0x4122e6
cmp dword [ebp + 0x10], 0
je 0x4122df
call fcn.004e4f00
jmp 0x4122e4
call fcn.004a0f55
pop ecx
pop ecx
test eax, eax
je 0x412342
push dword [ebp - 0x124]
and dword [ebp - 0x130], 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x412342
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x41232d
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push str.:1:TerminateProcessByName___encountered_a_problem:_TerminateProcess___FAILED_to_terminate__s:__s:_trying_once_more_with_higher_privilege...
call fcn.00425c08
add esp, 0xc
push 0x7c5
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Console.c
push str.TerminateProcessByNameCaseSens
push ebx
call fcn.00426fac
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4122a5
push 0x81e
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_Console.c
push str.TerminateProcessByNameCaseSens
push edi
call fcn.00426fac
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x130]
jmp 0x41237f
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x412971
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, 0x100
mov dword [ebp - 0x10c], eax
push edi
xor esi, esi
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.004e4da0
push ebx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x110], esi
call fcn.0049f690
add esp, 0x10
test eax, eax
jne 0x412a92
push dword [ebp - 0x10c]
lea esi, [ebp - 0x104]
push eax
push ebx
push 0xff
mov eax, esi
push eax
jmp 0x412a15
lea eax, [ebp - 0x104]
cmp esi, eax
je 0x4129ee
push esi
call fcn.004ee46f
pop ecx
add edi, edi
lea eax, [edi + 0xa]
push eax
push 1
call fcn.004ee464
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x412a92
push dword [ebp - 0x10c]
lea ecx, [edi - 1]
push 0
push ebx
push ecx
push esi
call fcn.00404edd
add esp, 0x14
cmp eax, 0xffffffff
je 0x4129dd
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x110]
mov ebx, dword [ebp + 0xc]
push ecx
mov word [ebp - 0x108], di
mov word [ebp - 0x106], bx
push dword [ebp - 0x108]
push eax
push esi
call fcn.0040dd84
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
test eax, eax
jne 0x412a79
cmp byte [0x59f125], al
jne 0x412a79
push str._GetLastError_
push esi
push ebx
push edi
push str.:3:OutConsole__d___d___s__FAILED:_WriteConsoleOutputCharacter___FAILED:__s
call fcn.00425c08
add esp, 0x14
mov byte [0x59f125], 1
lea eax, [ebp - 0x104]
cmp esi, eax
je 0x412a8a
push esi
call fcn.004ee46f
pop ecx
mov eax, dword [ebp - 0x110]
jmp 0x412a94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x41b496
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push edi
mov ebx, 0x400
push ebx
push 0
push eax
call fcn.004e4da0
push esi
call fcn.0049f486
add esp, 0x10
test eax, eax
jne 0x41b56d
push 0xd1e
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_CURL.c
push 0x50965c
push esi
call fcn.0042d2de
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41b56d
push edi
xor esi, esi
and dword [ebp - 0x408], esi
push ebx
xor ebx, ebx
inc ebx
jmp 0x41b530
xor edx, edx
test ecx, ecx
jle 0x41b524
movzx eax, byte [ebp + edx - 0x404]
add eax, esi
cmp eax, 0x7ffffe56
inc edx
lea esi, [eax - 0x7ffffe56]
cmovb esi, eax
cmp edx, ecx
jl 0x41b507
add dword [ebp - 0x408], ecx
push edi
push 0x400
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.004e8bc6
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x41b501
mov ecx, dword [ebp - 0x408]
add ecx, esi
cmp ecx, 0x7ffffe56
push edi
lea edx, [ecx - 0x7ffffe56]
cmovb edx, ecx
test edx, edx
cmovne ebx, edx
call fcn.0042d153
pop ecx
mov eax, ebx
jmp 0x41b56f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
Function at 0x427812
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push edi
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xc], xmm0
movlpd qword [ebp - 0x14], xmm0
call fcn.0049f486
pop ecx
test eax, eax
jne 0x427960
mov esi, dword [ebp + 0xc]
push esi
call fcn.0049f486
pop ecx
test eax, eax
jne 0x427960
push eax
push 0x20
push 3
push eax
push 7
push 0x80
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4278cb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42788f
mov dword [ebp - 4], 1
jmp 0x4278b6
cmp dword [0x58b4f4], 0
je 0x4278b6
and dword [0x58b4f4], 0
push str._GetLastError_
push dword [ebp + 0x10]
push esi
push edi
push str.:6:CopyFileWithDates___s_____s____d__encountered_a_problem:_GetFileTime___FAILED:__s
call fcn.004255b9
add esp, 0x14
push 0x9d8
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_File.c
push str.CopyFileWithDates
push ebx
call fcn.00426fac
push dword [ebp + 0x10]
push esi
push edi
call fcn.00429cf7
add esp, 0xc
test eax, eax
je 0x427960
cmp dword [ebp - 4], 0
jne 0x4278eb
xor eax, eax
inc eax
jmp 0x427962
push 0
push SQLGetDiagRec
push 3
push 0
push 7
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4278e6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x427949
mov eax, dword [0x5a3f44]
inc eax
mov dword [0x5a3f44], eax
cmp eax, 0xa
jge 0x427949
push str._GetLastError_
push dword [ebp + 0x10]
push esi
push edi
push str.:6:_1_of_10:_CopyFileWithDates___s_____s____d__encountered_a_problem:_SetFileTime___FAILED:__s
call fcn.004255b9
add esp, 0x14
push 0x9fe
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_File.c
push str.CopyFileWithDates
push ebx
call fcn.00426fac
jmp 0x4278e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret