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

Disassembly:
push 0x4c
mov eax, 0x4adcd0
call fcn.0046c638
push str.ActivateArmBalloon...
lea ecx, [ebp - 0x18]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x18]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [0x51a3ec]
test ecx, ecx
je 0x40c32c
cmp dword [0x519f30], ebx
je 0x40c44f
call fcn.0043764e
jmp 0x40c44f
cmp dword [0x519f4c], ebx
je 0x40c34a
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
mov ecx, 0x519e58
call fcn.0040c685
jmp 0x40c454
cmp dword [0x519f58], ebx
je 0x40c42d
cmp dword [0x51a0d0], ebx
je 0x40c42d
push str._ShowInstallInProgressUI__PRODUCT:Acrobat__LANG:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [0x519ff0]
push dword [eax - 0xc]
push eax
call fcn.004025c6
call fcn.004527d1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00445974
test eax, eax
jne 0x40c3ad
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
jmp 0x40c41b
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00484ac0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x54], 0x540
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40c418
push str.ShellExecuteEx_to_launch_temp_AdobeARM.exe_UI_failed:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea edx, [ebp - 0x1c]
pop ecx
call fcn.004177f2
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x40c454
mov ecx, 0x519e58
mov dword [0x519f2c], 1
mov dword [0x519f30], ebx
call fcn.0040bfa1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040c5e2
call fcn.0046c601
ret
Function at 0x40c45a
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x4adcd0
call fcn.0046c638
push str.ActivateArmUI...
lea ecx, [ebp - 0x18]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x18]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [0x51a3ec]
test ecx, ecx
je 0x40c4b4
cmp dword [0x519f30], ebx
je 0x40c5d7
call fcn.0043764e
jmp 0x40c5d7
cmp dword [0x519f4c], ebx
je 0x40c4d2
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
mov ecx, 0x519e58
call fcn.0040c685
jmp 0x40c5dc
cmp dword [0x519f58], ebx
je 0x40c5b5
cmp dword [0x51a0d0], ebx
je 0x40c5b5
push str._ShowInstallInProgressUI__PRODUCT:Acrobat__LANG:
lea ecx, [ebp - 0x14]
call fcn.00402829
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [0x519ff0]
push dword [eax - 0xc]
push eax
call fcn.004025c6
call fcn.004527d1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00445974
test eax, eax
jne 0x40c535
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
jmp 0x40c5a3
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00484ac0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x54], 0x540
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40c5a0
push str.ShellExecuteEx_to_launch_temp_AdobeARM.exe_UI_failed:
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea edx, [ebp - 0x1c]
pop ecx
call fcn.004177f2
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x40c5dc
mov ecx, 0x519e58
mov dword [0x519f2c], 1
mov dword [0x519f30], ebx
call fcn.0040bfa1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040c5e2
call fcn.0046c601
ret
Function at 0x40d32c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x104
push ebx
lea edi, [esi + 4]
mov dword [esi], vtable.CArmReport.0
push edi
call fcn.00484ac0
add esp, 0xc
push edi
push ebx
push ebx
push 0x24
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40d37c
mov ebx, 0x104
mov ecx, edi
push str.Temp_
mov edx, ebx
call fcn.0040ddaf
push str.ArmReport.ini
mov edx, ebx
mov ecx, edi
call fcn.0040ddaf
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x40d3bd
Capabilities:
Write file on windows

Disassembly:
push 0x9c
mov eax, 0x4ade7e
call fcn.0046c66c
mov esi, ecx
mov eax, 0xfeff
xor ebx, ebx
mov word [ebp - 0x78], ax
mov eax, vtable.ATL::CAccessToken.0
mov byte [ebp - 0x71], bl
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push 0x4d2424
push eax
call fcn.0040db84
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.0040da9d
push ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040da17
lea eax, [ebp - 0x71]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040d9df
push ebx
cmp byte [ebp - 0x71], bl
je 0x40d4a3
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], 0xc
push eax
push 1
push str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GA___AU_
mov dword [ebp - 0xa0], ebx
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x40d4fd
push ebx
push 0x80
push 1
lea eax, [ebp - 0xa8]
push eax
jmp 0x40d4ab
push 0x80
push 1
push ebx
push ebx
push 0x40000000
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d4fd
push ebx
lea eax, [ebp - 0x7c]
push eax
push 2
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d4fd
push ebx
lea eax, [ebp - 0x7c]
mov edi, str._SESSION_
push eax
push edi
call fcn.004881cd
pop ecx
lea eax, [eax*2 + 2]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x40d50e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x70]
call fcn.0040dca2
mov esi, vtable.ATL::CAccessToken.0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], esi
call fcn.0040dd20
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.0040dd20
mov eax, ebx
call fcn.0046c616
ret
Function at 0x40d545
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40d5c1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d5c1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40d5bd
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Delete_Report
mov ecx, edi
call fcn.0040d721
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40d5bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
mov ecx, edi
push eax
push esi
push str.MoveEx_Report
call fcn.0040d721
mov eax, esi
jmp 0x40d5c4
xor eax, eax
jmp 0x40d5c4
push 2
pop eax
pop edi
pop esi
leave
ret

Function at 0x40d5c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 8], edi
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40d5ee
push 3
pop eax
jmp 0x40d71a
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40d615
and dword [ebp - 4], ebx
mov ecx, edi
call fcn.0040d3bd
mov ebx, eax
test ebx, ebx
jne 0x40d71a
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x40d6f8
cmp dword [ebp - 4], 0
je 0x40d6f8
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0040d7a9
test eax, eax
jne 0x40d6f8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40d6f8
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00485194
pop ecx
pop ecx
test eax, eax
je 0x40d67c
push 2
push dword [ebp - 4]
call fcn.0046c093
pop ecx
pop ecx
xor eax, eax
jmp 0x40d71a
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, edi
xor ecx, ecx
push 2
pop edx
lea esi, [eax*2 + 2]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452092
pop ecx
push dword [ebp - 4]
mov edi, eax
mov edx, esi
mov ecx, edi
call fcn.0040d9bb
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.0040ddaf
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.0040ddaf
mov eax, dword [ebp - 8]
add eax, 4
push eax
push edi
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 2
push dword [ebp - 4]
mov esi, eax
call fcn.0046c093
push edi
call fcn.0045208d
add esp, 0xc
jmp 0x40d70c
push esi
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 0x40d718
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40d7a9
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea ebx, [ecx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40d7c4
push 3
pop eax
jmp 0x40d86c
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40d7d4
push 2
jmp 0x40d7be
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x82
push 2
pop edx
add esi, esi
cmp esi, 0x821
jae 0x40d867
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452092
lea ecx, [esi + esi]
mov dword [edi], eax
push ecx
push 0
push eax
call fcn.00484ac0
add esp, 0x10
push ebx
push esi
push dword [edi]
push 0
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
test eax, eax
je 0x40d831
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x40d843
push dword [edi]
call fcn.0045208d
and dword [edi], 0
mov eax, dword [ebp - 4]
pop ecx
test eax, eax
je 0x40d860
inc eax
push 2
pop edx
cmp esi, eax
jbe 0x40d7e1
cmp dword [edi], 0
je 0x40d867
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40d867
xor eax, eax
jmp 0x40d86a
mov eax, 0xe8
jmp 0x40d86a
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea ebx, [ecx + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x40d8c8
push 3
pop eax
jmp 0x40d96b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40d8d8
push 2
jmp 0x40d8c2
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x82
push 2
pop edx
add esi, esi
cmp esi, 0x1041
jae 0x40d966
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452092
lea ecx, [esi + esi]
mov dword [edi], eax
push ecx
push 0
push eax
call fcn.00484ac0
add esp, 0x10
push ebx
push esi
push dword [edi]
push 0x4d0aa4
push 0
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
test eax, eax
je 0x40d937
lea ecx, [esi - 2]
cmp eax, ecx
jne 0x40d950
push dword [edi]
call fcn.0045208d
and dword [edi], 0
pop ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x40d953
mov eax, 0xe8
jmp 0x40d969
mov ecx, dword [ebp - 4]
lea eax, [esi - 2]
push 2
pop edx
cmp ecx, eax
je 0x40d8e5
cmp dword [edi], 0
je 0x40d966
xor eax, eax
jmp 0x40d969
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40d9df
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40da10
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
add eax, 4
push eax
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x40da10
cmp dword [ebp - 4], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x40da12
xor al, al
pop esi
leave
ret 8
Function at 0x40de1d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x514554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x20a
lea eax, [ebp - 0x41c]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.00484ac0
push edi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00484ac0
add esp, 0x18
mov dword [ebp - 0x420], ebx
mov ecx, 0x105
mov dword [ebp - 0x428], ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], ebx
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x4d2448
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, 0x104
test eax, eax
je 0x40debd
push 0xa
push edi
push esi
push dword [ebp - 0x420]
call fcn.0048ca2f
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x40ded7
push str.thsnYaViMRAeBoda
mov edx, edi
mov ecx, esi
call fcn.0040ddaf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c05a
leave
ret
Function at 0x40e882
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
je 0x40e8e4
movzx eax, byte [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
seta al
jmp 0x40e8e7
mov al, byte [ebp + 8]
pop esi
leave
ret
Function at 0x416184
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], eax
xor edi, edi
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 0
push ecx
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4161d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
push 0xd
pop eax
cmove esi, eax
cmp esi, 0xe8
jne 0x4161e6
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
cmp edi, 0xa
jl 0x416195
jmp 0x4161e6
push 0xd
pop eax
mov esi, eax
xor eax, eax
cmp dword [ebp - 4], 4
cmove esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x416d22
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x4aefc8
call fcn.0046c638
mov ebx, ecx
push str.Notify...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x10]
push edi
push 2
pop ecx
mov dword [ebp - 4], edi
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call fcn.0048ae3e
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x416d85
cmp eax, ecx
jbe 0x416d85
sub eax, ecx
cmp eax, 0x64
jae 0x416d85
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push edi
push 3
pop esi
push esi
push edi
push edi
push 0x40000000
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416e93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x416dea
push str.Could_not_find_ARM_server_to_notify
lea ecx, [ebp - 0x10]
call fcn.00402829
push 0x186a0
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x416f0d
push 0x7d0
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x416e18
push str.Wait_to_notify_ARM_Server_failed
lea ecx, [ebp - 0x10]
call fcn.00402829
push 2
pop eax
mov dword [ebp - 4], eax
mov ecx, eax
push 0x186a0
jmp 0x416e4c
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push 0x40000000
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416e93
push str.Failed_to_contact_ARM_Server_to_notify
lea ecx, [ebp - 0x10]
call fcn.00402829
push 0x186a0
push 2
mov dword [ebp - 4], esi
pop ecx
lea edx, [ebp - 0x10]
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.Notify_ARM_Server_failed:_invalid_handle
lea ecx, [ebp - 0x14]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 6
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x416f03
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push 0
push eax
push 4
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x416ec9
push str.Notify_ARM_Server:_failed_WriteFile
call fcn.00402829
mov dword [ebp - 4], 4
push 0x186a0
jmp 0x416edf
push 2
pop esi
push str.WriteFile_succeeded_in_Notify
call fcn.00402829
mov dword [ebp - 4], 5
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.0046c601
ret 4
Function at 0x416f15
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push dword [0x519e2c]
xor ebx, ebx
mov dword [ebp - 0xc], esi
inc ebx
mov dword [ebp - 0x14], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x519dbc], bl
mov dword [0x519dc0], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416ffe
push edi
push 4
pop edi
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [0x519e38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416f86
cmp dword [ebp - 0xc], ebx
je 0x416fad
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4ea3b4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416fb7
cmp dword [ebp - 0x14], ebx
jne 0x416fb7
mov dword [0x519dc0], 2
mov edx, dword [0x519e2c]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push str.iLogLevelDebug
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], esi
call fcn.0044470e
add esp, 0xc
pop edi
test eax, eax
jne 0x416ff5
movzx eax, byte [0x519cb6]
cmp dword [ebp - 0x18], 0x64
cmovae eax, ebx
mov byte [0x519cb6], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x41837a
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x828
mov eax, 0x4af297
call fcn.0046c66c
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + 4]
mov edi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x81c], ebx
call fcn.0045886e
push ebx
call fcn.004185d2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4185c7
call fcn.004527d1
push eax
lea ecx, [ebp - 0x818]
call fcn.00402899
and dword [ebp - 4], 0
mov esi, 0x104
imul esi, esi, 5
lea ecx, [ebp - 0x818]
push esi
call fcn.00402bd2
push dword [edi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
mov ebx, eax
call fcn.00409d68
lea ecx, [esi - 2]
cmp ebx, ecx
je 0x4183dc
mov esi, dword [ebp - 0x818]
test ebx, ebx
je 0x4185bf
cmp dword [esi - 4], 1
jle 0x418433
push dword [esi - 0xc]
lea ecx, [ebp - 0x818]
call fcn.00402aac
mov esi, dword [ebp - 0x818]
mov edi, 0x4d0aa4
lea ecx, [ebp - 0x814]
push edi
call fcn.00402829
push edi
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 1
call fcn.00402829
lea eax, [ebx - 1]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x81c]
xor edi, edi
mov dword [ebp - 0x834], eax
movzx eax, word [esi + edi*2]
test ax, ax
jne 0x418555
mov eax, dword [ebp - 0x814]
cmp dword [eax - 0xc], 0
je 0x418548
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00484ac0
mov eax, dword [ebp - 0x824]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x810]
push 0x400
push eax
mov eax, dword [ebp - 0x828]
push 0x4d0aa4
push dword [eax]
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x820]
call fcn.0040286d
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x82c], eax
cmp dword [eax - 0xc], 0
je 0x418509
push dword [ebp - 0x814]
mov ecx, ebx
call fcn.0045860d
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.0040286d
jmp 0x418548
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [ebp - 0x81c]
call fcn.00402829
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 3
xor ecx, ecx
lea edx, [ebp - 0x81c]
push 0
push eax
inc ecx
call fcn.00417010
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x81c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x814]
call fcn.00402a6b
jmp 0x418589
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.004186bc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x814]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
call fcn.00402e64
inc edi
cmp edi, dword [ebp - 0x834]
jbe 0x418469
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
call fcn.00409d68
mov ecx, dword [ebp - 0x820]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x814]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
xor eax, eax
inc eax
call fcn.0046c616
ret 8