joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100012cd
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10001491
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.10001298
cmp eax, esi
jne 0x10001509
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x100014d2
lea eax, [ebp - 0x110]
push eax
call fcn.10001491
cmp eax, esi
jne 0x10001508
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], pe_nt_image_headers32
call edi
test eax, eax
lea ecx, [ebp - 4]
je 0x100014c2
call fcn.10001233
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 4]
mov esi, eax
call fcn.10001233
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x1000154c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp byte [eax], bl
mov dword [ebp - 8], ebx
je 0x10001652
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push ebx
push ebx
lea edi, [ecx + 4]
push 0x146
push dword [edi]
call esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push 0x158
push dword [edi]
call esi
cmp eax, 0xffffffff
jne 0x1000159b
mov eax, dword [ebp - 4]
cmp eax, 0x32
jl 0x100015a3
dec eax
mov ecx, edi
push eax
call fcn.10001421
push dword [ebp + 8]
push ebx
push 0x14a
push dword [edi]
call esi
call fcn.100050aa
push dword [0x1000d17c]
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call fcn.10001491
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push dword [0x1000d17c]
lea ecx, [ebp - 8]
push dword [ebp - 4]
call fcn.1000124a
push ebx
push ebx
push 0x146
push dword [edi]
mov dword [ebp + 8], ebx
call esi
test eax, eax
jle 0x10001637
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 8]
push 0x148
push dword [edi]
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push ebx
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc dword [ebp + 8]
push ebx
push ebx
push 0x146
push dword [edi]
call esi
cmp dword [ebp + 8], eax
jl 0x100015f5
cmp dword [ebp - 4], ebx
je 0x10001645
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push 0x14e
push dword [edi]
call esi
pop edi
pop esi
lea ecx, [ebp - 8]
call fcn.10001233
xor eax, eax
pop ebx
leave
ret 4
Function at 0x100016b3
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xd0
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x3c], bl
jne 0x10001763
push esi
push 0xc8
lea eax, [ebp - 0x68]
push eax
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp byte [edi + 0x34], bl
mov dword [ebp + 0x60], eax
je 0x10001762
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x140
push dword [esi]
call edi
mov ebx, eax
lea eax, [ebp - 0x68]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [esi]
mov dword [ebp + 0x64], ebx
shr ebx, 0x10
call edi
or edi, 0xffffffff
cmp eax, edi
jne 0x10001742
lea eax, [ebp - 0x68]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp + 0x64], edi
je 0x10001742
movzx eax, bx
push eax
movzx eax, word [ebp + 0x64]
push eax
mov ecx, esi
call fcn.100013ff
movzx eax, bx
cmp eax, dword [ebp + 0x60]
jge 0x10001757
cmp dword [ebp + 0x64], edi
je 0x10001757
push eax
movzx eax, word [ebp + 0x64]
push eax
jmp 0x1000175b
push edi
push dword [ebp + 0x60]
mov ecx, esi
call fcn.100013ff
pop esi
pop edi
xor eax, eax
pop ebx
add ebp, 0x68
leave
ret 0x10

Function at 0x10002458
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
cmp eax, 0x2710
mov dword [ebp - 8], ecx
jl 0x1000255a
cmp eax, 0x2730
jge 0x1000255a
push ebx
push edi
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc]
mov ebx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x419
push ebx
call edi
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x41d
push ebx
call edi
push 2
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [esi + 0xc]
and dword [ebp + 0xc], 0
sub esi, 0x270f
lea edi, [esi + 0x40]
lea ecx, [ebp + 0xc]
shl edi, 8
call fcn.10001cf1
push esi
call fcn.1000566d
xor ebx, ebx
inc ebx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jl 0x10002524
push ebx
push esi
call fcn.10005621
xor edx, edx
cmp eax, edx
pop ecx
pop ecx
je 0x1000251e
mov cl, byte [eax]
test cl, cl
je 0x1000251e
cmp cl, 0x2d
jne 0x1000250f
cmp byte [eax + 1], dl
jne 0x1000250f
push edx
push edx
push 0x800
jmp 0x10002515
push eax
lea eax, [ebx + edi]
push eax
push edx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_AppendMenuA]
inc ebx
cmp ebx, dword [ebp - 4]
jle 0x100024e7
mov eax, dword [ebp - 8]
push 0
push dword [eax + 4]
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 2
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
pop edi
mov dword [eax], 1
pop ebx
je 0x10002560
lea ecx, [ebp + 0xc]
call fcn.10001d07
jmp 0x10002560
mov eax, dword [ebp + 0x10]
and dword [eax], 0
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x10003310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x10003323
mov byte [eax], 0
mov esi, 0x8000
push esi
call fcn.1000acce
mov ebx, eax
test ebx, ebx
pop ecx
je 0x1000338c
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
mov dword [ebp - 4], eax
jl 0x1000334c
mov dword [ebp - 4], 0x7fff
push dword [ebp - 4]
push dword [ebp + 0x14]
push ebx
call fcn.10003512
mov eax, dword [ebp - 4]
push ebx
push dword [ebp + 0x10]
mov byte [eax + ebx], 0
call fcn.1000324f
add esp, 0x14
push dword [ebp + 8]
push esi
push dword [edi + 8]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [edi + 8]
push dword [ebp + 0x10]
call fcn.1000325e
pop ecx
pop ecx
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1000376c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
push esi
push edi
push 0x40
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x254], bl
lea edi, [ebp - 0x253]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0xc], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 8], ebx
je 0x100038b9
mov dword [ebp - 4], ebx
jbe 0x100038b9
mov edi, dword [ebp + 0xc]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], pe_nt_image_headers32
push dword [ebp + 8]
mov byte [ebp - 0x150], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x100038aa
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x150]
push eax
call esi
test eax, eax
je 0x100038aa
push dword [ebp + 0x10]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100038aa
lea eax, [ebp - 0x150]
push eax
mov word [ebp - 0x38], 8
call esi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.1000a970
mov eax, esp
push ebx
push esi
lea ecx, [ebp - 0x150]
push ecx
push eax
call fcn.100036b4
push eax
call fcn.100030b6
pop ecx
push 0xffffffffffffffff
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
push edi
mov word [ebp - 0x48], 0xb
mov word [ebp - 0x40], bx
call dword [eax + 0xbc]
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push edi
call dword [eax + 0xdc]
push dword [ebp - 0x30]
call fcn.100030d2
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100037e8
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100045fb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push 0x44
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x58]
push ebx
push eax
mov byte [ebp - 1], bl
call fcn.100034df
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], bx
call fcn.100034df
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10004674
cmp byte [ebp + 0xc], bl
mov byte [ebp - 1], 1
je 0x10004674
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret

Function at 0x100046ea
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
push 0x80
push dword [ebp + 0x14]
push ebx
push ebx
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x10004768
push esi
push edi
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp + 0xc]
mov edi, eax
push ebx
lea eax, [edi + esi]
push eax
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockFile]
push ebx
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [edi + esi]
push eax
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
pop edi
sete bl
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x100048ea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10004948
push esi
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000493e
cmp dword [ebp - 8], 4
je 0x10004941
mov dword [ebp - 4], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x1000494f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100049a8
push ebx
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100049a1
cmp dword [ebp - 4], 4
jne 0x100049a1
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x100049ae
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100049d5
cmp eax, 5
je 0x100049d5
mov eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10006495
Capabilities:
Set registry value
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp dword [ebp + 0xc], 1
push esi
jne 0x100064da
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov esi, dword [ebp + 8]
push 0x1000b5f4
push esi
push 0x10010078
mov ecx, 0x10010260
mov dword [0x10010244], esi
call fcn.10004b21
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.10005965
jmp 0x10006670
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x1000666f
test byte [0x1001022c], 1
je 0x10006633
call fcn.10004c8f
cmp dword [0x10010248], ebx
je 0x10006633
push edi
call fcn.1000520e
mov esi, eax
inc esi
push esi
call fcn.1000521b
pop ecx
mov ecx, dword [0x10010248]
mov edi, 0x1000b6a4
push edi
push ebx
push 0x1000b678
call fcn.10003431
mov ecx, dword [0x10010248]
push edi
push 0x1000b28c
push 0x1000b67c
mov dword [ebp + 0xc], eax
call fcn.100033c9
mov edi, eax
cmp byte [edi], bl
je 0x10006632
cmp dword [ebp + 0xc], esi
jae 0x10006632
push ebx
call fcn.1000521b
cmp byte [edi], 0x2e
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
pop ecx
lea eax, [ebp - 0x104]
jne 0x100065e4
push 0x1000f2af
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [0x1000f30f], bl
je 0x100065ec
cmp dword [0x10010230], ebx
je 0x100065ec
lea eax, [ebp - 0x104]
push 0x3f
push eax
call fcn.100035a0
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x104]
je 0x100065ac
push 0x1000b9e0
jmp 0x100065b1
push 0x1000b9dc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push eax
call esi
push dword [0x10010230]
lea eax, [ebp + eax - 0x104]
push 0x1000f30f
push str._s_ld
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x100065ec
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x104]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x104]
push eax
push 1
mov ebx, str.Start_Page
push ebx
mov edi, str.SoftwareMicrosoftInternet_ExplorerMain
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
push 1
push ebx
push edi
push SysReAllocString
call esi
xor ebx, ebx
pop edi
mov eax, dword [0x1001024c]
cmp eax, ebx
je 0x1000664a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x1001024c], ebx
mov eax, dword [0x10010250]
cmp eax, ebx
je 0x10006660
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10010250], ebx
call fcn.100047ef
mov ecx, 0x10010260
call fcn.10005e21
pop ebx
xor eax, eax
inc eax
pop esi
leave
ret 0xc
Function at 0x10006c81
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
push ebx
push esi
push edi
call fcn.10004c8f
test byte [0x1001022c], 1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
je 0x10006dc8
xor eax, eax
push eax
lea ecx, [ebp - 8]
push ecx
push eax
push 0x20006
push eax
push eax
push eax
push str.SoftwareMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [0x1000d174]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_
lea eax, [ebp - 0x174]
push eax
call edi
push dword [0x1000d174]
lea eax, [ebp - 0x174]
push eax
call esi
lea eax, [ebp - 0x174]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push dword [0x1000d178]
lea eax, [ebp - 0x174]
push eax
call edi
push str.Uninstall_
lea eax, [ebp - 0x174]
push eax
call esi
push 0x1000f1df
lea eax, [ebp - 0x174]
push eax
call esi
lea eax, [ebp - 0x174]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
call fcn.100050aa
push dword [0x1000d180]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
call fcn.10001491
push dword [0x1000d17c]
lea ecx, [ebp - 4]
call fcn.10001491
cmp dword [ebp - 0xc], 0
je 0x10006d86
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x340]
push eax
call fcn.1000467b
lea eax, [ebp - 0x174]
mov dword [esp], str.Software_
push eax
call edi
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x174]
push eax
call esi
lea eax, [ebp - 0x174]
push eax
push SysReAllocString
call ebx
lea ecx, [ebp - 4]
call fcn.10001233
push str.Tubby.ToolBandObj
lea eax, [ebp - 0x23c]
push eax
call edi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x1d8]
push eax
call edi
push 0x1000bb78
lea eax, [ebp - 0x1d8]
push eax
call esi
lea eax, [ebp - 0x23c]
push eax
push SysReAllocString
call ebx
lea eax, [ebp - 0x1d8]
push eax
push SysReAllocString
call ebx
push str.CLSID_
lea eax, [ebp - 0x70]
push eax
call edi
push dword [0x1000d174]
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
push SysReAllocString
call ebx
push str.TypeLib_
lea eax, [ebp - 0x70]
push eax
call edi
push dword [0x1000d170]
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
push SysReAllocString
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10007559
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
call fcn.10004c8f
test byte [0x1001022c], 1
je 0x100075cb
push ebx
xor ebx, ebx
cmp dword [0x1001024c], ebx
jne 0x100075ca
cmp byte [0x1000f1c7], bl
je 0x100075ca
push 0x1000f1c7
lea eax, [ebp - 0x404]
push str._x__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x404]
push eax
call fcn.100049ae
add esp, 0x10
cmp eax, ebx
mov dword [0x10010250], eax
je 0x100075ca
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x100070c9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1001024c], eax
pop ebx
leave
ret
Function at 0x10008f84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x410], ebx
je 0x1000900c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
cmp edi, 0x400
jg 0x10008fd7
push edi
call fcn.100084aa
test al, al
pop ecx
je 0x10008fd7
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.1000a970
mov esi, esp
jmp 0x10008fed
lea eax, [edi + 8]
push eax
call fcn.1000acce
cmp eax, ebx
pop ecx
je 0x1000900c
mov dword [eax], ebx
mov dword [ebp - 4], eax
lea esi, [eax + 8]
cmp esi, ebx
je 0x1000900c
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x1000900e
xor eax, eax
cmp eax, ebx
jne 0x1000904d
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x410], eax
je 0x1000902b
lea ecx, [ebp - 0x410]
call fcn.1000a017
cmp dword [ebp - 4], ebx
je 0x10009043
mov eax, dword [ebp - 4]
mov esi, dword [eax]
push eax
mov dword [ebp - 4], esi
call fcn.1000ace2
cmp esi, ebx
pop ecx
jne 0x10009030
mov eax, 0x8007000e
jmp 0x1000913c
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x1000906a
call fcn.10008af5
mov dword [ebp + 8], eax
jmp 0x10009108
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x1000908c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x10009093
call fcn.10008af5
jmp 0x100090fe
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, 0x400
jbe 0x100090b5
push eax
lea ecx, [ebp - 0x410]
call fcn.1000a020
jmp 0x100090c1
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], ebx
jne 0x100090d2
mov dword [ebp + 8], 0x8007000e
jmp 0x10009101
push esi
push dword [ebp + 8]
push dword [ebp - 0x410]
call fcn.100034bd
mov eax, dword [ebp - 0x410]
add esp, 0xc
push dword [ebp + 0x14]
mov byte [esi + eax], bl
push dword [ebp - 0x410]
lea ecx, [ebp - 0xc]
call fcn.10009149
mov dword [ebp + 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x410], eax
je 0x10009121
lea ecx, [ebp - 0x410]
call fcn.1000a017
cmp dword [ebp - 4], ebx
je 0x10009139
mov eax, dword [ebp - 4]
mov esi, dword [eax]
push eax
mov dword [ebp - 4], esi
call fcn.1000ace2
cmp esi, ebx
pop ecx
jne 0x10009126
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x41c]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10009f23
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10009f2e
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000a6e4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x1000d104]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.1000a6b4
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.100034df
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1000a746
cmp dword [ebp - 0x1c], 5
jb 0x1000a75e
jmp 0x1000a75a
cmp dword [ebp - 0x10], 1
jne 0x1000a75e
cmp dword [ebp - 0x1c], 4
ja 0x1000a75a
jne 0x1000a75e
cmp dword [ebp - 0x18], 0
jbe 0x1000a75e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x1000bed0
call fcn.10001014
test eax, eax
jge 0x1000a77f
mov byte [0x100101c4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.10003686
add ebp, 0x78
leave
ret