joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4871b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4c2010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
call fcn.00473170
cmp dword [eax], 2
jge 0x4013a7
jmp 0x40146a
mov dword [ebp - 0x10], 1
jmp 0x4013b9
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
call fcn.00473170
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jge 0x40146a
call fcn.00473176
mov edx, dword [eax]
mov eax, 2
imul ecx, eax, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [edx + eax*4]
movzx eax, word [edx + ecx]
cmp eax, 0x2d
jne 0x401424
call fcn.00473176
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00401a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401c60
jmp 0x401465
mov ecx, 0x4c68fc
call fcn.00401d40
movzx edx, al
test edx, edx
je 0x401465
call fcn.00473176
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401465
call fcn.00473176
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4]
push edx
mov ecx, 0x4c68fc
call fcn.00401c40
jmp 0x4013b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x406c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406c44
xor eax, eax
jmp 0x406cc4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x406c5b
xor eax, eax
jmp 0x406cc4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x406ca7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x406ca7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x406c7e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x406cb3
xor eax, eax
jmp 0x406cc4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x406cc1
xor eax, eax
jmp 0x406cc4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41f490
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0xff00
mov word [ebp - 4], ax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x1b
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x34
ja case.0x41f4d1.1
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x41f5c4]
jmp dword [ecx*4 + 0x41f5a8]
movsx edx, word [ebp - 4]
test edx, edx
je 0x41f4e8
mov ecx, dword [ebp - 8]
call fcn.0041f600
jmp case.0x41f4d1.1
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsVisible_int_]
test eax, eax
je 0x41f512
movsx ecx, word [ebp - 4]
test ecx, ecx
je 0x41f512
mov ecx, dword [ebp - 8]
call fcn.00421fd0
jmp case.0x41f4d1.1
push 0xffffffffffffffff
push 0x49f8a8
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0042bf60
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x444]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsDisabled_int_]
test eax, eax
jne 0x41f556
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x414]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsVisible_int_]
test eax, eax
jne 0x41f565
push 1
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsVisible_int_]
test eax, eax
je 0x41f56d
mov ecx, dword [ebp - 8]
call fcn.00423540
jmp case.0x41f4d1.1
mov ecx, dword [ebp - 8]
call fcn.004224d0
jmp case.0x41f4d1.1
mov ecx, dword [ebp - 8]
call fcn.00422550
jmp case.0x41f4d1.1
push 0
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x45c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsVisible_int_]
test eax, eax
jne case.0x41f4d1.1
mov ecx, dword [ebp - 8]
call fcn.004237e0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488980
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push 4
lea ecx, [ebp - 0x18]
call fcn.00401320
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401bf0
push 4
lea ecx, [ebp - 0x1c]
call fcn.00401320
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4c6f74
call fcn.004016a0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x4c6f74
call fcn.00401760
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401dc0
movzx ecx, al
test ecx, ecx
je 0x420725
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401c60
mov eax, dword [ebp - 0x20]
jmp 0x420791
push 4
lea ecx, [ebp - 0x14]
call fcn.00401320
push 0x4c6d30
lea ecx, [ebp - 0x14]
call fcn.00401d00
mov byte [ebp - 4], 1
push 0x49fc04
lea ecx, [ebp - 0x14]
call fcn.00429120
lea ecx, [ebp - 0x1c]
call fcn.00401d80
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.00429140
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401c60
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret 4
Function at 0x421fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488be0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 8
lea ecx, [ebp - 0x1c]
call fcn.00401320
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x48c
call fcn.00401910
mov ecx, eax
call fcn.0040b4e0
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x14]
call fcn.00401320
lea ecx, [ebp - 0x1c]
call fcn.00401910
mov ecx, eax
call fcn.00411170
push eax
lea ecx, [ebp - 0x14]
call fcn.00401c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4220c2
mov ecx, dword [ebp - 0x20]
add ecx, 0x48c
call fcn.00401910
mov ecx, eax
call fcn.0040b4a0
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x48c
call fcn.00401910
mov ecx, eax
call fcn.0040b5e0
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00420520
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4220c2
mov ecx, dword [ebp - 0x24]
push ecx
push 1
lea ecx, [ebp - 0x14]
call fcn.004022c0
lea esi, [eax + eax + 2]
lea ecx, [ebp - 0x14]
call fcn.00429180
mov edx, esi
mov ecx, eax
call fcn.00455830
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040c400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret
Function at 0x425de0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489308
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0
mov eax, dword [0x4c6a34]
push eax
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x40c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::STabCtrl::SetCurSel_wchar_t_const___int_]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00425f70
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x48c
call fcn.00401910
mov ecx, eax
call fcn.004148e0
mov ecx, dword [ebp - 0x1c]
call fcn.00425590
push 4
lea ecx, [ebp - 0x14]
call fcn.00401320
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x48c
call fcn.00401910
mov ecx, eax
call fcn.0040aea0
push eax
lea ecx, [ebp - 0x14]
call fcn.00401c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401bf0
mov dword [ebp - 0x18], 0x4c6f7c
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00401930
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00401930
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00401990
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0042d130
add esp, 0x10
mov ecx, eax
call fcn.00401fc0
movzx eax, al
test eax, eax
je 0x425f3f
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425f3f
mov ecx, dword [ebp - 0x18]
call fcn.00402900
cmp eax, 0x14
jb 0x425f29
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00401990
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00428620
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.004286a0
jmp 0x425f35
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004286a0
mov ecx, 0x4c6d28
call fcn.00439da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret 4
Function at 0x449080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x190
call fcn.00437040
test eax, eax
je 0x449115
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x4490d4
mov dword [ebp - 8], 1
jmp 0x4490db
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x4490ea
mov dword [ebp - 0x10], 0x4a3744
jmp 0x4490f9
mov ecx, dword [ebp - 0xc]
add ecx, 0x7c
call dword [sym.imp.utilities.dll_public:_wchar_t_const____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__void_const]
mov dword [ebp - 0x10], eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
add eax, 0x10
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_HICON______thiscall_SOUI::SResProviderMgr::LoadCursorW_wchar_t_const___int_]
mov dword [ebp - 4], eax
jmp 0x449125
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4508a0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4508ff
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4508cc
mov eax, 1
jmp 0x45091d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4508fd
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x45091d
jmp 0x450918
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x450918
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x45091d
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x450980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 0xc
lea ecx, [ebp - 0x21c]
call fcn.00401320
push 0
lea ecx, [ebp - 0x21c]
call fcn.00450fc0
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00450eb0
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x450a0c
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x21c]
call fcn.00450fa0
mov eax, dword [ebp - 0x228]
jmp 0x450ac1
mov dword [ebp - 0x208], 0x100
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x450a90
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00450980
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x450a84
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x21c]
call fcn.00450fa0
mov eax, dword [ebp - 0x22c]
jmp 0x450ac1
mov dword [ebp - 0x208], 0x100
jmp 0x450a16
lea ecx, [ebp - 0x21c]
call fcn.00450f50
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x224]
call fcn.00450930
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x21c]
call fcn.00450fa0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret 4
Function at 0x450b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x450b33
xor ecx, ecx
jne 0x450b33
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x450b7a
mov eax, dword [ebp - 0x10]
jmp 0x450be0
cmp dword [ebp - 8], 1
je 0x450b8d
cmp dword [ebp - 8], 2
je 0x450b8d
mov eax, 0xd
jmp 0x450be0
cmp dword [ebp + 0xc], 0
je 0x450bd4
cmp dword [ebp - 0xc], 0
je 0x450bc3
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x450bba
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x450bc1
mov eax, 0xd
jmp 0x450be0
jmp 0x450bd4
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret 0xc

Function at 0x450d70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x450d79
xor ecx, ecx
jne 0x450d79
cmp dword [ebp + 0xc], 0
je 0x450d90
mov dword [ebp - 0xc], 1
jmp 0x450d97
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x450daa
mov eax, 0xd
jmp 0x450dff
xor eax, eax
jne 0x450d81
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 2], cx
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x450dbd
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x14]
sar edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x455650
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48df28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c2010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov ebx, ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45569c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x455688
lea edi, [eax + 1]
push edi
call fcn.0045960a
mov esi, eax
mov dword [ebp - 0x20], esi
push edi
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004720a0
add esp, 0x10
push esi
push dword [ebp - 0x14]
push 0
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x455716
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
push str.StringFileInfo080404b0FileVersion
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x455716
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
call fcn.00401c40
mov edi, 1
jmp 0x455718
xor edi, edi
test esi, esi
je 0x455727
push 1
push esi
call fcn.00458fee
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455830
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], ecx
push str.Preferred_DropEffect
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 4
push 0x2042
mov dword [ebp - 0x10], eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp + 8]
push dword [ebp - 4]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
movaps xmm0, xmmword [0x4ae160]
lea edi, [edi*2 + 0x1c]
push edi
push 0x2042
mov dword [ebp - 0x24], 0x14
movups xmmword [ebp - 0x20], xmm0
call ebx
mov ebx, eax
push ebx
call esi
mov esi, eax
mov edx, edi
lea eax, [ebp - 0x24]
mov ecx, esi
push 0x14
push eax
call fcn.00454c10
mov edx, dword [ebp - 8]
lea ecx, [esi + 0x14]
push edx
push dword [ebp - 0xc]
call fcn.00454c10
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x455906
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4558f3
push eax
push 8
call esi
push ebx
push 0xf
call esi
push dword [ebp - 4]
push dword [ebp - 0x10]
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4559f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
mov eax, 0x414
movq qword [ebp - 0x220], xmm0
or word [ebp - 0x220], ax
mov esi, edx
push ecx
lea eax, [ebp - 0x210]
mov word [ebp - 0x214], 0
push 0x105
push eax
movups xmmword [ebp - 0x230], xmm0
call fcn.0047377e
lea eax, [ebp - 0x210]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455a55
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
cmp eax, 0x20a
jae 0x455ad7
xor ecx, ecx
mov dword [ebp - 0x22c], 3
mov word [ebp + eax - 0x210], cx
mov edx, 0xffbf
mov dword [ebp - 0x224], ecx
lea eax, [ebp - 0x210]
mov cx, word [ebp - 0x220]
mov dword [ebp - 0x228], eax
mov ax, cx
and ax, dx
or cx, 0x40
test esi, esi
cmovne cx, ax
lea eax, [ebp - 0x230]
push eax
mov word [ebp - 0x220], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00458fdd
mov esp, ebp
pop ebp
ret
call fcn.00459b38
int3

Function at 0x455ba0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dfa0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c2010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401c80
push str._select_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00401c80
push 0x4adfa8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00429120
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00429140
push 0x4adfb0
lea ecx, [ebp - 0x14]
call fcn.00429120
lea ecx, [ebp - 0x10]
call fcn.00429180
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x10]
call fcn.00401d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x455c33
xor esi, esi
jmp 0x455c81
push 5
lea ecx, [ebp - 0x10]
call fcn.00401d70
push eax
lea ecx, [ebp - 0x14]
call fcn.00429180
push eax
push 0x4adfb4
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
lea ecx, [ebp - 0x10]
sbb esi, esi
neg esi
call fcn.00402b30
mov eax, dword [eax + 8]
push eax
push dword [ebp - 0x10]
call fcn.0042bea0
add esp, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.00402a80
lea ecx, [ebp - 0x14]
call fcn.00401c60
lea ecx, [ebp - 0x10]
call fcn.00401c60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret