joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1104b200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x24], eax
push 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1104b2de
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1104b2de
cmp dword [ebp - 0x1c], 0x10
jne 0x1104b2aa
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
jne 0x1104b2aa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x20]
push edx
call sym.DuiLib.dll_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
add esp, 4
movzx eax, al
test eax, eax
jne 0x1104b2d1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x1104b2d9
jmp 0x1104b2de
jmp 0x1104b258
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
jne 0x1104b304
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x110557c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x110a4e1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.11067f50
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11067496
mov esp, ebp
pop ebp
ret
Function at 0x11056400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x11056421
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x11056439
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x11056451
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x11056467
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x1105647f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x110591a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax]
je 0x110591d3
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x54]
je 0x110591d3
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x54]
jne 0x110591e3
jmp 0x11059330
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x54], 0
je 0x11059260
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x54]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x54]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x108]
call eax
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x54]
push edx
mov ecx, dword [ebp - 0x48]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x54], 0
cmp dword [ebp + 8], 0
jne 0x1105926b
jmp 0x11059330
cmp dword [ebp + 8], 0
je 0x11059330
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 0x48]
jne 0x11059330
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc8]
call eax
movzx ecx, al
test ecx, ecx
je 0x11059330
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xd4]
call edx
movzx eax, al
test eax, eax
je 0x11059330
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x54], edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], 0x15
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x54]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x54]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x108]
call eax
push 0
push 0
push 0
push str.setfocus
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x54]
push edx
mov ecx, dword [ebp - 0x48]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov esp, ebp
pop ebp
ret 4
Function at 0x11067496
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x110a4e1c]
jne 0x110674a0
repz ret
jmp fcn.1106cb1c

Function at 0x11072681
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1106c497
and dword [ebp - 4], 0
cmp dword [0x110a714c], 0
mov ebx, eax
jne 0x11072732
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x110727e3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x110727e3
push eax
call fcn.1106c425
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x110a714c], eax
call esi
push eax
call fcn.1106c425
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x110a7150], eax
call esi
push eax
call fcn.1106c425
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x110a7154], eax
call esi
push eax
call fcn.1106c425
pop ecx
mov dword [0x110a715c], eax
test eax, eax
je 0x11072732
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1106c425
pop ecx
mov dword [0x110a7158], eax
mov eax, dword [0x110a7158]
cmp eax, ebx
je 0x1107278a
cmp dword [0x110a715c], ebx
je 0x1107278a
push eax
call fcn.1106c4a0
push dword [0x110a715c]
mov esi, eax
call fcn.1106c4a0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1107278a
test edi, edi
je 0x1107278a
call esi
test eax, eax
je 0x11072781
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x11072781
test byte [ebp - 0xc], 1
jne 0x1107278a
or dword [ebp + 0x10], 0x200000
jmp 0x110727c3
mov eax, dword [0x110a7150]
cmp eax, ebx
je 0x110727c3
push eax
call fcn.1106c4a0
pop ecx
test eax, eax
je 0x110727c3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x110727c3
mov eax, dword [0x110a7154]
cmp eax, ebx
je 0x110727c3
push eax
call fcn.1106c4a0
pop ecx
test eax, eax
je 0x110727c3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x110a714c]
call fcn.1106c4a0
pop ecx
test eax, eax
je 0x110727e3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x110727e5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x402c90
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
pop ebp
ret 4

Function at 0x4031c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x40321e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4031e0
mov eax, dword [edi]
jmp 0x403309
cmp eax, 0x4e0
jb 0x403309
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x403240
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x403290
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406b90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0046e35c

Function at 0x407c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x407c79
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407c8f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407c86
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x407cc2
nop
cmp esi, ecx
jae 0x407c86
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x407cb0
cmp esi, ecx
jae 0x407c86
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x410ec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b39a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4ef52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x4fef7c]
cmp eax, dword [edx + 8]
jle 0x410f5b
push 0x4fef7c
call fcn.004885d3
add esp, 4
cmp dword [0x4fef7c], 0xffffffff
jne 0x410f5b
mov dword [ebp - 4], 1
call fcn.0046d7a8
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x410fda
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
push 0x4b9bf0
mov dword [0x4fef80], eax
call fcn.004888e5
push 0x4fef7c
call fcn.00488589
add esp, 8
cmp byte [0x4effc3], 0
je 0x410fb2
push 0x4fef88
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x4fef88
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410f80
sub ecx, edx
sar ecx, 1
push ecx
push 0x4fef88
mov ecx, 0x4fef80
call fcn.00406160
push 0x5c
mov ecx, 0x4fef80
call fcn.00411580
mov byte [0x4effc3], 0
mov eax, dword [0x4fef80]
add eax, 0xfffffff0
push eax
call fcn.00403430
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403750
int3
Function at 0x4131e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x17
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4132e2
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4132e2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4132e2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4132db
push edi
push ebx
push eax
call fcn.0048b4f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4132db
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4132db
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x4132c1
lea eax, [ebp - 8]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
lea eax, [ebp - 0xc]
push 0xff000000
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x4132c1
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416710
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x4ef52c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x20]
push esi
push edi
push 0x208
mov esi, edx
mov edi, ecx
push 0
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
call fcn.0048ba70
add esp, 0xc
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
push 0
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x4168fa
lea eax, [esp + 0xc]
push eax
mov eax, esi
or eax, 0x20019
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4167aa
cmp eax, 2
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00488461
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
mov dword [esp + 0x14], edi
je 0x4167d4
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov dword [esp + 0x14], edi
mov word [edi], ax
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4168c2
xor eax, eax
mov ecx, 0x208
mov word [edi], ax
mov eax, ebx
cmp word [eax], 0
je 0x41681f
add eax, 2
sub ecx, 1
jne 0x416811
mov eax, 0x208
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x41687a
mov edx, 0x208
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x41686d
lea edi, [esp + 0x28]
mov eax, SysReAllocString
sub edi, ecx
nop dword [eax]
test eax, eax
je 0x416869
movzx esi, word [edi + ecx]
test si, si
je 0x416869
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x416850
mov edi, dword [esp + 0x14]
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x1c]
mov edx, esi
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00416710
add esp, 4
test al, al
je 0x4168c2
lea eax, [esp + 0x20]
mov dword [esp + 0x10], 0x104
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x416805
xor eax, eax
mov word [edi - 2], ax
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00488461
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x234]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00488461
mov esp, ebp
pop ebp
ret
Function at 0x416ca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3f0e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4ef52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 2
call fcn.0046d7a8
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x416d6d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push edi
mov dword [ebp - 0x14], 1
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x416d48
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x416d28
xor ecx, ecx
jmp 0x416d3f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416d30
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00406160
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x5c
mov ecx, esi
call fcn.00411580
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403750
int3
Function at 0x417be0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4062
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x4ef52c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x83c], 1
mov dword [ebp - 4], 1
call fcn.0046d7a8
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x417dc3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x820
lea eax, [ebp - 0x830]
mov dword [ebp - 4], 2
push 0
push eax
mov dword [ebp - 0x83c], 1
call fcn.0048ba70
add esp, 0xc
mov ecx, edi
push 8
push str.1.00.0.0
call fcn.00406160
push 0x410
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x417d22
lea eax, [ebp - 0x838]
mov dword [ebp - 0x838], 0
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x417d22
push ecx
push ebx
lea ecx, [ebp - 0x848]
call fcn.0042bfb0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x830]
mov esi, dword [ebp - 0x848]
push esi
push ebx
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x417d40
test esi, esi
je 0x417d22
mov ecx, dword [ebp - 0x840]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x417d18
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417dbe
push ecx
push esi
call fcn.0048846f
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488461
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x850]
mov dword [ebp - 0x834], 0
push eax
lea eax, [ebp - 0x834]
push eax
push 0x4dd1c0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x417cee
mov ecx, dword [ebp - 0x834]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._u._02u._u._u
push edi
call fcn.00408040
add esp, 0x18
test esi, esi
je 0x417d22
mov ecx, dword [ebp - 0x840]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x417d18
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417d18
call fcn.0048ed7f
push 0x80004005
call fcn.00403750
int3