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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4392b3
push esi
call fcn.0043c380
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4392ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x439339
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439322
mov eax, dword [esi + 8]
test eax, eax
je 0x4392d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43931e
cmp eax, 2
je 0x439322
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4392ca
cmp eax, 3
je 0x4392fd
cmp eax, 1
jne 0x4392ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4392ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4392ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439360
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439348
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439360
add esp, 4
pop esi
ret

Function at 0x450094
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48a5d4]
jne 0x45009e
repz ret
jmp fcn.00456217
Function at 0x45504c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48a5d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044b488
and dword [ebp - 0x14], 0
cmp dword [0x49a430], 0
mov dword [ebp - 0x18], eax
jne 0x4550ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4551a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4551a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x476050
push ebx
mov dword [0x49a430], eax
call edi
push eax
call esi
push 0x47603c
push ebx
mov dword [0x49a434], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49a438], eax
call edi
push eax
call esi
mov dword [0x49a440], eax
test eax, eax
je 0x4550ff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49a43c], eax
mov eax, dword [0x49a43c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x455158
cmp dword [0x49a440], ecx
je 0x455158
push eax
call esi
push dword [0x49a440]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x455158
test ebx, ebx
je 0x455158
call edi
test eax, eax
je 0x45514f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45514f
test byte [ebp - 8], 1
jne 0x455158
or dword [ebp + 0x10], 0x200000
jmp 0x45518b
mov eax, dword [0x49a434]
cmp eax, dword [ebp - 0x18]
je 0x45518b
push eax
call esi
test eax, eax
je 0x45518b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45518b
mov eax, dword [0x49a438]
cmp eax, dword [ebp - 0x18]
je 0x45518b
push eax
call esi
test eax, eax
je 0x45518b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49a430]
call esi
test eax, eax
je 0x4551a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4551a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450094
leave
ret

