joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d860
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x81c]
sub esp, 0x81c
push 0xffffffffffffffff
push 0x652840
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0x818], 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, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0x14], bl
jne 0x51da22
mov eax, dword [0x754c3c]
cmp eax, ebx
jne 0x51d8bd
mov eax, 0x754c40
lea esi, [edi + 0x18]
push ebx
push eax
push str._sfoldresHistory.txt
mov ecx, esi
call fcn.004021b0
mov byte [edi + 0x14], 1
cmp dword [esi], ebx
je 0x51d8da
mov esi, dword [esi]
jmp 0x51d8dd
add esi, 4
push ebx
push ebx
push 3
push ebx
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x51da22
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 1
mov edi, edi
push 0x800
push ebx
lea ecx, [ebp + 0x18]
push ecx
call fcn.00618760
add esp, 0xc
push ebx
lea edx, [ebp - 0x1c]
push edx
push 0x7fe
lea eax, [ebp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x51da09
cmp dword [ebp - 0x1c], ebx
jbe 0x51da09
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00405340
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x51d95e
lea eax, [ebp + 0x10]
push 0xa
push eax
call fcn.00619bf0
add esp, 8
mov esi, eax
jmp 0x51d970
cmp esi, ebx
je 0x51da01
xor edx, edx
mov word [esi], dx
mov edx, dword [ebp + 0xc]
cmp edx, ebx
mov eax, edx
jne 0x51d989
lea eax, [ebp + 0x10]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x51d990
sub eax, edi
sar eax, 1
je 0x51d9b6
cmp edx, ebx
mov eax, edx
jne 0x51d9aa
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004c2ff0
add esi, 2
push esi
lea ecx, [ebp]
call fcn.00402180
mov byte [ebp - 4], 2
mov eax, dword [ebp]
cmp eax, ebx
jne 0x51d9d0
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0xc]
call fcn.004017f0
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x51d9e3
lea eax, [ebp + 0x10]
push 0xa
push eax
call fcn.00619bf0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
jmp 0x51d970
mov esi, dword [ebp - 0x14]
jmp 0x51d910
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x818]
xor ecx, ebp
call fcn.0061807e
add ebp, 0x81c
mov esp, ebp
pop ebp
ret
Function at 0x51da60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652878
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x74f8a0]
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 edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], 0
cmp byte [edi + 0x14], 0
jne 0x51dac5
mov eax, dword [0x754c3c]
test eax, eax
jne 0x51dab5
mov eax, 0x754c40
push 0
push eax
push str._sfoldresHistory.txt
lea ecx, [edi + 0x18]
call fcn.004021b0
cmp dword [edi + 0x18], 0
je 0x51dad0
mov eax, dword [edi + 0x18]
jmp 0x51dad3
lea eax, [edi + 0x1c]
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, 0xffffffff
je 0x51dba1
xor eax, eax
mov dword [ebp - 0x24], eax
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, dword [edi + 8]
jge 0x51db7c
push eax
lea ecx, [edi + 4]
call fcn.0043b810
push eax
lea ecx, [ebp - 0x20]
call fcn.00402180
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
test edx, edx
mov eax, edx
jne 0x51db29
lea eax, [ebp - 0x1c]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x51db30
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x51db48
lea ecx, [ebp - 0x1c]
push 0
lea edx, [ebp - 0x2c]
push edx
add eax, eax
push eax
push ecx
push esi
call ebx
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 2
push 0x69c7e4
push esi
call ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x30]
jmp 0x51db02
mov dword [ebp - 4], 0xffffffff
jmp 0x51db95
cmp esi, 0xffffffff
je 0x51dba1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0061807e
mov esp, ebp
pop ebp
ret
Function at 0x51f830
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
lea eax, [esp + 0x14]
push eax
mov esi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call ebx
test eax, eax
jne 0x51fa35
mov ecx, dword [esp + 0xc]
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edx, edx
cmp byte [esi + 0x21], dl
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.isStartEnabled
push ecx
mov dword [esp + 0x28], edx
call edi
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp byte [esi + 0x22], dl
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.isStopEnabled
push ecx
mov dword [esp + 0x28], edx
call edi
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp byte [esi + 0x23], dl
push 4
lea eax, [esp + 0x14]
push eax
push 4
sete dl
push 0
push str.isStartDilay
push ecx
mov dword [esp + 0x28], edx
call edi
mov eax, dword [esp + 0x14]
push 4
lea edx, [esi + 0x3c]
push edx
push 4
push 0
push str.startDaysOfWeek
push eax
call edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp byte [esi + 0x40], cl
push 4
lea edx, [esp + 0x14]
push edx
push 4
setne cl
push 0
push str.isForceTurnOff
push eax
mov dword [esp + 0x28], ecx
call edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp byte [esi + 0x43], cl
push 4
lea edx, [esp + 0x14]
push edx
push 4
setne cl
push 0
push str.isHangUpModem
push eax
mov dword [esp + 0x28], ecx
call edi
xor ecx, ecx
cmp byte [esi + 0x41], cl
setne cl
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.isTurnOffComputer
push eax
call edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp byte [esi + 0x42], cl
push 4
lea edx, [esp + 0x14]
push edx
push 4
setne cl
push 0
push str.isExitIDMWhenDone
push eax
mov dword [esp + 0x28], ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.startTime
push eax
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x2c]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.startDay
push eax
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x34]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.stopTime
push eax
mov dword [esp + 0x30], ecx
call edi
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareDownloadManagerQueue
push 0x80000001
call ebx
test eax, eax
jne 0x51fa33
mov ecx, dword [esi + 0x54]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x24]
push str.FilesAtTheSameTime
push eax
mov dword [esp + 0x28], ecx
call edi
mov ecx, dword [esp + 0x14]
push ecx
call ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x51fd40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x652c16
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CSchedulerInfo.0
xor ebx, ebx
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov word [esi + 0x18], ax
mov dword [esp + 0x3c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
xor ecx, ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov word [esi + 0x4c], cx
mov byte [esp + 0x3c], 1
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0xc], bl
mov dword [esi + 8], 0x78
mov dword [esi + 0x10], ebx
mov dword [esi + 0x54], 1
mov byte [esi + 4], 1
mov byte [esi + 0x21], bl
mov byte [esi + 0x22], bl
mov byte [esi + 0x23], bl
mov byte [esi + 0x40], bl
mov byte [esi + 0x43], bl
mov byte [esi + 0x41], bl
mov byte [esi + 0x42], bl
mov dword [esi + 0x3c], 0x7f
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x17
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x77
mov dword [esp + 0x34], 0xffffffff
call fcn.0061e3a0
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
jne 0x51fe2c
push 0x80070057
call fcn.00401090
mov dword [esi + 0x28], edx
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x1e
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x77
mov dword [esp + 0x34], 0xffffffff
call fcn.0061e3a0
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
jne 0x51fe88
push 0x80070057
call fcn.00401090
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edx
mov byte [esi + 0x44], bl
mov dword [esi + 0x58], ebx
mov dword [esp + 0x3c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x5243a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 8], eax
mov al, 0x66
mov byte [esp], al
mov byte [esp + 5], al
lea eax, [esp]
push esi
mov esi, dword [esp + 0x14]
mov byte [esp + 5], 0x64
mov byte [esp + 6], 0x74
mov byte [esp + 7], 0x60
mov byte [esp + 8], 0x76
mov byte [esp + 0xa], 0
lea edx, [eax + 1]
jmp 0x5243e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5243e0
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x5243fa
nop
xor byte [esp + ecx + 4], 0x12
inc ecx
cmp ecx, eax
jl 0x5243f0
lea eax, [esp + 4]
push eax
push 0x66fea8
push esi
call fcn.00402f70
mov ecx, dword [esp + 0x18]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0061807e
add esp, 0xc
ret

Function at 0x524420
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 8], eax
mov al, 0x61
mov byte [esp], al
mov byte [esp + 4], al
lea eax, [esp]
push esi
mov esi, dword [esp + 0x14]
mov byte [esp + 5], 0x71
mov byte [esp + 6], 0x73
mov byte [esp + 7], 0x7c
mov byte [esp + 9], 0x79
mov byte [esp + 0xa], 0
lea edx, [eax + 1]
jmp 0x524460
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x524460
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x52447a
nop
xor byte [esp + ecx + 4], 0x12
inc ecx
cmp ecx, eax
jl 0x524470
lea eax, [esp + 4]
push eax
push 0x66fea8
push esi
call fcn.00402f70
mov ecx, dword [esp + 0x18]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0061807e
add esp, 0xc
ret

Function at 0x5244a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x10], eax
mov al, 0x20
mov dl, 0x25
mov cl, 0x21
mov byte [esp + 5], al
mov byte [esp + 0xb], al
lea eax, [esp]
push esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 6], dl
mov byte [esp + 0xc], dl
mov byte [esp + 4], 0x2b
mov byte [esp + 5], 0x26
mov byte [esp + 7], cl
mov byte [esp + 8], 0x24
mov byte [esp + 0xa], 0x22
mov byte [esp + 0xb], 0x27
mov byte [esp + 0xd], 0x23
mov byte [esp + 0xe], 0x2b
mov byte [esp + 0x10], 0x2a
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x26
mov byte [esp + 0x13], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x524510
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x52452a
nop
xor byte [esp + ecx + 4], 0x12
inc ecx
cmp ecx, eax
jl 0x524520
lea eax, [esp + 4]
push eax
push 0x66fea8
push esi
call fcn.00402f70
mov ecx, dword [esp + 0x20]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0061807e
add esp, 0x14
ret
Function at 0x526680
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6535d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
call fcn.00526600
test eax, eax
jne 0x526799
lea ecx, [esp + 0xc]
call fcn.00402500
mov dword [esp + 0x24], 0
lea eax, [esp + 0xc]
push eax
call fcn.005243a0
mov eax, dword [esp + 0x10]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x754bec]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x526752
mov eax, dword [esp + 0x10]
add eax, 0xecdc0ccd
cdq
push 0
mov esi, eax
mov edi, edx
call fcn.0061b821
add esp, 4
cdq
push 0
sub eax, esi
push 0x15180
sbb edx, edi
push edx
push eax
call fcn.0061c060
cmp dword [0x749d2c], 0
je 0x526741
cmp eax, 5
jge 0x52673a
cmp eax, 0xffffffff
jge 0x526788
call fcn.00525500
jmp 0x526788
cmp eax, 0x37
jge 0x52674b
cmp eax, 0xffffffff
jge 0x526788
call fcn.00525500
jmp 0x526788
lea edx, [esp + 0x18]
push edx
call fcn.0061b821
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
add eax, 0x1323f333
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x754bec]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402570
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x527cf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653930
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0x20019
lea eax, [ebp + 0x10]
push eax
push 0x20019
push edi
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x527d67
push str.Cannot_open_key_for_reading.
mov ecx, dword [ebp + 8]
call fcn.00403070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x38]
push eax
push edi
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20]
push edx
push edi
push edi
push edi
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x527d99
push str._Cannot_read_information_about_subkeys.
jmp 0x527d4b
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
push eax
call fcn.005ec342
mov esi, eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push eax
call fcn.005ec342
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push eax
call fcn.005ec342
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
cmp edi, dword [ebp - 0x20]
jae 0x527e2a
push 0x6722a4
mov ecx, ebx
call fcn.00403070
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x40]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push esi
push edi
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x527e15
push str.Cannot_enumerate_this_object.
mov ecx, ebx
call fcn.00403070
inc edi
jmp 0x527dce
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
mov ecx, dword [ebp - 0x28]
call fcn.005282f0
inc edi
jmp 0x527dce
push esi
call fcn.005ec337
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005ec337
mov edx, dword [ebp - 0x34]
push edx
call fcn.005ec337
add esp, 0xc
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 0x10
Function at 0x529b50
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 0x529b60
sub eax, esi
mov ecx, eax
xor eax, eax
pop esi
test ecx, ecx
jle 0x529b7b
xor byte [eax + edx], 0x11
inc eax
cmp eax, ecx
jl 0x529b72
ret
Function at 0x52c600
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x24a
mov esi, ecx
mov ecx, dword [0x754bec]
lea eax, [esi + 4]
push eax
push 0
push 0
push str.evDownloadComplete
push ecx
call edi
mov eax, dword [0x754bec]
push 0x24a
lea edx, [esi + 0x24e]
push edx
push 0
push 0
push str.evDownloadFailed
push eax
call edi
mov edx, dword [0x754bec]
push 0x24a
lea ecx, [esi + 0x498]
push ecx
push 0
push 0
push str.evQueueStarted
push edx
call edi
mov eax, dword [0x754bec]
push 0x24a
add esi, 0x6e2
push esi
push 0
push 0
push str.evQueueFinished
push eax
call edi
pop edi
pop esi
ret

