joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056dc
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4635d0
call fcn.00449ec2
call fcn.004366fe
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d53
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0042fd55
pop ecx
lea ecx, [ebp + 0xc]
test eax, eax
jne 0x405755
push str.Failed_to_create_launcher_path
call fcn.0040130b
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1b2c4
lea esi, [edi + 0x4a4]
mov ecx, eax
lea edx, [ebp + 0xc]
call fcn.0040e316
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
push 0xd
pop eax
jmp 0x40586c
push str.Launcher_path:
call fcn.0040130b
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.0040f821
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 5
push ebx
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x271c8
mov dword [ebp + 8], eax
cmp dword [0x4a6ab4], esi
je 0x4057f7
cmp eax, 0x21
jl 0x4057f7
push str.ShellExecute_succeded.
lea ecx, [ebp + 0xc]
mov dword [edi + 0xbc], 1
call fcn.0040130b
push ebx
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040fcf3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
jmp 0x40586c
push str.ShellExecute_failed
lea ecx, [ebp + 0xc]
call fcn.0040130b
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
lea esi, [edi + 0x4a4]
mov ecx, eax
lea edx, [ebp + 0xc]
call fcn.0040e316
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebp + 8], 5
jne 0x40585e
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 0xc]
call fcn.0040130b
push ebx
lea eax, [ebp + 0xc]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040fcf3
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp + 8]
call fcn.00449f9a
ret 8
Function at 0x405c26
Capabilities:
Delete registry key

Disassembly:
push 0x42c
mov eax, 0x46139e
call fcn.00449f2b
xor edi, edi
mov dword [ebp - 0x42c], 0x15
mov dword [esi + 0xd0], edi
cmp dword [esi + 0xc8], edi
je 0x405c9c
push edi
push 0xc5
call fcn.00432fdb
pop ecx
pop ecx
test eax, eax
je 0x405c9c
push str.cleanup_serviced
lea ecx, [ebp - 0x428]
call fcn.0040130b
push edi
lea eax, [ebp - 0x428]
push eax
push 2
mov dword [ebp - 4], edi
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x428]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x405d88
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
mov dword [ebp - 0x438], edi
call fcn.00448000
add esp, 0xc
xor eax, eax
push ebx
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00448000
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0042746d
add esp, 0xc
test eax, eax
je 0x405da5
call fcn.004366fe
push eax
lea ecx, [ebp - 0x428]
call fcn.00411d53
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 4], 1
call fcn.0042fca4
pop ecx
test eax, eax
je 0x405d6e
push str._ArmCleanup
lea ecx, [ebp - 0x430]
call fcn.0040130b
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 4], 2
call fcn.004271ec
mov ecx, dword [ebp - 0x430]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x42c], eax
call fcn.004017c4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebp - 0x42c], edi
jne 0x405da5
xor ebx, ebx
jmp 0x405d9d
cmp ebx, 0x14
jge 0x405da5
push 0xc8
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xd0], edi
je 0x405d8c
cmp dword [esi + 0xd0], edi
jne 0x405de4
push str.launch_cleanup_not_confirmed
lea ecx, [ebp - 0x42c]
call fcn.0040130b
push edi
lea eax, [ebp - 0x42c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.0040fcf3
mov ecx, dword [ebp - 0x42c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x434]
push eax
push 0xf003f
push edi
push 0x46c0b0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405e22
push str.Cleanup
push dword [ebp - 0x434]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00449fae
ret
Function at 0x406b7f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x45f316
call fcn.00449ec2
mov esi, ecx
lea eax, [esi + 0x268]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040130b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x406c93
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406c93
cmp dword [esi + 0x1dc], ebx
jne 0x406c07
push str.Report_is_not_enabled_in_Session
lea ecx, [ebp - 0x18]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.0040fcf3
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov esi, 0x30d0e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, esi
jmp 0x406ccc
lea edi, [esi + 0x264]
push 0x46bd84
push str.Reported
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call fcn.004103ca
cmp byte [ebp - 0xd], bl
je 0x406c59
push str.already_reported
lea ecx, [ebp - 0x18]
call fcn.0040130b
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.0040fcf3
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push 0x15
pop esi
jmp 0x406bf5
push ebx
push str.SessionApplication
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call fcn.004103ca
cmp byte [ebp - 0xd], bl
jne 0x406c84
push str.Product_info_missing__cannot_report_data
lea ecx, [ebp - 0x18]
call fcn.0040130b
mov byte [ebp - 4], 4
jmp 0x406c3a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
jmp 0x406ccc
push str.No_Report_file
lea ecx, [ebp - 0x18]
call fcn.0040130b
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.0040fcf3
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
push 2
pop eax
call fcn.00449f9a
ret
Function at 0x40d29f
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x463280
call fcn.00449ec2
mov edi, dword [ebp + 8]
lea ebx, [edi + 8]
mov ecx, ebx
call fcn.004012ea
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [edi + 0x30]
mov dword [edi + 0x28], vtable.CProxy.0
call fcn.004012ea
lea ecx, [edi + 0x34]
call fcn.004012ea
mov dword [edi + 0x2c], 1
push 0x10
mov byte [ebp - 4], 1
lea eax, [edi + 0x18]
push esi
push eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], esi
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.00448000
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [edi + 0xc], esi
mov dword [edi + 0x38], 4
call fcn.0040137f
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x4a6ab4], ebx
je 0x40d3d5
cmp eax, esi
jl 0x40d3d5
push esi
push esi
push esi
push 3
push 2
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
mov dword [edi + 0xc], eax
jge 0x40d36a
cmp eax, 0x80010119
je 0x40d36a
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.0040130b
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40d3b2
push edi
push 0x470614
push 4
push esi
push 0x470604
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, 0x222e0
mov dword [edi + 0xc], eax
cmp dword [0x4a6ab4], ebx
je 0x40d392
cmp eax, esi
jge 0x40d402
mov eax, dword [edi]
cmp eax, esi
je 0x40d3a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.0040130b
mov byte [ebp - 4], 3
push ebx
mov ecx, dword [edi + 0xc]
lea edx, [ebp + 0xc]
mov esi, 0x4a6aac
call fcn.0040e316
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017c4
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40d402
push 0x46f940
lea ecx, [ebp + 0xc]
call fcn.0040130b
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xc]
push ebx
lea edx, [ebp + 0xc]
mov esi, 0x4a6aac
call fcn.0040e316
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, edi
call fcn.00449f9a
ret 8

