joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425650
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x4df19c]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x178
push str..._.._base_files_file_util_win.cc
push str.DeleteFileAfterReboot
push edi
call fcn.004262e0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push edi
call fcn.0042f0b0
mov al, byte [esi + 0xb]
test al, al
jns 0x4256a0
cmp dword [esi + 4], 0x103
jbe 0x4256a0
xor ebx, ebx
jmp 0x4256b6
test al, al
jns 0x4256a6
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bl
lea ecx, [ebp - 0x1c]
call fcn.0042f1a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4256e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x4df19c]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1ab
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.004262e0
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.0042f0b0
cmp byte [edi + 0xb], 0
jns 0x425726
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, esi
setne bl
call fcn.0042f1a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x425750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x4df19c]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1bd
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.004262e0
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.0042f0b0
cmp byte [edi + 0xb], 0
jns 0x425796
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
mov ecx, esi
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
call fcn.0042f1a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4257d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4df19c]
lea esi, [ebp - 0x21a]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xor ebx, ebx
cmp eax, 0x102
ja 0x425854
cmp word [ebp - 0x21a], 0
je 0x42581e
xor ebx, ebx
nop
cmp word [ebp + ebx*2 - 0x218], 0
lea ebx, [ebx + 1]
jne 0x425810
lea edi, [ebp - 0x234]
mov ecx, edi
push ebx
push esi
call fcn.00423eb0
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.00424dd0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00423f60
mov ecx, ebx
call fcn.00423f20
mov ecx, edi
call fcn.00423f20
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x425870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov eax, dword [0x4df19c]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x214]
xor eax, ebp
mov dword [ebp - 0xc], eax
push edi
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4258c9
movzx eax, word [ebp - 0x214]
test ax, ax
je 0x4258c9
xor eax, eax
nop
cmp word [ebp + eax*2 - 0x212], 0
lea eax, [eax + 1]
jne 0x4258b0
mov ecx, esi
push eax
push edi
call fcn.00423eb0
jmp 0x425904
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.00423e50
push edi
call fcn.004257d0
add esp, 4
mov ecx, esi
test al, al
je 0x4258ed
push edi
call fcn.00423e80
jmp 0x4258f9
push 3
push 0x4c211a
call fcn.00423eb0
lea ecx, [ebp - 0x220]
call fcn.00423f20
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004956a1
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x425920
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x4df19c]
lea esi, [esp + 0x1c]
xor eax, ebp
mov dword [esp + 0x38], eax
push 0x233
push str..._.._base_files_file_util_win.cc
push str.CreateTemporaryDirInDir
push esi
call fcn.004262e0
add esp, 0x10
lea ecx, [esp + 0x2c]
push 0
push esi
call fcn.0042f0b0
lea ecx, [esp + 0x1c]
call fcn.00423e50
xor ebx, ebx
lea esi, [esp + 0x10]
nop
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0041f652
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
lea edi, [esp + 8]
push edi
call fcn.00430000
add esp, 8
movzx eax, byte [esp + 0xf]
mov edx, edi
test al, al
jns 0x4259b8
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, esi
push eax
push edx
call fcn.0041f972
cmp byte [esp + 0xf], 0
jns 0x4259d4
push dword [esp + 4]
call fcn.00495666
add esp, 4
mov ecx, esi
push 0x5f
call fcn.0041fc42
push 0x7fff
push 0
call fcn.00430710
add esp, 8
push eax
lea edi, [esp + 8]
push edi
call fcn.0042fe00
add esp, 8
movzx eax, byte [esp + 0xf]
mov edx, edi
test al, al
jns 0x425a0d
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, esi
push eax
push edx
call fcn.0041f972
cmp byte [esp + 0xf], 0
jns 0x425a29
push dword [esp + 4]
call fcn.00495666
add esp, 4
movzx eax, byte [esp + 0x1b]
test al, al
jns 0x425a3a
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push eax
push esi
lea edi, [esp + 0xc]
push edi
call fcn.00424950
lea esi, [esp + 0x1c]
mov ecx, esi
push edi
call fcn.00423f60
mov ecx, edi
call fcn.00423f20
cmp byte [esp + 0x27], 0
jns 0x425a67
mov esi, dword [esp + 0x1c]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x425ab0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.00423f40
mov esi, 1
cmp byte [esp + 0x1b], 0
jns 0x425a99
push dword [esp + 0x10]
call fcn.00495666
add esp, 4
test esi, esi
jne 0x425abb
inc ebx
lea esi, [esp + 0x10]
cmp ebx, 0x31
jbe 0x425970
jmp 0x425abf
xor esi, esi
cmp byte [esp + 0x1b], 0
jns 0x425a99
jmp 0x425a8d
mov bl, 1
jmp 0x425ac1
xor ebx, ebx
lea ecx, [esp + 0x1c]
call fcn.00423f20
lea ecx, [esp + 0x2c]
call fcn.0042f1a0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x425af0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0x4df19c]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x258
push str..._.._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push edi
call fcn.004262e0
add esp, 0x10
lea ecx, [ebp - 0x38]
push 0
push edi
call fcn.0042f0b0
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x425b36
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425b68
mov bl, 1
test al, 0x10
jne 0x425c7b
test edi, edi
je 0x425b59
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x425c7b
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00424700
movzx ecx, byte [ebp - 0x39]
test cl, cl
mov eax, ecx
jns 0x425b80
mov eax, dword [ebp - 0x40]
movzx edx, byte [esi + 0xb]
mov dword [ebp - 0x48], ebx
test dl, dl
mov edi, edx
jns 0x425b90
mov edi, dword [esi + 4]
cmp eax, edi
jne 0x425bd3
test eax, eax
je 0x425bbf
test cl, cl
lea ecx, [ebp - 0x44]
jns 0x425ba2
mov ecx, dword [ebp - 0x44]
test dl, dl
mov edx, esi
jns 0x425baa
mov edx, dword [esi]
xor edi, edi
nop dword [eax]
movzx ebx, word [ecx + edi*2]
cmp bx, word [edx + edi*2]
jne 0x425bd3
inc edi
cmp eax, edi
jne 0x425bb0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x425bcc
mov dword [eax], 0xfffffffc
push 2
jmp 0x425c6b
mov edi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.00425af0
add esp, 8
test al, al
je 0x425c71
push 0
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x425c73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dword [ebp - 0x48], eax
jne 0x425c58
push 0x1bd
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
lea eax, [ebp - 0x2c]
push eax
call fcn.004262e0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0042f0b0
cmp byte [esi + 0xb], 0
jns 0x425c3d
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0042f1a0
cmp esi, 0xffffffff
je 0x425c58
and esi, 0x10
jne 0x425c73
mov esi, dword [ebp - 0x48]
test edi, edi
je 0x425c6a
push esi
call fcn.0042f890
add esp, 4
mov dword [edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
lea ecx, [ebp - 0x44]
call fcn.00423f20
lea ecx, [ebp - 0x38]
call fcn.0042f1a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x425ca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x248
mov eax, dword [0x4df19c]
lea esi, [esp + 0x38]
xor eax, ebp
mov dword [esp + 0x240], eax
push 0x37a
push str..._.._base_files_file_util_win.cc
push 0x4c2155
push esi
call fcn.004262e0
add esp, 0x10
lea ecx, [esp + 0x2c]
push 0
push esi
call fcn.0042f0b0
mov word [esp + 0x38], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
jbe 0x425d07
xor ebx, ebx
jmp 0x425df3
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
push esi
call fcn.004aacf8
add esp, 4
cmp eax, 0x7ffffff0
jae 0x425e14
mov ebx, eax
cmp eax, 5
jae 0x425d4c
lea esi, [esp + 0x20]
test ebx, ebx
mov byte [esp + 0x2b], bl
mov edi, esi
mov eax, esi
jne 0x425d7c
jmp 0x425d91
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x425e1d
lea eax, [esi + esi]
push eax
call fcn.004955e6
add esp, 4
or esi, 0x80000000
mov dword [esp + 0x20], eax
mov edi, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
lea esi, [esp + 0x20]
mov eax, ebx
add eax, ebx
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.00498e50
add esp, 0xc
mov eax, esi
mov word [edi + ebx*2], 0
mov dword [esp + 4], eax
movzx eax, byte [eax + 0xb]
test al, al
jns 0x425dab
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea edi, [esp + 8]
mov ecx, edi
push eax
push esi
call fcn.00423eb0
lea ebx, [esp + 0x14]
mov ecx, edi
push ebx
call fcn.00424dd0
mov ecx, dword [ebp + 8]
push ebx
call fcn.00423f60
mov ecx, ebx
call fcn.00423f20
mov ecx, edi
call fcn.00423f20
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x425df1
push dword [esp + 0x20]
call fcn.00495666
add esp, 4
mov bl, 1
lea ecx, [esp + 0x2c]
call fcn.0042f1a0
mov ecx, dword [esp + 0x240]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.0041ebd4
call fcn.004a885c
int3
Function at 0x425e50
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x4df19c]
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xab
push str..._.._base_files_file_util_win.cc
push str.DoCopyFile
push ebx
call fcn.004262e0
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push ebx
call fcn.0042f0b0
mov ecx, edi
call fcn.00424e50
test al, al
jne 0x425ea3
mov ecx, esi
call fcn.00424e50
test al, al
je 0x425ec1
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0042f1a0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [edi + 0xb]
test al, al
jns 0x425ed1
cmp dword [edi + 4], 0x103
ja 0x425ea3
mov dl, byte [esi + 0xb]
test dl, dl
jns 0x425ee1
cmp dword [esi + 4], 0x103
ja 0x425ea3
mov cl, byte [ebp + 8]
test dl, dl
jns 0x425eea
mov esi, dword [esi]
test al, al
movzx eax, cl
jns 0x425ef3
mov edi, dword [edi]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x425ea3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425ea3
mov bl, 1
test al, 1
je 0x425ea5
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x425ea5
Function at 0x425f20
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4f0
mov eax, ecx
mov ecx, dword [0x4df19c]
lea esi, [ebp - 0x29c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, esi
mov dword [ebp - 0x4fc], edx
push edx
push 3
push 0
push eax
call fcn.00429e90
lea eax, [ebp - 0x4f8]
mov ecx, esi
push eax
call fcn.00429fb0
movzx eax, byte [ebp - 0x4ed]
test al, al
jns 0x425f71
mov eax, dword [ebp - 0x4f4]
test eax, eax
je 0x4260c0
lea ebx, [ebp - 0x4ec]
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax + eax]
lea ecx, [ebp - 0x29c]
push ebx
call fcn.00429f30
mov eax, dword [ebp - 0x4ec]
test al, 1
je 0x425fdd
cmp byte [ebp + 8], 0
jne 0x425fbd
mov ecx, ebx
call fcn.00429cd0
test al, al
jne 0x425fdd
mov eax, dword [ebp - 0x4ec]
and eax, 0xfffffffe
cmp byte [ebp - 0x4ed], 0
lea ecx, [ebp - 0x4f8]
jns 0x425fd5
mov ecx, dword [ebp - 0x4f8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, ebx
call fcn.00429cd0
test al, al
je 0x426040
xor esi, esi
cmp byte [ebp + 8], 0
je 0x426078
mov edx, dword [ebp - 0x4fc]
lea ecx, [ebp - 0x4f8]
push 1
call fcn.00425f20
add esp, 4
mov esi, eax
test eax, eax
jne 0x426078
cmp byte [ebp - 0x4ed], 0
lea eax, [ebp - 0x4f8]
jns 0x426025
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov esi, 0
jne 0x426078
jmp 0x426062
cmp byte [ebp - 0x4ed], 0
lea eax, [ebp - 0x4f8]
jns 0x426055
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
test eax, eax
jne 0x426078
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or eax, 1
mov ecx, 0
cmp eax, 3
cmove esi, ecx
test edi, edi
mov ecx, ebx
cmovne esi, edi
call fcn.00403610
lea ecx, [ebp - 0x29c]
push ebx
call fcn.00429fb0
lea ecx, [ebp - 0x4f8]
push ebx
call fcn.00423f60
mov ecx, ebx
call fcn.00423f20
movzx eax, byte [ebp - 0x4ed]
test al, al
jns 0x4260b4
mov eax, dword [ebp - 0x4f4]
test eax, eax
mov edi, esi
jne 0x425f90
jmp 0x4260c2
xor esi, esi
lea ecx, [ebp - 0x4f8]
call fcn.00423f20
lea ecx, [ebp - 0x29c]
call fcn.00429ec0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, esi
add esp, 0x4f0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x426340
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x4df19c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00421ae0
mov esi, eax
mov ecx, eax
push 0x4c4ae1
call fcn.00421d30
test al, al
jne 0x42637e
mov ecx, esi
push str.vmodule
call fcn.00421d30
test al, al
je 0x426418
cmp dword [0x4e1688], 0
jne 0x4264d3
mov eax, dword [0x4e168c]
mov dword [0x4e1688], eax
push 0x10
call fcn.004955e6
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], str.vmodule
push str.vmodule
call fcn.004aa6f0
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.00421da0
mov dword [ebp - 0x38], 0x4c4ae1
push 0x4c4ae1
call fcn.004aa6f0
add esp, 4
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov ecx, esi
push eax
push ebx
call fcn.00421da0
mov ecx, edi
push 0x4e1690
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004314e0
cmp byte [ebp - 0x25], 0
mov dword [0x4e168c], edi
js 0x4264ae
cmp byte [ebp - 0x11], 0
js 0x4264c3
mov esi, dword [ebp + 8]
mov bl, 1
mov eax, dword [esi]
test al, 1
mov dword [0x4df170], eax
je 0x42649a
mov eax, dword [0x4e16b8]
test eax, eax
je 0x426442
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e16b8], 0
mov ecx, dword [0x4e1694]
test ecx, ecx
jne 0x426471
push 0xc
call fcn.004955e6
add esp, 4
mov ecx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [0x4e1694], eax
push dword [esi + 4]
call fcn.0041fcae
cmp dword [esi + 0xc], 0
jne 0x426493
mov eax, dword [0x4e1694]
cmp byte [eax + 0xb], 0
jns 0x42648c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004264e0
mov ebx, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebp - 0x30]
call fcn.00495666
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x426418
push dword [ebp - 0x1c]
call fcn.00495666
add esp, 4
jmp 0x426418
int3
Function at 0x4264e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x4df19c]
mov bl, 1
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x4e16b8], 0
jne 0x4266f4
mov esi, dword [0x4e1694]
test esi, esi
je 0x4265ac
test byte [0x4df170], 1
je 0x4266f4
cmp byte [esi + 0xb], 0
jns 0x426528
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4e16b8], eax
inc eax
cmp eax, 1
ja 0x4266f4
lea esi, [ebp - 0x218]
mov word [ebp - 0x218], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4266f2
cmp eax, 0x104
ja 0x4266f2
mov ecx, dword [0x4e1694]
push esi
call fcn.0041fcae
mov ecx, dword [0x4e1694]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x426693
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x5c
jne 0x4266a0
jmp 0x4266b0
push 0xc
call fcn.004955e6
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.004aacf8
add esp, 4
cmp eax, 0x7ffffff0
jae 0x42670b
mov ebx, eax
cmp eax, 5
jae 0x426606
mov eax, esi
test ebx, ebx
mov byte [esi + 0xb], bl
jne 0x426632
jmp 0x426645
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x426712
lea eax, [edi + edi]
push eax
call fcn.004955e6
add esp, 4
or edi, 0x80000000
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
lea edi, [ebp - 0x218]
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.00498e50
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x426656
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.0041fec8
cmp eax, 0xffffffff
mov bl, 1
je 0x426672
inc eax
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.0041fdec
mov ecx, esi
push 0x4c2204
call fcn.0041fb32
mov dword [0x4e1694], esi
test byte [0x4df170], 1
jne 0x426520
jmp 0x4266f4
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4266b0
push 0x4c2200
call fcn.0041fb32
mov ecx, dword [0x4e1694]
push 0x4c2204
call fcn.0041fb32
mov eax, dword [0x4e1694]
cmp byte [eax + 0xb], 0
jns 0x4266c7
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x4e16b8], eax
inc eax
cmp eax, 1
ja 0x4266f4
mov dword [0x4e16b8], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.0041ebd4
call fcn.004a885c
int3
Function at 0x428990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x4df19c]
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x4289b6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4289b8
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4289d9
mov al, byte [ebp + 0xc]
test al, al
je 0x428a1c
cmp byte [esi + 4], 0
je 0x428a0e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x428a10
cmp byte [esi + 4], 0
je 0x4289e7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4289e9
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x428a00
xor ebx, ebx
jmp 0x428a8a
cmp byte [esi + 4], 0
je 0x428a4a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x428a4c
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x428a2a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x428a2c
mov eax, dword [esi]
push eax
call fcn.0042fdd0
add esp, 4
mov ecx, dword [0x4e1848]
mov bl, 1
test ecx, ecx
je 0x428a8a
push edi
push eax
call fcn.00432ec0
jmp 0x428a8a
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x428a5e
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x428a6c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x428a6e
mov eax, dword [esi]
push eax
call fcn.0042fdd0
add esp, 4
mov ecx, dword [0x4e1848]
test ecx, ecx
je 0x428a88
push edi
push eax
call fcn.00432ec0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004956a1
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8