joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42eb10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0xf8], eax
push 0
call fcn.004cff00
add esp, 4
test al, al
jne 0x42ebfc
pxor xmm0, xmm0
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x34], xmm0
movdqu xmmword [esp + 0x24], xmm0
movdqu xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], 0x44
pcmpeqd xmm0, xmm0
movdqa xmmword [esp], xmm0
add esi, 4
lea edi, [esp + 0x54]
mov ecx, esi
push 0x15
push 0x5d456e
push edi
call fcn.004cf2d0
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x42eb90
mov eax, dword [esp + 0x54]
sub esp, 0x28
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov ecx, edi
call fcn.004cefd0
test esi, esi
jne 0x42ebdf
push 2
call fcn.004cff00
add esp, 4
test al, al
jne 0x42ec33
test esi, esi
setne bl
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x54]
mov ecx, edi
push 0
push 0xf2
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458910
lea eax, [esp + 0x5c]
push 0x11
push str.Running_Assistant
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, edi
call fcn.00458d50
jmp 0x42eb41
lea edi, [esp + 0x54]
mov ecx, edi
push 2
push 0xfd
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458910
lea eax, [esp + 0x5c]
push 0x1b
push str.CreateProcess_failed_w_err
push eax
call fcn.0053f2f0
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.0042ad20
mov ecx, edi
call fcn.00458d50
jmp 0x42ebdf

Function at 0x4381e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x218]
mov dword [esi], 0x101
lea ebx, [ebp - 0x212]
push 0x202
push 0xff
push ebx
call fcn.00510ea0
add esp, 0xc
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test eax, eax
jne 0x438245
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 8]
push ebx
call fcn.0052a934
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.004516f0
jmp 0x438229

Function at 0x438260
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 2
pop ebp
jmp fcn.00438280
Function at 0x43bcd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esi + 0xb8], eax
pxor xmm0, xmm0
movdqu xmmword [esi + 0x3c], xmm0
movdqu xmmword [esi + 0x5c], xmm0
movdqu xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x34], 0x3c
mov dword [esi + 0x38], 0x40
mov dword [esi + 0x40], str.runas
xor ebx, ebx
dec ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x70]
push edi
call fcn.00453890
cmp byte [edi + 0xb], 0
js 0x43be59
mov eax, dword [esi + 0x78]
mov dword [esi + 0x30], eax
movq xmm0, qword [esi + 0x70]
movq qword [esi + 0x28], xmm0
lea ecx, [esi + 0x70]
call fcn.004cefd0
cmp byte [esi + 0x33], 0
jns 0x43bd65
mov eax, dword [esi + 0x28]
jmp 0x43bd68
lea eax, [esi + 0x28]
mov dword [esi + 0x44], eax
lea edi, [esi + 0x1c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004546f0
cmp byte [edi + 0xb], 0
jns 0x43bd88
mov edi, dword [esi + 0x1c]
lea eax, [esi + 0x34]
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 5
pcmpeqd xmm0, xmm0
lea ebx, [esi + 0x70]
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esi + 0xc]
push 0x176
push str.....operadesktopwindowsos_operationsos_operations_impl.cc
push str.RunElevatedProcess
push edi
call fcn.004cfec0
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.004da750
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 4], esp
sub esp, 0xc
mov ebx, esp
lea ecx, [ebx + 4]
test eax, eax
je 0x43bdf2
push dword [esi + 0x6c]
jmp 0x43bdf4
push 0
call fcn.004df950
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ebx, dword [eax + 0x60]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov esp, dword [esi + 4]
lea ecx, [esi + 0x70]
call fcn.004da7d0
cmp byte [esi + 0x27], 0
jns 0x43be2e
push dword [esi + 0x1c]
call fcn.0050d60e
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x43be3f
push dword [esi + 0x28]
call fcn.0050d60e
add esp, 4
mov ecx, dword [esi + 0xb8]
xor ecx, ebp
call fcn.0050dc12
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esi + 0x28]
push dword [esi + 0x74]
push dword [esi + 0x70]
call fcn.00451430
jmp 0x43bd52
Function at 0x440750
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov ebx, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x5d178c
cmp byte [ecx + 0x1c], 0
je 0x440822
push 0x4c
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.004cff30
add esp, 8
test eax, eax
jg 0x44088c
lea esi, [ebx + 0x10]
push esi
call fcn.00464990
add esp, 4
test al, al
jne 0x4407a8
push esi
call fcn.00560380
add esp, 4
cmp byte [ebx + 0x1e], 0
je 0x440847
xor eax, eax
dec eax
lea edi, [ebp - 0xb4]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0xc4], ebx
lea ecx, [ebx + 4]
push edi
call fcn.004ceff0
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0xc0]
cmp byte [ebp - 0xa9], 0
mov eax, edi
jns 0x4407ef
mov eax, dword [ebp - 0xb4]
push eax
call esi
test eax, eax
je 0x44080f
mov ecx, edi
push ebx
call fcn.004ceff0
mov ecx, edi
push ebx
call fcn.004558e0
mov ecx, ebx
call fcn.004cefd0
jmp 0x4407de
lea ecx, [ebp - 0xb4]
call fcn.004cefd0
mov ebx, dword [ebp - 0xc4]
jmp 0x440847
cmp dword [ebx + 0x20], 0
je 0x440847
lea esi, [ebx + 0x20]
mov ecx, dword [0x5f8628]
test ecx, ecx
jne 0x440841
call fcn.0043a160
mov ecx, eax
mov dword [0x5f8628], eax
push esi
call fcn.0043ae50
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
test edi, edi
je 0x440865
mov ecx, edi
call fcn.0043ba70
push edi
call fcn.0050d60e
add esp, 4
lea ecx, [ebx + 0x10]
call fcn.004cefd0
add ebx, 4
mov ecx, ebx
call fcn.004cefd0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebp - 0xb4]
mov ecx, edi
push 0xffffffffffffffff
push 0x25
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.00458910
lea eax, [ebp - 0xac]
push 0x12
push str.Actual_removal_of
push eax
call fcn.0053f2f0
add esp, 0xc
lea ecx, [ebx + 0x10]
push ecx
push eax
call fcn.00459210
add esp, 8
mov ecx, edi
call fcn.00458d50
jmp 0x44078f
Function at 0x4422c0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x5d17a4
cmp byte [ecx + 0x20], 0
je 0x44233a
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], esi
lea ecx, [esi + 8]
push edi
call fcn.004ceff0
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0x28]
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x44230f
mov eax, dword [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x44232f
mov ecx, edi
push ebx
call fcn.004ceff0
mov ecx, edi
push ebx
call fcn.004558e0
mov ecx, ebx
call fcn.004cefd0
jmp 0x442304
lea ecx, [ebp - 0x1c]
call fcn.004cefd0
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x14]
call fcn.004cefd0
lea ecx, [esi + 8]
call fcn.004cefd0
mov eax, dword [esi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3d8]
bt edx, ecx
jae 0x44236c
push eax
call fcn.004d11c0
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443910
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov ecx, edi
push dword [ebp + 8]
call fcn.0053f4c0
movzx ecx, byte [edi + 0xb]
mov eax, dword [edi]
test cl, cl
jns 0x443944
mov edx, dword [ebp - 0x18]
mov edi, eax
jmp 0x443949
mov edx, ecx
and edx, 0x7f
mov dword [ebp - 0x28], eax
add edx, edx
mov esi, edx
cmp edx, 4
jb 0x44397b
imul eax, dword [edi], 0x5bd1e995
mov ebx, eax
shr ebx, 0x18
xor ebx, eax
imul eax, ebx, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, eax
add edi, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x443955
cmp edx, 2
jne 0x44398b
movzx eax, word [edi]
xor eax, esi
imul esi, eax, 0x5bd1e995
test cl, cl
jns 0x44399a
push dword [ebp - 0x28]
call fcn.0050d60e
add esp, 4
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 8]
xor ecx, ecx
test ebx, ebx
je 0x443a70
mov eax, esi
shr eax, 0xd
xor eax, esi
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, 0x33333333
mov esi, eax
and esi, edx
shr eax, 2
and eax, edx
add eax, esi
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
mov dword [ebp - 0x24], ebx
ja 0x443a02
dec ebx
and ebx, edi
jmp 0x443a13
mov eax, ebx
mov ebx, edi
cmp edi, eax
jb 0x443a13
mov eax, edi
xor edx, edx
div dword [ebp - 0x24]
mov ebx, edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x443a70
mov esi, dword [eax]
test esi, esi
je 0x443a70
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
cmp edi, eax
jne 0x443a48
push dword [ebp + 8]
push dword [esi + 8]
call fcn.0052b23a
add esp, 8
test eax, eax
jne 0x443a64
jmp 0x443a6e
cmp dword [ebp - 0x28], 1
ja 0x443a53
and eax, dword [ebp - 0x20]
jmp 0x443a60
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x443a60
xor edx, edx
div ecx
mov eax, edx
cmp eax, ebx
jne 0x443a6a
mov esi, dword [esi]
test esi, esi
jne 0x443a2d
xor ecx, ecx
jmp 0x443a70
mov ecx, esi
mov esi, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x453000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x5f92e4]
test ebx, ebx
jne 0x453082
push 0x28
call fcn.0050d5de
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.0050d5de
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x45308c
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x5f92e4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4530a7
mov edi, eax
push eax
call fcn.0052a934
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004530b0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0053fff0
int3
Function at 0x4530b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x5f3024]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.00468f70
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x453206
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x5da91c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
je 0x453243
push 0x5da96c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45313c
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x4531a6
shl ebx, 2
cmp ebx, 0x55555555
jae 0x453253
lea esi, [ebx + ebx*2]
push esi
call fcn.0050d5de
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x28], edi
test edi, edi
je 0x45321a
mov ecx, edi
mov eax, dword [ebp - 0x24]
push dword [eax + esi]
call fcn.0053f4c0
add edi, 0xc
add esi, 4
cmp ebx, esi
jne 0x453184
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x30]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
call fcn.00452db0
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4531d2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x453206
cmp edi, esi
je 0x4531fd
add edi, 0xfffffff4
test edi, edi
je 0x453235
cmp byte [edi + 0xb], 0
jns 0x4531f4
push dword [edi]
call fcn.0050d60e
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
jne 0x4531e0
push esi
call fcn.0050d60e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0053fff0
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x3f
jmp 0x453226
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x453139
call fcn.00522750
int3
Function at 0x455300
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x5f3024]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x455326
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x455329
and ecx, 0x7f
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push ecx
push eax
push esi
call fcn.00460930
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x455343
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push edi
call fcn.00460930
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x45535c
mov edi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x1d], 0
jns 0x455377
push dword [ebp - 0x28]
call fcn.0050d60e
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x455388
push dword [ebp - 0x1c]
call fcn.0050d60e
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x455420
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.00460930
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x45544e
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x45546c
push dword [ebp - 0x1c]
call fcn.0050d60e
add esp, 4
cmp dword [ebp + 8], 0
je 0x455505
test esi, esi
je 0x455505
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.0050d643
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.00460930
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x4554af
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x4554c9
push dword [ebp - 0x1c]
call fcn.0050d60e
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x45551e
push edi
call fcn.0052a934
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.004d9bb0
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x455521
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.0050d64c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.0050d60e
add esp, 4
jmp 0x4554ed
Function at 0x455670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00465b40
mov dword [esi], 0
test eax, eax
je 0x4556b8
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4556ea
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4556af
mov dword [esi], ebx
call fcn.004cfef0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.004cedb0
lea ecx, [esi + 0x10]
call fcn.004e5760
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov al, byte [edi + 0x18]
mov byte [esi + 0x18], al
mov al, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.004cfef0
push dword [esi]
call fcn.004dfb70
add esp, 4
mov dword [esi], 0
jmp 0x4556a0
Function at 0x457020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov dword [esp + 0xc], edx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0xb8], eax
xor ebx, ebx
test ecx, ecx
je 0x45719a
push ebx
push ebx
push ecx
mov dword [esp + 0x1c], ecx
call fcn.00527f6a
add esp, 0xc
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x70]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x30]
push 0x48
push str....._base_files_file_util.cc
push str.ReadStreamToSpanWithMaxSize
push edi
call fcn.004cfec0
add esp, 0x10
mov ecx, esi
push ebx
push edi
call fcn.004da750
mov dword [edi + 0x30], ebx
pxor xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
push dword [esp + 0x10]
call fcn.005201dc
add esp, 4
push eax
call fcn.005209dd
add esp, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4571b2
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, eax
neg edx
sbb ecx, dword [esp + 0x50]
mov edi, 0xffff
cmovl edi, eax
mov eax, dword [esp + 0xc]
cmp edi, eax
cmovae edi, eax
inc edi
xor eax, eax
dec eax
lea ebx, [esp + 0x28]
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
call dword [section..00cfg]
mov eax, dword [esp + 0x20]
push edi
push eax
push ebx
mov dword [esp + 0x24], ecx
call ecx
add esp, 0xc
xor esi, esi
mov eax, dword [ebx + 4]
add eax, esi
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.00527d67
add esp, 0x10
test eax, eax
je 0x45715e
mov ebx, eax
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x4571bc
add ebx, esi
push dword [esp + 0x10]
call fcn.005278fe
add esp, 4
test eax, eax
je 0x4571c4
mov esi, ebx
push dword [esp + 0x10]
call fcn.0052792a
add esp, 4
test eax, eax
sete bl
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x18]
call dword [section..00cfg]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x20]
push esi
push eax
push edx
call ecx
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.004da7d0
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xffff
jmp 0x4570e7
xor ebx, ebx
mov esi, dword [esp + 0xc]
jmp 0x45716f
test esi, esi
mov eax, 0x10000
cmove edi, eax
lea eax, [ebx + edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x18]
call dword [section..00cfg]
mov eax, dword [esp + 0x6c]
lea esi, [esp + 0x20]
push dword [esp + 0x1c]
push eax
push esi
call ecx
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov esi, ebx
jmp 0x457128
Function at 0x458770
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
call fcn.00458810
mov eax, dword [esi]
mov dword [0x5f4b70], eax
test al, 1
jne 0x45878c
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [0x5f9338]
test eax, eax
jne 0x4587a1
mov ecx, dword [0x5f9324]
test ecx, ecx
je 0x4587c3
jmp 0x4587df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5f9338], 0
mov ecx, dword [0x5f9324]
test ecx, ecx
jne 0x4587df
and byte [0x5f4b70], 0xfe
push 0xc
call fcn.0050d5de
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x5f9324], ecx
push dword [esi + 4]
call fcn.00459240
cmp dword [esi + 0xc], 0
jne 0x458801
mov eax, dword [0x5f9324]
cmp byte [eax + 0xb], 0
jns 0x4587fa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
jmp fcn.0055aab0