Function at 0x45e53b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45e573
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045c5ef
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045c5c7
jmp 0x45e57f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x45fc29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45fc6b
call fcn.004656e5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45fc6b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45fc62
xor eax, eax
jmp 0x45fc73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045fc79
pop edi
pop esi
pop ebx
ret 4
Function at 0x401070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 9
mov byte [ebp - 0x1f], 0x35
mov byte [ebp - 0x1e], 0x3c
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1c], 0x2d
mov byte [ebp - 0x1b], 0x3b
mov byte [ebp - 0x1a], 0x28
mov byte [ebp - 0x19], 0x3f
mov byte [ebp - 0x18], 6
mov byte [ebp - 0x17], 0x17
mov byte [ebp - 0x16], 0x33
mov byte [ebp - 0x15], 0x39
mov byte [ebp - 0x14], 0x28
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x29
mov byte [ebp - 0x11], 0x35
mov byte [ebp - 0x10], 0x3c
mov byte [ebp - 0xf], 0x2e
mov byte [ebp - 0xe], 6
mov byte [ebp - 0xd], 0x14
mov byte [ebp - 0xc], 0x35
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x3f
mov byte [ebp - 9], 0x2a
mov byte [ebp - 8], 0x3b
mov byte [ebp - 7], 0x3e
mov byte [ebp - 6], 0
mov dword [ebp - 4], 0
jmp 0x4010fb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1a
jae 0x401115
mov ecx, dword [ebp - 4]
movsx edx, byte [ebp + ecx - 0x20]
xor edx, 0x5a
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x20], dl
jmp 0x4010f2
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], 0
jmp 0x401149
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1b
jae 0x401159
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x20], 0
jmp 0x401140
mov byte [ebp - 0x30], 0x72
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x6e
mov byte [ebp - 0x2b], 0x73
mov byte [ebp - 0x2a], 1
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x28], 0x40
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0
mov dword [ebp - 4], 0
jmp 0x40119b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0xb
jae 0x4011b5
mov eax, dword [ebp - 4]
movsx ecx, byte [ebp + eax - 0x30]
xor ecx, 0x21
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x30], cl
jmp 0x401192
cmp dword [ebp - 0x24], 0
je 0x4011d0
push 0x2009
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004011de
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x409f79
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 2
mov ecx, dword [ebp - 8]
call fcn.0040d3f0
push 3
mov ecx, dword [ebp - 8]
call fcn.0040d3f0
mov eax, dword [ebp - 8]
add eax, 0x5310
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eb8e
push 0
push 0x452
mov ecx, dword [ebp - 8]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eb8e
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x68], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x64], 0xff
mov ecx, dword [ebp - 8]
call fcn.00407e9a
mov ecx, dword [ebp - 8]
call fcn.0040397d
test eax, eax
jne 0x40a039
mov ecx, dword [ebp - 8]
call fcn.00406d7a
push 0
push 0x64
push 2
mov ecx, dword [ebp - 8]
call fcn.0040d3c0
push 0
push 0x32
push 3
mov ecx, dword [ebp - 8]
call fcn.0040d3c0
push 0x32
push 0x258
call dword [sym.imp.KERNEL32.dll_Beep]
push 0
mov ecx, dword [ebp - 8]
call fcn.0044dfec
jmp 0x40a11f
push 0
mov ecx, dword [ebp - 8]
call fcn.0044dfec
mov eax, dword [ebp - 8]
mov byte [eax + 0x190], 0
push 0x46891c
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0044e9b5
mov ecx, dword [ebp - 8]
call fcn.0040b546
test eax, eax
je 0x40a0db
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1dc], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1e0], eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x411cf0
call fcn.0043771a
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x411f0a
call fcn.0043771a
add esp, 0xc
push 0
push 0x64
push 2
mov ecx, dword [ebp - 8]
call fcn.0040d3c0
push 0
push 0x32
push 3
mov ecx, dword [ebp - 8]
call fcn.0040d3c0
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x52ec]
call fcn.00427280
and eax, 0xffff
cmp eax, 0x32a
jl 0x40a11f
mov dword [ebp - 4], 0
jmp 0x40a107
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x28
jge 0x40a11f
mov ecx, dword [ebp - 8]
call fcn.00407ee9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a0fe
push 1
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eb8e
push 1
push 0x452
mov ecx, dword [ebp - 8]
call fcn.0044e95d
mov ecx, eax
call fcn.0044eb8e
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0044e95d
mov ecx, eax
call fcn.0044ebb5
mov ecx, dword [ebp - 8]
add ecx, 0x5310
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret
Function at 0x40cd90
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45665f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], 0
jmp 0x40cdc0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jge 0x40cdef
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x40cdeb
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
xor edx, 0x12
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x40cded
jmp 0x40cdef
jmp 0x40cdb7
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00437d5b
add esp, 8
test eax, eax
jne 0x40cea1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and al, 0xfe
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x468ab8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00437d48
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40ce58
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00437c9a
add esp, 4
push 0x8001
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ed86
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040d230
push 0x3600
push 0x4640e4
lea ecx, [ebp - 0x28]
call fcn.0044efa2
lea ecx, [ebp - 0x28]
call fcn.0044f192
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044ee1f
mov dword [ebp - 0x10], 0
jmp 0x40ceb3
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jge 0x40cec6
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov byte [eax], 0
jmp 0x40ceaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x40e937
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4568e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.0040e6a6
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
call fcn.004014f0
push eax
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp + 0xc]
call fcn.004014f0
push eax
lea ecx, [ebp + 8]
call fcn.004014f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0044b879
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0044b879
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0044b879
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40e9d2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456934
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.0040cf40
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
call fcn.0040e6a6
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
call fcn.004014f0
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0044bca9
push eax
lea ecx, [ebp + 0x14]
call fcn.004014f0
push eax
lea ecx, [ebp + 0x10]
call fcn.004014f0
push eax
lea ecx, [ebp + 0xc]
call fcn.004014f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0044b879
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044b5ee
mov eax, dword [ebp - 0x18]
or al, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.0044b879
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0044b879
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0044b879
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0044b879
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x412420
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x412450
push esi
call fcn.004165b0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x412449
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4124d3
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4124bf
mov eax, dword [esi + 8]
test eax, eax
je 0x412474
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4124bb
cmp eax, 2
je 0x4124bf
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x412467
cmp eax, 3
je 0x41249a
cmp eax, 1
jne 0x412467
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x412467
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x412467
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00412500
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4124f3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00412500
add esp, 4
pop esi
ret
Function at 0x424990
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov al, 6
mov dl, 0x2e
mov cl, 0x3f
mov byte [esp + 0x10], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x22], al
mov dword [esp + 4], 0
mov byte [esp + 8], 9
mov byte [esp + 9], 0x35
mov byte [esp + 0xa], 0x3c
mov byte [esp + 0xb], dl
mov byte [esp + 0xc], 0x2d
mov byte [esp + 0xd], 0x3b
mov byte [esp + 0xe], 0x28
mov byte [esp + 0xf], cl
mov byte [esp + 0x11], 0x1e
mov byte [esp + 0x12], 0x35
mov byte [esp + 0x13], dl
mov byte [esp + 0x14], 0x32
mov byte [esp + 0x15], 0x33
mov byte [esp + 0x16], 0x34
mov byte [esp + 0x17], 0x31
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], 0x23
mov byte [esp + 0x1b], 0x1e
mov byte [esp + 0x1c], 0xe
mov byte [esp + 0x1d], 0xf
mov byte [esp + 0x1e], 9
mov byte [esp + 0x1f], 0x18
mov byte [esp + 0x20], 0x68
mov byte [esp + 0x21], 0x6a
mov byte [esp + 0x23], 9
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x2f
mov byte [esp + 0x27], 0x2a
mov byte [esp + 0x28], 0
xor eax, eax
mov cl, byte [esp + eax + 8]
xor cl, 0x5a
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 0x20
jb 0x424a42
push edi
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 8]
pop edi
test eax, eax
je 0x424b89
mov edx, dword [esi + 4]
push edx
push str.bAutoWB
push eax
call fcn.00424b90
mov eax, dword [esi + 0x454]
mov ecx, dword [esp + 0x10]
push eax
push str.Gain_r
push ecx
call fcn.00424b90
mov edx, dword [esi + 0x458]
mov eax, dword [esp + 0x1c]
push edx
push str.Gain_g
push eax
call fcn.00424b90
mov ecx, dword [esi + 0x45c]
mov edx, dword [esp + 0x28]
push ecx
push str.Gain_b
push edx
call fcn.00424b90
mov ecx, dword [esp + 0x34]
xor eax, eax
mov al, byte [esi + 0xc]
push eax
push str.Gamma
push ecx
call fcn.00424b90
mov eax, dword [esp + 0x40]
xor edx, edx
mov dl, byte [esi + 0x451]
push edx
push str.Contrast
push eax
call fcn.00424b90
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x4c]
add esp, 0x48
push ecx
push str.Color_Correct_Enable
push edx
call fcn.00424b90
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [esi + 0x450]
push eax
push str.Saturation
push ecx
call fcn.00424b90
mov edx, dword [esi + 0x470]
mov eax, dword [esp + 0x1c]
push edx
push str.SENSOR_CHECK_FLAG
push eax
call fcn.00424b90
mov ecx, dword [esi + 0x474]
mov edx, dword [esp + 0x28]
xor ecx, 0x77aa
push ecx
push str.SENSOR_CHECK_ADDR
push edx
call fcn.00424b90
mov eax, dword [esp + 0x34]
add esp, 0x30
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x28
ret
xor eax, eax
pop esi
add esp, 0x28
ret

Function at 0x424b90
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret
Function at 0x424f40
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x424f94
cmp dword [esp + 0xc], 4
jne 0x424f94
cmp dword [esp], 4
jne 0x424f94
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x424f90
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x424f98
mov eax, ecx
pop ecx
ret
mov eax, dword [esp + 0x10]
pop ecx
ret
Function at 0x42abf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], 0
lea eax, [edi + edi*2]
cdq
and edx, 3
add eax, edx
mov esi, eax
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
lea eax, [ebp + ebp*2]
cdq
and edx, 3
add eax, edx
mov ebx, eax
mov eax, ebp
imul eax, edi
cdq
and edx, 3
add eax, edx
mov ecx, eax
mov eax, edi
cdq
and edx, 3
add eax, edx
sar esi, 2
sar eax, 2
sar ebx, 2
sar ecx, 2
cmp eax, esi
mov dword [esp + 0x20], ecx
jge 0x42acee
mov ecx, dword [esp + 0x28]
mov edi, eax
imul edi, ebp
sub esi, eax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
cmp esi, ebx
jge 0x42acdd
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x280ecd]
and al, 2
mov byte [esp + 0x30], al
jmp 0x42ac8b
mov al, byte [esp + 0x30]
test al, al
lea edx, [edi + esi]
je 0x42aca2
lea eax, [ecx + edx*2]
mov dl, byte [ecx + edx*2 + 1]
mov al, byte [eax + 3]
mov byte [esp + 0x10], dl
jmp 0x42acb0
mov al, byte [ecx + edx*2]
lea edx, [edi + esi]
mov byte [esp + 0x10], al
mov al, byte [ecx + edx*2 + 2]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
and eax, 0xff
and edx, 0xff
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2c]
add edx, eax
inc esi
cmp esi, ebx
mov dword [esp + 0x2c], edx
jl 0x42ac87
mov eax, dword [esp + 0x14]
add edi, ebp
dec eax
mov dword [esp + 0x14], eax
jne 0x42ac6d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
pop edi
shl eax, 6
xor edx, edx
pop esi
pop ebp
pop ebx
div ecx
add esp, 0x14
ret 0xc
Function at 0x42c000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
push esi
lea eax, [esp + 4]
push edi
mov edi, ecx
push eax
mov byte [esp + 0x10], 0x90
call fcn.00438d8b
push eax
call fcn.00438d5c
add esp, 8
call fcn.00438d69
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
call esi
lea edx, [esp + 8]
push edx
call fcn.00438d8b
push eax
call fcn.00438d5c
add esp, 8
call fcn.00438d69
mov ecx, eax
push 2
sar ecx, 8
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], al
call esi
lea edx, [esp + 8]
push edx
call fcn.00438d8b
push eax
call fcn.00438d5c
add esp, 8
call fcn.00438d69
mov ecx, eax
push 2
sar ecx, 8
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], al
call esi
lea edx, [esp + 8]
push edx
call fcn.00438d8b
push eax
call fcn.00438d5c
add esp, 8
call fcn.00438d69
mov ecx, eax
mov edx, dword [esp + 0xc]
sar ecx, 8
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x14]
mov dword [esp + 0x1c], eax
mov al, 0x47
mov byte [esp + 0x27], al
mov byte [esp + 0x2f], al
mov dword [esp + 0x18], edx
mov word [esp + 0x20], cx
mov byte [esp + 0x24], 0x22
mov byte [esp + 0x25], 0xcb
mov byte [esp + 0x26], 0xda
mov byte [esp + 0x28], 0x7e
mov byte [esp + 0x29], 0x14
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], 0x42
mov byte [esp + 0x2c], 0xfb
mov byte [esp + 0x2d], 0x2f
mov byte [esp + 0x2e], 0x8f
mov byte [esp + 0x30], 0x66
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x32], 0x64
mov byte [esp + 0x33], 0xfe
xor eax, eax
mov cl, byte [esp + eax + 0x24]
xor cl, 0x67
mov byte [esp + eax + 0x24], cl
inc eax
cmp eax, 0x10
jb 0x42c11e
lea edx, [esp + 0x24]
lea eax, [esp + 0x19]
push edx
push eax
call fcn.0042eb30
add esp, 8
test al, al
je 0x42c14d
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret
push 0
lea ecx, [esp + 0x1c]
push 9
push ecx
push 0xa0
mov ecx, edi
call fcn.0042bae0
test al, al
jne 0x42c16e
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret
push 0x14
call esi
push 1
lea edx, [esp + 0x1c]
push 1
push edx
push 0xa0
mov ecx, edi
call fcn.0042bae0
test al, al
jne 0x42c193
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret
lea eax, [esp + 0x19]
push 8
push eax
push 0xa0
mov ecx, edi
call fcn.0042bbd0
test al, al
jne 0x42c1b2
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret
xor eax, eax
mov cl, byte [esp + eax + 0x19]
mov dl, byte [esp + eax + 0xd]
cmp cl, dl
jne 0x42c1aa
inc eax
lea edx, [eax + 1]
cmp edx, 9
jl 0x42c1b4
pop edi
mov eax, 1
pop esi
add esp, 0x2c
ret