joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov edx, eax
xor ecx, ecx
xor eax, eax
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov dword [ebp + eax - 0x220], ecx
add eax, 4
cmp eax, 0x18
jb 0x401b31
mov eax, dword [0x41b03c]
lea esi, [ebp - 0x208]
mov dword [esp + 0x20], edx
mov dword [ebp - 0x218], esi
mov ebx, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x214], 0x100
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x7d2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.SysTabControl32
mov dword [esp], 0
call ebx
sub esp, 0x30
mov dword [0x41b004], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x41b03c]
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0xfa
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
lea eax, [ebp - 0x224]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x41b004]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x133e
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [0x41b03c]
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x41b004]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40f020
mov dword [esp], 0x200
call ebx
mov dword [0x41b008], eax
sub esp, 0x30
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401cb0
Capabilities:
Hide graphical window

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, 5
je 0x401d10
cmp eax, 0x4e
je 0x401e68
cmp eax, 1
je 0x401dc8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
mov ebx, eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [section..bss]
movzx esi, bx
mov edi, dword [sym.imp.user32.dll_MoveWindow]
shr ebx, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x28
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
lea eax, [ebx - 0x2b]
sub ebx, 0x57
sub esp, 0x18
mov dword [esp + 0x10], eax
lea eax, [esi - 6]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b004]
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x28
mov dword [esp + 4], 3
mov dword [esp], eax
call edi
lea eax, [esi - 0x1a]
sub esp, 0x18
mov dword [esp + 0xc], eax
mov eax, dword [0x41b008]
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0xa
mov dword [esp], eax
call edi
mov eax, ebx
sub esp, 0x18
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
xor eax, eax
mov dword [ebp - 0x26], 0x740053
xor ebx, ebx
mov word [ebp - 0x1a], ax
mov eax, dword [0x41b03c]
mov dword [ebp - 0x22], 0x740061
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x26]
mov dword [ebp - 0x1e], 0x630069
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [section..bss], eax
sub esp, 0x30
mov eax, esi
call dbg.CreateTabCtrl
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 0x7d2
je 0x401e88
lea esp, [ebp - 0x10]
xor ebx, ebx
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp dword [ebx + 8], 0xfffffdd9
jne 0x401e70
mov eax, dword [0x41b008]
mov dword [esp + 4], 0
mov esi, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp], eax
call esi
mov eax, dword [0x41b004]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x130b
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x401e70
mov eax, dword [0x41b008]
mov dword [esp + 4], 5
mov dword [esp], eax
call esi
sub esp, 8
jmp 0x401d00
Function at 0x403540
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ecx, 0x32
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4e0]
mov esi, 0x40e0c0
push ebx
mov ebx, eax
sub esp, 0x52c
mov dword [ebp - 0x4f0], edx
mov edx, dword [sym.imp.user32.dll_LoadStringW]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x418]
mov dword [esp], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 0x4ec], edx
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 1
call edx
mov edx, dword [ebp - 0x4ec]
sub esp, 0x10
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
mov dword [esp + 4], 2
mov dword [esp], ebx
call edx
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
je 0x403778
mov esi, eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], 0x50000000
call dword [sym.imp.comctl32.dll_CreateStatusWindowW]
lea ecx, [ebp - 0x4e0]
sub esp, 0x10
mov dword [0x41b028], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x50000000
call sym._CreateToolbarEx_52
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x34
mov dword [0x41b02c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6f
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov eax, dword [0x41b02c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov eax, dword [0x41b02c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x4f0]
mov dword [0x41b020], esi
sub esp, 0x10
mov dword [0x41b03c], ebx
mov dword [esp], esi
mov dword [0x41b040], 1
mov dword [0x41b044], 5
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403790
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x18
cmp dword [ecx + 4], 0x111
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
je 0x4037c8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
movzx ecx, dx
cmp dx, 1
je 0x403800
cmp ecx, 2
jne 0x4037b4
mov dword [esp], ebx
mov dword [esp + 4], 2
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, 0x41b048
mov ecx, pe_nt_image_headers32
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x3e9
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov esi, eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
sub esp, 4
test eax, eax
jle 0x403850
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0x41b048
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowTextW]
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 1
call dword [sym.imp.user32.dll_EndDialog]
mov eax, 1
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
Function at 0x404ff0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x40
mov word [ebp - 0xa], ax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x12], 0x410050
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xe], 0x45004e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp + 0x10]
sub esp, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x12]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov edx, dword [ebp + 0xc]
sub esp, 0x30
mov dword [edx], eax
test eax, eax
je 0x4050d0
mov dword [ebx], 0
mov eax, 1
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0x12c
mov dword [ebx + 0xc], 5
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x4050c1

Function at 0x405140
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, ecx
push ebx
mov ebx, edx
mov eax, dword fs:[0x18]
sub esp, 0x1c
mov dword [esp + 8], 0x60c
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, edi
sub esp, 0xc
mov byte [ecx], al
xor eax, eax
lea esi, [esi]
movzx edi, word [ebx + eax]
mov word [ecx + eax + 2], di
add eax, 2
test di, di
jne 0x405188
test esi, esi
je 0x4051b4
xor eax, eax
nop
movzx ebx, word [esi + eax]
mov word [ecx + eax + 0x202], bx
add eax, 2
test bx, bx
jne 0x4051a0
test edx, edx
je 0x4051d4
xor eax, eax
lea esi, [esi]
movzx ebx, word [edx + eax]
mov word [ecx + eax + 0x402], bx
add eax, 2
test bx, bx
jne 0x4051c0
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4051e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov edx, 0xffff0000
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x69c
mov eax, dword [0x41b664]
mov dword [ebp - 0x654], 0x45
mov dword [ebp - 0x640], 0x100
test eax, eax
mov dword [esp + 4], str.Component_Categories_
cmove eax, edx
mov dword [esp], 0x80000000
mov dword [ebp - 0x658], 0xffff0001
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x670]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [ebp - 0x634], 1
mov dword [ebp - 0x67c], eax
call eax
sub esp, 0xc
test eax, eax
jne 0x40542c
mov ebx, 0xffffffff
lea esi, [ebp - 0x618]
lea esi, [esi]
mov eax, dword [ebp - 0x670]
add ebx, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x4053f0
lea eax, [ebp - 0x66c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x670]
mov dword [esp], eax
mov eax, dword [ebp - 0x67c]
call eax
sub esp, 0xc
test eax, eax
jne 0x405268
lea eax, [ebp - 0x668]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x668], 0x200
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x664], 0x200
mov dword [ebp - 0x660], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
sub esp, 0x10
test eax, eax
jne 0x405380
cmp word [ebp - 0x218], 0
je 0x405380
mov eax, dword [ebp - 0x66c]
mov dword [ebp - 0x644], edi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, esi
mov edx, esi
mov eax, 1
sub esp, 4
mov dword [esp], 0
call sym._CreateITEM_INFO
mov dword [esp + 8], 0
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x65c]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b030]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x405268
lea eax, [ebp - 0x664]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x660]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x66c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x405268
cmp word [ebp - 0x218], 0
jne 0x405315
jmp 0x405268
mov eax, dword [ebp - 0x670]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x41b664]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x41b030]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405440
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x46c
mov eax, dword [0x41b674]
mov dword [ebp - 0x454], 5
mov dword [esp + 4], str.AppID_
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x440], 0x100
mov dword [ebp - 0x458], 0xffff0001
mov dword [esp + 8], eax
mov dword [esp], 0x80000000
call edi
sub esp, 0xc
test eax, eax
jne 0x4055f4
mov esi, 0xffffffff
lea ebx, [ebp - 0x418]
lea esi, [esi]
mov eax, dword [ebp - 0x468]
add esi, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x4055b8
lea eax, [ebp - 0x464]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x468]
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x4054b0
lea eax, [ebp - 0x460]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x460], 0x200
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x464]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov ecx, eax
sub esp, 0x10
mov eax, ebx
test ecx, ecx
jne 0x405550
lea edx, [ebp - 0x218]
cmp word [ebp - 0x218], 0
mov eax, edx
cmove eax, ebx
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, ebx
mov edx, ebx
mov eax, 2
sub esp, 4
mov dword [esp], 0
call sym._CreateITEM_INFO
mov dword [esp + 8], 0
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x45c]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b030]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x4054b0
mov eax, dword [ebp - 0x468]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x41b674]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x41b030]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405a00
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x46c
mov eax, dword [0x41b67c]
mov dword [ebp - 0x454], 5
mov dword [esp + 4], str.Interface_
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x440], 0x100
mov dword [ebp - 0x458], 0xffff0001
mov dword [esp + 8], eax
mov dword [esp], 0x80000000
call edi
sub esp, 0xc
test eax, eax
jne 0x405bb4
mov esi, 0xffffffff
lea ebx, [ebp - 0x418]
lea esi, [esi]
mov eax, dword [ebp - 0x468]
add esi, 1
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyW]
sub esp, 0x10
test eax, eax
jne 0x405b78
lea eax, [ebp - 0x464]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x468]
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
jne 0x405a70
lea eax, [ebp - 0x460]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x460], 0x200
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x464]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
mov ecx, eax
sub esp, 0x10
mov eax, ebx
test ecx, ecx
jne 0x405b10
lea edx, [ebp - 0x218]
cmp word [ebp - 0x218], 0
mov eax, edx
cmove eax, ebx
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, ebx
mov edx, ebx
mov eax, 0xa
sub esp, 4
mov dword [esp], 0
call sym._CreateITEM_INFO
mov dword [esp + 8], 0
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x45c]
mov dword [esp + 0xc], eax
mov eax, dword [0x41b030]
mov dword [esp + 4], 0x1132
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x405a70
mov eax, dword [ebp - 0x468]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x41b67c]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [0x41b030]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x406ec0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x4c
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp eax, 5
je 0x406f20
cmp eax, 0x4e
je 0x407010
cmp eax, 1
je 0x406f70
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, esi
movzx esi, si
mov dword [esp + 0x14], 1
shr eax, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov eax, dword [0x41b030]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_MoveWindow]
xor eax, eax
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [0x41b03c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x7d1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000007
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40f2f4
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
mov dword [0x41b030], eax
call dbg.AddBaseEntries
call dbg.AddComponentCategories
call dbg.AddCOMandAll
call dbg.AddApplicationID
call dbg.AddTypeLib
call dbg.AddInterfaces
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
xor eax, eax
cmp ebx, 0x7d1
jne 0x406f09
mov edx, dword [esi + 8]
cmp edx, 0xfffffe3a
je 0x4070a8
cmp edx, 0xfffffe3d
je 0x407080
cmp edx, 0xfffffe36
jne 0x406f09
mov eax, dword [esi + 0x34]
test eax, eax
je 0x406f09
mov edx, dword [eax + 0x604]
test edx, edx
jne 0x4070c6
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x406f09
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call dbg.RefreshMenu
mov edx, dword [esi + 0x3c]
mov dword [esp], edx
call dbg.RefreshDetails
mov eax, dword [ebp - 0x1c]
jmp 0x406f09
mov dword [esp + 4], 0
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call dbg.CreateInst
mov eax, dword [ebp - 0x1c]
jmp 0x406f09
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call dbg.ReleaseInst
mov eax, dword [ebp - 0x1c]
jmp 0x407052

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dbg.AddBaseEntries
call dbg.AddComponentCategories
call dbg.AddCOMandAll
call dbg.AddApplicationID
call dbg.AddTypeLib
leave
jmp dbg.AddInterfaces
Function at 0x4072e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
xor edx, edx
xor eax, eax
mov ebp, esp
sub esp, 8
mov dword [eax + 0x41b660], edx
add eax, 4
cmp eax, 0x20
jb 0x4072ea
call dbg.AddComponentCategories
leave
jmp dbg.AddCOMandAll

Function at 0x407480
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
sub esp, 0x1c
mov esi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x210
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov ebx, eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
xor edx, edx
mov word [eax], dx
sub esp, 0xc
mov dword [ebx], eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret