joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f6f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x70
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
push 1
push str.ColorAttr
push str.FileList
mov esi, ecx
call fcn.0046cee0
test eax, eax
setne al
lea ecx, [esp + 8]
mov byte [esi + 0x2120], al
mov edx, dword [0x535cac]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x51ff08]
mov ecx, dword [0x535cac]
push 0
push eax
push 0xb
push ecx
push 0
push 0
push 0
push 0
push 0x44a00249
push 0x4d89fc
push 0x4d9030
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push str.Detailed
push str.FileList
mov dword [esi], eax
call fcn.0046cee0
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
push eax
mov ecx, esi
call fcn.0044dc60
push 1
push str.FullRow
push str.FileList
mov edi, 0x400
call fcn.0046cee0
test eax, eax
je 0x44f7a7
mov edi, 0x420
push 0
push str.ShowGrid
push str.FileList
call fcn.0046cee0
test eax, eax
je 0x44f7bf
or edi, 1
push 0
push str.SingleClick
push str.FileList
call fcn.0046cee0
test eax, eax
je 0x44f800
push 0
push str.Underline
push str.FileList
or edi, 0x48
call fcn.0046cee0
cmp eax, 1
jne 0x44f7f5
or edi, 0x800
jmp 0x44f800
cmp eax, 2
jne 0x44f800
or edi, 0x1000
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1036
push edx
call edi
push 0
push 2
push 0x21
push 0xd
push 0xd
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044d2f0
push 0x5c
push 0
lea eax, [esp + 0x20]
push eax
push str.Font
push str.FileList
call fcn.0046cf00
cmp word [esp + 0x34], 0
je 0x44f8d5
movzx edx, byte [esp + 0x33]
movzx eax, byte [esp + 0x32]
lea ecx, [esp + 0x34]
push ecx
movzx ecx, byte [esp + 0x35]
push edx
movzx edx, byte [esp + 0x38]
push eax
movzx eax, byte [esp + 0x3b]
push ecx
movzx ecx, byte [esp + 0x3e]
push edx
movzx edx, byte [esp + 0x41]
push eax
movzx eax, byte [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
test eax, eax
je 0x44f8b3
push 1
push eax
mov eax, dword [esi]
push 0x30
push eax
call edi
push 0
push str.FontColor
push str.FileList
call fcn.0046cee0
test eax, eax
je 0x44f8d5
mov ecx, dword [esi]
push eax
push 0
push 0x1024
push ecx
call edi
mov ecx, esi
call fcn.0044d3f0
mov ecx, esi
call fcn.0044daf0
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x534b74], 1
je 0x44f900
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
call fcn.0044dcf0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x70
ret
Function at 0x453800
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
je 0x453918
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453810
sub eax, edx
sar eax, 1
mov ebx, eax
je 0x453918
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x453837
pop ebx
ret 4
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ebp, [ebx + ebx + 2]
push ebp
push 0x2002
call edi
mov esi, eax
test esi, esi
je 0x453882
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x453882
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 1]
push ecx
push eax
push edx
call fcn.00487240
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call edi
mov edi, eax
test edi, edi
je 0x4538c2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4538c2
mov eax, dword [esp + 0x14]
inc ebx
push ebx
push esi
push eax
call fcn.00487240
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45390f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45390f
mov ecx, dword [esp + 0x14]
mov edx, eax
sub edx, ecx
jmp 0x4538f0
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4538f0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x456640
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xd4]
push 0x4000
push 0
push eax
call fcn.004c2670
add esp, 0xc
cmp byte [esp + 8], 0
je 0x456731
cmp byte [esi + 0x6135], 0
jne 0x456731
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi + 0x6130]
shr ecx, 2
cmp eax, ecx
ja 0x456731
xor edx, edx
test eax, eax
jbe 0x456773
push ebx
push edi
jmp 0x4566a0
mov eax, dword [esi + 0xd0]
movzx edi, byte [eax + edx + 1]
lea ecx, [eax + edx]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 2]
imul eax, eax, 0x2773
xor eax, edi
mov edi, dword [esi + 0xd8]
imul eax, eax, 0x2773
xor eax, ecx
mov ecx, eax
imul eax, eax, 0x2773
and ecx, 0x3ffff
xor ebx, ebx
mov word [edi + ecx*2], bx
mov ecx, dword [esi + 0xd0]
movzx ecx, byte [ecx + edx + 3]
mov edi, dword [esi + 0xdc]
xor ecx, eax
mov eax, ecx
imul ecx, ecx, 0x2773
and eax, 0x3ffff
mov dword [edi + eax*4], ebx
mov eax, dword [esi + 0xd0]
movzx eax, byte [eax + edx + 4]
xor eax, ecx
and eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe0]
inc edx
mov dword [ecx + eax*4], ebx
cmp edx, dword [esi + 0x6130]
jb 0x4566a0
pop edi
pop ebx
pop esi
ret 4
mov edx, dword [esi + 0xd8]
push 0x80000
push 0
push edx
call fcn.004c2670
mov eax, dword [esi + 0xdc]
push 0x100000
push 0
push eax
call fcn.004c2670
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xe0]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edx
call fcn.004c2670
add esp, 0x24
pop esi
ret 4
Function at 0x458e10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
xor edx, edx
push esi
add ebx, 0xffffff88
push edi
add eax, 2
lea edi, [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov edi, edi
cmp edx, ebx
jge 0x458f73
lea eax, [esp + 0x48]
sub eax, 2
lea ecx, [eax + 3]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
sub ecx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x3c], ecx
mov ecx, eax
neg ecx
lea esi, [esp + ecx + 0x48]
mov dword [esp + 0x44], esi
lea esi, [esp + ecx + 0x49]
mov dword [esp + 0x30], esi
lea esi, [esp + 0x48]
sub esi, eax
lea eax, [esp + ecx + 0x4a]
mov ecx, dword [esp + 0x14]
sub ebx, edx
mov dword [esp + 0x40], eax
dec ebx
mov eax, 0x88888889
mul ebx
dec esi
mov ebp, edx
shr ebp, 0xa
mov dword [esp + 0x2c], esi
mov esi, dword [edi]
mov dword [esp + 0x10], ecx
inc ebp
mov eax, dword [esp + 0x10]
xor edi, edi
lea ebx, [ebx]
movzx edx, byte [eax - 2]
mov cl, byte [eax - 1]
sub dl, cl
mov byte [esp + edi + 0x48], dl
movzx edx, byte [eax]
sub dl, cl
mov byte [esp + edi + 0x49], cl
mov byte [esp + edi + 0x4a], dl
add edi, 3
add eax, 3
cmp edi, 0x78
jl 0x458ed0
mov ecx, dword [esp + 0x34]
mov edi, 0x27
mov edi, edi
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
sub dl, byte [eax + ecx]
add ecx, 3
movsx eax, dl
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x44]
mov al, byte [edx + ecx - 3]
mov edx, dword [esp + 0x3c]
sub al, byte [edx + ecx - 3]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + ecx - 3]
sub dl, byte [ecx - 3]
movsx eax, dl
cdq
xor eax, edx
sub eax, edx
add eax, esi
sub edi, 1
lea esi, [eax + ebx]
jne 0x458f00
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x458ec4
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [edi], esi
inc dword [esp + 0x14]
inc edx
add edi, 4
cmp edx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
jle 0x458e60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
cmp eax, ecx
ja 0x458fbd
cmp eax, edx
ja 0x458fbd
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004c1c22
add esp, 0xb4
ret 8
cmp edx, ecx
mov ecx, dword [esp + 0xb0]
sbb eax, eax
neg eax
xor ecx, esp
inc eax
call fcn.004c1c22
add esp, 0xb4
ret 8
Function at 0x45e3b0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.0044ba30
cmp eax, 0x600
jb 0x45e3d3
movzx ecx, byte [esp + 8]
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
push esi
call edx
pop esi
ret 4
mov eax, dword [esi + 8]
mov cl, byte [esp + 8]
mov byte [eax + 0x64], cl
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45e453
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c1c17
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0xc]
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0xc]
push 1
push 8
push 0x102
push edx
call edi
mov eax, dword [esi + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.004c26ea
add esp, 4
pop edi
pop ebx
pop esi
ret 4
Function at 0x45e680
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x268
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push 0x80
push 0x4d89fc
lea eax, [esp + 0x178]
push eax
mov esi, ecx
mov ecx, dword [0x4eacc4]
push 0x4dbf14
push ecx
call fcn.0046ceb0
cmp word [esp + 0x170], 0
push 0x100
lea edx, [esp + 0x174]
push edx
setne bl
call fcn.00479130
push ebp
lea eax, [esp + 0x10]
mov edx, 0x32
test bl, bl
je 0x45e72a
push 0x4dbf0c
push eax
call fcn.00407810
mov edx, dword [0x4eacc4]
add esp, 0xc
push 0x80
push 0x4d89fc
push esi
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0046ceb0
cmp word [esi], 0
jne 0x45e7a9
xor al, al
jmp 0x45e870
push str.PE_d
push eax
call fcn.00407810
push 0x100
lea ecx, [esp + 0x80]
push 0
push ecx
call fcn.004c2670
mov ecx, dword [0x4eacc4]
add esp, 0x18
push 0x100
push 0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0046cf00
test eax, eax
je 0x45e723
xor ecx, ecx
test eax, eax
jle 0x45e781
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x70], dl
inc ecx
cmp ecx, eax
jl 0x45e773
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.00487300
push 0x100
lea edx, [esp + 0x74]
xor ecx, ecx
push edx
mov word [esi + 0xfe], cx
call fcn.00479130
push edi
push ebp
lea eax, [esp + 0x14]
push 0x4dbef8
push eax
mov edx, 0x32
call fcn.00407810
mov edx, dword [0x4eacc4]
add esp, 0xc
push 0xc8
push 0x4d89fc
lea edi, [esi + 0x100]
push edi
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0046ceb0
push ebp
lea eax, [esp + 0x14]
push 0x4dbef0
push eax
mov edx, 0x32
call fcn.00407810
mov eax, dword [0x4eacc4]
add esp, 0xc
push 0x800
push 0x4d89fc
lea ecx, [esi + 0x290]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0046ceb0
push ebp
lea ecx, [esp + 0x14]
push 0x4dbee8
push ecx
mov edx, 0x32
call fcn.00407810
mov eax, dword [0x4eacc4]
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0046cee0
test eax, eax
setne cl
cmp word [edi], 0
mov byte [esi + 0x1420], cl
push 0xc8
je 0x45e860
push edi
jmp 0x45e861
push esi
add esi, 0x1290
push esi
call fcn.0047fbe0
mov al, 1
pop edi
mov ecx, dword [esp + 0x270]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x268
ret 4
Function at 0x460f80
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea edx, [esp + 4]
push edx
xor ecx, ecx
push 0x1a
push ecx
mov word [esi], cx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x460ff4
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x460ff4
cmp word [esi], 0
je 0x460ff4
push edi
push esi
call fcn.004607d0
push edi
push 0x4dabec
push esi
call fcn.0047fc20
push esi
call fcn.0043d340
test al, al
jne 0x461021
cmp byte [esp + 0x10], al
je 0x460ff0
push 0
push 0
push esi
call fcn.0043d970
test eax, eax
sete al
test al, al
jne 0x461021
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00460c50
lea ecx, [esi + 4]
cmp eax, ecx
jb 0x46101c
cmp word [esi + 2], 0x3a
jne 0x461019
add esi, 8
cmp eax, esi
jb 0x46101c
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop esi
add esp, 8
ret 4

Function at 0x461040
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x10]
push ecx
push 1
xor eax, eax
push eax
push str.SoftwareWinRARPaths
push 0x80000001
mov word [esi], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x461098
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.AppData
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x4610a8
push esi
call fcn.0043d340
test al, al
jne 0x4610b4
mov eax, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.00460f80
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x461ef0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
movzx eax, word [edi]
test ax, ax
jne 0x461f27
xor al, al
jmp 0x462125
push eax
call fcn.0047f880
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461f32
push ebx
sub eax, edx
sar eax, 1
push edi
mov ebx, eax
call fcn.00461570
test al, al
je 0x46201c
movzx eax, word [edi]
push eax
call fcn.0047f880
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x461fab
cmp word [edi + 2], 0x3a
jne 0x461fab
add ebx, 4
cmp dword [esp + 0x101c], ebx
jbe 0x462122
push 4
push 0x4dc150
push esi
call fcn.004c3e44
add esp, 0xc
sub esi, edi
mov eax, edi
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461f95
mov al, 1
jmp 0x462124
cmp word [edi], 0x5c
jne 0x462122
add edi, 2
cmp word [edi], 0x5c
jne 0x462122
add ebx, 6
cmp dword [esp + 0x101c], ebx
jbe 0x462122
push 4
push 0x4dc150
push esi
call fcn.004c3e44
mov eax, 0x4dc148
mov ecx, esi
add esp, 0xc
sub ecx, eax
lea edx, [ecx + 8]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461ff0
sub esi, edi
mov eax, edi
lea edx, [esi + 0xe]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x462006
mov al, 1
jmp 0x462124
lea edx, [esp + 0xc]
push edx
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x462122
cmp eax, 0x7ff
ja 0x462122
movzx eax, word [edi]
push eax
call fcn.004607a0
test al, al
je 0x462099
add ebx, 6
cmp dword [esp + 0x101c], ebx
jbe 0x462122
push 4
push 0x4dc150
push esi
call fcn.004c3e44
push 2
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 8]
push edx
call fcn.004c3e44
add esp, 0x18
sub esi, edi
mov eax, edi
lea edx, [esi + 0xc]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x462083
mov al, 1
jmp 0x462124
push 0x800
lea eax, [esp + 0x10]
push eax
call fcn.004607d0
lea eax, [esp + 0xc]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4620b0
sub eax, edx
sar eax, 1
lea ecx, [eax + ebx + 4]
mov ebx, dword [esp + 0x101c]
cmp ebx, ecx
jbe 0x462122
push 4
push 0x4dc150
push esi
call fcn.004c3e44
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
add esp, 0xc
add edx, 8
jmp 0x4620f0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4620f0
cmp word [edi], 0x2e
jne 0x462116
movzx edx, word [edi + 2]
push edx
call fcn.004607a0
test al, al
je 0x462116
add edi, 4
push ebx
push edi
push esi
call fcn.0047fc20
mov al, 1
jmp 0x462124
xor al, al
pop ebx
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 0xc
Function at 0x465be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0x20], eax
call fcn.00444640
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc0]
push edx
push eax
push esi
call fcn.00444660
mov edx, dword [ebp + 0x14]
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x160]
push ecx
push edx
push ebx
call fcn.004446e0
mov eax, dword [ebp + 0x20]
lea ecx, [eax - 1]
mov eax, 0xcccccccd
mul ecx
shr edx, 4
add edx, 1
mov dword [esp + 0x18], edx
je 0x465ddb
lea edx, [esp + 0x204]
mov dword [esp + 0x10], 0
mov ebx, 1
mov dword [esp + 0xc], edx
xor eax, eax
mov ecx, 0x28
lea esi, [esp + 0x160]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x219], cl
mov ecx, dword [ebp + 0x18]
mov edx, ebx
shr edx, 8
mov byte [esp + 0x218], al
mov byte [esp + 0x21a], dl
mov byte [esp + 0x21b], bl
mov eax, 4
test ecx, ecx
jbe 0x465da0
mov dword [esp + 0x14], ecx
jmp 0x465d00
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x220]
push edx
call fcn.004446e0
lea eax, [esp + 0x20]
push eax
push 0x14
lea ecx, [esp + 0x220]
push ecx
call fcn.00444780
xor eax, eax
lea esp, [esp]
movzx edx, byte [esp + eax + 0x218]
xor byte [esp + eax + 0x204], dl
movzx ecx, byte [esp + eax + 0x219]
movzx edx, byte [esp + eax + 0x21a]
xor byte [esp + eax + 0x205], cl
xor byte [esp + eax + 0x206], dl
movzx ecx, byte [esp + eax + 0x21b]
movzx edx, byte [esp + eax + 0x21c]
xor byte [esp + eax + 0x207], cl
xor byte [esp + eax + 0x208], dl
add eax, 5
cmp eax, 0x14
jb 0x465d30
sub dword [esp + 0x14], 1
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x465d00
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [ebp + 0x20]
jae 0x465dc0
mov edx, dword [esp + 0xc]
mov dl, byte [edx + eax]
mov esi, dword [esp + 0x1c]
mov byte [eax + esi], dl
inc ecx
inc eax
cmp ecx, 0x14
jb 0x465da6
mov eax, 0x14
add dword [esp + 0x10], eax
sub dword [esp + 0xc], eax
inc ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x18]
jb 0x465c85
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x466f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, ebp
cmp ebp, 0x8000
jb 0x466f95
mov eax, 0x8000
mov edi, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.004c2da0
mov eax, 1
add esp, 0xc
xor bl, bl
cmp ebp, eax
jbe 0x466fbb
xor bl, byte [eax + edi]
inc eax
cmp eax, ebp
jb 0x466fb3
push 8
mov ecx, esi
call fcn.00442670
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
cmp bl, byte [edi]
pop ebx
jne 0x466ffc
push ebp
push edi
push 0xffffffffffffffff
call fcn.00428520
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x4ead04], eax
jne 0x466ff3
cmp dword [ecx + 0x4ead00], ebp
je 0x46706b
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x466fe3
push 1
mov ecx, esi
call fcn.00466ee0
mov eax, dword [esi + 0x14]
lea ecx, [eax + 1]
mov dword [esi + 0x14], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + edx*8]
lea ecx, [eax + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, 3
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
lea edx, [eax + 0x1c]
xor ecx, ecx
mov dword [eax], 0x16
mov dword [eax + 0x24], edx
cmp dword [esi + 0x14], ecx
jle 0x467065
xor edx, edx
lea esp, [esp]
mov eax, dword [esi]
add eax, edx
cmp dword [eax + 0x14], 0
jne 0x467050
lea edi, [eax + 0xc]
mov dword [eax + 0x14], edi
cmp dword [eax + 0x24], 0
jne 0x46705c
lea edi, [eax + 0x1c]
mov dword [eax + 0x24], edi
inc ecx
add edx, 0x28
cmp ecx, dword [esi + 0x14]
jl 0x467040
pop edi
pop esi
pop ebp
ret 0xc
lea ecx, [edx + edx*2]
mov edi, dword [ecx*4 + 0x4ead08]
test edi, edi
je 0x466ffc
push 1
mov ecx, esi
call fcn.00466ee0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 1]
mov dword [esi + 0x14], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
lea ecx, [eax + 0xc]
mov dword [ecx], edi
pop edi
mov dword [eax + 0x14], ecx
mov ecx, 3
lea edx, [eax + 0x1c]
pop esi
mov dword [eax], 0x28
mov dword [eax + 0x24], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
pop ebp
ret 0xc
Function at 0x46c2e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebp
mov ebp, dword [esp + 0x5ac]
push edi
mov edi, dword [esp + 0x5b4]
cmp word [edi], 0
je 0x46c3db
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c3db
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
jne 0x46c3b8
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x1b8]
push 0x4dc230
push eax
mov edx, 0x200
call fcn.00407810
add esp, 0x10
lea ecx, [esp + 0x1b0]
push ecx
push ebp
call fcn.0046c2e0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
je 0x46c360
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x46c3c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x46c3db
inc dword [0x56140c]
mov ecx, dword [esp + 0x5a8]
pop edi
pop ebp
xor ecx, esp
call fcn.004c1c22
add esp, 0x5a4
ret 8

Function at 0x46c400
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x40c]
cmp esi, 0x80000001
jne 0x46c46e
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x46c45e
test cx, cx
mov ecx, 0x4d88e8
jne 0x46c443
mov ecx, 0x4d89fc
push eax
push ecx
lea eax, [esp + 0xc]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.00407810
add esp, 0x10
jmp 0x46c47e
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0xc]
push ecx
jmp 0x46c479
push 0x200
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0047fbe0
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x404
ret 8