Function at 0x40ea70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40eabb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40eaa3
push 0xd
pop esi
cmp esi, 0xe8
jne 0x40eac8
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x40ea78
jmp 0x40eac8
mov esi, dword [ebp - 4]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x40f79d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x4a65e0]
mov byte [0x4a6428], 1
push 0x80000002
mov dword [0x4a641c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f81f
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x4a65ec]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x40f81f
cmp dword [ebp - 8], 1
jne 0x40f81f
mov dword [0x4a641c], 2
leave
ret
Function at 0x40fee5
Capabilities:
Get common file path

Disassembly:
push ebx
push edi
mov ebx, 0x104
push ebx
lea edi, [esi + 4]
push 0
push edi
mov dword [esi], vtable.CArmReport.0
call fcn.00448000
add esp, 0xc
push edi
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40ff2d
push str.AdobeARM_
push ebx
call fcn.004104c5
push str.ArmReport.ini
push ebx
call fcn.004104c5
pop edi
mov eax, esi
pop ebx
ret

Function at 0x40ff56
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 1
push esi
push esi
push 0x40000000
add eax, 4
push eax
mov dword [ebp - 4], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ff8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40ffd7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push ebx
call edi
test eax, eax
je 0x40ffc5
push esi
lea eax, [ebp - 8]
push eax
mov esi, str._SESSION_
push esi
call fcn.004473be
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
call edi
test eax, eax
jne 0x40ffcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40ffd6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ffdb
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x410054
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410054
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x410050
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call ebx
push eax
mov edi, str.Delete_Report
call fcn.0041019b
push 4
push 0
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x410050
call ebx
mov ebx, eax
lea eax, [ebp - 1]
push eax
push ebx
mov edi, str.MoveEx_Report
mov byte [ebp - 1], 0
call fcn.0041019b
mov eax, ebx
jmp 0x410057
xor eax, eax
jmp 0x410057
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41005c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov edi, eax
lea ebx, [edi + 4]
push ebx
call esi
test eax, eax
jne 0x410082
push 3
pop eax
jmp 0x410194
push ebx
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4100ab
and dword [ebp - 8], 0
mov eax, edi
call fcn.0040ff56
mov dword [ebp - 4], eax
test eax, eax
jne 0x410194
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x410170
cmp dword [ebp - 8], 0
je 0x410170
push dword [ebp + 8]
and dword [ebp + 0x14], 0
lea eax, [ebp + 0x14]
mov ecx, edi
call fcn.00410211
test eax, eax
jne 0x410170
push dword [ebp + 0x14]
call esi
mov edi, eax
test edi, edi
je 0x410170
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.0044807a
pop ecx
pop ecx
test eax, eax
je 0x41010a
push dword [ebp + 0x14]
call fcn.0043633e
pop ecx
xor eax, eax
jmp 0x410194
push dword [ebp + 0xc]
call esi
add eax, edi
lea esi, [eax + eax + 2]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436333
pop ecx
push dword [ebp + 0x14]
mov edi, eax
mov eax, esi
mov edx, edi
call fcn.0041040c
push dword [ebp + 0x10]
push esi
call fcn.004104c5
push dword [ebp + 0xc]
push esi
call fcn.004104c5
push ebx
push edi
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp + 0x14]
mov esi, eax
call fcn.0043633e
push edi
call fcn.0043633e
pop ecx
pop ecx
jmp 0x410184
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
test esi, esi
jne 0x410191
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x410211
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
add edi, 4
push edi
mov esi, eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x410234
push 3
pop eax
jmp 0x4102d2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x410244
push 2
jmp 0x41022e
mov edi, 0x82
push ebx
add edi, edi
cmp edi, 0x821
jae 0x4102ce
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436333
lea ecx, [edi + edi]
push ecx
push 0
push eax
mov dword [esi], eax
call fcn.00448000
add esp, 0x10
push dword [ebp - 4]
push edi
push dword [esi]
push 0
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x41029e
lea eax, [edi - 1]
cmp ebx, eax
jne 0x4102ad
push dword [esi]
call fcn.0043633e
and dword [esi], 0
pop ecx
test ebx, ebx
je 0x4102c7
inc ebx
cmp edi, ebx
jbe 0x41024a
mov esi, dword [esi]
test esi, esi
je 0x4102ce
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4102ce
xor eax, eax
jmp 0x4102d1
mov eax, 0xe8
jmp 0x4102d1
push 0xd
pop eax
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x410310
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, dword [esp + 8]
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x41032b
push 3
pop eax
jmp 0x4103ba
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41033b
push 2
jmp 0x410325
push esi
mov esi, 0x82
push ebx
add esi, esi
cmp esi, 0x1041
jae 0x4103be
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436333
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [edi], eax
call fcn.00448000
add esp, 0x10
push ebp
push esi
push dword [edi]
push 0x46d230
push 0
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x410396
lea eax, [esi - 2]
cmp ebx, eax
jne 0x4103a5
push dword [edi]
call fcn.0043633e
and dword [edi], 0
pop ecx
test ebx, ebx
je 0x4103c3
lea eax, [esi - 2]
cmp ebx, eax
je 0x410342
mov eax, dword [edi]
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
pop ebx
pop esi
pop ebp
ret 4
push 0xd
pop eax
jmp 0x4103b8
mov eax, 0xe8
jmp 0x4103b8
Function at 0x410547
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4a1d50]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1a0]
mov esi, 0x104
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00448000
add esp, 0xc
push dword [edi]
lea eax, [ebp - 0x78]
push esi
push eax
mov eax, dword [ebp - 0x80]
push 0x46d230
push dword [eax]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.0040137f
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.004472d5
add ebp, 0x194
leave
ret 8
Function at 0x4105c6
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f0e5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x4a1d50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
add edi, 4
mov ecx, edi
mov dword [esp + 0x28], edi
call fcn.0043a832
push edi
call fcn.004107ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410796
call fcn.004366fe
push eax
lea ecx, [esp + 0x18]
call fcn.00411d53
and dword [esp + 0x40], 0
mov ebx, 0x104
mov edi, dword [esi]
imul ebx, ebx, 5
push ebx
lea ecx, [esp + 0x18]
call fcn.0040166e
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0040946d
lea eax, [ebx - 2]
cmp edi, eax
je 0x410631
test edi, edi
jbe 0x41078a
lea ecx, [esp + 0x14]
call fcn.0040e2d3
mov ebx, 0x46d230
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.0040130b
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.0040130b
and dword [esp + 0x18], 0
dec edi
mov byte [esp + 0x40], 2
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
movzx ecx, word [eax + ecx*2]
test cx, cx
jne 0x41072c
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x410721
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.00410547
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x4106e7
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x14]
call fcn.004109d7
jmp 0x410721
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [esp + 0x24]
call fcn.0040130b
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 1
mov byte [esp + 0x50], 3
call fcn.0040f821
mov byte [esp + 0x50], 2
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [esp + 0x10]
call fcn.00401556
jmp 0x410755
lea ebx, [esp + 0x2c]
call fcn.0041088b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call fcn.00401115
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004017c4
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jbe 0x41069f
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0040946d
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
inc eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4109ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
je 0x410a4f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], 1
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
seta al
jmp 0x410a51
mov al, 1
pop esi
leave
ret
Function at 0x41101b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x45e161
call fcn.00449ec2
mov eax, dword [ebp + 8]
add eax, 0x6c
push 0x46de14
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004061c9
push str.UsageMeasurement
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004061c9
mov ecx, dword [ebp - 0x18]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x14]
mov dword [ebp + 8], ebx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 8], ebx
je 0x4110b2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.bHighbeamNoticeShown
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], ebx
seta bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
mov al, bl
call fcn.00449f9a
ret