Function at 0x52c6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], vtable.CSoundsSettings.0
mov dword [esi + 0x930], ebx
mov dword [esi + 0x92c], ebx
call fcn.0044b490
push 0x208
lea eax, [esi + 0x44]
push ebx
push eax
mov byte [esi + 0x24c], bl
call fcn.00618760
mov ecx, dword [0x754bec]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 4]
push ebp
push ebx
push ebx
push str.evDownloadComplete
push ecx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x52c73b
push 0x208
lea eax, [esi + 0x44]
push ebx
push eax
mov byte [esi + 0x24c], bl
call fcn.00618760
add esp, 0xc
mov edx, dword [0x755c90]
push 0x3f
push edx
push ebp
call fcn.006198e0
push 0x208
lea eax, [esi + 0x28e]
push ebx
push eax
mov byte [esi + 0x43], bl
mov byte [esi + 0x496], bl
call fcn.00618760
mov ecx, dword [0x754bec]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 0x24e]
push ebp
push ebx
push ebx
push str.evDownloadFailed
push ecx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x52c7ab
push 0x208
lea eax, [esi + 0x28e]
push ebx
push eax
mov byte [esi + 0x496], bl
call fcn.00618760
add esp, 0xc
mov edx, dword [0x755c94]
push 0x3f
push edx
push ebp
call fcn.006198e0
push 0x208
lea eax, [esi + 0x4d8]
push ebx
push eax
mov byte [esi + 0x28d], bl
mov byte [esi + 0x6e0], bl
call fcn.00618760
mov ecx, dword [0x754bec]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ebp, [esi + 0x498]
push ebp
push ebx
push ebx
push str.evQueueStarted
push ecx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x52c81e
push 0x208
lea eax, [esi + 0x4d8]
push ebx
push eax
mov byte [esi + 0x6e0], bl
call fcn.00618760
add esp, 0xc
mov edx, dword [0x755c9c]
push 0x3f
push edx
push ebp
call fcn.006198e0
push 0x208
lea ebp, [esi + 0x722]
push ebx
push ebp
mov byte [esi + 0x4d7], bl
mov byte [esi + 0x92a], bl
call fcn.00618760
mov edx, dword [0x754bec]
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea eax, [esi + 0x6e2]
push eax
push ebx
push ebx
push str.evQueueFinished
push edx
mov dword [esp + 0x28], 0x24a
call edi
test eax, eax
je 0x52c88b
push 0x208
push ebx
push ebp
mov byte [esi + 0x92a], bl
call fcn.00618760
add esp, 0xc
mov eax, dword [0x755c98]
push 0x3f
push eax
lea eax, [esi + 0x6e2]
push eax
call fcn.006198e0
add esp, 0xc
pop edi
mov byte [esi + 0x721], bl
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x52c8d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x653e50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0x210], 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 edi, dword [ebp + 0x21c]
xor ebx, ebx
cmp dword [esi + 0x92c], ebx
jne 0x52c9a9
call fcn.0052c680
test al, al
jne 0x52c9a9
lea ecx, [ebp]
call fcn.004bb9b0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.00402500
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__ld_during_LoadWINMMLibrary___n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f70
add esp, 0xc
push 1
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp]
call fcn.004bbb20
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004bbb10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0061807e
add ebp, 0x214
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52c982
mov dword [ebp - 4], 2
push 0x20001
push ebx
push edi
mov edx, dword [esi + 0x92c]
call edx
mov dword [ebp - 4], 0xffffffff
jmp 0x52c982
Function at 0x52ca00
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0x670984
push 0
mov esi, ecx
mov ecx, dword [0x754bec]
push str.SpecialKeys
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x52cb4f
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esi + 8]
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.UseKeyToPrevent
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 4]
push ecx
push 4
push 0
push str.UseKeyToForce
push edx
call edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esi + 0xc]
push eax
push 4
push 0
push str.AltP
push ecx
call edi
mov eax, dword [esp + 8]
push 4
lea edx, [esi + 0x10]
push edx
push 4
push 0
push str.ShiftP
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 0x14]
push ecx
push 4
push 0
push str.CtrlP
push edx
call edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esi + 0x18]
push eax
push 4
push 0
push str.DelP
push ecx
call edi
mov eax, dword [esp + 8]
push 4
lea edx, [esi + 0x1c]
push edx
push 4
push 0
push str.AltF
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 0x20]
push ecx
push 4
push 0
push str.CtrlF
push edx
call edi
mov ecx, dword [esp + 8]
push 4
lea eax, [esi + 0x24]
push eax
push 4
push 0
push str.ShiftF
push ecx
call edi
mov eax, dword [esp + 8]
push 4
lea edx, [esi + 0x28]
push edx
push 4
push 0
push str.InsF
push eax
call edi
mov edx, dword [esp + 8]
push 4
lea ecx, [esi + 0x2c]
push ecx
push 4
push 0
push str.CheckMouse
push edx
call edi
mov eax, dword [esp + 8]
push 4
add esi, 0x30
push esi
push 4
push 0
push str.SkipHtml
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret