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

Disassembly:
push 4
mov eax, 0x47869a
call fcn.0045be74
mov ebx, ecx
call fcn.0044825c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041872d
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0043e40a
pop ecx
lea ecx, [ebp + 0xc]
test eax, eax
jne 0x4099bb
push str.Failed_to_create_launcher_path
call fcn.004020a6
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x1b2c4
add ebx, 0x508
mov ecx, eax
lea edx, [ebp + 0xc]
call fcn.0041384f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
push 0xd
pop eax
jmp 0x409ad5
push str.Launcher_path:
call fcn.004020a6
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00414e01
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 5
push edi
push eax
push dword [ebp - 0x10]
push edi
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 [0x4c4bf8], esi
je 0x409a5e
cmp eax, 0x21
jl 0x409a5e
push str.ShellExecute_succeded.
lea ecx, [ebp + 0xc]
mov dword [ebx + 0xbc], 1
call fcn.004020a6
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.004152d1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
jmp 0x409ad5
push str.ShellExecute_failed
lea ecx, [ebp + 0xc]
call fcn.004020a6
mov byte [ebp - 4], 3
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
add ebx, 0x508
mov ecx, eax
lea edx, [ebp + 0xc]
call fcn.0041384f
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [ebp + 8], 5
jne 0x409ac7
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 0xc]
call fcn.004020a6
push 0
lea eax, [ebp + 0xc]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.004152d1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [ebp + 8]
call fcn.0045bf4c
ret 8
Function at 0x409eaf
Capabilities:
Delete registry key

Disassembly:
push 0x424
mov eax, 0x476896
call fcn.0045bedd
push str.LaunchSafeCleanup...
lea ecx, [ebp - 0x424]
call fcn.004020a6
xor ebx, ebx
push ebx
lea eax, [ebp - 0x424]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x424]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0044825c
push eax
lea ecx, [ebp - 0x424]
call fcn.0041872d
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 4], 1
call fcn.0043e359
pop ecx
test eax, eax
je 0x40a09c
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
mov dword [ebp - 0x42c], ebx
call fcn.00459cf0
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x42c]
push eax
call main
add esp, 0xc
test eax, eax
je 0x40a09c
mov dword [esi + 0xd0], ebx
push str._ArmCleanup
lea ecx, [ebp - 0x428]
cmp dword [esi + 0xc8], ebx
je 0x409fc7
call fcn.004020a6
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.00434917
pop ecx
pop ecx
jmp 0x409fed
call fcn.004020a6
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
mov byte [ebp - 4], 3
call fcn.00434af4
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004025d2
cmp edi, ebx
jne 0x40a022
xor edi, edi
jmp 0x40a01a
cmp edi, 0x14
jge 0x40a022
push 0xc8
inc edi
call dword [sym.imp.kernel32.dll_Sleep]
cmp dword [esi + 0xd0], ebx
je 0x40a009
cmp dword [esi + 0xd0], ebx
jne 0x40a05e
push str.launch_cleanup_not_confirmed
lea ecx, [ebp - 0x428]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x428]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.004152d1
mov ecx, dword [ebp - 0x428]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp - 0x430]
push eax
push 0xf003f
push ebx
push str.SOFTWAREAdobeAdobe_ARM1.0ARM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a09c
push str.Cleanup
push dword [ebp - 0x430]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf60
ret
Function at 0x40b7ef
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x4734f9
call fcn.0045be74
mov esi, ecx
lea eax, [esi + 0x2cc]
push eax
lea ecx, [ebp - 0x14]
call fcn.004020a6
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x40b903
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b903
cmp dword [esi + 0x198], ebx
jne 0x40b877
push str.Report_is_not_enabled_in_Session
lea ecx, [ebp - 0x18]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.004152d1
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov esi, 0x30d0e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
jmp 0x40b93c
lea edi, [esi + 0x2c8]
push 0x48173c
push str.Reported
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call main
cmp byte [ebp - 0xd], bl
je 0x40b8c9
push str.already_reported
lea ecx, [ebp - 0x18]
call fcn.004020a6
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.004152d1
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push 0x15
pop esi
jmp 0x40b865
push ebx
push str.SessionApplication
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call main
cmp byte [ebp - 0xd], bl
jne 0x40b8f4
push str.Product_info_missing__cannot_report_data
lea ecx, [ebp - 0x18]
call fcn.004020a6
mov byte [ebp - 4], 4
jmp 0x40b8aa
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
jmp 0x40b93c
push str.No_Report_file
lea ecx, [ebp - 0x18]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.004152d1
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
push 2
pop eax
call fcn.0045bf4c
ret
Function at 0x4126e1
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x476391
call fcn.0045be74
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
call fcn.00402151
xor ebx, ebx
lea esi, [edi + 0x28]
mov dword [ebp - 4], ebx
call fcn.00437501
push 0x10
mov byte [ebp - 4], 1
lea eax, [edi + 0x18]
push ebx
push eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00459cf0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [edi + 8]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x38], 4
mov dword [edi + 0x3c], ebx
call fcn.0040211a
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x4c4bf8], esi
je 0x412802
cmp eax, ebx
jl 0x412802
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x412797
cmp eax, 0x80010119
je 0x412797
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.004020a6
mov byte [ebp - 4], 4
push 0x27358
jmp 0x4127df
push edi
push 0x486e44
push 4
push ebx
push 0x486e34
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, 0x222e0
mov dword [edi + 0xc], eax
cmp dword [0x4c4bf8], esi
je 0x4127bf
cmp eax, ebx
jge 0x41282f
mov eax, dword [edi]
cmp eax, ebx
je 0x4127cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.004020a6
mov byte [ebp - 4], 3
push esi
mov ecx, dword [edi + 0xc]
lea edx, [ebp + 0xc]
mov ebx, 0x4c4bf0
call fcn.0041384f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025d2
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x41282f
push str.Failed_to_connect_to_BITS___COM_threading_returned_an_error__CoInitializeEx_
lea ecx, [ebp + 0xc]
call fcn.004020a6
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xc]
push esi
lea edx, [ebp + 0xc]
mov ebx, 0x4c4bf0
call fcn.0041384f
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, edi
call fcn.0045bf4c
ret 8
Function at 0x4163f4
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.00459cf0
add esp, 0xc
push edi
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41643c
push str.AdobeARM_
push ebx
call main
push str.ArmReport.ini
push ebx
call main
pop edi
mov eax, esi
pop ebx
ret

