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

Disassembly:
mov eax, 0x4639ae
call fcn.0045aa08
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], 0x46bb80
mov dword [ebp - 0x38], 0x46bb78
call fcn.00408d99
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x4169a8
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.0040335e
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416a54
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.004177a3
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.00416f0f
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.00416c24
test bl, bl
je 0x416a54
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00416f0f
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.00416f0f
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x416a54
mov ecx, ebx
call fcn.00416f0f
push edi
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00416f0f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040be47
cmp dword [ebp - 0x14], edi
je 0x416a82
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.0040be47
mov eax, dword [esi + 0x28]
and byte [ebp - 4], 0
cmp eax, edi
je 0x416a9e
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 0x418c8b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x463bfb
call fcn.0045aa08
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.004190b8
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
push 1
cmp esi, eax
pop ebx
ja 0x418cd8
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.004190b8
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], ebx
test byte [ebp - 0x10], bl
je 0x418ce8
lea ecx, [ebp - 0xb4]
call fcn.0040be47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040be47
inc esi
push ebx
lea eax, [ebp - 0x10]
push esi
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x10], 0x5c
call fcn.00418f08
cmp eax, 0xffffffff
je 0x418da6
mov edi, 0x46bb80
mov esi, 0x46bb78
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.00416ab8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.00416f0f
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418d6b
test al, 0x10
je 0x418d6b
cmp dword [ebp + 0x10], 0
je 0x418d77
push dword [ebp - 0x10]
call dword [ebp + 0x10]
pop ecx
jmp 0x418d77
push 0
push dword [ebp - 0x10]
call dword [ebp + 0xc]
test eax, eax
je 0x418db5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040be47
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.00418f08
cmp eax, 0xffffffff
jne 0x418d20
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.00416ca8
lea eax, [ebp - 0x64]
push ebx
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.00418df1
lea eax, [ebp - 0xfc]
push 0x472ee8
push eax
call fcn.0045ab51
Function at 0x427931
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42797b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x427977
cmp eax, 3
je 0x427977
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00427998
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
xor al, al
leave
ret
test byte [ebp + 0xc], 4
je 0x427985
test al, 0x10
je 0x42798f
test byte [ebp + 0xc], 8
je 0x427994
test al, 0x10
je 0x427994
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x428ede
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 0x428f23
mov eax, dword [ebp + 8]
test eax, eax
je 0x428ef8
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x428f7f
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x428f7f
cmp dword [ebp + 8], 0
jne 0x428f58
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x428f7f
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00427998
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x42942c
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 0x42943f
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 0x429474
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x42a3ba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a445
test al, 1
je 0x42a445
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], 7
call fcn.00416f86
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 0x42a42e
cmp eax, 0x80042001
je 0x42a42e
cmp dword [ebp - 4], 6
je 0x42a42a
push 1
push 5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x5c]
call fcn.0042a449
lea eax, [ebp - 0x5c]
push 0x476a08
push eax
call fcn.0045ab51
mov al, 1
leave
ret
push eax
lea ecx, [ebp - 0x14]
call fcn.0042a04d
lea eax, [ebp - 0x14]
push 0x475230
push eax
call fcn.0045ab51
xor al, al
leave
ret

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

Disassembly:
mov eax, 0x466081
call fcn.0045aa08
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.0042c5ef
xor ebx, ebx
push 4
lea ecx, [ebp - 0xc4]
push ebx
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00419165
mov edi, eax
mov esi, str._hx.rra
mov byte [ebp - 4], 1
push esi
call fcn.0045ab34
pop ecx
push eax
push esi
lea ecx, [edi + 4]
call fcn.00417de9
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.0042c2d6
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.0042c99f
add esp, 0xc
push 1
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.0042c567
lea eax, [ebp - 0x80]
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0x46bb80
mov dword [ebp - 0x28], 0x46bb78
call fcn.00408caf
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.0040be47
push 1
lea ecx, [ebp - 0x58]
call fcn.0040134a
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.0040be47
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.0040be47
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.0040be47
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push 0x104
push eax
call fcn.004177a3
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 0xb
call fcn.00416f0f
mov edi, eax
lea ecx, [ebp - 0x48]
movzx eax, word [ebp - 0x10]
push eax
mov dword [esi + 8], edi
call fcn.00416f0f
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.00416c24
mov ecx, dword [ebp - 0x14]
call fcn.00416f0f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c54a
inc dword [ebp - 0x10]
inc ebx
cmp ebx, 0xffff
jl 0x42c4c5
push 0x50
lea ecx, [ebp - 0x9c]
call fcn.00423a29
lea eax, [ebp - 0x9c]
push 0x477118
push eax
call fcn.0045ab51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42d6e5
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x4662c4
call fcn.0045aa08
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.0042eb39
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042e7ae
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x104
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004177a3
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
call fcn.00416f0f
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.00416c24
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040be47
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040be47
pop edi
pop esi
test bl, bl
pop ebx
je 0x42d7c5
lea ecx, [ebp - 0x44]
call fcn.00418f8f
lea eax, [ebp - 0x44]
push 0x477118
push eax
call fcn.0045ab51
push 0x3a98
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42d7f5
push 0x5b4
lea ecx, [ebp - 0x44]
call fcn.00423a29
lea eax, [ebp - 0x44]
push 0x477118
push eax
call fcn.0045ab51
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0042d81b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x2c
Function at 0x42ea43
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4664f7
call fcn.0045aa08
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 reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42eabf
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x18], 0x104
mov eax, str.CommonFilesDir
je 0x42eaa8
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, 0x46bb80
mov esi, 0x46bb78
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], esi
call fcn.00416ca8
push 0x4817bc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00417d54
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00408caf
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040be47
cmp dword [ebp - 0x10], 0
je 0x42eb28
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 0x430d58
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 0x430d77
xor al, al
jmp 0x430d91
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x430d95
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 0x430de4
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, 0x498f80
mov dword [0x498ff0], 0x482790
mov dword [0x498f78], ebx
push 0x482720
push ebx
mov dword [0x498f80], 0x84
mov dword [0x498fe4], 0x300
call fcn.00431588
mov eax, 0x46e008
mov ecx, eax
test ecx, ecx
je 0x430e6a
push 0x10
push eax
push 0x498f68
call fcn.0045aed0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x482848
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x499004], 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.00430da3
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x430f6d
push str.UnregServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x430ec4
push str.RegServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x430ee5
lea eax, [ebp - 4]
push eax
push esi
jmp 0x430e8c
push edi
push 1
push ebx
call fcn.00431905
push 0x46d3e8
push 0x46c858
mov dword [ebp + 8], eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
jmp 0x430fb4
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.0043178c
mov dword [ebp + 8], eax
lea eax, [ebp + 0x10]
push eax
push str.CLSID8c3c1b17_e59d_11d2_b40b_00a024b9dddd
push SysReAllocString
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 0x46e128
push 0x46c858
call dword [sym.imp.ole32.dll_CoTreatAsClass]
cmp dword [ebp + 0x10], edi
je 0x430fb4
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x430fb4
mov ecx, ebx
call fcn.00430d58
push edi
push 4
push ebx
call fcn.0043160b
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 0x430fa3
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 0x430f8a
push ebx
call fcn.004316a0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.004316dc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x43128e
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 0x4312c2
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x4312e5
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 0x4312f0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x4312f9
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x43137e
xor eax, eax
cmp dword [ebp - 4], esi
je 0x43133a
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x43137e
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.0043128e
cmp dword [ebp - 4], esi
je 0x43137a
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x43139c
cmp eax, esi
push ebx
jle 0x43138d
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x431399
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x431490
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x466890
call fcn.0045aa08
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.00431250
mov edi, eax
cmp edi, esi
je 0x4314da
cmp dword [ebp - 0x10], esi
je 0x4314d3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x431577
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 0x43154b
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00431490
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x431538
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 0x4314fd
cmp dword [ebp - 0x10], esi
je 0x431546
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x431577
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43155e
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 0x431575
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 0x435e76
Capabilities:
Create thread

Disassembly:
mov eax, 0x467038
call fcn.0045aa08
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 0x435f13
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 0x435d61
push edi
push edi
call fcn.0045b9af
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, dword [ebp - 0x14]
je 0x435ed9
cmp eax, edi
je 0x435ed3
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 0x46dd38
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 0x435f13
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx]
push dword [ebp + 8]
mov eax, dword [ebx]
push 0x46dd38
push ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x436817
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43682b
push 0x26
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43685f
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x436892
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x436892
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x43689a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x4368ae
push 6
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4368e2
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004588a4
test al, al
jne 0x436915
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428f87
lea eax, [ebp - 0x4c]
push 0x4765f0
push eax
call fcn.0045ab51
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x436915
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.00418df1
lea eax, [ebp - 0x48]
push 0x472ee8
push eax
call fcn.0045ab51
mov eax, dword [ebp + 8]
pop esi
leave
ret 8