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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x401650
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xd0], ebx
xor eax, eax
push 0x206
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push ebx
push eax
call fcn.0058c120
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x2e
pop eax
push 0x64
mov word [ebp - 0x16], ax
pop eax
push 0x6c
pop ecx
mov word [ebp - 0x14], ax
mov word [ebp - 0x1a], ax
mov word [ebp - 0x1c], ax
xor eax, eax
push 0x72
mov word [ebp - 0xe], ax
pop eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x224]
push eax
mov word [ebp - 0x12], cx
mov word [ebp - 0x10], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401730
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xd0], eax
test eax, eax
je 0x401730
lea ecx, [ebp - 0xc]
push ecx
push eax
mov word [ebp - 9], 0x75
mov word [ebp - 0xc], 0x6153
mov byte [ebp - 0xa], 0x74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xd4], eax
test eax, eax
je 0x401730
push ebx
push dword [esi + 0xd0]
push eax
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0xd8], eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret

Function at 0x4023ef
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.004021c1
mov esi, eax
test esi, esi
je 0x40245f
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 0x18], 0x6d6d6f43
mov word [ebp - 0xb], 0x4573
mov dword [ebp - 0x1c], 0x74696e49
mov dword [ebp - 0x13], 0x6e6f436e
mov word [ebp - 0xe], 0x6f72
mov byte [ebp - 0xc], 0x6c
mov word [ebp - 9], 0x78
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0x74
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402458
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret
Function at 0x402470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
xor ebx, ebx
call fcn.0040223b
mov esi, eax
test esi, esi
je 0x402510
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x13], 0x616c5064
mov word [ebp - 0x20], 0x7669
mov dword [ebp - 0x19], 0x67756c50
mov dword [ebp - 0xb], 0x73656369
mov dword [ebp - 0x28], 0x61647055
mov dword [ebp - 0x24], 0x72446574
mov dword [ebp - 0x1d], 0x726f4672
mov word [ebp - 0x15], 0x6e41
mov word [ebp - 7], 0x57
mov word [ebp - 0xe], 0x6544
mov byte [ebp - 0xf], 0x79
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0x1e], 0x65
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402509
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x2c]
push edi
push ebx
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret

Function at 0x402521
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.004022a4
mov esi, eax
test esi, esi
je 0x402588
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x10], 0x776f646e
mov word [ebp - 6], 0x78
mov dword [ebp - 0xb], 0x6b6f6f48
mov dword [ebp - 0x14], 0x69576b6f
mov byte [ebp - 7], 0x45
mov dword [ebp - 0x18], 0x6f686e55
mov byte [ebp - 0xc], 0x73
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402581
push edi
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret

Function at 0x402599
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
call fcn.004022a4
mov esi, eax
test esi, esi
je 0x4025fc
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0xd], 0x65676173
mov word [ebp - 0xf], 0x7365
mov dword [ebp - 0x14], 0x74736f50
mov word [ebp - 9], 0x57
mov byte [ebp - 0x10], 0x4d
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4025f5
push ebx
push ebx
push edi
push dword [ebp - 0x18]
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret
Function at 0x40260d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
mov dword [ebp - 0x14], 0x43746547
mov word [ebp - 8], 0x656e
mov word [ebp - 0xb], 0x4c64
mov word [ebp - 6], 0x57
mov dword [ebp - 0x10], 0x616d6d6f
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 9], 0x69
call fcn.00402313
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402660
call eax
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret

Function at 0x40266f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.0040238a
mov esi, eax
test esi, esi
je 0x4026c2
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0xa], 0x657a696c
mov dword [ebp - 0x14], 0x6e556f43
mov dword [ebp - 0xe], 0x61697469
mov word [ebp - 0x10], 0x6e69
mov byte [ebp - 6], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4026bb
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0058a242
leave
ret

Function at 0x4026cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
inc edi
call fcn.0040238a
mov esi, eax
test esi, esi
je 0x402724
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0xb], 0x657a69
mov dword [ebp - 0x10], 0x61697469
mov dword [ebp - 0x14], 0x6e496f43
mov byte [ebp - 0xc], 0x6c
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40271d
push 0
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0058a242
leave
ret

Function at 0x402734
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
inc edi
call fcn.0040238a
mov esi, eax
test esi, esi
je 0x4027ad
lea eax, [ebp - 0x18]
push eax
push esi
mov word [ebp - 0xa], 0x6563
mov word [ebp - 0xd], 0x6174
mov dword [ebp - 0x12], 0x6e496574
mov byte [ebp - 0xe], 0x73
mov dword [ebp - 0x16], 0x61657243
mov word [ebp - 0x18], 0x6f43
mov byte [ebp - 8], 0
mov byte [ebp - 0xb], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4027a6
push ebx
push 0x61318c
push 0x15
push 0
push 0x6138ec
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret
Function at 0x411ee1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebx + 0x78], edi
test edi, 0xffff0000
jne 0x411f03
cmp dword [ebx + 0x74], 0
jne 0x411f03
movzx eax, di
mov dword [ebx + 0x74], eax
call fcn.0041e23e
mov esi, dword [eax + 0xc]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041216e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x411f3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041e23e
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x411f74
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00411f93
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x416879
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x64ee68]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4168c5
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4168e2
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x64ee68], eax
jmp 0x4168ce
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4168e2
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41694f
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4168fd
xor eax, eax
jmp 0x41694f
lea eax, [ebp - 0x210]
push eax
call fcn.0058b673
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x41692e
push 0x5d5bf0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0058b607
add esp, 0xc
test eax, eax
jne 0x4168f9
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0058b607
add esp, 0xc
test eax, eax
jne 0x4168f9
lea eax, [ebp - 0x210]
push eax
call fcn.0041bfef
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058a242
leave
ret
Function at 0x4172f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x417337
call fcn.0041e23e
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x417337
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x417353
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00496d5e
mov ebx, eax
test edi, edi
je 0x417351
test esi, esi
je 0x417351
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41c8ca
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5cd3d3
call fcn.0058bc40
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x41c8f0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41c944
call fcn.004119e8
push eax
lea ecx, [ebp - 0x10]
call fcn.00401a9c
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0058d2e1
push eax
call fcn.00401b97
add esp, 0x14
test edi, edi
je 0x41c937
push edi
call fcn.0058b673
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401ce7
mov eax, esi
call fcn.0058bc0e
ret 8
Function at 0x423183
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x64be40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x64ef20]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x4231dc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4231f9
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x64ef20], eax
jmp 0x4231e5
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4231f9
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x423336
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.005bb750
lea eax, [ebp - 0x14]
push eax
call fcn.0058b673
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.0058d285
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.005bb750
lea eax, [ebp - 0x14]
push eax
call fcn.0058b673
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.0058d285
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.005bb750
lea eax, [ebp - 0x14]
push eax
call fcn.0058b673
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.0058d285
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.005bb750
lea eax, [ebp - 0x14]
push eax
call fcn.0058b673
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.0058d285
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.005bb750
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.0058b673
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.0058d285
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058a242
leave
ret
Function at 0x431f59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x431f71
call fcn.0041e23e
mov esi, dword [eax + 0xc]
push 0x5d7ab0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x431fc7
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x431fc6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x431fa7
xor esi, esi
jmp 0x431fbd
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00431fcd
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4938fe
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x5c13fe
call fcn.0058bc40
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401fa9
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x493960
call fcn.0041e28c
cmp eax, 1
jne 0x493960
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040d376
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402e5b
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00401ce7
inc esi
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
test ecx, ecx
je 0x493972
call fcn.00414ad3
jmp 0x493978
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00401ce7
mov eax, esi
call fcn.0058bc0e
ret 0xc

Function at 0x493ac3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5c13fe
call fcn.0058bc40
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401fa9
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x493b21
call fcn.0041e28c
cmp eax, 1
jne 0x493b21
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040d376
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402e5b
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401ce7
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401ce7
mov eax, esi
call fcn.0058bc0e
ret 0x10
Function at 0x493b48
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5c13fe
call fcn.0058bc40
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401fa9
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x493ba6
call fcn.0041e28c
cmp eax, 1
jne 0x493ba6
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040d376
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402e5b
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401ce7
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401ce7
mov eax, esi
call fcn.0058bc0e
ret 0x14

Function at 0x49a52c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x49a568
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49a576
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x49a576
push dword [esi]
push 2
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x49a578
cmp dword [esi + 4], edi
je 0x49a576
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x4a0404
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4a043a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a0448
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a0448
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4a044a
cmp dword [esi + 4], 0
je 0x4a0448
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4bf14a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x4bf164
mov edi, dword [esi + 0xc]
jmp 0x4bf1a4
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4bf17d
call fcn.004275f6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4bf192
call fcn.004275f6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4bf1a4
call fcn.004275f6
call fcn.0041e23e
cmp dword [eax + 0x3c], 0
je 0x4bf1b9
push edi
mov ecx, ebx
call fcn.004bea33
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004bf433
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4bf1dc
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x4bf1e5
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x51add7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.0041c45f
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x51ae13
call fcn.0051b533
mov dword [esi + 0xc], 1
jmp 0x51ae18
call fcn.0051b533
cmp dword [esi], 0
je 0x51ae61
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x51ae3b
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004111cb
jmp 0x51ae4c
push 0xff
mov ecx, esi
call fcn.00401e17
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004111ee
jmp 0x51ae85
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x51ae85
push dword [esi]
push dword [ebp - 4]
call fcn.004237cb
pop esi
leave
ret 0xc

Function at 0x51b3b5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0051b533
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x51b3fd
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004111cb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004111ee
jmp 0x51b408
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004237cb
pop edi
pop esi
pop ebp
ret 0xc