joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434c60
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x21c], ecx
xor edi, edi
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
xor esi, esi
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
nop word [eax + eax]
push 0x206
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.00577700
mov ax, word [esi + 0x605524]
push 0x605540
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0057ea36
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x434d51
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x434d51
mov ecx, dword [ebp - 0x214]
cmp ecx, edi
jb 0x434d51
mov eax, dword [ebp - 0x218]
ja 0x434d33
cmp eax, ebx
jbe 0x434d51
mov ebx, eax
mov edi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
push dword [ebp - 0x21c]
call fcn.0057fb5c
add esp, 0xc
add esi, 2
cmp esi, 0x18
jb 0x434cb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x434d70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x617170
push 0x5781f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x434db1
sub edx, ecx
sar edx, 1
lea eax, [edx*2 + 2]
push eax
call fcn.0057e717
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x434f40
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434de2
sub ecx, edx
sar ecx, 1
lea edx, [ecx + 1]
test edx, edx
je 0x434e0a
cmp edx, 0x7fffffff
ja 0x434e0a
push ecx
push esi
push ecx
mov ecx, edi
call fcn.00434330
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp word [edi], 0x5c
jne 0x434e75
cmp word [edi + 2], 0x5c
jne 0x434e75
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop
movzx eax, word [esi]
test ax, ax
je 0x434e47
cmp eax, 0x5c
je 0x434e47
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x434e30
cmp word [esi], 0
je 0x434e53
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x434e67
cmp eax, 0x5c
je 0x434e67
push esi
call ebx
mov esi, eax
jmp 0x434e50
cmp word [esi], 0
je 0x434ea1
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x434ea1
cmp word [edi + 2], 0x3a
jne 0x434e9b
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x434e9b
cmp eax, 0x5c
jne 0x434e9b
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
movzx eax, word [esi]
test ax, ax
je 0x434ef2
cmp eax, 0x5c
jne 0x434ee8
xor eax, eax
mov word [esi], ax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434edc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x434ee0
push edi
jmp 0x434f38
test al, 0x10
je 0x434ed9
mov eax, 0x5c
mov word [esi], ax
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x434ea1
mov dword [ebp - 4], 0xfffffffe
push edi
call fcn.0057a627
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0057a627
add esp, 4
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434f60
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea eax, [ebp - 8]
push 0
push 5
push 2
push 1
push eax
push 0
mov word [ebp - 2], cx
mov dword [ebp - 8], 0
call esi
cmp eax, 0x7a
je 0x434f94
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 8]
call fcn.0043ad9e
mov edi, eax
add esp, 4
test edi, edi
je 0x434fc2
push 0
push 5
push 2
push 1
lea eax, [ebp - 8]
push eax
push edi
call esi
test eax, eax
je 0x434fca
push edi
call fcn.0043ada7
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
push ebx
cmp dword [edi], esi
jbe 0x434fec
lea ebx, [edi + 0xc]
movzx eax, word [ebx]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, word [ebp - 2]
je 0x434ffe
inc esi
add ebx, 0x18
cmp esi, dword [edi]
jb 0x434fd4
push edi
call fcn.0043ada7
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + esi*2]
mov esi, dword [edi + eax*8 + 0x18]
push edi
call fcn.0043ada7
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x414]
mov esi, ecx
push 0
push eax
call fcn.00577700
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00577700
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00577700
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push 0x63d39c
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005802bf
push 0x600448
push 0x104
push esi
call fcn.0057fb5c
add esp, 0x20
lea eax, [ebp - 0x620]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x435105
push esi
push dword [ebp - 0x620]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x6054e8
push 0x104
push esi
call fcn.0057ea36
lea eax, [ebp - 0x414]
push eax
push 0x104
push esi
call fcn.0057ea36
push 0x605548
push 0x104
push esi
call fcn.0057ea36
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x435150
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x5f2bd8
push 1
push 0
push 0x5f2ef8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x435222
mov eax, dword [ebp - 0x210]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5f2ea8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x435216
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0057fb5c
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
add esp, 0xc
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x436cd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x603acc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x436d3b
mov edx, dword [ebp + 8]
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436d07
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
push dword [ebp - 4]
test eax, eax
je 0x436d42
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436da0
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b77c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push fcn.00436da0
push 4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 2
push 0x605580
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x436f99
push esi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp - 0x30]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x436f99
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x436f99
mov edx, ebx
lea ecx, [ebp - 0x34]
call fcn.00437970
push ebx
mov byte [ebp - 4], 1
push esi
push dword [ebp - 0x34]
call fcn.00576ae0
mov ebx, dword [ebp - 0x34]
add esp, 0xc
add ebx, 0x8bfe
xor esi, esi
test dword [0x63d460], 0xfffffffc
mov dword [ebp - 0x3c], ebx
jbe 0x436ea0
nop word [eax + eax]
mov eax, 0x2040811
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x7f
sub ecx, eax
mov eax, dword [ecx*4 + 0x63d464]
sub dword [ebx + esi*4], eax
inc esi
mov eax, dword [0x63d460]
shr eax, 2
cmp esi, eax
jl 0x436e70
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edi], ax
jne 0x436ec6
xor ecx, ecx
jmp 0x436edf
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436ed0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00409a20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push dword [0x63d668]
mov edx, dword [0x63d460]
call fcn.00439b40
add esp, 4
mov byte [ebp - 4], 1
test al, al
mov eax, dword [ebp - 0x18]
sete bl
cmp eax, 8
jb 0x436f22
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409b20
test bl, bl
mov ebx, dword [ebp + 0xc]
je 0x436f68
mov esi, dword [ebp - 0x3c]
test bl, bl
jns 0x436f52
mov eax, dword [esi + 0x3c]
add eax, esi
push 0
push SysReAllocString
mov dword [ebp - 0x38], eax
call fcn.00405c70
mov ecx, eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x38]
add esp, 8
mov dword [eax + 0x58], ecx
push dword [0x63d460]
mov edx, 2
mov ecx, edi
push esi
call fcn.00439be0
add esp, 8
and ebx, 0x20
or ebx, 0x800
shr ebx, 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x436f8c
push eax
call fcn.0043ada7
add esp, 4
mov eax, 1
jmp 0x436f9b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x436fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b77f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62cfe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push fcn.00436fd0
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x63da74]
mov edx, dword [ecx]
mov dword [ecx], eax
cmp edx, dword [0x63da74]
jb 0x4370fd
push 2
push 0x60558c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4370fd
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4370fd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4370fd
push ebx
call fcn.0043ad9e
add esp, 4
mov ebx, eax
push dword [ebp + 0xc]
push esi
push ebx
call fcn.00577c30
mov ecx, dword [0x63da74]
lea edx, [ebx + 0x8bfe]
add esp, 0xc
xor esi, esi
test ecx, 0xfffffffc
jbe 0x4370e0
mov eax, 0x2040811
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
lea edx, [ebx + 0x8bfe]
shr eax, 6
imul eax, eax, 0x7f
sub ecx, eax
mov eax, dword [ecx*4 + 0x63d464]
sub dword [edx + esi*4], eax
inc esi
mov ecx, dword [0x63da74]
mov eax, ecx
shr eax, 2
cmp esi, eax
jl 0x4370a7
push ecx
push edx
push dword [ebp + 8]
call fcn.00577c30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call fcn.0043ada7
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
push fcn.00437120
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 2
push 0x6055d4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x437153
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp - 4]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x437177
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x43718c
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
call fcn.0057e717
push dword [ebp - 8]
mov esi, eax
push edi
push esi
call fcn.00577c30
add esi, 0x8bfe
mov ecx, 0x26b
mov edi, 0x63d0d8
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov eax, 0x2040811
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x7f
sub ecx, eax
mov eax, dword [ecx*4 + 0x63d0d8]
sub dword [esi*4 + 0x63d2d8], eax
inc esi
cmp esi, 0x1eb
jl 0x4371b7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437550
Capabilities:
Check if file exists
Delete file
Delete registry value
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62cfe8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00577700
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x603acc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43769d
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x603abc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4375ec
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
push dword [ebp - 0x210]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop word [eax + eax]
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43764c
push 0x64
call edi
inc esi
cmp esi, 0x1e
jl 0x437610
jmp 0x437662
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x1005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0x210]
push eax
push 2
push 0
push 0x603acc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43769a
push 0x603abc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x210]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x4376b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa50
mov eax, dword [0x62cfe8]
xor eax, esp
mov dword [esp + 0xa4c], eax
push esi
push edi
push 0x208
lea eax, [esp + 0x2c]
mov esi, ecx
push 0
push eax
call fcn.00577700
add esp, 0xc
lea eax, [esp + 0x230]
push 0x208
push 0
push eax
call fcn.00577700
add esp, 0xc
lea eax, [esp + 0x438]
push 0x208
push 0
push eax
call fcn.00577700
add esp, 0xc
lea eax, [esp + 0x640]
push 0x208
push 0
push eax
call fcn.00577700
add esp, 0xc
lea eax, [esp + 0x848]
push 0x208
push 0
push eax
call fcn.00577700
add esp, 0xc
cmp word [0x63da78], 3
jne 0x4377ce
push 0x104
lea eax, [esp + 0x234]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
lea eax, [esp + 0x648]
push eax
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x240]
push eax
call fcn.005802bf
add esp, 0x14
lea eax, [esp + 0x438]
push eax
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0057fb5c
add esp, 0xc
lea eax, [esp + 0x640]
push eax
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0057ea36
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x104
push esi
call fcn.0057fb5c
jmp 0x43793f
cmp dword [0x63cf28], 0
je 0x4377fd
lea ecx, [esp + 0x28]
call fcn.00434c60
lea eax, [esp + 0x28]
push eax
push 0x104
push esi
call fcn.0057fb5c
add esp, 0xc
push 0x63cf2c
jmp 0x437921
mov edx, dword [0x63d318]
lea ecx, [esp + 0x10]
call fcn.00435020
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x437816
mov edi, dword [edi]
lea eax, [esp + 8]
mov dword [esp + 0xc], 0x208
push eax
push 0x20019
push 0
push 0x603acc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437842
xor edi, edi
jmp 0x437878
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push edi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
test eax, eax
je 0x43786d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x437878
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
mov eax, dword [esp + 0x24]
cmp eax, 8
jb 0x437890
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00409b20
test edi, edi
je 0x4378e7
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4378a0
sub ecx, edx
sar ecx, 1
cmp word [esp + ecx*2 + 0x26], 0x5c
je 0x4377b9
lea edi, [esp + 0x28]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4378c2
mov eax, dword [0x6054e8]
mov dword [edi], eax
lea eax, [esp + 0x28]
push eax
push 0x104
push esi
call fcn.0057fb5c
jmp 0x43793f
cmp word [0x63da78], 2
jne 0x437942
lea ecx, [esp + 0x28]
call fcn.00434c60
lea ecx, [esp + 0x848]
call fcn.004373f0
lea eax, [esp + 0x28]
push eax
push 0x104
push esi
call fcn.0057fb5c
add esp, 0xc
lea eax, [esp + 0x848]
push eax
push 0x104
push esi
call fcn.0057ea36
add esp, 0xc
push 0x6054e8
push 0x104
push esi
call fcn.0057ea36
add esp, 0xc
mov ecx, dword [esp + 0xa54]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00570e5f
mov esp, ebp
pop ebp
ret
Function at 0x437ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
cmp ecx, 4
ja 0x437acc
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
push ebx
movzx ebx, al
movsx eax, byte [edx + 3]
shl eax, 8
or ebx, eax
movsx eax, byte [edx + 1]
movzx eax, al
shl ebx, 8
or ebx, eax
movsx eax, byte [edx]
movzx eax, al
shl ebx, 8
push edi
or ebx, eax
xor edi, edi
lea eax, [ecx - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.00438980
mov eax, dword [esi + 4]
lea ecx, [edi + 4]
sub eax, dword [esi]
cmp eax, ecx
jbe 0x437b2c
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
mov al, byte [eax + ecx]
xor al, 0xb8
mov byte [edx + ecx - 4], al
inc ecx
movzx eax, al
xor edi, eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp ecx, eax
jb 0x437b12
cmp edi, ebx
je 0x437b43
lea ecx, [ebp - 0xc]
xor bl, bl
call fcn.004124f0
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
cmp esi, eax
je 0x437b77
mov ecx, esi
call fcn.004124f0
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc]
mov bl, 1
call fcn.004124f0
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret