joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008e171
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1008e1bb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1008e162
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1008e171
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10493e14
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1008e1c2
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10075038
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1008e261
add edi, 4
add eax, 2
dec ecx
jne 0x1008e1a7
call 0x1008e20e
loope 0x1008e204
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1008e25e
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1008e26f
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1008e222
cmp eax, ecx
ja 0x1008e222
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1008e2ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1008e2a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10075517
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov dword [ebp + edx - 0x224], 0
add edx, 4
cmp edx, 0x1c
jb 0x401b2d
mov edx, dword [0x41a4dc]
lea esi, [ebp - 0x208]
mov ebx, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x214], 0x100
mov dword [ebp - 0x218], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], 0x7d2
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], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.SysTabControl32
mov dword [esp], 0
call ebx
sub esp, 0x30
mov dword [0x41a4a4], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x41a4dc]
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 + 8], 0
mov dword [esp + 4], 0x133e
mov dword [esp + 0xc], eax
mov eax, dword [0x41a4a4]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [0x41a4dc]
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
mov eax, dword [0x41a4a4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], 0
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x410020
mov dword [esp], 0x200
call ebx
sub esp, 0x30
mov dword [0x41a4a8], eax
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 0x401df0
cmp eax, 0x4e
je 0x401dd0
cmp eax, 1
je 0x401d10
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
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, 0x53
mov ecx, 0x61
mov edx, 0x74
mov word [ebp - 0x26], ax
mov eax, 0x63
mov ebx, 0x74
mov word [ebp - 0x1c], ax
xor eax, eax
mov edi, 0x69
mov word [ebp - 0x1a], ax
mov eax, dword [0x41a4dc]
mov word [ebp - 0x22], cx
mov word [ebp - 0x24], dx
mov word [ebp - 0x20], bx
mov word [ebp - 0x1e], di
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x26]
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]
sub esp, 0x30
mov dword [0x41a4a0], eax
mov eax, esi
call dbg.CreateTabCtrl
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 0x7d2
je 0x401ea3
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [0x41a4a0]
movzx esi, bx
shr ebx, 0x10
mov edi, dword [sym.imp.user32.dll_MoveWindow]
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 esp, 0x18
sub ebx, 0x57
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x28
mov dword [esp + 0x10], eax
lea eax, [esi - 6]
mov dword [esp + 4], 3
sub esi, 0x1a
mov dword [esp + 0xc], eax
mov eax, dword [0x41a4a4]
mov dword [esp], eax
call edi
mov eax, dword [0x41a4a8]
sub esp, 0x18
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0xa
mov dword [esp], eax
call edi
sub esp, 0x18
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp dword [ebx + 8], 0xfffffdd9
jne 0x401ddc
mov eax, dword [0x41a4a8]
mov dword [esp + 4], 0
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp], eax
call ebx
mov eax, dword [0x41a4a4]
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
test eax, eax
jne 0x401ddc
mov eax, dword [0x41a4a8]
mov dword [esp + 4], 5
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 8
jmp 0x401cfe
Function at 0x403820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ecx, 0x32
mov ebp, esp
push edi
push esi
push ebx
mov esi, 0x40f0c0
lea edi, [ebp - 0x4e0]
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]
lea edi, [ebp - 0x218]
mov dword [esp + 0xc], 0x100
mov dword [ebp - 0x4ec], edx
mov dword [esp + 4], 1
mov dword [esp + 8], esi
mov dword [esp], eax
call edx
sub esp, 0x10
mov edx, dword [ebp - 0x4ec]
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 0x403a54
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 [0x41a4c8], eax
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x18], ecx
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
sub esp, 0x34
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [0x41a4cc], 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 [0x41a4cc]
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 [0x41a4cc]
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]
sub esp, 0x10
mov dword [0x41a4c0], esi
mov dword [0x41a4dc], ebx
mov dword [esp], esi
mov dword [0x41a4e0], 1
mov dword [0x41a4e4], 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]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, 1
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 0x403a60
Capabilities:
Get graphical window text

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, 0x18
cmp dword [ecx + 4], 0x111
mov ebx, dword [ecx]
mov eax, dword [ecx + 8]
jne 0x403ac0
movzx eax, ax
cmp eax, 1
je 0x403ad0
cmp eax, 2
jne 0x403ac0
mov dword [esp], ebx
mov dword [esp + 4], 2
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, 0x41a4e8
xor eax, eax
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 0x403b22
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0x41a4e8
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]
sub esp, 8
lea esp, [ebp - 0x10]
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
Function at 0x405250
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov eax, 0x50
mov edx, 0x41
mov ecx, 0x4e
mov ebp, esp
push esi
push ebx
xor esi, esi
mov ebx, 0x45
sub esp, 0x40
mov word [ebp - 0x12], ax
mov word [ebp - 0xa], si
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov word [ebp - 0x10], dx
mov word [ebp - 0xe], cx
mov word [ebp - 0xc], bx
mov eax, dword [eax + 0x18]
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 + 0x24], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x12]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_CreateWindowExW]
mov edx, dword [ebp + 0xc]
sub esp, 0x30
test eax, eax
mov dword [edx], eax
je 0x405340
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov eax, 1
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 0x405337

Function at 0x4053b0
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov esi, edx
mov eax, dword fs:[0x18]
sub esp, 0x2c
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 8]
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 ecx, dword [ebp - 0x1c]
mov byte [eax], bl
lea ebx, [eax + 2]
sub esp, 0xc
add esi, 2
movzx edx, word [esi - 2]
add ebx, 2
test dx, dx
mov word [ebx - 2], dx
jne 0x4053f3
test ecx, ecx
lea edx, [eax + 0x202]
je 0x405423
add ecx, 2
movzx ebx, word [ecx - 2]
add edx, 2
test bx, bx
mov word [edx - 2], bx
jne 0x405410
test edi, edi
lea edx, [eax + 0x402]
je 0x405443
lea esi, [esi]
add edi, 2
movzx ecx, word [edi - 2]
add edx, 2
test cx, cx
mov word [edx - 2], cx
jne 0x405430
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4057f0
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 [0x41a704]
mov dword [ebp - 0x654], 0x45
mov dword [ebp - 0x640], 0x100
mov dword [ebp - 0x658], 0xffff0001
mov dword [ebp - 0x634], 1
mov dword [esp + 4], str.Component_Categories_
test eax, eax
mov dword [esp], 0x80000000
cmove eax, edx
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 - 0x67c], eax
call eax
sub esp, 0xc
test eax, eax
jne 0x4059dc
lea esi, [ebp - 0x618]
lea edi, [ebp - 0x66c]
mov ebx, 0xffffffff
nop
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 0x4059a0
mov eax, dword [ebp - 0x670]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ebp - 0x67c]
sub esp, 0xc
test eax, eax
jne 0x405880
lea eax, [ebp - 0x668]
mov dword [ebp - 0x668], 0x200
mov dword [ebp - 0x664], 0x200
mov dword [ebp - 0x660], 0x200
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x218]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x66c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
sub esp, 0x10
test eax, eax
jne 0x4059e4
cmp word [ebp - 0x218], 0
je 0x4059e4
lea eax, [ebp - 0x218]
mov dword [ebp - 0x644], eax
mov eax, dword [ebp - 0x66c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov ecx, esi
mov edx, esi
mov dword [esp], 0
mov eax, 1
call dbg.CreateITEM_INFO
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x65c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp + 0xc], eax
mov eax, dword [0x41a4d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x405880
mov eax, dword [ebp - 0x670]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x41a704]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp + 0xc], eax
mov eax, dword [0x41a4d0]
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
lea eax, [ebp - 0x664]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x218]
mov dword [esp + 0x18], 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], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x405880
cmp word [ebp - 0x218], 0
jne 0x40592d
jmp 0x405880
Function at 0x405a60
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, 0x47c
mov eax, dword [0x41a714]
mov dword [ebp - 0x454], 5
mov dword [ebp - 0x440], 0x100
mov dword [ebp - 0x458], 0xffff0001
mov dword [esp + 4], str.AppID_
mov dword [esp], 0x80000000
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x468]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [ebp - 0x46c], eax
call eax
sub esp, 0xc
test eax, eax
jne 0x405c1c
lea esi, [ebp - 0x418]
lea edi, [ebp - 0x464]
mov ebx, 0xffffffff
mov esi, esi
lea edi, [edi]
mov eax, dword [ebp - 0x468]
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 0x405be0
mov eax, dword [ebp - 0x468]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ebp - 0x46c]
sub esp, 0xc
test eax, eax
jne 0x405ae0
lea eax, [ebp - 0x460]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x460], 0x200
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x464]
mov dword [esp + 8], edx
mov dword [ebp - 0x470], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueW]
sub esp, 0x10
test eax, eax
jne 0x405b7b
cmp word [ebp - 0x218], 0
jne 0x405c24
mov dword [ebp - 0x444], esi
mov eax, dword [ebp - 0x464]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov ecx, esi
mov edx, esi
mov dword [esp], 0
mov eax, 2
call dbg.CreateITEM_INFO
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x45c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1132
mov dword [esp + 0xc], eax
mov eax, dword [0x41a4d0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x405ae0
mov eax, dword [ebp - 0x468]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x41a714]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1113
mov dword [esp + 0xc], eax
mov eax, dword [0x41a4d0]
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
mov edx, dword [ebp - 0x470]
mov dword [ebp - 0x444], edx
jmp 0x405b81
Function at 0x4072d0
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 0x407300
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 esi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, 5
je 0x407460
cmp eax, 0x4e
je 0x4073e0
cmp eax, 1
je 0x407360
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
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, dword [0x41a4dc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x7d1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000007
mov dword [esp + 8], 0
mov dword [esp + 4], str.SysTreeView32
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
mov dword [0x41a4d0], eax
call dbg.AddTreeEx
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 esi, 0x7d1
jne 0x40734d
mov edx, dword [ebx + 8]
cmp edx, 0xfffffe3a
je 0x4074d1
cmp edx, 0xfffffe3d
je 0x4074b0
cmp edx, 0xfffffe36
jne 0x40734d
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x40734d
mov eax, dword [esi + 0x604]
test eax, eax
je 0x407435
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dbg.ReleaseInst
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x40734d
mov eax, ebx
movzx ebx, bx
mov dword [esp + 0x14], 1
shr eax, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [0x41a4d0]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_MoveWindow]
sub esp, 0x18
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call dbg.RefreshMenu
mov edx, dword [ebx + 0x3c]
mov dword [esp], edx
call dbg.RefreshDetails
mov eax, dword [ebp - 0x1c]
jmp 0x40734d
mov dword [esp + 4], 0
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call dbg.CreateInst
mov eax, dword [ebp - 0x1c]
jmp 0x40734d

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

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
sub esp, 8
mov dword [eax + 0x41a700], 0
add eax, 4
cmp eax, 0x20
jb 0x4074f8
call dbg.AddComponentCategories
leave
jmp dbg.AddCOMandAll
Function at 0x4076b0
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 dword [ebx], eax
sub esp, 0xc
mov word [eax], dx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret