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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6460f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push ebx
push str.LargeButtons
mov edx, dword [0x75dbe4]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call edi
cmp dword [esi + 0x30], ebx
je 0x4363d8
mov dword [ebp - 0x14], 1
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push str.bTbChOnDkMd
mov ecx, dword [0x75dbe4]
push ecx
call edi
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x436440
dec eax
push eax
lea ecx, [esi + 4]
call fcn.00435c90
add esi, 0x1c
mov edx, dword [eax]
push edx
push 0x678ea8
push esi
call fcn.00402f80
add esp, 0xc
mov esi, dword [esi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x436404
sub eax, edx
je 0x436432
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x436414
sub eax, edx
inc eax
push eax
push esi
push 1
push ebx
push str.ToolbarStyle
mov eax, dword [0x75dbe4]
push eax
call edi
jmp 0x43649b
push str.ToolbarStyle
mov ecx, dword [0x75dbe4]
push ecx
jmp 0x436495
cmp dword [esi + 0x2c], ebx
je 0x43648a
push 0x6806a8
lea ecx, [ebp - 0x18]
call fcn.004030c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x436460
sub eax, esi
inc eax
push eax
push edx
push 1
push ebx
push str.ToolbarStyle
mov edx, dword [0x75dbe4]
push edx
call edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00402580
jmp 0x43649b
push str.ToolbarStyle
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x646266
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [esi], vtable.CCustomToolbars.0
lea ecx, [esi + 4]
call fcn.00435ae0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x1c]
mov ecx, edi
call fcn.00402510
mov byte [ebp - 4], 1
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
push str.ToolbarStyle
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437187
lea eax, [ebp]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x437130
sub eax, edx
je 0x43714d
lea eax, [ebp]
push eax
push 0x678ea8
push edi
call fcn.00402f80
add esp, 0xc
push str.ClassicOld
lea ecx, [ebp]
push ecx
call fcn.00621d5e
add esp, 8
test eax, eax
jne 0x437169
push str.3D_Style
jmp 0x437193
push 0x6806a8
lea edx, [ebp]
push edx
call fcn.00621d5e
add esp, 8
test eax, eax
jne 0x43719c
mov dword [esi + 0x2c], 1
jmp 0x43719c
mov dword [esi + 0x2c], 1
push 0x6806a8
push edi
call fcn.00402f80
add esp, 8
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push str.LargeButtons
mov edx, dword [0x75dbe4]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4371cb
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push str.bTbChOnDkMd
mov eax, dword [0x75dbe4]
push eax
call edi
test eax, eax
jne 0x4371f3
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x18], ebx
mov ecx, esi
call fcn.00436540
cmp dword [esi + 0x2c], ebx
jne 0x437230
cmp dword [esi + 0x20], ebx
jne 0x437230
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp edi, dword [esi + 0xc]
jge 0x437230
push str.3D_Style
push edi
lea ecx, [esi + 4]
call fcn.00435c90
push eax
call fcn.00421c00
add esp, 8
inc edi
test al, al
je 0x437209
mov dword [esi + 0x20], edi
mov dword [ebp - 4], 1
jmp 0x437249
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x439250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6465b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [edi + 0x30]
cmp dword [eax], 0
jne 0x439290
cmp dword [edi + 0x24], 0
je 0x4392ac
push 4
push eax
push 4
push 0
push str.isUseWinDialUp
mov eax, dword [0x75dbe4]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
jmp 0x4392b2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [edi + 0x2c]
push ecx
push 4
push 0
push str.mAttempts
mov edx, dword [0x75dbe4]
push edx
call esi
push 4
add edi, 0x28
push edi
push 4
push 0
push str.mRedialTime
mov eax, dword [0x75dbe4]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a1e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6467e6
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x75db48], edi
je 0x43a250
push edi
push 0x3e8
push 1
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 8
cmp byte [ebp + 0xc], 0
je 0x43a298
push 0x100
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x75db40]
test eax, eax
je 0x43a286
mov eax, dword [0x75ef2c]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [ebp - 0x114]
push edx
lea ecx, [esi + 0xc8]
call fcn.00404b30
mov eax, dword [esi + 0xa4]
cmp dword [eax], edi
je 0x43a2ab
mov eax, dword [eax]
push eax
call dword [0x75db24]
mov ecx, dword [esi + 0xa4]
mov dword [ecx], edi
mov dword [esi + 0x84], 0x7567
mov eax, dword [esi + 0x80]
cmp eax, edi
jle 0x43a30a
cmp eax, dword [esi + 0x78]
jg 0x43a30a
mov eax, dword [esi + 0x74]
cmp eax, edi
je 0x43a2ec
cmp dword [eax + 0x3c], edi
je 0x43a2ec
cmp dword [eax + 0x30], edi
je 0x43a2ec
push edi
push edi
push edi
push edi
push edi
push 0x43a040
call fcn.005ffc0d
push edi
push 0x3e8
push 1
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 4], 0xffffffff
jmp 0x43a232
mov ebx, 1
add dword [esi + 0x78], ebx
mov dword [esi + 0xd8], edi
push ebx
mov ecx, esi
call fcn.00439f80
lea ecx, [ebp - 0x328]
call fcn.00402510
mov byte [ebp - 4], bl
mov eax, dword [esi + 0x7c]
push eax
push str.Redial___ld
lea ecx, [ebp - 0x328]
push ecx
call fcn.00402f80
add esp, 0xc
mov edx, dword [ebp - 0x328]
push edx
lea ecx, [esi + 0xb8]
call fcn.00423ba0
push 5
mov eax, dword [esi + 0xbc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x3e8
push 2
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.00402580
mov dword [ebp - 4], 0xffffffff
jmp 0x43a232
Function at 0x43c4d0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x646c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
push 0x200
mov esi, ecx
mov ecx, dword [esi + 0x310]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43c68c
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005fd857
push esi
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fd631
mov dword [esp + 0x458], 0
push edi
lea ecx, [esp + 0x2c]
call fcn.005fd956
mov ebx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea edx, [eax + 2]
jmp 0x43c580
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c580
sub eax, edx
lea ecx, [esp + 0x10]
push ecx
sar eax, 1
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push ebx
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.005fd956
test edi, edi
je 0x43c66e
cmp dword [esp + 0x460], 0
je 0x43c66e
mov ecx, dword [esi + 0x588]
cmp ecx, dword [esp + 0x10]
je 0x43c66e
mov eax, dword [esi + 0x310]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
push edx
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005fd2ec
mov edx, dword [esp + 0x10]
sub edx, dword [esi + 0x588]
mov ecx, dword [esi + 0x300]
add dword [esp + 0x20], edx
lea eax, [esp + 0x3c]
push eax
push ecx
call edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.005fd2ec
mov eax, dword [esp + 0x44]
add eax, 0xfffffffb
cmp dword [esp + 0x20], eax
jle 0x43c630
mov dword [esp + 0x20], eax
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x30c]
call fcn.0040ae50
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x588]
jge 0x43c66e
mov edx, dword [esi + 0x300]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push edx
call edi
mov eax, dword [esi + 0x310]
push 1
push 0
push eax
call edi
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x588], ecx
mov dword [esp + 0x458], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.005fd685
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0062023e
add esp, 0x44c
ret 4
Function at 0x43f250
Capabilities:
Get geographical location

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push edi
push ebx
call fcn.006242d0
mov dword [esp + 0x10], eax
cdq
mov ebp, eax
push 0
mov eax, ebx
sub eax, ebp
mov ecx, edi
push 0x400
sbb ecx, edx
push ecx
push eax
mov dword [esp + 0x2c], edx
call fcn.00624220
mov esi, eax
and esi, 0x800003ff
jns 0x43f29e
dec esi
or esi, 0xfffffc00
inc esi
mov eax, esi
shl eax, 0xa
cdq
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
sub ecx, ebp
sbb eax, dword [esp + 0x1c]
push 0
push 0x100000
push eax
push ecx
call fcn.00624220
mov ebp, eax
and ebp, 0x800003ff
jns 0x43f2d2
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push edi
push ebx
call fcn.00624220
push 3
lea ecx, [esp + 0x1c]
push ecx
push 0xe
push 0x400
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x43f304
mov edx, 0x2c
mov word [esp + 0x18], dx
test edi, edi
jne 0x43f3d8
cmp ebp, 0x3e7
jg 0x43f3d8
test ebp, ebp
jne 0x43f389
cmp esi, 0x3e7
jg 0x43f389
test esi, esi
je 0x43f363
mov eax, dword [0x75f0e0]
push eax
mov eax, dword [esp + 0x14]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [esp + 0x20]
push edx
push esi
jmp 0x43f40c
mov ecx, dword [0x75f0e4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push ecx
push edx
push str._d___s
push eax
call fcn.00402f80
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [0x75f0dc]
mov eax, esi
imul eax, eax, 0x3e8
cdq
push ecx
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebp
push str._d_s_02d___s
push edx
call fcn.00402f80
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [0x75f0d8]
push eax
mov eax, ebp
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
lea edx, [esp + 0x20]
push edx
push edi
mov eax, dword [esp + 0x30]
push str._d_s_02d___s
push eax
call fcn.00402f80
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x43f520
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x647420
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402510
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebp + 0x10]
push eax
push 0x68164c
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f80
add esp, 0x10
test bl, 8
je 0x43f5fb
xor ebx, 8
lea ecx, [ebp - 0x1c]
call fcn.00402510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402510
mov byte [ebp - 4], 3
mov esi, dword [ebp + 0xc]
push esi
push esi
mov eax, dword [0x75f5ac]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402f80
add esp, 0x10
cmp ebx, 2
jne 0x43f64e
lea ecx, [ebp - 0x20]
call fcn.00402510
mov byte [ebp - 4], 4
push esi
mov edx, dword [0x75f5b0]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00402f80
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push str._s_r_n_r_n_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f80
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402580
jmp 0x43f663
mov dword [ebp - 0x20], 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43f57f
cmp dword [ebp - 0x24], 1
jne 0x43f57f
mov byte [ebp - 4], al
lea ecx, [ebp - 0x14]
call fcn.00402580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
push ecx
push 0x678ea8
lea edx, [ebp - 0x1c]
push edx
call fcn.00402f80
add esp, 0xc
push 0x41044
push 0x678d88
mov eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.00472fb0
add esp, 0x10
cmp eax, 6
jne 0x43f6b5
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004b3db0
add esp, 8
mov dword [ebp - 0x24], 1
push 4
lea edx, [ebp - 0x24]
push edx
push 4
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402580
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4461a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4461b0
sub eax, esi
sar eax, 1
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x4461ea
push edi
jmp 0x4461d0
mov si, word [edx + eax*2]
xor si, 0x1f
mov edi, 0xff
sub si, di
mov word [edx + eax*2], si
inc eax
cmp eax, ecx
jl 0x4461d0
pop edi
pop esi
ret
Function at 0x4476d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x24c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
mov ebx, dword [esp + 0x254]
push ebp
push ebx
push str.comctl32.dll
call fcn.0062574a
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 8
test eax, eax
je 0x4477ed
push ebx
push str.comctl32
call fcn.0062574a
add esp, 8
test eax, eax
je 0x4477ed
push ebx
push 0x67b490
call fcn.0062574a
add esp, 8
test eax, eax
je 0x4477ed
push ebx
push str.shell32
call fcn.0062574a
add esp, 8
test eax, eax
je 0x4477ed
push 0x104
lea ecx, [esp + 0xc]
xor eax, eax
push ecx
mov word [esp + 0x10], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4477ed
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447771
sub eax, edx
sar eax, 1
je 0x4477ed
cmp word [esp + eax*2 + 6], 0x5c
push esi
push edi
je 0x4477a7
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x447793
mov edx, dword [0x679980]
mov dword [edi], edx
mov eax, ebx
mov edx, ebx
jmp 0x4477b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4477b0
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4477c4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
pop edi
pop esi
test eax, eax
jne 0x4477f0
push ebx
call ebp
mov ecx, dword [esp + 0x250]
pop ebp
pop ebx
xor ecx, esp
call fcn.0062023e
add esp, 0x24c
ret
Function at 0x447850
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x647d40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x44795d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
push eax
call fcn.005f4522
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005f4522
add esp, 8
mov edi, eax
cmp esi, ebx
je 0x44795d
cmp edi, ebx
je 0x44795d
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x24]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
push esi
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x447930
push esi
call fcn.005f4517
push edi
call fcn.005f4517
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x44795d
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
mov edx, dword [ebp - 0x24]
push edx
push eax
push esi
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44795d
inc ebx
jmp 0x4478d9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x647d60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x104], 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 + 0x110]
mov ebx, dword [ebp + 0x114]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov eax, 0x104
push eax
lea eax, [ebp]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x4479f0
mov eax, 1
jmp 0x447a3f
test eax, eax
jne 0x447a3d
push eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea edx, [ebp]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x447a3d
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea ecx, [ebp]
push ecx
push edi
call fcn.00447a70
add esp, 0xc
test eax, eax
je 0x447a3d
inc esi
jmp 0x4479cd
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x108
mov esp, ebp
pop ebp
ret
Function at 0x447b20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x128]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x447b6c
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0062023e
add esp, 0x118
ret
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x447ba5
xor ecx, ecx
cmp eax, 2
sete cl
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0062023e
add esp, 0x118
ret
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, esi
cmp byte [edi - 1], 0x5c
je 0x447bbf
mov byte [edi], 0x5c
inc edi
mov byte [edi], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push edx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
jne 0x447c49
nop
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447bf5
sub eax, edx
mov ecx, 0x208
sub ecx, eax
push ecx
lea edx, [esp + 0x24]
push edx
push edi
call fcn.00621aa0
push esi
push ebx
call fcn.00447b20
add esp, 0x14
test eax, eax
je 0x447c49
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push eax
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x447bf0
mov byte [edi - 1], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x124]
pop edi
pop ebp
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0062023e
add esp, 0x118
ret

Function at 0x447f90
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447fa0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x447fbb
xor byte [eax + edx], 0x29
inc eax
cmp eax, ecx
jl 0x447fb2
ret

Function at 0x447fc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447fd0
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x447feb
xor byte [eax + edx], 0xb
inc eax
cmp eax, ecx
jl 0x447fe2
ret