Function at 0x416969
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 0x416984
push 3
pop eax
jmp 0x416a13
push ebp
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416994
push 2
jmp 0x41697e
push esi
mov esi, 0x82
push ebx
add esi, esi
cmp esi, 0x1041
jae 0x416a17
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [edi], eax
call fcn.00459cf0
add esp, 0x10
push ebp
push esi
push dword [edi]
push 0x483438
push 0
push str.SESSION
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x4169ef
lea eax, [esi - 2]
cmp ebx, eax
jne 0x4169fe
push dword [edi]
call main
and dword [edi], 0
pop ecx
test ebx, ebx
je 0x416a1c
lea eax, [esi - 2]
cmp ebx, eax
je 0x41699b
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 0x416a11
mov eax, 0xe8
jmp 0x416a11
Function at 0x417601
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x471ce8
call fcn.0045be74
mov eax, dword [ebp + 8]
add eax, 0x64
push 0x48415c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040adb6
push str.UsageMeasurement
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040adb6
mov ecx, dword [ebp - 0x18]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x14]
mov dword [ebp + 8], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 8], ebx
je 0x417698
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.004025d2
mov al, bl
call fcn.0045bf4c
ret

Function at 0x41954b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x477920
call fcn.0045bedd
push 0xf
pop esi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
call fcn.00419406
push dword [ebp + 8]
mov edx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.004194b6
pop ecx
cmp dword [0x4c4624], edi
je 0x4195a3
mov eax, dword [0x4c462c]
cmp eax, edi
je 0x4195a3
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x419598
lea ecx, [ebp - 0x28]
push ecx
call eax
pop ecx
mov esi, eax
jmp 0x41966e
or dword [ebp - 0x4c], 0xffffffff
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x30], esi
call fcn.00419406
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.00419e88
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call main
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.00419422
cmp dword [ebp - 0x30], 0x10
mov ebx, dword [ebp - 0x44]
jae 0x4195f4
lea ebx, [ebp - 0x44]
cmp ebx, edi
je 0x41960a
push ebx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41960e
xor eax, eax
jmp 0x419622
lea eax, [esi + esi]
call fcn.00464930
mov eax, esp
push 3
push esi
push ebx
push eax
call main
lea ecx, [ebp - 0x50]
push ecx
push 0x20019
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419660
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push str.OptIn
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00419422
sub esi, edi
je 0x41967f
dec esi
je 0x41967a
or esi, 0xffffffff
jmp 0x419681
xor esi, esi
inc esi
jmp 0x419681
xor esi, esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00419422
mov eax, esi
lea esp, [ebp - 0x84]
call fcn.0045bf60
ret
Function at 0x419c17
Capabilities:
Check if file exists
Get common file path
Get file attributes
Link many functions at runtime
Set current directory

Disassembly:
push 0xc
mov eax, 0x472594
call fcn.0045be74
xor ebx, ebx
cmp dword [0x4c4624], ebx
jne 0x419dc1
cmp dword [ebp + 8], ebx
je 0x419dc1
mov edi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call edi
mov esi, eax
add esi, 0x13
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
pop ecx
push eax
push esi
mov dword [ebp - 0x18], eax
call edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x68]
push eax
lea ecx, [ebp - 0x10]
call fcn.004020ea
mov dword [ebp - 4], ebx
call fcn.00405238
lea ecx, [ebp - 0x10]
test eax, eax
je 0x419c8c
push str.Reader_
jmp 0x419c91
push str.Acrobat_
call fcn.0040af5f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004020ea
push str.logsession.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040af5f
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x419cf7
push edi
push str.Agent
push str.SoftwareAdobeCommonFilesUsage_
push SysReAllocString
call main
mov esi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
add esp, 0x10
push edi
call esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
push dword [ebp - 0x18]
mov dword [0x4c4624], eax
call esi
push dword [ebp - 0x18]
call main
mov eax, dword [0x4c4624]
pop ecx
test eax, eax
jne 0x419d1e
lea ecx, [ebx - 0x10]
call fcn.004025d2
lea ecx, [edi - 0x10]
call fcn.004025d2
jmp 0x419e13
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTOptInGet
push dword [0x4c4624]
mov dword [0x4c4628], eax
call esi
push str.UTSetOptIn
push dword [0x4c4624]
mov dword [0x4c462c], eax
call esi
push str.UTStartSession
push dword [0x4c4624]
mov dword [0x4c4630], eax
call esi
push str.UTLogEvent
push dword [0x4c4624]
mov dword [0x4c4634], eax
call esi
push str.UTNewDataGroup
push dword [0x4c4624]
mov dword [0x4c4638], eax
call esi
push str.UTAddToGroup
push dword [0x4c4624]
mov dword [0x4c463c], eax
call esi
push str.UTCloseSession
push dword [0x4c4624]
mov dword [0x4c4640], eax
call esi
lea ecx, [ebx - 0x10]
mov dword [0x4c4644], eax
call fcn.004025d2
lea ecx, [edi - 0x10]
call fcn.004025d2
xor ebx, ebx
cmp dword [0x4c462c], ebx
je 0x419dfd
cmp dword [0x4c4630], ebx
je 0x419dfd
cmp dword [0x4c4634], ebx
je 0x419dfd
cmp dword [0x4c4638], ebx
je 0x419dfd
cmp dword [0x4c463c], ebx
je 0x419dfd
cmp dword [0x4c4640], ebx
je 0x419dfd
cmp dword [0x4c4644], ebx
je 0x419dfd
mov al, 1
jmp 0x419e15
mov eax, dword [0x4c4624]
cmp eax, ebx
je 0x419e0d
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x4c4624], ebx
xor al, al
call fcn.0045bf4c
ret
Function at 0x41c6d0
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x472f53
call fcn.0045be74
push 0
mov ecx, esi
call fcn.004227dd
mov eax, esi
call fcn.00401000
test eax, eax
je 0x41c7da
push dword [esi]
mov edi, dword [sym.imp.kernel32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x41c7da
push dword [esi]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [esi]
and ebx, 0xfffffffe
push ebx
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [esi]
test bl, 0x10
je 0x41c79f
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41c7da
and dword [ebp - 0x34], eax
push 6
pop ecx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov eax, 0x414
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test edi, edi
je 0x41c7da
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.004020a6
and dword [ebp - 4], 0
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.00414e01
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x41c7a5
call edi
test eax, eax
jne 0x41c7da
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.004020a6
push 0x186a0
xor eax, eax
push esi
lea ecx, [ebp - 0x14]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00414e01
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
jmp 0x41c7dd
xor eax, eax
inc eax
call fcn.0045bf4c
ret
Function at 0x41fbd4
Capabilities:
Check http status code

Disassembly:
push 0x20
mov eax, 0x475ddc
call fcn.0045be74
xor ecx, ecx
push 2
pop edx
xor ebx, ebx
mov eax, 0x100
mul edx
seto cl
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 0x2c], 4
neg ecx
or ecx, eax
push ecx
call main
mov esi, dword [sym.imp.wininet.dll_HttpQueryInfoW]
pop ecx
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push dword [ebp + 8]
call esi
test eax, eax
je 0x41fdc9
cmp dword [ebp - 0x1c], 0x197
jne 0x41fc3e
push 0x29
jmp 0x41fc4d
cmp dword [ebp - 0x1c], 0x191
jne 0x41fd9f
push 0x28
pop edi
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41fca4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41fca4
push dword [ebp - 0x14]
call main
mov eax, dword [ebp - 0x18]
pop ecx
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
pop ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
call esi
test eax, eax
je 0x41fdc9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.004020a6
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x10]
jmp 0x41fcbc
inc esi
inc esi
movzx eax, word [esi]
push eax
call main
pop ecx
test eax, eax
jne 0x41fcba
mov eax, dword [ebp - 0x10]
cmp esi, eax
je 0x41fd0c
push dword [eax - 0xc]
sub esi, eax
sar esi, 1
lea ecx, [ebp - 0x10]
mov edi, esi
call fcn.0040241d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
mov esi, ecx
lea edx, [eax + edi*2]
sub esi, edi
lea edi, [esi + esi + 2]
push edi
push edx
lea ecx, [ecx + ecx + 2]
push ecx
push eax
call fcn.0040afec
add esp, 0x10
push esi
lea ecx, [ebp - 0x10]
call fcn.00402466
lea edi, [ebp - 0x10]
call fcn.0040c442
push str.Authentication_scheme:
lea ecx, [ebp - 0x20]
call fcn.004020a6
push 0
mov eax, edi
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov byte [ebp - 4], 2
call fcn.00414e01
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
push str.basic
xor ecx, ecx
mov esi, edi
call fcn.0040ad24
test eax, eax
je 0x41fd97
push str.digest
xor ecx, ecx
call fcn.0040ad24
test eax, eax
je 0x41fd97
push str.Authentication_scheme_is_other_than_basic_or_digest....
lea ecx, [ebp - 0x20]
call fcn.004020a6
push 0
mov eax, edi
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov byte [ebp - 4], 3
call fcn.00414e01
mov ecx, dword [ebp - 0x20]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x41fd9a
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x10]
jmp 0x41fdc1
push str.Status_says_No_Authentication_required...
lea ecx, [ebp - 0x24]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x24]
push eax
push 1
mov dword [ebp - 4], ebx
call fcn.004152d1
mov ecx, dword [ebp - 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push dword [ebp - 0x14]
call main
mov eax, dword [ebp - 0x28]
pop ecx
call fcn.0045bf4c
ret
Function at 0x424da1
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x4729ed
call fcn.0045be74
mov esi, str.GlobalARM_Update_Mutex
push esi
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [edi + 0x20], eax
cmp eax, ebx
jne 0x424ddd
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x424ddd
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], ebx
je 0x424e0c
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.004020a6
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004152d1
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
call fcn.0045bf4c
ret