joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x480428
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x480447
cmp eax, dword [esp + 0x28]
je 0x48045e
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48043e
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
mov dword [esp + 0x1c], edx
popal
ret 8
Function at 0x406840
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add dword [0x3a000210], 0x85d8b53
aas
push edi
mov edi, dword [ecx]
add al, 0x83
loop 0x406854
dec dword [edi]
rcl byte [ecx + eax + 0x4b8b0000], cl
psrld mm2, qword [ecx + eax + 0x4b8b0000]
adc byte [ebp - 0x767bf037], al
add dword [eax], eax
sub al, 0x8b
or al, 0x8b
dec esi
adc al, 0x8d
push esi
sub byte [ecx + 0x52], dl
pop ds
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
invalid
Function at 0x420b4b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b8a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b8a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b8a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b8a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b8a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b647
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
sub eax, 0x88da5ad0
call fcn.0043b676
add eax, 0x5f962509
dec eax
and eax, eax
xor dword [edi], edx
inc ebx
inc edi
dec ebx
cmp edi, esi
jne fcn.0043b647
push 0x2908d232
pop eax
ret

Function at 0x43b65c
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
dec edx
add edx, ebx
and edx, edx
call fcn.0043b68a
sub ebx, edx
sub edx, 0xbd5040e3
xor dword [eax], esi
dec edx
dec ebx
inc eax
and edx, edx
cmp eax, edi
jne fcn.0043b65c
sub ebx, edx
add ebx, 1
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40da20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40da42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40da49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40da38
mov eax, 1
add ebx, ebx
jne 0x40da5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40da50
jne 0x40da6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da50
xor ecx, ecx
sub eax, 3
jb 0x40da80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40daf2
mov ebp, eax
add ebx, ebx
jne 0x40da8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40da98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dabc
inc ecx
add ebx, ebx
jne 0x40daa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40da9d
jne 0x40dab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dadc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dacd
jmp 0x40da3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dadc
add edi, ecx
jmp 0x40da3e
pop esi
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40db3b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40daf9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd068]
or eax, eax
je 0x40db35
mov dword [ebx], eax
add ebx, 4
jmp 0x40db16
call dword [esi + 0xd078]
mov ebp, dword [esi + 0xd06c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40db6f
sub esp, 0xffffff80
jmp 0x40b206
Function at 0x401a50
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
cmp ecx, 0
je 0x401a83
mov dl, byte [esi]
lea esi, [esi + 1]
xor dl, byte [edi]
lea edi, [edi + 1]
or al, dl
dec ecx
jne 0x401a6b
neg eax
shr eax, 0x1f
pop edi
pop esi
ret

Function at 0x4488b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d240b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov eax, 1
mov dword [ebp - 0x10], edi
mov ecx, 0xffff
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov word [edi], cx
lea ecx, [edi + 0x18]
mov dword [ebp - 0x18], ecx
push dword [ebp + 0xc]
mov dword [edi + 2], 0xffffffff
push dword [ebp + 8]
mov word [edi + 6], ax
push 0xc
call fcn.004997e0
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x1c]
mov dword [edi + 8], eax
mov dword [ebp - 4], 3
lea esi, [edi + 0x30]
push dword [ebp + 0x14]
mov al, byte [ebp + 0x10]
mov ecx, esi
push 0x100
mov dword [ebp + 0x10], esi
push 4
mov byte [edi + 0x28], al
mov dword [ebp + 0xc], esi
call fcn.004997e0
mov byte [ebp - 4], 5
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44bd60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x44bd7c
xor al, al
pop esi
pop ebp
ret 8
push 0x5c
push esi
call fcn.005435b0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bd90
sub ecx, edx
cmp byte [ecx + esi - 1], 0x5c
jne 0x44bda4
mov byte [ecx + esi - 1], al
mov al, 1
pop esi
pop ebp
ret 8

Function at 0x44c050
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d4
push esi
push edi
push 0x200
lea eax, [ebp - 0x6d4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
push 0x2b4
push eax
mov word [ebp - 0x2d6], ax
lea eax, [ebp - 0x2d4]
push eax
call fcn.0054cfa0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x2d4]
mov edi, dword [ebp + 0xc]
add esp, 0xc
shr esi, 1
push 0x400
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x6d4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x44c0e5
push esi
lea eax, [ebp - 0xc0]
push eax
push edi
call fcn.00556256
add esp, 0xc
xor eax, eax
mov word [edi + esi*2 - 2], ax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x20
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00543420
lea eax, [ebp - 0x20]
push eax
push 0x6e1cec
lea eax, [esi - 1]
push eax
push edi
call fcn.004501b0
add esp, 0x1c
xor eax, eax
mov word [edi + esi*2 - 2], ax
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44de50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x44de68
cmp dword [ebp + 0xc], 0
jne 0x44de84
push str.pOldPath__pNewPath
push 0x9e2
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x44de84
int3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x44deac
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00544d20
lea eax, [ebp - 0x20c]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x310]
mov ecx, esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044cd70
cmp dword [ebp - 4], 0
jne 0x44dee4
push str.pOldPathId
push 0x9ef
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x44dee4
int3
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044cd70
cmp dword [ebp + 0x10], 0
jne 0x44df1c
push str.pathID
push 0x9f4
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_filesystemBaseFileSystem.cpp
call fcn.00534490
add esp, 0xc
test al, al
jne 0x44df1c
int3
push dword [ebp - 4]
mov ecx, esi
push dword [ebp + 8]
push 0x104
push 0x7d51e0
call fcn.0044a770
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
mov ecx, esi
push dword [ebp + 0xc]
push 0x104
push eax
call fcn.0044a770
lea eax, [ebp - 0x108]
push eax
push 0x7d51e0
call fcn.0055a5aa
add esp, 8
test eax, eax
je 0x44df80
lea eax, [ebp - 0x108]
push eax
push 0x7d51e0
push str.Unable_to_rename__s_to__s__n
push 0xffffffffffffffff
push esi
call fcn.0044f120
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44f120
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0054ac40
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 0xb4]
jg 0x44f18b
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.00544ea0
lea eax, [ebp - 0x1000]
push eax
call fcn.0055a336
mov eax, dword [esi + 0xb8]
add esp, 0x14
test eax, eax
je 0x44f17e
lea ecx, [ebp - 0x1000]
push ecx
call eax
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4514c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0055b786
add esp, 0x10
pop ebp
ret 0xc

Function at 0x451520
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0055c339
add esp, 0x10
pop ebp
ret 0xc
Function at 0x454630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d2f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00454010
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jle 0x454689
mov ebx, dword [ebp + 0xc]
lea esp, [esp]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x454689
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00542050
inc esi
add esp, 8
cmp esi, edi
jl 0x454670
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x70], 0x44
call fcn.004542a0
push eax
push 0
call fcn.0053b630
add esp, 0x28
test eax, eax
je 0x454749
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
push 0x2a
call fcn.0055c881
int3
Function at 0x460160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d450d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004a8ef0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp + 8]
push 0
push 1
push eax
call fcn.004a8590
mov ebx, dword [ebp + 0xc]
push fcn.0055a24e
push 0x6e4218
push ebx
call fcn.0053b890
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4601ea
push edi
push 1
push dword [ebp - 0x20]
push dword [ebp - 0x30]
call fcn.0055c339
push edi
mov esi, eax
call fcn.0055a05d
add esp, 0x14
cmp esi, 1
je 0x46021c
push ecx
mov eax, esp
mov dword [eax], ebx
call fcn.0049a910
add esp, 4
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x34]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.00499910
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov bl, 1
jmp 0x4601ec
Function at 0x465d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d47d5
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ebx, 0x6e0a80
test edi, edi
jne 0x465dce
call fcn.0053a0e0
test al, al
je 0x465dbf
mov edi, str.steamdeck_stable
jmp 0x465dce
call fcn.00539fb0
test al, al
mov edi, str.chromeos_public_88ac3843c888c7adb9cd406fbac4ff7a7d2cde9b
cmove edi, ebx
mov ecx, dword [esi + 0xa8]
mov eax, ebx
test ecx, ecx
mov dword [ebp + 8], ecx
cmovne eax, ecx
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x465e00
test dl, dl
je 0x465dfc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x465e00
add ecx, 2
add eax, 2
test dl, dl
jne 0x465de0
xor eax, eax
jmp 0x465e05
sbb eax, eax
or eax, 1
test eax, eax
je 0x465e3a
push 1
push esi
lea eax, [ebp - 0x634]
push 0x30a
push eax
call fcn.004617e0
add esp, 0xc
lea ecx, [ebp - 0x634]
mov eax, esp
mov dword [eax], ecx
call fcn.0049a910
mov ecx, dword [esi + 0xa8]
add esp, 4
jmp 0x465e3d
mov ecx, dword [ebp + 8]
test ecx, ecx
mov eax, ebx
push edi
cmovne eax, ecx
push eax
lea eax, [ebp - 0x1c]
push str.Beta_changed_from__s_to__s_n
push eax
call fcn.0049eb40
add esp, 0x10
mov dword [ebp - 4], 0
cmp byte [eax + 0xf], 0
jge 0x465e66
mov eax, dword [eax]
test eax, eax
lea ecx, [esi + 0xd8]
cmovne ebx, eax
push ebx
call fcn.00464b20
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], 0
jge 0x465e95
call fcn.00534050
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push edi
lea ecx, [esi + 0xa8]
call fcn.0049f6a0
push edi
lea ecx, [esi + 0xac]
call fcn.0049f6a0
push str.package
push str._s_beta
lea eax, [ebp - 0x328]
push 0x30a
push eax
call fcn.00544860
lea eax, [ebp - 0x328]
push 0x5c
push eax
call fcn.005435b0
mov eax, dword [esi + 0xa8]
add esp, 0x18
test eax, eax
je 0x465f3e
cmp byte [eax], 0
je 0x465f3e
push fcn.0055a24e
lea eax, [ebp - 0x328]
push 0x6e0c38
push eax
call fcn.0053b890
mov edi, eax
add esp, 0xc
test edi, edi
je 0x465f51
mov edx, dword [esi + 0xa8]
test edx, edx
jne 0x465f1a
xor ecx, ecx
mov edx, 0x6e0a80
jmp 0x465f29
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465f20
sub ecx, ebx
push edi
push 1
push ecx
push edx
call fcn.0055c339
push edi
call fcn.0055a05d
add esp, 0x14
jmp 0x465f51
push ecx
mov eax, esp
lea ecx, [ebp - 0x328]
mov dword [eax], ecx
call fcn.0049a910
add esp, 4
call fcn.0052d580
fld qword [esi + 0x88]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x465f80
call fcn.0052d580
fadd qword [0x6e5818]
fstp qword [esi + 0x88]
call fcn.00547800
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x90]
call fcn.0053ab70
mov ecx, esi
call fcn.0053a920
test al, al
jne 0x465fa4
cmp byte [esi + 0x57], al
jne 0x465fa4
push 0
mov ecx, esi
call fcn.0053abf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x467b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
test edi, edi
je 0x467c0c
push ebx
mov eax, dword [edi]
mov dword [esi + 0x20], eax
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x467bf9
mov ecx, esi
call fcn.00468850
push ebx
push 1
call dword [0x7d6d38]
push 0xc
push ebx
call fcn.0054a90d
add esp, 8
cmp dword [esi + 0xc], 0
je 0x467bf9
dec dword [esi + 0xf4]
cmp dword [esi + 0xf4], 0
jg 0x467bf9
push 0
push 0
call dword [0x7d6ce4]
push dword [esi + 0xfc]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esi + 0xfc], 0
lea eax, [esi + 0xf8]
xor ecx, ecx
xchg dword [eax], ecx
push 0x1c
push edi
call fcn.0054a90d
mov edi, dword [esi + 0x20]
add esp, 8
test edi, edi
jne 0x467b90
pop ebx
xor eax, eax
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x467c8a
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa0], 0
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x467ca6
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x467cbb
push eax
call dword [0x7d6ce8]
mov dword [esi + 0xc], 0
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret

Function at 0x46a290
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x16c]
mov dword [esi + 0x28], 0
push dword [esi + 0x168]
mov byte [esi + 0x34], 0
push dword [esi + 0x164]
push dword [esi + 0x160]
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret

Function at 0x46b510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6e6b7c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x6e6b80]
mov dword [ebp - 0x10], eax
mov eax, dword [0x6e6b84]
mov dword [ebp - 0xc], eax
mov eax, dword [0x6e6b88]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x46b578
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00546e10
add esp, 0x10
test eax, eax
je 0x46b578
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov esp, ebp
pop ebp
ret