joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416dd1
Capabilities:
Copy file
Delete file
Move file
Query or enumerate registry value

Disassembly:
mov eax, 0x464c4e
call fcn.0045bbb8
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0xd]
mov ebx, 0x104
push edi
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x58], 0x46cb90
mov dword [ebp - 0x38], 0x46cb88
call fcn.00408da8
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x416e29
push dword [esi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 1
push edi
call fcn.00403347
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416ed5
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00417c6a
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.00417390
lea ecx, [ebp - 0x18]
mov dword [ebx + 8], eax
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push str.LogFile
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
lea ecx, [ebp - 0x30]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.004170a5
test bl, bl
je 0x416ed5
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00417390
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.00417390
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x416ed5
mov ecx, ebx
call fcn.00417390
push edi
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00417390
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040be30
cmp dword [ebp - 0x14], edi
je 0x416f03
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040be30
mov eax, dword [esi + 0x28]
and byte [ebp - 4], 0
cmp eax, edi
je 0x416f1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00401102
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416ddf
Capabilities:
Copy file
Delete file
Move file
Query or enumerate registry value

Disassembly:
mov eax, 0x464c4e
call fcn.0045bbb8
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0xd]
mov ebx, 0x104
push edi
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x58], 0x46cb90
mov dword [ebp - 0x38], 0x46cb88
call fcn.00408da8
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x416e29
push dword [esi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 1
push edi
call fcn.00403347
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416ed5
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00417c6a
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.00417390
lea ecx, [ebp - 0x18]
mov dword [ebx + 8], eax
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push str.LogFile
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
lea ecx, [ebp - 0x30]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.004170a5
test bl, bl
je 0x416ed5
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00417390
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.00417390
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x416ed5
mov ecx, ebx
call fcn.00417390
push edi
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00417390
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040be30
cmp dword [ebp - 0x14], edi
je 0x416f03
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040be30
mov eax, dword [esi + 0x28]
and byte [ebp - 4], 0
cmp eax, edi
je 0x416f1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00401102
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x419157
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x464e9b
call fcn.0045bbb8
sub esp, 0xf0
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.00419598
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
push 1
cmp esi, eax
pop ebx
ja 0x4191a4
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.00419598
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], ebx
test byte [ebp - 0x10], bl
je 0x4191b4
lea ecx, [ebp - 0xb4]
call fcn.0040be30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040be30
inc esi
push ebx
lea eax, [ebp - 0x10]
push esi
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x10], 0x5c
call fcn.004193c0
cmp eax, 0xffffffff
je 0x419272
mov edi, 0x46cb90
mov esi, 0x46cb88
lea ecx, [ebp + 0x17]
inc eax
push 0
push ecx
push eax
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call fcn.00416f39
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00417390
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x419237
test al, 0x10
je 0x419237
cmp dword [ebp + 0x10], 0
je 0x419243
push dword [ebp - 0x10]
call dword [ebp + 0x10]
pop ecx
jmp 0x419243
push 0
push dword [ebp - 0x10]
call dword [ebp + 0xc]
test eax, eax
je 0x419281
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040be30
push ebx
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x5c
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.004193c0
cmp eax, 0xffffffff
jne 0x4191ec
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp + 0xb]
push 0
push eax
lea ecx, [ebp - 0x64]
push dword [ebp - 0x10]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00417129
lea eax, [ebp - 0x64]
push ebx
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.004192bd
lea eax, [ebp - 0xfc]
push 0x473f90
push eax
call fcn.0045bd01
Function at 0x427e12
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x427e5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x427e58
cmp eax, 3
je 0x427e58
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00427e79
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
xor al, al
leave
ret
test byte [ebp + 0xc], 4
je 0x427e66
test al, 0x10
je 0x427e70
test byte [ebp + 0xc], 8
je 0x427e75
test al, 0x10
je 0x427e75
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4293bf
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x429404
mov eax, dword [ebp + 8]
test eax, eax
je 0x4293d9
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x429460
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00429468
lea eax, [ebp - 0x4c]
push 0x4776a0
push eax
call fcn.0045bd01
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x429460
cmp dword [ebp + 8], 0
jne 0x429439
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x429460
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00427e79
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x429932
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x429945
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42997a
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004192bd
lea eax, [ebp - 0x48]
push 0x473f90
push eax
call fcn.0045bd01
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x42a8d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a95f
test al, 1
je 0x42a95f
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], 7
call fcn.00417407
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
lea esi, [ebp - 4]
mov edx, dword [ecx]
push esi
push eax
push ecx
call dword [edx + 0x20]
cmp eax, 0x80042000
pop esi
je 0x42a948
cmp eax, 0x80042001
je 0x42a948
cmp dword [ebp - 4], 6
je 0x42a944
push 1
push 5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x5c]
call fcn.0042a963
lea eax, [ebp - 0x5c]
push 0x477ab8
push eax
call fcn.0045bd01
mov al, 1
leave
ret
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a553
lea eax, [ebp - 0x14]
push 0x4762d8
push eax
call fcn.0045bd01
xor al, al
leave
ret

Function at 0x42c8df
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x467329
call fcn.0045bbb8
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
push eax
call fcn.0042cb08
xor ebx, ebx
push 4
lea ecx, [ebp - 0xc4]
push ebx
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00419645
mov edi, eax
mov esi, str._hx.rra
mov byte [ebp - 4], 1
push esi
call fcn.0045bce4
pop ecx
push eax
push esi
lea ecx, [edi + 4]
call fcn.004182b0
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.0042c7ef
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
push esi
and ecx, eax
lea eax, [ebp - 0x58]
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0042ceb8
add esp, 0xc
push 1
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0042ca80
lea eax, [ebp - 0x80]
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0x46cb90
mov dword [ebp - 0x28], 0x46cb88
call fcn.00408cbe
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.0040be30
push 1
lea ecx, [ebp - 0x58]
call fcn.0040134a
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.0040be30
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.0040be30
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.0040be30
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push 0x104
push eax
call fcn.00417c6a
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xb
call fcn.00417390
mov edi, eax
lea ecx, [ebp - 0x48]
movzx eax, word [ebp - 0x10]
push eax
mov dword [esi + 8], edi
call fcn.00417390
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004170a5
mov ecx, dword [ebp - 0x14]
call fcn.00417390
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42ca63
inc dword [ebp - 0x10]
inc ebx
cmp ebx, 0xffff
jl 0x42c9de
push 0x50
lea ecx, [ebp - 0x9c]
call fcn.00423e4a
lea eax, [ebp - 0x9c]
push 0x4781c8
push eax
call fcn.0045bd01
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42dcd3
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x467590
call fcn.0045bbb8
sub esp, 0xb0
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0xb8]
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 0x44
call fcn.0042f3a9
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042efae
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x104
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00417c6a
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
call fcn.00417390
lea ecx, [ebp - 0x1c]
mov dword [esi + 8], eax
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
lea ecx, [ebp - 0x28]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 3
inc bl
call fcn.004170a5
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040be30
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040be30
pop edi
pop esi
test bl, bl
pop ebx
je 0x42ddb3
lea ecx, [ebp - 0x44]
call fcn.00419447
lea eax, [ebp - 0x44]
push 0x4781c8
push eax
call fcn.0045bd01
push 0x3a98
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42dde3
push 0x5b4
lea ecx, [ebp - 0x44]
call fcn.00423e4a
lea eax, [ebp - 0x44]
push 0x4781c8
push eax
call fcn.0045bd01
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0042de09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040be30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x42f2b3
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4677c3
call fcn.0045bbb8
sub esp, 0x138
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
and byte [ebp - 0x144], bl
xor eax, eax
lea edi, [ebp - 0x143]
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], ebx
push 1
lea eax, [ebp - 0x10]
pop esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42f32f
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x18], 0x104
mov eax, str.CommonFilesDir
je 0x42f318
mov eax, str.ProgramFilesDir
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x144]
mov edi, 0x46cb90
mov esi, 0x46cb88
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00417129
push 0x4827bc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0041821b
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00408cbe
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040be30
cmp dword [ebp - 0x10], 0
je 0x42f398
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43156c
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x43158b
xor al, al
jmp 0x4315a5
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x4315a9
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x4315f8
Capabilities:
Accept command line arguments
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0
call esi
or ax, 0x8001
push eax
call esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
mov ebx, 0x49a090
mov dword [0x49a100], 0x4837a8
mov dword [0x49a088], ebx
push 0x483738
push ebx
mov dword [0x49a090], 0x84
mov dword [0x49a0f4], 0x300
call fcn.00431d9c
mov eax, 0x46f080
mov ecx, eax
test ecx, ecx
je 0x43167e
push 0x10
push eax
push 0x49a078
call fcn.0045c080
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x483860
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x49a114], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor edi, edi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
call fcn.004315b7
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x431781
push str.UnregServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4316d8
push str.RegServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4316f9
lea eax, [ebp - 4]
push eax
push esi
jmp 0x4316a0
push edi
push 1
push ebx
call fcn.00432119
push 0x46e420
push 0x46d880
mov dword [ebp + 8], eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
jmp 0x4317c8
push 5
mov esi, str.SetupLogServices_Class
pop ecx
lea edi, [ebp - 0xa0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x1a
xor eax, eax
pop ecx
lea edi, [ebp - 0x89]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor edi, edi
push edi
push 1
push ebx
mov dword [ebp + 0x10], edi
call fcn.00431fa0
mov dword [ebp + 8], eax
lea eax, [ebp + 0x10]
push eax
push str.CLSID8c3c1b17_e59d_11d2_b40b_00a024b9dddd
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xa0]
push eax
push 1
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0x46f1a0
push 0x46d880
call dword [sym.imp.ole32.dll_CoTreatAsClass]
cmp dword [ebp + 0x10], edi
je 0x4317c8
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4317c8
mov ecx, ebx
call fcn.0043156c
push edi
push 4
push ebx
call fcn.00431e1f
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
call esi
test eax, eax
je 0x4317b7
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
jmp 0x43179e
push ebx
call fcn.00431eb4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.00431ef0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x431aa2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x431ad6
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x431af9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x431b04
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x431b0d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x431b92
xor eax, eax
cmp dword [ebp - 4], esi
je 0x431b4e
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x431b92
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.00431aa2
cmp dword [ebp - 4], esi
je 0x431b8e
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x431bb0
cmp eax, esi
push ebx
jle 0x431ba1
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x431bad
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x431ca4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x467b5c
call fcn.0045bbb8
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00431a64
mov edi, eax
cmp edi, esi
je 0x431cee
cmp dword [ebp - 0x10], esi
je 0x431ce7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x431d8b
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x431d5f
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00431ca4
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x431d4c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x431d11
cmp dword [ebp - 0x10], esi
je 0x431d5a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x431d8b
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x431d72
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x431d89
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x436650
Capabilities:
Create thread

Disassembly:
mov eax, 0x468304
call fcn.0045bbb8
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jne 0x4366ed
push str.UIManagerStarted
push edi
push edi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x18]
push edi
push eax
push 0x43653b
push edi
push edi
call fcn.0045cb5f
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, dword [ebp - 0x14]
je 0x4366b3
cmp eax, edi
je 0x4366ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
push 0x7530
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x46ed70
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov eax, dword [ebx]
push dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x4366ed
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx]
push dword [ebp + 8]
mov eax, dword [ebx]
push 0x46ed70
push ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4