joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451f10
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x526f56
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0x354], eax
push ebx
push ebp
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
mov ecx, dword [esi + 0x20]
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
push ebp
push ebp
push ebp
push ecx
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x452058
mov eax, dword [esp + 0x10]
cmp eax, ebp
jbe 0x452058
dec eax
cmp eax, ebp
mov dword [esp + 0x14], eax
jl 0x452058
lea ebx, [ebx]
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x28]
push edx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x168]
push ecx
push eax
push edx
mov dword [esp + 0x38], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x452047
mov word [esp + 0x20], ax
lea eax, [esp + 0x154]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x451fd7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040b490
lea edx, [esp + 0x38]
mov dword [esp + 0x370], ebp
mov ebx, dword [esi + 0x20]
push edx
lea edi, [esp + 0x20]
call fcn.00445680
mov ecx, eax
mov byte [esp + 0x370], 1
call fcn.00452080
lea edi, [esp + 0x38]
call fcn.00445600
mov dword [esp + 0x370], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x452047
mov eax, dword [esp + 0x20]
push eax
call fcn.004f0cfc
add esp, 4
mov eax, dword [esp + 0x14]
sub eax, 1
mov dword [esp + 0x14], eax
jns 0x451f90
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x354]
xor ecx, esp
call fcn.004f070d
add esp, 0x364
ret

Function at 0x452080
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.00451f10
mov eax, dword [esi + 0x20]
push 0x5388f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test edi, edi
je 0x4520cb
lea ecx, [esp + 8]
call fcn.004f0779
push 0x54cbcc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], vtable.registry::error.0
mov dword [esp + 0x1c], edi
call fcn.004f4646
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4520e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x20], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x452800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52a128
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00457d70
sub esp, 0x1c
mov dword [esp + 0x28], esp
mov edi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x74], 0
push eax
lea edx, [esp + 0x50]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
mov word [ecx + 4], ax
call fcn.00403000
call fcn.004cc160
add esp, 0x1c
mov edi, esi
call fcn.004cc631
add esp, 0x1c
cmp dword [esp + 0x28], 8
jb 0x4528a1
mov eax, dword [esp + 0x14]
push eax
call fcn.004f0cfc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004f070d
add esp, 0x34
ret
Function at 0x457c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5294e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0xb
xor eax, eax
push str.DisplayName
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.0040b490
mov edx, dword [esp + 0x34]
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00457960
add esp, 4
cmp dword [esp + 0x20], 8
jb 0x457caf
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004f0cfc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret

Function at 0x457cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5294e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 3
xor eax, eax
push 0x53d4ec
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.0040b490
mov edx, dword [esp + 0x34]
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.00457960
add esp, 4
cmp dword [esp + 0x20], 8
jb 0x457d4f
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004f0cfc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
add esp, 0x2c
ret
Function at 0x458ab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x522cf4
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.TRegKeyValue.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
lea eax, [edi + 0x14]
push ebx
mov ebp, 7
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00403000
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
lea eax, [edi + 0x30]
push ebx
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00403000
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 2
lea eax, [edi + 0x4c]
push ebx
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00403000
push 0xffffffffffffffff
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 3
lea eax, [edi + 0x68]
push ebx
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00403000
push 0xffffffffffffffff
lea ecx, [esi + 0x84]
mov byte [esp + 0x1c], 4
lea eax, [edi + 0x84]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402e40
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x45ac50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524a26
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 8], eax
mov ecx, 7
xor edx, edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov word [esi + 0x10], dx
mov dword [esp + 0x14], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], eax
xor ecx, ecx
mov word [esi + 0x30], cx
mov dword [esi + 0x48], eax
mov dword [esi + 0x28], vtable.registry::value.0
mov byte [esp + 0x14], 1
mov dl, byte [edi + 0x4c]
mov byte [esi + 0x4c], dl
movzx eax, byte [edi + 0x4c]
mov ecx, dword [edi + 8]
push eax
mov eax, dword [esi + 8]
call fcn.00451bd0
mov dword [esi + 8], eax
mov cl, byte [edi]
mov byte [esi], cl
mov edx, dword [edi + 4]
add esp, 4
mov dword [esi + 4], edx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x45afb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push esi
push edi
mov esi, ecx
mov edi, eax
mov eax, esi
call fcn.0041f4b0
call fcn.00417610
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, eax
mov dword [esp + 0xc], ecx
je 0x45b031
cmp dword [esi + 0x1c], 8
jb 0x45afde
mov ecx, dword [esi + 8]
jmp 0x45afe1
lea ecx, [esi + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esi + 0x20]
push 0
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x45b028
lea ecx, [esp + 0x10]
call fcn.004f0779
push 0x54cc08
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], vtable.registry::read_error.0
mov dword [esp + 0x28], esi
call fcn.004f4646
mov eax, dword [esp + 0xc]
call fcn.00417610
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x45b0a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
cmp dword [eax + 0x1c], 8
jb 0x45b0ae
mov ecx, dword [eax + 8]
jmp 0x45b0b1
lea ecx, [eax + 8]
mov eax, dword [eax + 0x20]
push esi
push edx
mov edx, dword [esp + 0x20]
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x45b0f9
lea ecx, [esp + 4]
call fcn.004f0779
push 0x54cc44
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], vtable.registry::write_error.0
mov dword [esp + 0x1c], esi
call fcn.004f4646
pop esi
add esp, 0x14
ret 4

