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.004cfe20
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 0x5d4566
push edi
call fcn.004cf1f0
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.004ceef0
test esi, esi
jne 0x42ebdf
push 2
call fcn.004cfe20
add esp, 4
test al, al
jne 0x42ec33
test esi, esi
setne bl
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.0050db32
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.00458830
lea eax, [esp + 0x5c]
push 0x11
push str.Running_Assistant
push eax
call fcn.0053f210
add esp, 0xc
mov ecx, edi
call fcn.00458c70
jmp 0x42eb41
lea edi, [esp + 0x54]
mov ecx, edi
push 2
push 0xfd
push str.....operadesktopwindows_assistantinstaller_assistant_installer.cc
call fcn.00458830
lea eax, [esp + 0x5c]
push 0x1b
push str.CreateProcess_failed_w_err
push eax
call fcn.0053f210
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.00458c70
jmp 0x42ebdf

Function at 0x4317f0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [ecx + 0x3f], 0
jns 0x431807
push dword [esi + 0x34]
call fcn.0050d52e
add esp, 4
cmp byte [esi + 0x33], 0
jns 0x431818
push dword [esi + 0x28]
call fcn.0050d52e
add esp, 4
mov ecx, esi
pop esi
pop ebp
jmp fcn.00452ec0

Function at 0x438100
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.00510dc0
add esp, 0xc
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, eax
test eax, eax
jne 0x438165
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 8]
push ebx
call fcn.0052a854
add esp, 4
mov ecx, edi
push eax
push ebx
call fcn.00451610
jmp 0x438149
Function at 0x438180
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 2
pop ebp
jmp fcn.004381a0
Function at 0x440670
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 0x440742
push 0x4c
push str.....operadesktopwindowsinstaller_transactionsdelete_file_operation.cc
call fcn.004cfe50
add esp, 8
test eax, eax
jg 0x4407ac
lea esi, [ebx + 0x10]
push esi
call fcn.004648b0
add esp, 4
test al, al
jne 0x4406c8
push esi
call fcn.005602a0
add esp, 4
cmp byte [ebx + 0x1e], 0
je 0x440767
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.004cef10
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0xc0]
cmp byte [ebp - 0xa9], 0
mov eax, edi
jns 0x44070f
mov eax, dword [ebp - 0xb4]
push eax
call esi
test eax, eax
je 0x44072f
mov ecx, edi
push ebx
call fcn.004cef10
mov ecx, edi
push ebx
call fcn.00455800
mov ecx, ebx
call fcn.004ceef0
jmp 0x4406fe
lea ecx, [ebp - 0xb4]
call fcn.004ceef0
mov ebx, dword [ebp - 0xc4]
jmp 0x440767
cmp dword [ebx + 0x20], 0
je 0x440767
lea esi, [ebx + 0x20]
mov ecx, dword [0x5f8618]
test ecx, ecx
jne 0x440761
call fcn.0043a080
mov ecx, eax
mov dword [0x5f8618], eax
push esi
call fcn.0043ad70
mov edi, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
test edi, edi
je 0x440785
mov ecx, edi
call fcn.0043b990
push edi
call fcn.0050d52e
add esp, 4
lea ecx, [ebx + 0x10]
call fcn.004ceef0
add ebx, 4
mov ecx, ebx
call fcn.004ceef0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
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.00458830
lea eax, [ebp - 0xac]
push 0x12
push str.Actual_removal_of
push eax
call fcn.0053f210
add esp, 0xc
lea ecx, [ebx + 0x10]
push ecx
push eax
call fcn.00459130
add esp, 8
mov ecx, edi
call fcn.00458c70
jmp 0x4406af
Function at 0x4421e0
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 0x44225a
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.004cef10
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ebx, [ebp - 0x28]
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x44222f
mov eax, dword [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x44224f
mov ecx, edi
push ebx
call fcn.004cef10
mov ecx, edi
push ebx
call fcn.00455800
mov ecx, ebx
call fcn.004ceef0
jmp 0x442224
lea ecx, [ebp - 0x1c]
call fcn.004ceef0
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x14]
call fcn.004ceef0
lea ecx, [esi + 8]
call fcn.004ceef0
mov eax, dword [esi + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jae 0x44228c
push eax
call fcn.004d10e0
add esp, 4
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x443830
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.0053f3e0
movzx ecx, byte [edi + 0xb]
mov eax, dword [edi]
test cl, cl
jns 0x443864
mov edx, dword [ebp - 0x18]
mov edi, eax
jmp 0x443869
mov edx, ecx
and edx, 0x7f
mov dword [ebp - 0x28], eax
add edx, edx
mov esi, edx
cmp edx, 4
jb 0x44389b
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 0x443875
cmp edx, 2
jne 0x4438ab
movzx eax, word [edi]
xor eax, esi
imul esi, eax, 0x5bd1e995
test cl, cl
jns 0x4438ba
push dword [ebp - 0x28]
call fcn.0050d52e
add esp, 4
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 8]
xor ecx, ecx
test ebx, ebx
je 0x443990
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 0x443922
dec ebx
and ebx, edi
jmp 0x443933
mov eax, ebx
mov ebx, edi
cmp edi, eax
jb 0x443933
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 0x443990
mov esi, dword [eax]
test esi, esi
je 0x443990
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
cmp edi, eax
jne 0x443968
push dword [ebp + 8]
push dword [esi + 8]
call fcn.0052b15a
add esp, 8
test eax, eax
jne 0x443984
jmp 0x44398e
cmp dword [ebp - 0x28], 1
ja 0x443973
and eax, dword [ebp - 0x20]
jmp 0x443980
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jb 0x443980
xor edx, edx
div ecx
mov eax, edx
cmp eax, ebx
jne 0x44398a
mov esi, dword [esi]
test esi, esi
jne 0x44394d
xor ecx, ecx
jmp 0x443990
mov ecx, esi
mov esi, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x452940
Capabilities:
Enumerate pe sections

Disassembly:
and al, 8
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x452979
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x452960
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x452971
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x45297b
inc edi
add eax, 0x28
cmp edi, esi
jb 0x452956
xor eax, eax
pop edi
pop esi
ret

Function at 0x452cd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub dh, al
inc ebp
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0045290e
push eax
push esi
push dword [ebp + 8]
call fcn.004528c3
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0045290e
push eax
push esi
push dword [ebp + 8]
call fcn.004528c3
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004528fe
mov edx, 0x886db035
popfd
jl 0x452d83
invalid
invalid

Function at 0x452ec0
Capabilities:
Inspect section memory permissions

Disassembly:
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4530ed
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x452ee6
mov dword [ebp + 0x10], edi
jmp 0x452eeb
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.004528fe
je 0x452f27
pop edx
invalid
ret 1
Function at 0x453180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0045290e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004528c3
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0045290e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004528c3
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0045290e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004528c3
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004528fe
inc ebx
push edx
inc edx
and byte gs:[ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.0045290e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004528c3
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.004528fe
or ah, 0x4b
mov bl, 0x80
movsd dword es:[edi], dword [esi]
pushfd
stc
invalid
Function at 0x453800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004528dc
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
invalid
invalid
cmpsd dword [esi], dword es:[edi]
cld

Function at 0x454610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.0045290e
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0045286f
add esp, 0xc
jmp 0x454876
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.004528fe
xor ebp, esp
xchg edx, eax
idiv bh
mov ch, 0x60
cld
invalid

Function at 0x455220
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 0x455246
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x455249
and ecx, 0x7f
mov ebx, dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push ecx
push eax
push esi
call fcn.00460850
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x455263
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp + 8]
push edi
call fcn.00460850
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x45527c
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 0x455297
push dword [ebp - 0x28]
call fcn.0050d52e
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x4552a8
push dword [ebp - 0x1c]
call fcn.0050d52e
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x455340
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.00460850
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x45536e
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 0x45538c
push dword [ebp - 0x1c]
call fcn.0050d52e
add esp, 4
cmp dword [ebp + 8], 0
je 0x455425
test esi, esi
je 0x455425
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.0050d563
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.00460850
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x4553cf
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x4553e9
push dword [ebp - 0x1c]
call fcn.0050d52e
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x45543e
push edi
call fcn.0052a854
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.004d9ad0
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x455441
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.0050d56c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.0050d52e
add esp, 4
jmp 0x45540d

Function at 0x455590
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.00465a60
mov dword [esi], 0
test eax, eax
je 0x4555d8
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 0x45560a
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4555cf
mov dword [esi], ebx
call fcn.004cfe10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.004cecd0
lea ecx, [esi + 0x10]
call fcn.004e5680
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.004cfe10
push dword [esi]
call fcn.004dfa90
add esp, 4
mov dword [esi], 0
jmp 0x4555c0
Function at 0x456f40
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 0x4570ba
push ebx
push ebx
push ecx
mov dword [esp + 0x1c], ecx
call fcn.00527e8a
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.004cfde0
add esp, 0x10
mov ecx, esi
push ebx
push edi
call fcn.004da670
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.005200fc
add esp, 4
push eax
call fcn.005208fd
add esp, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x4570d2
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.00527c87
add esp, 0x10
test eax, eax
je 0x45707e
mov ebx, eax
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x4570dc
add ebx, esi
push dword [esp + 0x10]
call fcn.0052781e
add esp, 4
test eax, eax
je 0x4570e4
mov esi, ebx
push dword [esp + 0x10]
call fcn.0052784a
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.004da6f0
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xffff
jmp 0x457007
xor ebx, ebx
mov esi, dword [esp + 0xc]
jmp 0x45708f
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 0x457048