joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415860
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0044b370
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
jne 0x4158e5
xor ecx, ecx
jmp 0x4158ff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4158f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403090
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
mov dword [ebp - 4], 0
call fcn.00406130
cmp word [esi], 0
jne 0x415935
xor ecx, ecx
jmp 0x41594f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415940
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x848]
call fcn.00406130
push 4
push str..lnk
lea ecx, [ebp - 0x848]
call fcn.00406130
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x415a7c
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0044b370
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0044b370
add esp, 0x18
lea ecx, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea edx, [ebp - 0x830]
cmovae ecx, dword [ebp - 0x848]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4159d6
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00413920
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0044b370
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415a34
sub ecx, edx
sar ecx, 1
jne 0x415a68
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x628]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x415a50
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x415a7c
mov esi, 1
jmp 0x415a7e
xor esi, esi
mov ecx, dword [ebp - 0x834]
cmp ecx, 8
jb 0x415a9c
inc ecx
push ecx
push dword [ebp - 0x848]
lea ecx, [ebp - 0x848]
call fcn.004036f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 4
Function at 0x415ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x63b120]
test al, al
jne 0x415b63
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044b370
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x415b5e
lea eax, [ebp - 0x20c]
push eax
call fcn.00457ee8
lea eax, [ebp - 0x20c]
push 0x5b03dc
push eax
call fcn.0044b57d
add esp, 0xc
test eax, eax
jne 0x415b49
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0044b57d
add esp, 8
test eax, eax
je 0x415b5e
mov al, 1
mov byte [0x63b120], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret
mov al, byte [0x63b120]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret
Function at 0x416a60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push 0x208
push 0
push eax
mov esi, ecx
call fcn.0044b370
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x416ae6
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x416ab1
mov eax, dword [0x5ae878]
mov ecx, esi
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00415b80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 4
Function at 0x41b9d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa655
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x636148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
call fcn.00409540
lea ecx, [esi + 0x160]
mov dword [ebp - 4], 0
call fcn.0040f700
lea ecx, [esi + 0x21c]
mov byte [ebp - 4], 1
call fcn.00417910
lea ecx, [esi + 0x224]
mov byte [ebp - 4], 2
call fcn.00407990
push 0x2710
push 1
mov byte [ebp - 4], 3
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0043a223
dec eax
add esp, 8
cmp eax, 0x63
ja 0x41ba97
mov dword [esi + 0x2c], 1
mov dword [esi + 0x218], 0
mov eax, esi
mov byte [esi + 0x2a4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa89a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xd
xor eax, eax
mov dword [ebp - 0x44], 7
push str.HPPUpdate.exe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00403090
cmp dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
je 0x41cb2f
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x62be94
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403090
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x62be94
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403090
mov eax, dword [0x63b104]
mov byte [ebp - 4], 2
test eax, eax
jne 0x41ca31
push 0x120
call fcn.0042c81a
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41ca26
mov ecx, eax
call fcn.0041d8a0
jmp 0x41ca28
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x63b104], eax
mov ecx, eax
call fcn.0042e8ba
mov edx, eax
cmp word [edx], 0
jne 0x41ca44
xor ecx, ecx
jmp 0x41ca5f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ca50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403090
push 0xd
push str.HPPUpdate.exe
lea ecx, [ebp - 0x28]
call fcn.00406130
push 1
push 0x5ae828
lea ecx, [ebp - 0x40]
call fcn.00403090
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406020
push 2
push 0x5ae82c
lea ecx, [ebp - 0x40]
call fcn.00406130
push 6
push str.8522dd
lea ecx, [ebp - 0x40]
call fcn.00406130
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41caf1
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call fcn.00436024
push esi
test eax, eax
je 0x41cae9
mov ecx, edi
call fcn.0041d650
jmp 0x41caf1
call fcn.00432c75
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41cb06
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004036f0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x41cb2f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004036f0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41cb44
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004036f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret
Function at 0x41d650
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 8]
push 0x5ae7d0
push eax
call fcn.0041cf00
test eax, eax
jne 0x41d670
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.0044b370
add esp, 0xc
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 4]
mov dword [ebp - 0x54], str.winsta0default
mov dword [ebp - 4], 0
push 1
push dword [ebp - 8]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x41d668
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push dword [ebp - 4]
push 0x420
push 0
push 0
push 0
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esp, ebp
pop ebp
ret 4

Function at 0x41e3d0
Capabilities:
Create thread

Disassembly:
push esi
push 4
push 0x5b0a40
mov esi, ecx
call fcn.0041ee00
lea eax, [esi + 0x34]
push eax
push 0
push esi
push 0x41e450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop esi
ret 8

Function at 0x41ed50
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_Failed_error_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041ecd0
add esp, 0x14
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41ede4
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 8

Function at 0x41ee00
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x41ee56
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41f240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aad83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x636148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x63b480
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x63b480
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x62be90
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00422e10
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425a30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x63ffc0], ecx
inc eax
cmp eax, 0x100
jb 0x425a32
cmp eax, 0x800
jae 0x425b03
nop
mov edx, dword [eax*4 + 0x63fbc0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x63ffc0]
mov dword [eax*4 + 0x63ffc0], edx
inc eax
cmp eax, 0x800
jb 0x425ae0
mov dword [0x63b48c], 0x4268a0
call fcn.004266d0
mov ecx, dword [0x63b48c]
test eax, eax
mov edx, 0x426940
cmove ecx, edx
mov dword [0x63b48c], ecx
ret
Function at 0x426c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x426c40
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x426c72
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x426c6f
inc esi
cmp esi, edx
jb 0x426c60
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x426d9c
cmp ecx, 3
jbe 0x426cb2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x426cf0
cmp cl, 0xff
je 0x426cf0
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x426c54
dec ecx
shl eax, cl
and eax, 7
je 0x426c8a
movzx ecx, byte [eax + 0x5b14ac]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x5b14a4], 0
mov cl, byte [edx + 4]
je 0x426cda
test cl, cl
je 0x426cda
cmp cl, 0xff
jne 0x426c8a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x426c54
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x426d1e
lea edx, [edi + ebx]
add edx, esi
jmp 0x426d24
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x426d62
movzx edi, byte [eax + 0x5b14ac]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x426d4e
cmp cl, 0xff
jne 0x426d62
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x426d11
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x426c54
pop edi
pop esi
cmp ecx, 3
jbe 0x426db1
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429f94
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov ebx, ecx
mov dword [ebp - 0xc30], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc2c], eax
mov eax, dword [ebp + 0x18]
push 0x200
mov dword [ebp - 0xc34], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0044b370
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0044b370
push 0x208
lea eax, [ebp - 0x60c]
push 0
push eax
call fcn.0044b370
push 0x208
lea eax, [ebp - 0xa1c]
push 0
push eax
call fcn.0044b370
push 0x208
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.0044b370
push 0x208
lea eax, [ebp - 0xc24]
push 0
push eax
call fcn.0044b370
add esp, 0x48
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a056
cmp byte [ebp + 0x1c], al
jne 0x42a11a
lea eax, [ebp - 0x60c]
push edi
push eax
call fcn.00459823
push dword [ebp - 0xc2c]
lea eax, [ebp - 0x204]
push eax
call fcn.00459823
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00459823
push dword [ebp - 0xc30]
lea eax, [ebp - 0x404]
push eax
call fcn.00459823
push dword [ebp - 0xc34]
lea eax, [ebp - 0xc24]
push eax
call fcn.00459823
push 1
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0xa1c]
push str.__s___d
push eax
call fcn.004065c0
add esp, 0x38
mov byte [ebp - 0xc25], 0
lea eax, [ebp - 0xc25]
mov ecx, ebx
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x814]
push str.10E0D4AA_6A55_4E18_91FD_49C7023ACFB0
push 0x62be94
push eax
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xc24]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0042bc7e
cmp byte [ebp - 0xc25], 0
je 0x42a11a
mov byte [esi], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42b548
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5ab724
call fcn.0042d04a
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov bl, cl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
inc eax
mov dword [ebp - 0x2c], ecx
push ecx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x28]
push 0x62be94
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403090
xor edx, edx
mov eax, str.HKCU
cmp esi, reloc.WS2_32.dll_accept
mov dword [ebp - 4], edx
mov ecx, 0x5b1e1c
mov esi, str.HKLM
cmovne eax, ecx
cmp dword [ebp - 0x34], 0x80000002
cmovne esi, eax
cmp word [esi], dx
jne 0x42b5c4
mov eax, edx
jmp 0x42b5cb
push esi
call fcn.00459845
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00403090
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push edi
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42b64a
push dword [ebp - 0x2c]
call fcn.00459818
push dword [ebp - 0x2c]
mov esi, eax
push 0
push esi
call fcn.0044b370
add esp, 0x10
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push edi
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test esi, esi
je 0x42b64a
push dword [ebp - 0x3c]
push esi
call fcn.0045a161
test eax, eax
movzx ebx, bl
push 1
pop eax
push esi
cmove ebx, eax
call fcn.00457a44
add esp, 0xc
test bl, bl
jne 0x42b661
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CheckRegSZValue_false__
call esi
push edi
call esi
push 0x5b1e58
call esi
xor eax, eax
lea ecx, [ebp - 0x28]
push 0
inc eax
push eax
call fcn.00402fd0
mov al, bl
call fcn.0042cff4
ret 0x10
Function at 0x42b679
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x10
pop ecx
push 0x88
mov dword [ebp - 0x198], eax
lea edi, [ebp - 0x194]
lea eax, [ebp - 0x154]
mov esi, str.SOFTWARERegisteredApplications
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0044b370
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.0044b370
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00459823
lea eax, [ebp - 0xcc]
push 0x5ae878
push eax
call fcn.004599c4
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.004599c4
lea eax, [ebp - 0xcc]
push eax
push str.CFileExtsRegistration::DoRegisteredApplications___s
call fcn.004309f9
add esp, 0x38
lea eax, [ebp - 0x194]
cmp dword [ebp + 0x10], 0
push ebx
push eax
je 0x42b76c
mov edi, reloc.WS2_32.dll_bind
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, dword [ebp - 0x198]
push esi
call fcn.00459845
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
lea eax, [ebp - 0x194]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0xcc]
push eax
push str.CFileExtsRegistration::DoRegisteredApplications___s
call fcn.004309f9
pop ecx
pop ecx
jmp 0x42b777
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 0xc