Function at 0x460c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524788
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [edi + 0x30]
lea esi, [esp + 0xc]
call fcn.004457c0
xor esi, esi
lea ecx, [edi + 0x4c]
mov edx, eax
mov dword [esp + 0x38], esi
call fcn.00445450
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], vtable.registry::const_value.0
cmp eax, esi
je 0x460ccb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x28], 8
jb 0x460cdf
mov eax, dword [esp + 0x14]
push eax
call fcn.004f0cfc
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x462c80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x522ca3
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi], eax
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
push edi
lea edx, [esp + 0x2c]
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push edx
mov word [ecx + 4], ax
call fcn.00403000
cmp dword [esp + 0x3c], 8
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
jb 0x462cf3
mov eax, dword [esp + 0x28]
push eax
call fcn.004f0cfc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret 0x20
Function at 0x465330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x526afb
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00416c30
mov dword [esp + 0xa4], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0xc]
mov edx, 0x2000
mov word [eax + 0x10], dx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xac]
lea eax, [esp + eax + 0xc]
mov dword [eax + 0x14], 0x10
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0xc]
mov byte [eax + 0x30], 0x30
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00405890
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
lea eax, [esp + eax + 0x14]
mov edx, 0x2000
add esp, 8
mov word [eax + 0x10], dx
lea eax, [esp + 0xb]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00465710
mov bl, byte [esp + 0xb]
lea ecx, [esp + 0x60]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00416cc0
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], vtable.std::ios_base.0
call fcn.004e1d2a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0xa0
ret

Function at 0x465860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524759
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 8]
lea ecx, [esp + 0x1c]
push ecx
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
lea edx, [esp + 0x24]
push edx
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
jg 0x465929
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x4658f3
xor ecx, ecx
jmp 0x4658f8
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov edx, dword [esi + 8]
mov ebp, edx
sub ebp, eax
cmp ebp, ecx
jae 0x46590f
mov al, byte [esp + 0x3c]
mov byte [edx], al
inc edx
mov dword [esi + 8], edx
jmp 0x46591a
push edx
push esi
lea eax, [esp + 0x44]
call fcn.0041f210
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jle 0x4658d7
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x468610
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x2c
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0x10]
push ecx
push esi
shr esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x468e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esi + 4]
push ebx
push ebp
xor ebp, ebp
cmp ecx, ebp
je 0x468e23
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov eax, dword [esi + 8]
mov dword [esi + 4], ebp
cmp eax, ebp
je 0x468e41
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], ebp
mov ecx, dword [esp + 0xc]
push 0xa
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, ebp
jne 0x468e5c
pop ebp
xor al, al
pop ebx
ret 4
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebp
je 0x468f28
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, ebp
je 0x468f28
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
cmp eax, ebp
je 0x468f28
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x468f1b
push edi
push ebx
push eax
call fcn.004f7510
mov eax, dword [esi + 8]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push ebp
push eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x468f11
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00468ca0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x468f11
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebp
cmp ecx, ebp
jne 0x468eff
pop edi
pop ebp
mov al, 1
pop ebx
ret 4
mov ecx, dword [esi + 4]
cmp ecx, ebp
je 0x468f0e
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 4], ebp
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], ebp
pop edi
pop ebp
xor al, al
pop ebx
ret 4
Function at 0x469ac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x523b2e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [ebx], vtable.TCheckButton.0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
xor edx, edx
mov dword [ebx + 0x50], 7
mov dword [ebx + 0x4c], eax
mov word [ebx + 0x3c], dx
mov byte [esp + 0x14], 2
push str.checkbox_u_idle.png
mov byte [ebx + 0x25], al
mov byte [ebx + 0x24], al
mov byte [ebx + 0x26], al
call fcn.004699a0
push str.checkbox_u_over.png
call fcn.004699a0
push str.checkbox_u_down.png
call fcn.004699a0
push str.checkbox_c_idle.png
call fcn.004699a0
push str.checkbox_c_over.png
call fcn.004699a0
push str.checkbox_c_down.png
call fcn.004699a0
mov eax, ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 4

Function at 0x469e90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x204
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0x200], eax
mov ecx, dword [esi + 4]
push 0x100
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469ec0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 4]
push edx
lea ecx, [esi + 0x38]
call fcn.0040b490
mov ecx, dword [esp + 0x200]
xor ecx, esp
mov dword [edi], 0
xor eax, eax
call fcn.004f070d
add esp, 0x204
ret

Function at 0x46b730
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movzx edx, byte [esi + 0x19a]
movzx eax, word [esp + 4]
mov ecx, dword [esi + 0x1f4]
push ecx
mov ecx, dword [0x561590]
shl edx, 0x10
or edx, eax
push edx
push 0x402
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
xor eax, eax
ret 4

Function at 0x46b770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x3c
lea edx, [esp + 0x10]
push edx
push 1
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov dword [esp + 0x20], 0x28
call dword [sym.imp.USER32.dll_MonitorFromPoint]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [esp + 0x30]
push 1
mov dword [esi + 0x1d8], eax
mov ecx, dword [esi + 0x178]
push 0
push ecx
mov byte [esi + 0x19a], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
lea eax, [esp]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x3c
ret
Function at 0x46d350
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xd4
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0xd0], eax
mov dword [esp], 0
cmp dword [0x55e574], 0
jne 0x46d3ec
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x53b678
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46d3ec
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x53ed4c
push eax
mov dword [esp + 0x18], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46d3e1
lea ecx, [esp + 8]
push ecx
call fcn.004f37e1
add esp, 4
push 0x55e560
mov edx, str.ITBarLayout
cmp eax, 6
je 0x46d3dc
mov edx, str.ITBar7Layout
call fcn.00408f00
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push 0x55e560
mov ecx, esi
mov word [esi + 4], ax
call fcn.00403000
mov ecx, dword [esp + 0xd0]
xor ecx, esp
mov eax, esi
call fcn.004f070d
add esp, 0xd4
ret
Function at 0x477b70
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x477b9d
push esi
push edi
jmp 0x477b80
movzx esi, byte [edx]
movzx esi, byte [esi + 0x534f68]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x477b80
pop edi
pop esi
ret

Function at 0x477c00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x477c1d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x477c2a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x561430]
test eax, eax
je 0x477c35
call eax
lea ecx, [esi*8]
push ecx
call fcn.004749b0
mov ebp, eax
mov eax, dword [0x561434]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x477c56
call eax
test ebp, ebp
je 0x477c21
mov edx, dword [edi + 0xc]
push edx
call fcn.00474c80
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x55d934]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call fcn.004f4810
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x477d3f
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x477cd3
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x534f68]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x477cb0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x477d1a
mov esi, dword [eax]
test esi, esi
je 0x477cf0
mov edx, dword [eax + 4]
jmp 0x477cf2
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x477d1a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x477d12
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x477d33
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x477d33
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x477d29
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x477ca3
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret