joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447a50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4cc3b0]
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 0x447bb3
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 0x447b10
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 0x447b40
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x447b04
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 0x447aa0
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 0x447bfd
cmp eax, edx
ja 0x447bfd
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004a4b43
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.004a4b43
add esp, 0xb4
ret 8
Function at 0x44a0a0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
mov esi, ebp
push 1
mov edi, ecx
shl esi, 5
push 0
add esi, edi
call ebx
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x448060
push 0x10000
push 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov byte [esi + 4], 1
mov dword [esi + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x44a128
push str.CreateThread_failed
mov ecx, 0x4d76b4
call fcn.00429430
mov ecx, 0x4d76b4
call fcn.00428fc0
push 2
mov ecx, 0x4d76b4
call fcn.004296f0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esi], ebx
mov dword [esp + 0x1c], ebp
call fcn.00448130
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44bba0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, ecx
mov cl, byte [eax + 0xcc49]
mov byte [ebp + 0x14a5], cl
mov dl, byte [eax + 0xcc4a]
mov byte [ebp + 0x14a4], dl
mov ecx, dword [eax + 0xca94]
push esi
mov dword [ebp + 0x14a0], ecx
mov edx, dword [eax + 0x4c00]
push edi
add eax, 0xcaa0
push eax
lea ecx, [ebp + 0x63c8]
mov dword [ebp + 0x60a8], edx
call fcn.0041ab10
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x400000
jae 0x44bc53
mov edx, dword [ebp + 0x14a0]
cmp edx, ecx
jae 0x44bc24
mov esi, 0x400000
mov eax, edx
sub esi, ecx
lea esp, [esp]
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x44bc10
jmp 0x44bc53
sub edx, ecx
xor eax, eax
mov esi, edx
test ecx, ecx
jbe 0x44bc42
mov edi, edi
mov ecx, dword [ebp]
lea edx, [ecx + esi]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
inc eax
cmp eax, dword [ebp + 0x20]
jb 0x44bc30
mov dword [ebp + 0x14a0], 0
mov byte [ebp + 0x14a5], 1
mov esi, dword [ebp]
mov edi, dword [ebp + 0x20]
add edi, esi
cmp dword [esp + 0x18], 0
mov ecx, 0x44
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, dword [ebp + 0x14a0]
lea eax, [ebx + 1]
jne 0x44bcc9
mov esi, dword [ebp + 0x24]
and eax, esi
xor edx, edx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44bcf2
mov ecx, dword [ebp]
movzx ecx, byte [eax + ecx + 2]
shl edx, 5
xor ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 0x7fff
lea edi, [edx + ecx*4]
mov edx, dword [edi]
mov dword [edi], eax
mov eax, dword [ebp + 0x14a0]
and edx, esi
mov esi, dword [ebp + 0x14]
mov dword [esi + eax*4], edx
mov eax, dword [ebp + 0x14a0]
mov esi, dword [ebp + 0x24]
inc eax
and eax, esi
mov edx, ecx
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44bc84
jmp 0x44bcf2
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
je 0x44bcf2
push eax
mov ecx, ebp
call fcn.00448c30
mov eax, dword [ebp + 0x14a0]
inc eax
and eax, dword [ebp + 0x24]
mov dword [ebp + 0x14a0], eax
cmp eax, ebx
jne 0x44bcd6
mov esi, dword [esp + 0x14]
push 0x4bf0
add esi, 0x10
lea ecx, [ebp + 0x14b4]
push esi
push ecx
mov byte [ebp + 0x60a4], 0
call fcn.004a5420
add esp, 0xc
mov ecx, esi
call fcn.00473fa0
lea ecx, [ebp + 0xda8]
call fcn.0044e450
pop edi
xor eax, eax
pop esi
mov dword [ebp + 0x974], eax
mov dword [ebp + 0x978], eax
mov byte [ebp + 0x97c], 1
pop ebp
pop ebx
ret 8
Function at 0x44f4f0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
call fcn.0043ee90
cmp eax, 0x600
jb 0x44f513
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 + 0xb0], cl
mov eax, dword [esi + 0xc]
test eax, eax
je 0x44f596
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.004a5934
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.004a5785
add esp, 4
pop edi
pop ebx
pop esi
ret 4

Function at 0x4521e0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push 0x1a
push 0
mov byte [esi], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x452267
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x452267
cmp byte [esi], 0
je 0x452267
push esi
call fcn.004520e0
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x452227
mov ecx, dword [0x4bdc7c]
mov dword [eax], ecx
mov dx, word [0x4bdc80]
mov word [eax + 4], dx
mov cl, byte [0x4bdc82]
push 0
push esi
mov byte [eax + 6], cl
call fcn.00431780
test al, al
jne 0x452293
push 0
push 0
push 0
push esi
call fcn.004320b0
test eax, eax
je 0x452293
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.00451ba0
lea edx, [esi + 2]
cmp eax, edx
jb 0x452290
cmp byte [esi + 1], 0x3a
jne 0x45228f
add esi, 4
cmp eax, esi
jb 0x452290
dec eax
mov byte [eax], 0
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 0x4522b0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov esi, dword [esp + 0x10]
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 0x45234d
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x45234d
cmp word [esi], 0
je 0x45234d
push esi
call fcn.004516c0
mov eax, esi
add eax, 0xfffffffe
jmp 0x452300
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x452300
mov ecx, dword [0x4bc770]
mov dword [eax], ecx
mov edx, dword [0x4bc774]
mov dword [eax + 4], edx
mov ecx, dword [0x4bc778]
mov dword [eax + 8], ecx
mov dx, word [0x4bc77c]
push esi
push 0
mov word [eax + 0xc], dx
call fcn.00431780
test al, al
jne 0x45237e
push 0
push 0
push esi
push 0
call fcn.004320b0
test eax, eax
je 0x45237e
push 0x400
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00451c20
lea ecx, [esi + 4]
cmp eax, ecx
jb 0x452379
cmp word [esi + 2], 0x3a
jne 0x452376
add esi, 8
cmp eax, esi
jb 0x452379
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 0x4523a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x4bdc8c
push 0x80000001
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4523f7
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x20]
push 0x4bdc84
push eax
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esi], 0
je 0x452408
push 0
push esi
call fcn.00431780
test al, al
jne 0x45240e
push esi
call fcn.004521e0
pop esi
add esp, 8
ret 4

Function at 0x452420
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
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]
test eax, eax
jne 0x452479
mov ecx, dword [esp + 0x10]
lea edx, [esp + 4]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.AppData
push ecx
mov dword [esp + 0x1c], 0x400
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 0x45248b
push esi
push 0
call fcn.00431780
test al, al
jne 0x452491
push esi
call fcn.004522b0
pop esi
add esp, 8
ret 4
Function at 0x456560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4cc3b0]
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.00437780
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc0]
push edx
push eax
push esi
call fcn.004377a0
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.00437820
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 0x45675b
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 0x456720
mov dword [esp + 0x14], ecx
jmp 0x456680
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x220]
push edx
call fcn.00437820
lea eax, [esp + 0x20]
push eax
push 0x14
lea ecx, [esp + 0x220]
push ecx
call fcn.004378c0
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 0x4566b0
sub dword [esp + 0x14], 1
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x456680
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [ebp + 0x20]
jae 0x456740
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 0x456726
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 0x456605
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a4b43
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x45aeb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x4cc3b0]
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 0x45afab
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 0x45afab
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 0x45af88
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x1b8]
push 0x4bde00
push eax
mov edx, 0x200
call fcn.0049c820
add esp, 0x10
lea ecx, [esp + 0x1b0]
push ecx
push ebp
call fcn.0045aeb0
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 0x45af30
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x45af99
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x45afab
inc dword [0x501604]
mov ecx, dword [esp + 0x5a8]
pop edi
pop ebp
xor ecx, esp
call fcn.004a4b43
add esp, 0x5a4
ret 8

Function at 0x45afd0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x40c]
cmp esi, 0x80000001
jne 0x45b03e
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x45b02e
test cx, cx
mov ecx, 0x4ba854
jne 0x45b013
mov ecx, 0x4bad38
push eax
push ecx
lea eax, [esp + 0xc]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.0049c820
add esp, 0x10
jmp 0x45b04e
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0xc]
push ecx
jmp 0x45b049
push 0x200
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0046ac10
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.004a4b43
add esp, 0x404
ret 8
Function at 0x45b080
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x410]
push esi
mov esi, dword [esp + 0x410]
push edi
mov edi, dword [esp + 0x41c]
cmp esi, 0x80000001
jne 0x45b0f6
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x45b0e6
test cx, cx
mov ecx, 0x4ba854
jne 0x45b0cb
mov ecx, 0x4bad38
push eax
push ecx
lea eax, [esp + 0x14]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.0049c820
add esp, 0x10
jmp 0x45b106
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0x14]
push ecx
jmp 0x45b101
push 0x200
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0046ac10
lea eax, [esp + 8]
push eax
push 0x20006
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b13d
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
test eax, eax
je 0x45b13d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
call fcn.004a4b43
add esp, 0x408
ret 0xc

Function at 0x45b400
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push eax
lea edi, [esp + 0x14]
call fcn.0045b270
mov edi, eax
test edi, edi
je 0x45b458
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b423
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 0x10

Function at 0x45b510
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push eax
call fcn.0045b340
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x45b564
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x45b564
cmp dword [esp + 0x10], 0
jne 0x45b56d
mov eax, dword [esp + 0x18]
pop esi
pop ecx
ret 0x10
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 0x10
Function at 0x45b580
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push eax
call fcn.0045b340
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x45b5d3
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x45b5d3
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45b5fb
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x45b5ee
push eax
push ebx
call fcn.004a5420
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.004a53a0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x45b9b0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push esi
push edi
push ecx
lea edi, [esp + 0x10]
mov esi, 0x80000001
mov dword [esp + 0x18], eax
call fcn.0045b270
mov esi, eax
test esi, esi
je 0x45b9fa
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0xc
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0xc

Function at 0x45ba10
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
lea edi, [esp + 0x10]
mov esi, 0x80000001
call fcn.0045b270
mov esi, eax
test esi, esi
je 0x45ba55
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0x10

Function at 0x45bae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov esi, 0x80000001
call fcn.0045b340
mov edi, eax
test edi, edi
jne 0x45bafc
pop edi
pop esi
ret 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x45e590
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x8c04
call fcn.004a5370
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x8c00], eax
mov ecx, dword [esp + 0x8c0c]
lea eax, [esp + 0x8c10]
push eax
push ecx
lea edx, [esp + 8]
push 0x1400
push edx
call fcn.004a835c
xor eax, eax
mov word [esp + 0x280e], ax
mov eax, dword [esp + 0x8c18]
add esp, 0x10
sub eax, 0
je 0x45e649
sub eax, 1
je 0x45e627
sub eax, 1
jne 0x45e68d
push 0x1400
lea ecx, [esp + 0x2804]
push ecx
lea edx, [esp + 8]
push edx
call fcn.00451b30
lea eax, [esp + 0x2800]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e610
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x280c]
push eax
jmp 0x45e685
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e630
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x45e684
push 0x5000
lea edx, [esp + 0x3c04]
push edx
lea eax, [esp + 8]
push eax
call fcn.00473300
lea eax, [esp + 0x3c00]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e670
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x3c0c]
push ecx
call fcn.004a6e34
add esp, 0x10
mov ecx, dword [esp + 0x8c00]
xor ecx, esp
call fcn.004a4b43
add esp, 0x8c04
ret

Function at 0x45e6b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x834
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x830], eax
cmp byte [0x4e9b89], 0
je 0x45e6fc
lea eax, [esp]
push eax
call fcn.0048a080
test al, al
je 0x45e742
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x45e742
lea edx, [esp]
jmp 0x45e72e
lea eax, [esp]
push eax
mov ecx, 0x4f04a8
call fcn.00440800
test al, al
je 0x45e742
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x45e742
lea edx, [esp]
push edx
push 0x557
call fcn.00461310
push eax
call fcn.004934b0
add esp, 8
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.004a4b43
add esp, 0x834
ret