joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460a40
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x460a6e
mov eax, ebx
call fcn.004614f4
cmp dword [ebx + 0x40], 0
je 0x460a67
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x460adf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x460ad1
cmp dword [ebx + 8], 0
je 0x460a90
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x460aa2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x460ad1
cmp dword [ebx + 8], 0
je 0x460a83
cmp eax, 3
je 0x460ab5
dec eax
jne 0x460a83
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x460a83
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x460a83
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x460afd
cmp dword [ebx + 0x14], 0xcc
je 0x460afd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00460b08
pop ebx
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x42b5e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x42b602
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b5f8
mov eax, 1
add ebx, ebx
jne 0x42b61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b610
jne 0x42b62c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b610
xor ecx, ecx
sub eax, 3
jb 0x42b640
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b6b2
mov ebp, eax
add ebx, ebx
jne 0x42b64b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b658
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b67c
inc ecx
add ebx, ebx
jne 0x42b668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b65d
jne 0x42b679
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b65d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b69c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b68d
jmp 0x42b5fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b69c
add edi, ecx
jmp 0x42b5fe
pop esi
mov edi, esi
mov ecx, 0x3e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b6ba
cmp byte [edi], 1
jne 0x42b6ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42b6bf
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b737
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c688]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c73c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b6ec
mov ecx, edi
jns 0x42b71b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c740]
or eax, eax
je 0x42b731
mov dword [ebx], eax
add ebx, 4
jmp 0x42b709
call dword [esi + 0x2c748]
mov ebp, dword [esi + 0x2c744]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42b76b
sub esp, 0xffffff80
jmp 0x40d841
Function at 0x410d37
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 8], 1
je 0x410d49
cmp dword [ebp + 8], 4
jne 0x410d50
mov al, 1
jmp 0x410f11
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x481190
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410dd4
mov dword [ebp - 0x18], 4
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4811bc
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x410deb
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.RealTek_Customer_Tool_Configuration_Parameters
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410e45
mov dword [ebp - 0x18], 4
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4811fc
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x410e5c
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.RealTek_USBIIC_Drivers
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x410eb6
mov dword [ebp - 0x18], 4
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.RTDTool_Version
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
je 0x410ecd
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jbe 0x410edd
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
jmp 0x410ee3
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x14]
jbe 0x410ef9
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
jmp 0x410eff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x64
jae 0x410f0f
xor al, al
jmp 0x410f11
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4163ee
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46af80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x18]
call fcn.0040e500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040e500
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x248
call fcn.0040e630
test eax, eax
je 0x416450
mov eax, dword [0x4709d8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00462373
jmp 0x4164c2
mov ecx, dword [ebp - 0x28]
add ecx, 0x248
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.004165bf
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00462323
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004621ea
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x254]
mov ecx, dword [eax*4 + 0x48ac0c]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x24c]
mov ecx, dword [eax*4 + 0x48ac24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str._s___s____s_
lea eax, [ebp - 0x18]
push eax
call fcn.0045cfab
add esp, 0x14
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00416811
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00462419
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00462323
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004621ea
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004621ea
lea ecx, [ebp - 0x18]
call fcn.0040e520
push eax
mov ecx, dword [ebp - 0x28]
call fcn.0046184f
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [0x4709dc]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x18]
call fcn.0040e530
push eax
lea ecx, [ebp - 0x18]
call fcn.0040e530
push eax
lea ecx, [ebp - 0x18]
call fcn.0046261a
push eax
push 1
push 0
mov ecx, dword [0x4709e0]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00462669
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004621ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004621ea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41cc21
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b5c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp + 0xc]
call fcn.0040e520
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41cc7f
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x14], 0
je 0x41cc8f
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004621ea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x41ccb7
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040e520
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41cd0c
mov ecx, dword [ebp + 8]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x41cd0c
mov ecx, dword [ebp - 4]
and ecx, 0xfffffffe
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esp, ebp
pop ebp
ret 4
Function at 0x41d8c2
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x14]
call fcn.0040e500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0044665b
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
push str..
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0046247f
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x14]
call fcn.00462323
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004621ea
push 0
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
lea ecx, [ebp - 0x30]
call fcn.0044671e
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d9df
lea ecx, [ebp - 0x30]
call fcn.0044693e
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00446a0d
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00462323
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004621ea
lea ecx, [ebp - 0x30]
call fcn.00446905
test eax, eax
je 0x41d9a3
jmp 0x41d94f
lea ecx, [ebp - 0x30]
call fcn.0041dbb0
test eax, eax
je 0x41d9bf
push 1
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0041d8c2
jmp 0x41d9da
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0041ccb7
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x41d94f
lea ecx, [ebp - 0x30]
call fcn.004466d4
cmp dword [ebp + 0xc], 0
je 0x41d9fc
mov ecx, dword [ebp + 8]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00446698
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004621ea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x439c0f
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cb15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.0040e500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040e500
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x5ec], 0
je 0x439c70
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x5ec]
push edx
call fcn.00410d20
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x5ec], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x558], 0
je 0x439cd5
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x55c], 0
jne 0x439cd5
push 4
push 0x486228
push str.Do_you_want_to_save_the_settings_
mov ecx, dword [ebp - 0x1c]
call fcn.0046069c
cmp eax, 6
jne 0x439cd5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28c]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0043cf94
mov ecx, dword [ebp - 0x1c]
call fcn.00430a50
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x55c], 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x558], 0
push 0x2e
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4e0
call fcn.0045cc03
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4e0
call fcn.0040e530
sub eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4e0
call fcn.0045ca02
push str._backup.bin
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4e0
call fcn.004625c6
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4e0
call fcn.0040e520
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x439d4d
mov ecx, dword [ebp - 0x1c]
add ecx, 0x4e0
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004621ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004621ea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43cb68
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
push 0x48b4c4
lea ecx, [ebp - 0x14]
call fcn.00462258
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
add eax, 0x1120c
push eax
push 0x4863dc
lea ecx, [ebp - 0x14]
push ecx
call fcn.0045cfab
add esp, 0xc
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [str.RealTek_DebugTool_Configuration_Parameters]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x14]
call fcn.0040e530
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e530
push eax
lea ecx, [ebp - 0x14]
call fcn.0046261a
push eax
push 1
push 0
mov ecx, dword [str.isp_title]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00462669
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0043ff3f
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00462419
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00462323
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004621ea
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004621ea
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0046184f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004621ea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4445c6
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d2c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call fcn.0040e500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040e500
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
add eax, 0x11f7c
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
call fcn.0040e500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040e500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040e500
mov byte [ebp - 4], 4
mov ecx, dword [str.ISP__PSI.ini]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x570]
push eax
push 0x4868a8
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045cfab
add esp, 0x10
mov edx, dword [str.hdcpkey.bin]
push edx
push 0x4868b0
lea eax, [ebp - 0x14]
push eax
call fcn.0045cfab
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x570]
push eax
push 0x4868b4
lea ecx, [ebp - 0x28]
push ecx
call fcn.0045cfab
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4446d9
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
and edx, 1
test edx, edx
je 0x4446d9
mov eax, dword [ebp - 0x24]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x28]
call fcn.0040e520
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [str.hdcpkey.bin]
push ecx
push 0x4868bc
lea edx, [ebp - 0x20]
push edx
call fcn.0045cfab
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x11f80
call fcn.00462323
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x11f80
call fcn.0040e520
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e520
push eax
mov ecx, dword [str.Saved_hdcpkey]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004621ea
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004621ea
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004621ea
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004621ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004621ea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45c360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0044e400
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45c42b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x45c42b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45c3de
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45c3e9
or bh, 8
and edi, 0x8000000
je 0x45c404
mov eax, dword [0x48eedc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x45c42b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret