joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416635
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 0x4166ae
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4166ae
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4166aa
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.004167f4
push 4
push 0
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4166aa
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.004167f4
mov eax, ebx
jmp 0x4166b1
xor eax, eax
jmp 0x4166b1
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4166b6
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 0x4166dc
push 3
pop eax
jmp 0x4167ed
push ebx
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416704
and dword [ebp - 8], 0
push edi
call fcn.00416465
mov dword [ebp - 4], eax
test eax, eax
jne 0x4167ed
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x4167c9
cmp dword [ebp - 8], 0
je 0x4167c9
push dword [ebp + 8]
and dword [ebp + 0x14], 0
lea eax, [ebp + 0x14]
mov ecx, edi
call fcn.0041686a
test eax, eax
jne 0x4167c9
push dword [ebp + 0x14]
call esi
mov edi, eax
test edi, edi
je 0x4167c9
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.00459d6a
pop ecx
pop ecx
test eax, eax
je 0x416763
push dword [ebp + 0x14]
call fcn.00447e9c
pop ecx
xor eax, eax
jmp 0x4167ed
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.00447e91
pop ecx
push dword [ebp + 0x14]
mov edi, eax
mov eax, esi
mov edx, edi
call fcn.00416a65
push dword [ebp + 0x10]
push esi
call fcn.00416b1e
push dword [ebp + 0xc]
push esi
call fcn.00416b1e
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.00447e9c
push edi
call fcn.00447e9c
pop ecx
pop ecx
jmp 0x4167dd
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 0x4167ea
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 0x41686a
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 0x41688d
push 3
pop eax
jmp 0x41692b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41689d
push 2
jmp 0x416887
mov edi, 0x82
push ebx
add edi, edi
cmp edi, 0x821
jae 0x416927
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447e91
lea ecx, [edi + edi]
push ecx
push 0
push eax
mov dword [esi], eax
call fcn.00459cf0
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 0x4168f7
lea eax, [edi - 1]
cmp ebx, eax
jne 0x416906
push dword [esi]
call fcn.00447e9c
and dword [esi], 0
pop ecx
test ebx, ebx
je 0x416920
inc ebx
cmp edi, ebx
jbe 0x4168a3
mov esi, dword [esi]
test esi, esi
je 0x416927
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x416927
xor eax, eax
jmp 0x41692a
mov eax, 0xe8
jmp 0x41692a
push 0xd
pop eax
pop ebx
pop edi
pop esi
leave
ret 4

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 fcn.00447e91
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 fcn.00447e9c
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 0x416bd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4bfd60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x400
push esi
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00459cf0
add esp, 0xc
push dword [edi]
lea eax, [ebp - 0x804]
push esi
push eax
mov eax, dword [ebp - 0x80c]
push 0x483438
push dword [eax]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push eax
call fcn.0040211a
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00458e0e
leave
ret 8
Function at 0x416c4d
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4730a6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x4bfd60]
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.0044ca2b
push edi
call fcn.00416e34
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416e1d
call fcn.0044825c
push eax
lea ecx, [esp + 0x18]
call fcn.0041872d
and dword [esp + 0x40], 0
mov ebx, 0x104
mov edi, dword [esi]
imul ebx, ebx, 5
push ebx
lea ecx, [esp + 0x18]
call fcn.0040241d
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0040b00b
lea eax, [ebx - 2]
cmp edi, eax
je 0x416cb8
test edi, edi
jbe 0x416e11
lea ecx, [esp + 0x14]
call fcn.004137b1
mov ebx, 0x483438
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.004020a6
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.004020a6
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 0x416db3
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x416da8
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.00416bd0
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x416d6e
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x14]
call fcn.0041705e
jmp 0x416da8
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [esp + 0x24]
call fcn.004020a6
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 1
mov byte [esp + 0x50], 3
call fcn.00414e01
mov byte [esp + 0x50], 2
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [esp + 0x10]
call fcn.00402305
jmp 0x416ddc
lea ebx, [esp + 0x2c]
call fcn.00416f12
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call fcn.00401ec7
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004025d2
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jbe 0x416d26
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0040b00b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
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 0x417075
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
je 0x4170d6
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 0x4170d8
mov al, 1
pop esi
leave
ret
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 fcn.00419358
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 fcn.00419ed5
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 fcn.00447e91
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 fcn.0043d205
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 fcn.00447e9c
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 0x41a1b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x41a1cb
leave
ret
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x41a1ea
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41a1ef
inc edi
cmp edi, dword [ebp - 8]
jb 0x41a1e1
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x41a2de
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x41a271
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x41a21b
cmp cl, 0xff
jne 0x41a2a0
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, 5
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x41a2b1
movzx esi, byte [edx + 0x4883a0]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
test bl, bl
je 0x41a261
cmp bl, 0xff
jne 0x41a2ae
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x41a239
dec ecx
shl edx, cl
and edx, 7
je 0x41a208
movzx ecx, byte [edx + 0x4883a0]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x488398], 0
mov cl, byte [ebx + 4]
je 0x41a29d
test cl, cl
je 0x41a29d
cmp cl, 0xff
jne 0x41a208
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x41a1dc
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x41a1dc
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
pop ebx
leave
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 fcn.00447e91
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 fcn.00447e9c
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 fcn.00447e91
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 fcn.0045acd3
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 fcn.00447e9c
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