joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7299fd1a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x7299fd33
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x7299fd85
mov dword [ebp - 8], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov ecx, 0x100
mov edx, dword [edi + 0x28]
cmp esi, ecx
mov dword [ebp + 0x1c], edx
jb 0x7299fd7c
mov eax, 0x101
cmp esi, eax
jbe 0x7299fe49
cmp esi, 0x102
je 0x7299fdb7
cmp esi, 0x103
jbe 0x7299fd7c
cmp esi, 0x105
jbe 0x7299fe49
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jge 0x7299fd97
push 2
pop edi
push 0x10
call esi
xor ecx, ecx
test ax, ax
mov eax, dword [ebp + 0x18]
setl cl
mov eax, dword [eax]
shr eax, 0x1b
and eax, 4
or ecx, eax
or ecx, edi
mov dword [ebp - 8], ecx
jmp 0x7299fd3e
mov eax, dword [edi + 0x30]
mov ebx, dword [ebp + 0x14]
mov esi, dword [eax + 0x34]
mov al, byte [ebx]
push eax
xor eax, eax
cmp dword [ebp + 0x20], eax
mov ecx, dword [esi + 0xe6c]
setne al
push eax
push dword [ebp + 0xc]
call fcn.7299fefd
test eax, eax
jne 0x7299fd7c
mov eax, dword [ebp + 0x1c]
movzx eax, byte [eax + 0xf2]
cmp eax, 0xff
mov dword [ebp + 0x14], eax
je 0x7299fd7c
movzx ax, byte [ebx]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x7299fe1c
push dword [ebp + 0xc]
mov ecx, dword [esi + 0xe6c]
call fcn.729a0063
xor ecx, ecx
mov cl, al
mov ch, byte [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [ebp + 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
push ecx
push edi
call fcn.7299264c
mov ecx, 0x16c
cmp eax, ecx
jne 0x7299fe9d
mov eax, ecx
jmp 0x7299fd7e
cmp esi, ecx
je 0x7299fe99
cmp esi, 0x104
je 0x7299fe99
push 7
pop ecx
movzx ecx, byte [edx + ecx + 0xec]
cmp ecx, 0xff
je 0x7299fd7c
mov ebx, dword [ebp + 0x14]
cmp esi, eax
jne 0x7299fe8e
mov eax, dword [0x72a4eadc]
and ax, 0x3ff
cmp ax, 0x12
jne 0x7299fe8e
cmp dword [ebx], 0xe5
je 0x7299fd7c
lea eax, [ebp - 8]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], eax
jmp 0x7299fe2e
push 5
jmp 0x7299fe57
cmp esi, 0x102
jne 0x7299fedd
lea eax, [ebp - 4]
push eax
xor eax, eax
cmp dword [ebp + 0x20], eax
push dword [ebp + 0x1c]
setne al
push eax
mov eax, dword [edi + 0x30]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0xe6c]
call fcn.729a008e
test eax, eax
jl 0x7299fef5
xor eax, eax
test eax, eax
jne 0x7299fd7e
movzx ecx, word [ebp - 4]
mov dword [ebx], ecx
test eax, eax
jne 0x7299fd7e
cmp dword [ebx], eax
jne 0x7299fd7e
or eax, 0xffffffff
jmp 0x7299fd7e
push eax
call fcn.7299148f
jmp 0x7299fecf
Function at 0x729a0f1f
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
lea eax, [ebp - 0x108]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, 0x729690a0
push esi
call edi
mov ebx, eax
lea eax, [ebp - 0x108]
push eax
call edi
add ebx, eax
cmp ebx, 0x104
jl 0x729a10a0
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x729a0fd8
lea eax, [ebp - 0x108]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call edi
mov ebx, eax
lea eax, [ebp - 0x108]
push eax
call edi
add ebx, eax
cmp ebx, 0x104
jl 0x729a10a0
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x729a109a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x729690b0
push ebx
call esi
xor edi, edi
cmp eax, edi
je 0x729a10a9
call eax
cmp ax, 0x229
jb 0x729a10a9
push 0x72969128
push ebx
call esi
cmp eax, edi
mov dword [0x72a507d8], eax
je 0x729a10a9
push 0x729690c0
push ebx
call esi
cmp eax, edi
mov dword [0x72a507c4], eax
je 0x729a10a9
push 0x729690d0
push ebx
call esi
cmp eax, edi
mov dword [0x72a4e8a8], eax
je 0x729a10a9
push 0x729690e8
push ebx
call esi
cmp eax, edi
mov dword [0x72a507c8], eax
je 0x729a10a9
push 0x72969100
push ebx
call esi
cmp eax, edi
mov dword [0x72a507a8], eax
je 0x729a10a9
push 0x72969110
push ebx
call esi
cmp eax, edi
mov dword [0x72a507b0], eax
je 0x729a10a9
call dword [0x72a507d8]
mov esi, eax
cmp esi, edi
jne 0x729a109a
mov eax, dword [0x72a507c4]
mov ecx, dword [0x72a4e7d8]
cmp eax, edi
je 0x729a10a5
push ecx
call eax
cmp eax, edi
je 0x729a10a9
cmp esi, edi
jne 0x729a109a
mov dword [0x72a4f458], 1
mov dword [0x72a4f6b0], ebx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x729a1088
push ebx
mov dword [0x72a507c4], edi
mov dword [0x72a4e8a8], edi
mov dword [0x72a507c8], edi
mov dword [0x72a507a8], edi
mov dword [0x72a507b0], edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
jmp 0x729a109a

Function at 0x729a1149
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
and esi, 0x3ff
cmp si, 9
je 0x729a1199
lea ecx, [ebp - 4]
push 4
push ecx
push 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x729a1199
cmp si, 4
je 0x729a117f
and byte [ebp - 2], 0
lea eax, [ebp - 4]
push eax
push 0x72969268
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop esi
leave
ret 4
mov eax, dword [ebp + 8]
and byte [eax + 1], 0
mov byte [eax], 0x2a
jmp 0x729a1194
Function at 0x729a1698
Capabilities:
Get keyboard layout

Disassembly:
cmp dword [0x72a5080c], 0
push esi
push edi
je 0x729a16b3
push dword [esp + 0xc]
call dword [0x72a507dc]
mov esi, eax
test esi, esi
jne 0x729a16ba
xor eax, eax
pop edi
pop esi
ret 4
mov eax, dword [0x72a4eadc]
and ax, 0x3ff
cmp ax, 4
jne 0x729a16f1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call dword [0x72a507f8]
mov edi, eax
push edi
push esi
call dword [0x72a507e0]
push esi
push dword [esp + 0x10]
call dword [0x72a507f0]
mov eax, edi
jmp 0x729a16b5
push esi
call dword [0x72a507ec]
mov edi, eax
jmp 0x729a16e2

Function at 0x729a1d9e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
call esi
test ax, ax
jge 0x729a1dd5
push 2
pop ebx
push 0x12
call esi
test ax, ax
jge 0x729a1dd9
push 4
pop edi
push 0x10
call esi
xor ecx, ecx
test ax, ax
setl cl
or ecx, edi
pop edi
or ecx, ebx
pop esi
mov eax, ecx
pop ebx
ret
xor ebx, ebx
jmp 0x729a1db3
xor edi, edi
jmp 0x729a1dbf
Function at 0x729a29d8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0xe
push dword [ebp + 8]
call edi
mov ebx, eax
inc ebx
push ebx
push esi
push dword [0x72a4e7cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x729a2a12
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 4
push esi
push ebx
push 0xd
push dword [ebp + 8]
call edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0xb0
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
je 0x729a2a57
cmp byte [esi + eax], 0
je 0x729a2a50
mov ecx, dword [ebp - 4]
inc eax
mov dword [ebp - 8], eax
mov al, byte [esi + eax]
mov byte [esi + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x729a2a35
mov eax, dword [ebp - 4]
and byte [esi + eax], 0
push esi
call fcn.729b1161
push esi
push 0
push dword [0x72a4e7cc]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
jmp 0x729a2a0b

Function at 0x729a2b01
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x72a4e870]
push esi
test eax, eax
je 0x729a2b33
test byte [eax + 0x3c], 1
jne 0x729a2b33
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x72a4f848]
cmp eax, 0x1d4c0
jbe 0x729a2b33
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
call esi
mov dword [0x72a4f848], eax
pop esi
ret
Function at 0x729aa3d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp ebx, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
je 0x729aa416
and byte [ebx], 0
cmp dword [ebp + 0x14], esi
jne 0x729aa426
lea eax, [ebp + 0x14]
push eax
push esi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
je 0x729aa41f
cmp eax, esi
mov dword [ebp + 0x14], esi
je 0x729aa41f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp - 0xc], 1
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.729b15df
push dword [ebp - 4]
lea eax, [ebp - 0x90]
push 0x72969714
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x90]
push ebx
push eax
push dword [ebp + 0x14]
mov dword [ebp + 0xc], edi
call esi
test eax, eax
mov dword [ebp + 0x10], eax
je 0x729aa484
push edi
push ebx
push 0x7ea1
push dword [0x72a4e7d4]
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x729aa4c2
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoIsOle1Class]
test eax, eax
je 0x729aa4c2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.729b165c
lea eax, [ebp + 0xc]
mov dword [ebp - 8], 1
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp + 0xc], edi
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x729aa4c2
and dword [ebp + 0xc], 0
cmp dword [ebp - 8], 0
je 0x729aa4d6
mov eax, dword [0x72a4e7d0]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [0x72a4e7d0]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0xc], 0
je 0x729aa4f3
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
jmp 0x729aa418

Function at 0x729ab02f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
mov eax, 0x72974a20
push 0x72974a10
push eax
mov dword [ebp - 4], 0x14
push dword [ebp + 8]
mov edi, 0xff
push eax
push 0x729749a8
lea eax, [ebp - 0x118]
push 0x72969748
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp + 8]
xor esi, esi
push eax
push 0x20019
lea eax, [ebp - 0x118]
push esi
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x729ab0f1
lea eax, [ebp - 4]
xor edi, edi
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 0x72974ab0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x729ab0e8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x18]
push 0x72974a90
push eax
call esi
test eax, eax
jne 0x729ab0c7
push 1
pop edi
lea eax, [ebp - 0x18]
push 0x72974aa0
push eax
call esi
test eax, eax
je 0x729ab0e5
lea eax, [ebp - 0x18]
push 0x72974aa8
push eax
call esi
test eax, eax
jne 0x729ab0e8
push 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x729ae640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
xor esi, esi
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
mov dword [ebp - 0x58], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x729ae68f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp ebx, 0xffffffff
je 0x729ae69a
imul ebx, ebx, 0x3e8
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
jne 0x729ae6c5
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x729ae6be
cmp dword [ebp + 0x10], esi
jne 0x729ae6c5
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 4]
jmp 0x729ae688

Function at 0x729b1d62
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + edi*2]
shl eax, 2
push eax
push 0
push dword [0x72a4e7cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x729b1d91
mov eax, 0x8007000e
pop edi
pop ebp
ret 0x10
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push ebx
add edi, eax
mov ebx, eax
cmp eax, edi
jae 0x729b1dec
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov cl, al
and ecx, 0xff
cmp cx, 0x41
jb 0x729b1dd2
cmp cx, 0x5a
ja 0x729b1dd2
mov byte [esi], 0x11
mov word [esi + 2], cx
mov word [esi + 4], 1
add esi, 6
mov byte [esi], 0x15
jmp 0x729b1dda
test ah, 1
mov byte [esi], 0x11
jne 0x729b1dcd
mov word [esi + 2], cx
mov word [esi + 4], 1
add esi, 6
inc ebx
cmp ebx, edi
jb 0x729b1da0
mov ecx, dword [ebp + 0x14]
mov eax, esi
push 6
sub eax, dword [ecx]
pop ecx
pop ebx
pop esi
cdq
idiv ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
jmp 0x729b1d8c
Function at 0x729b2dbe
Capabilities:
Get thread local storage value
Resume thread
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x72a4e7cc]
and dword [eax], 0
push 0x104
push 8
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x729b2e09
mov dword [eax], edi
add eax, 4
test eax, eax
je 0x729b2e09
push 1
mov ecx, eax
call fcn.72943718
mov edi, eax
test edi, edi
jne 0x729b2e0d
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
leave
ret 4
xor edi, edi
jmp 0x729b2df9
push esi
mov ecx, edi
call fcn.729b24b2
mov ebx, eax
test ebx, ebx
jge 0x729b2e2b
push 0
push 1
push edi
mov ecx, esi
call fcn.7294f123
mov eax, ebx
jmp 0x729b2e02
lea eax, [esi + 0x68]
lea ecx, [ebp - 4]
push eax
call fcn.72943554
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
mov ecx, esi
mov ebx, eax
call fcn.72943838
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [ebp - 4]
call fcn.72943587
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
mov ecx, edi
call fcn.729b25fb
mov ebx, eax
test ebx, ebx
jge 0x729b2e78
push 1
jmp 0x729b2e1d
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x729b2e27
Function at 0x729b6039
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
push ebx
and dword [ebp - 8], 0
push esi
push edi
lea eax, [ebp - 0x40]
push 0x27
push eax
mov dword [ebp - 4], 0x104
push dword [ebp + 8]
call fcn.729b158c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push 0x72969ce8
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x729b6179
lea eax, [ebp - 0x180]
shr eax, 0x10
test ax, ax
je 0x729b616e
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.7295b2e8
lea ecx, [ebp - 0x180]
mov eax, esp
push ecx
push eax
call fcn.72945cbc
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x729b6179
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x7c]
push 0x72969cd4
push eax
call esi
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x729b6179
lea eax, [ebp + 8]
push 0x10
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.72943f30
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 0x2e
jne 0x729b614a
lea ecx, [ebp + 8]
push 0x10
inc eax
push ecx
push eax
call fcn.72943f30
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [0x72a4eadc]
push dword [ebp - 8]
push esi
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
lea esp, [ebp - 0x18c]
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0x180]
jmp 0x729b60d9
lea eax, [ebp - 4]
push 1
push eax
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0x104
call fcn.729b63d5
test eax, eax
jne 0x729b61a7
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.729b61f9
jmp 0x729b6161
lea eax, [ebp - 0x180]
shr eax, 0x10
test ax, ax
je 0x729b61f1
lea edi, [ebp - 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.7295b2e8
lea ecx, [ebp - 0x180]
mov eax, esp
push ecx
push eax
call fcn.72945cbc
push dword [ebp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_LoadRegTypeLib]
jmp 0x729b6161
lea eax, [ebp - 0x180]
jmp 0x729b61e2
Function at 0x729b6324
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov esi, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x729b634c
mov dword [ebp - 4], esi
push eax
call fcn.72991738
test eax, eax
mov dword [ebp - 8], eax
jne 0x729b63b2
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x110]
push edi
push eax
push 0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x729b639c
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 4]
call fcn.729b6324
test eax, eax
je 0x729b638e
mov dword [ebp - 8], eax
inc ebx
lea eax, [ebp - 0x110]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x729b6371
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call fcn.72991738
test eax, eax
je 0x729b63b2
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push eax
call fcn.72991738
test eax, eax
je 0x729b63cb
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x729b63d5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x48]
push 0x72969d2c
push eax
call edi
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x48]
push esi
push dword [ebp + 0xc]
push eax
push 0x80000000
call ebx
test eax, eax
je 0x729b644e
cmp dword [ebp + 0x14], 0
je 0x729b6425
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x72969d14
push eax
call edi
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], eax
lea eax, [ebp - 0x48]
push esi
push dword [ebp + 0xc]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x729b6453
push 1
pop eax
jmp 0x729b641e
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push 0x72969cfc
push eax
call edi
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi], eax
lea eax, [ebp - 0x48]
push esi
push dword [ebp + 0xc]
push eax
push 0x80000000
call ebx
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x729b641e
Function at 0x729b696e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push eax
lea eax, [esi + 0x18]
push eax
call fcn.729b158c
movzx eax, word [esi + 0x2e]
push dword [esi + 0x28]
push eax
movzx eax, word [esi + 0x2c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push 0x72969d94
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x729b69e5
test eax, eax
mov dword [ebp + 8], esi
je 0x729b69e5
push 1
pop eax
pop esi
leave
ret 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push 0x729b6968
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x729b6a1e
cmp dword [ebp - 4], eax
sete al
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x729b69e0
push 1
pop esi
jmp 0x729b6a11
Function at 0x729b6a23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x220]
push dword [esi + 8]
push dword [esi + 4]
push 0x729b6958
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x10
mov edi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x80000000
call ebx
test eax, eax
je 0x729b6a77
test eax, eax
mov dword [ebp - 4], edi
jne 0x729b6bdc
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
lea eax, [ebp - 0x120]
push eax
push 0x729749a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x729b6bd3
lea eax, [ebp - 0x120]
shr eax, 0x10
test ax, ax
je 0x729b6b24
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.7295b2e8
lea ecx, [ebp - 0x120]
mov eax, esp
push ecx
push eax
call fcn.72945cbc
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x729b6bd3
push 0x10
lea edi, [esi + 0x10]
pop ecx
lea esi, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0xc], edi
repe cmpsb byte [esi], byte es:[edi]
jne 0x729b6bd3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
jne 0x729b6b2c
xor eax, eax
lea esp, [ebp - 0x22c]
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [ebp - 0x120]
jmp 0x729b6ada
mov esi, 0x72974a30
lea eax, [ebp - 0x220]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
mov ecx, 0x100
sub ecx, eax
push ecx
push esi
call edi
lea eax, [ebp + eax - 0x220]
push eax
push dword [ebp - 0xc]
call fcn.729b158c
mov esi, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x80000000
call ebx
test eax, eax
je 0x729b6b83
test eax, eax
mov dword [ebp - 4], esi
jne 0x729b6bdc
mov ecx, dword [ebp + 8]
mov eax, 0x729749f0
cmp dword [ecx + 0x48], 0
je 0x729b6b96
mov eax, 0x72974a10
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x104
push ecx
lea ecx, [ebp - 0x120]
push ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x729b6bce
cmp dword [ebp - 8], eax
sete al
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x729b6b17
push 1
pop esi
jmp 0x729b6bbe
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x729b6b17