joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c21d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102caffb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.RC::RCMiniUIObject.0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x10]
mov dword [esi], vtable.RC::RCMiniUIView.1.0
mov dword [esi + 4], vtable.RC::RCMiniUIView.0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
call sym.2345MiniUI.dll_public:_void___thiscall_RC::RCMiniUIStyle::constructor_void_
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0x64
mov word [esi + 0x80], 0
mov dword [esi + 0x88], 0
mov byte [esi + 0x8c], 1
mov word [esi + 0xa0], 0x101
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov word [esi + 0xac], 0
mov byte [esi + 0xae], 0
mov dword [esi + 0xb0], 0x3e8
mov word [esi + 0xb4], 0
mov byte [esi + 0xb6], 1
movups xmmword [esi + 0x90], xmm0
call fcn.102af9f4
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x44]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov byte [edi + 0x40], 0
mov dword [edi + 0xc], 0xf
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], esi
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10023280
mov dword [esi], eax
mov byte [ebp - 4], 6
lea esi, [edi + 0x4c]
sub esp, 8
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100c58a0
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x54]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001b660
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x84], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100c42a0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x25c
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x258], eax
test byte [esp + 0x260], 2
push esi
mov esi, ecx
je 0x100c42ce
cmp byte [esi + 0x80], 0
je 0x100c44be
cmp dword [esi + 8], 0xffffffff
jne 0x100c4315
mov eax, esi
cmp byte [eax + 0x81], 0
jne 0x100c42e9
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100c42d6
push 0
push 0x1036ce20
push 0x1036b6d0
push 0
push eax
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x100c4315
mov eax, dword [eax + 0xb8]
xor edx, edx
cmp byte [eax + 0x34], dl
setne dl
mov dword [esi + 8], edx
cmp dword [esi + 8], 1
jne 0x100c44be
cmp byte [esp + 0x26c], 0
jne 0x100c44be
mov ecx, esi
call sym.2345MiniUI.dll_public:_class_RC::RCMiniUIWindow____thiscall_RC::RCMiniUIView::GetWidgetWindow_void_const
test eax, eax
je 0x100c44be
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 4]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100c44a3
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1040000
cmp eax, 0x1040000
jne 0x100c4490
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100c4489
cmp dword [esp + 0xc], 6
ja 0x100c43b5
jne 0x100c4440
cmp dword [esp + 0x10], 2
jb 0x100c4440
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x100c4440
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100c4440
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100c4440
movups xmm0, xmmword [0x102f49f8]
push eax
movups xmmword [esp + 0x244], xmm0
movups xmm0, xmmword [0x102f4a08]
movups xmmword [esp + 0x254], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100c4440
lea eax, [esp + 0x240]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100c4440
cmp word [esi + 2], ax
jbe 0x100c4440
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100c4489
push 0x118
lea eax, [esp + 0x12c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x124], 0x11c
lea eax, [esp + 0x124]
push eax
call esi
cmp dword [esp + 0xc], 6
jb 0x100c44a3
push 0
push 0xf012
push 0x112
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.102af9d5
add esp, 0x25c
ret 0xc
mov ecx, dword [esp + 0x25c]
xor al, al
pop esi
xor ecx, esp
call fcn.102af9d5
add esp, 0x25c
ret 0xc
Function at 0x100c8a20
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102cbc91
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x100c8ac2
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], al
jmp 0x100c8b50
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100c8b17
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x100c8b11
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x30], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100c8af0
sub edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.10018ae0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x2c], 1
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movq qword [esi + 0x10], xmm0
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.10018a30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret
Function at 0x100cce20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102cc5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100cce69
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x100cce70
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x100ccf26
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
xor bl, bl
call fcn.100ccd70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100ccf0f
cmp dword [ebp - 0x1c], 8
lea ebx, [eax*2 + 2]
push ebx
lea edi, [ebp - 0x30]
cmovae edi, dword [ebp - 0x30]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100ccedb
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x100ccedf
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 4], 0
xor bl, bl
jmp 0x100ccf0f
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x100ccf0d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
jmp 0x100ccf0f
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10018a30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret
Function at 0x100de840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ce8a7
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
push dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x20]
push eax
push 0x1036af78
call fcn.10015a90
add esp, 0xc
movzx eax, ax
mov ecx, edi
push edi
push eax
push 0
push 0x80
push 0x82000000
push 0
push 0
push dword [ebp + 8]
call fcn.100376a0
mov dword [edi + 4], eax
test eax, eax
je 0x100dea0a
push 0x74
call fcn.102af9f4
mov esi, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 0
push 0x74
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [esi + 4], 0
call fcn.100e7080
lea eax, [esi + 8]
mov dword [ebp + 8], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 3
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 5
xor eax, eax
movups xmm0, xmmword [0x102db010]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x102db010]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0xfefefefe
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [0x102db010]
movups xmmword [esi + 0x28], xmm0
movups xmm0, xmmword [0x102db010]
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x50], vtable.RC::IERenderClientSiteDelegate.0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov word [esi + 0x68], ax
mov byte [esi + 0x6a], al
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.RC::IERenderView.2.0
mov dword [esi + 0x24], vtable.RC::IERenderView.0
mov dword [esi + 0x50], vtable.RC::IERenderView.1.0
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 4]
push 0
push 0
push esi
push 0x100ea1a0
push 0
mov dword [edi + 0x28], esi
push 0
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1c
mov dword [esi + 0x5c], eax
call fcn.102af9f4
mov ecx, eax
add esp, 4
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx], vtable.RC::IEExternal.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov byte [ebp - 4], 7
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100f1190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1036a00c]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100f11d8
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100f11d8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x100f11d8
mov al, 1
jmp 0x100f11da
xor al, al
test al, al
je 0x100f1365
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100f125f
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x100f11e4
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x100f1251
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100f1200
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100f128c
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100f128c
push dword [esi + 0x24]
push 1
jmp 0x100f127e
test eax, eax
je 0x100f1213
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x100f1215
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100f128c
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x100f12e0
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100f1365
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100f1365
mov edi, dword [edi + 0x28]
push 0x10
call fcn.102af9f4
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.102af9d5
mov esp, ebp
pop ebp
ret
Function at 0x100f1e00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102d28fb
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1036a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push 0x78
mov dword [esi], vtable.RC::RCMiniUIBounceWndHandler.0
mov dword [esi + 0xc], eax
call fcn.102af9f4
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
movaps xmm0, xmmword [0x10300910]
movsd xmm1, qword [0x10300140]
mov byte [eax], 0
movups xmmword [eax + 8], xmm0
movaps xmm0, xmmword [0x103008d0]
movsd qword [eax + 0x18], xmm1
movups xmmword [eax + 0x20], xmm0
movsd qword [eax + 0x30], xmm1
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 0
mov byte [ebp - 4], 1
mov dword [eax + 0x4c], 0
mov byte [ebp - 4], 2
mov dword [eax + 0x50], 0
mov byte [ebp - 4], 3
mov dword [eax + 0x54], 0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
movsd qword [eax + 0x68], xmm0
mov dword [eax + 0x70], 1
mov dword [eax + 0x38], SysReAllocString
mov dword [eax + 0x3c], SysReAllocString
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100f3480
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
test edi, edi
je 0x100f34e5
cmp dword [edi], 0
mov esi, dword [esi]
je 0x100f34c5
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100f34db
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100f34db
push 0
push dword [edi]
push 0
push 0
push dword [esp + 0x1c]
push esi
call eax
pop edi
pop esi
ret 4
cmp dword [edi + 4], 0
je 0x100f34db
push dword [esp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
cmp byte [0x10372b01], 0
jne 0x100f3525
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100f3517
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10372b04], eax
mov byte [0x10372b01], 1
jmp 0x100f352a
mov eax, dword [0x10372b04]
mov byte [0x10372b01], 1
jmp 0x100f352a
mov eax, dword [0x10372b04]
test eax, eax
je 0x100f3540
push 0
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esi]
call eax
pop edi
pop esi
ret 4
push dword [esp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
ret 4
Function at 0x100f4150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xffffffffffffffff
push 0x102d2cb3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x41c]
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x424]
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x40c], 0
mov dword [ebp + 0x40c], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0x408], ecx
mov dword [ebp + 0x404], 0
push 0x404
push 0
lea eax, [ebp]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x100f421e
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], eax
test esi, esi
jne 0x100f421e
call fcn.1001d720
mov edi, eax
jmp 0x100f4329
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100f423b
call fcn.1001d720
jmp 0x100f431c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x100f4256
call fcn.1001d720
jmp 0x100f431c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x14], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x100f4274
mov edi, 0x8007000e
jmp 0x100f431e
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
test edx, edx
ja 0x100f436b
jb 0x100f4298
cmp eax, 0xffffffff
ja 0x100f436b
cmp eax, 0x400
jbe 0x100f42b1
push eax
lea ecx, [ebp]
call fcn.100f9f30
mov dword [ebp - 4], 1
jmp 0x100f42d6
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x100f42d6
mov eax, dword [ebp]
test eax, eax
jne 0x100f42e4
mov edi, 0x8007000e
jmp 0x100f431e
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100f42ff
call fcn.1001d720
jmp 0x100f431c
xor edx, edx
mov eax, dword [ebp]
mov word [eax + ecx*2], dx
push dword [ebp + 0x428]
push dword [ebp]
lea ecx, [ebp + 0x404]
call fcn.100f5590
mov edi, eax
test esi, esi
je 0x100f4329
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x100f433d
lea ecx, [ebp]
call fcn.100f9a90
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.102af9d5
lea esp, [ebp + 0x414]
pop ebp
ret 0x10
push 0x80070216
call fcn.1000cb10
int3
Function at 0x100fc790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x12c]
sub esp, 0x12c
push 0xffffffffffffffff
push 0x102d4103
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1036a00c]
xor eax, ebp
mov dword [ebp + 0x128], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
movzx eax, word [ebp + 0x134]
mov edi, 1
mov esi, dword [0x1036e694]
push 0xf0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100fc929
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100fc929
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100fc929
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x1234
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x100fc929
mov ecx, dword [esi + 4]
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x18], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x100fc8ab
push 0x104
lea eax, [ebp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp + 0x24]
push esi
call fcn.100fcc70
mov dword [ebp - 4], 0
push dword [ebp + 0x24]
mov eax, dword [ebp - 0x10]
push 0
push 0x143
movzx eax, ax
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x24]
lea ecx, [ebp + 0x28]
cmp eax, ecx
je 0x100fc919
push eax
call ebx
add esp, 4
jmp 0x100fc919
cmp dx, ax
jne 0x100fc91e
push esi
lea ecx, [ebp - 0x11c]
mov dword [ebp], 1
mov dword [ebp + 4], 0xffffffff
call fcn.100fcc70
mov dword [ebp - 4], 1
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
mov eax, dword [ebp - 0x11c]
cmp eax, ecx
je 0x100fc8f3
push eax
call ebx
add esp, 4
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x40b
movzx eax, ax
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x18]
test edi, edi
jne 0x100fc822
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.102af9d5
lea esp, [ebp + 0x12c]
pop ebp
ret 4