joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d915
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 0x40d991
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d991
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40d98d
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.0040daf1
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40d98d
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.0040daf1
mov eax, esi
jmp 0x40d994
xor eax, eax
jmp 0x40d994
push 2
pop eax
pop edi
pop esi
leave
ret

Function at 0x40d998
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 0x40d9be
push 3
pop eax
jmp 0x40daea
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40d9e5
and dword [ebp - 4], ebx
mov ecx, edi
call fcn.0040d78d
mov ebx, eax
test ebx, ebx
jne 0x40daea
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x40dac8
cmp dword [ebp - 4], 0
je 0x40dac8
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0040db79
test eax, eax
jne 0x40dac8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x40dac8
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00481744
pop ecx
pop ecx
test eax, eax
je 0x40da4c
push 2
push dword [ebp - 4]
call fcn.00468673
pop ecx
pop ecx
xor eax, eax
jmp 0x40daea
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.0044e692
pop ecx
push dword [ebp - 4]
mov edi, eax
mov edx, esi
mov ecx, edi
call fcn.0040dd8b
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
call fcn.0040e17f
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.0040e17f
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.00468673
push edi
call fcn.0044e68d
add esp, 0xc
jmp 0x40dadc
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 0x40dae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40db79
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 0x40db94
push 3
pop eax
jmp 0x40dc3c
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40dba4
push 2
jmp 0x40db8e
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x82
push 2
pop edx
add esi, esi
cmp esi, 0x821
jae 0x40dc37
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044e692
lea ecx, [esi + esi]
mov dword [edi], eax
push ecx
push 0
push eax
call fcn.00481070
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 0x40dc01
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x40dc13
push dword [edi]
call fcn.0044e68d
and dword [edi], 0
mov eax, dword [ebp - 4]
pop ecx
test eax, eax
je 0x40dc30
inc eax
push 2
pop edx
cmp esi, eax
jbe 0x40dbb1
cmp dword [edi], 0
je 0x40dc37
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40dc37
xor eax, eax
jmp 0x40dc3a
mov eax, 0xe8
jmp 0x40dc3a
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40dc7d
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 0x40dc98
push 3
pop eax
jmp 0x40dd3b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40dca8
push 2
jmp 0x40dc92
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x82
push 2
pop edx
add esi, esi
cmp esi, 0x1041
jae 0x40dd36
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044e692
lea ecx, [esi + esi]
mov dword [edi], eax
push ecx
push 0
push eax
call fcn.00481070
add esp, 0x10
push ebx
push esi
push dword [edi]
push 0x4ccd0c
push 0
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
test eax, eax
je 0x40dd07
lea ecx, [esi - 2]
cmp eax, ecx
jne 0x40dd20
push dword [edi]
call fcn.0044e68d
and dword [edi], 0
pop ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x40dd23
mov eax, 0xe8
jmp 0x40dd39
mov ecx, dword [ebp - 4]
lea eax, [esi - 2]
push 2
pop edx
cmp ecx, eax
je 0x40dcb5
cmp dword [edi], 0
je 0x40dd36
xor eax, eax
jmp 0x40dd39
push 0xd
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ddaf
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40dde0
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 0x40dde0
cmp dword [ebp - 4], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x40dde2
xor al, al
pop esi
leave
ret 8
Function at 0x40e1ed
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x50e554]
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.00481070
push edi
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00481070
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 0x4ce678
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, 0x104
test eax, eax
je 0x40e28d
push 0xa
push edi
push esi
push dword [ebp - 0x420]
call fcn.00487f7e
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x40e2a7
push str.thsnYaViMRAeBoda
mov edx, edi
mov ecx, esi
call fcn.0040e17f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046863a
leave
ret
Function at 0x413734
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 0x413788
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
push 0xd
pop eax
cmove esi, eax
cmp esi, 0xe8
jne 0x413796
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
cmp edi, 0xa
jl 0x413745
jmp 0x413796
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 0x4142c4
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x4ab158
call fcn.00468c18
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.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call fcn.004873ee
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x414327
cmp eax, ecx
jbe 0x414327
sub eax, ecx
cmp eax, 0x64
jae 0x414327
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 0x414435
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x41438c
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.00414ca1
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x4144af
push 0x7d0
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x4143ba
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 0x4143ee
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 0x414435
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.00414ca1
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.00414ca1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4144a5
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 0x41446b
push str.Notify_ARM_Server:_failed_WriteFile
call fcn.00402829
mov dword [ebp - 4], 4
push 0x186a0
jmp 0x414481
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.00414ca1
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.00468be1
ret 4
Function at 0x4144b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push dword [0x513e2c]
xor ebx, ebx
mov dword [ebp - 0xc], esi
inc ebx
mov dword [ebp - 0x14], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x513cb7], bl
mov dword [0x513cb8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41455f
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 [0x513e38]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414524
cmp dword [ebp - 0xc], ebx
je 0x41454b
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 0x4e6334
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414555
cmp dword [ebp - 0x14], ebx
jne 0x414555
mov dword [0x513cb8], 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4158fa
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x828
mov eax, 0x4ab427
call fcn.00468c4c
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.00454e6e
push ebx
call fcn.00415b52
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415b47
call fcn.0044edd1
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.0040a0f8
lea ecx, [esi - 2]
cmp ebx, ecx
je 0x41595c
mov esi, dword [ebp - 0x818]
test ebx, ebx
je 0x415b3f
cmp dword [esi - 4], 1
jle 0x4159b3
push dword [esi - 0xc]
lea ecx, [ebp - 0x818]
call fcn.00402aac
mov esi, dword [ebp - 0x818]
mov edi, 0x4ccd0c
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 0x415ad5
mov eax, dword [ebp - 0x814]
cmp dword [eax - 0xc], 0
je 0x415ac8
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00481070
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 0x4ccd0c
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 0x415a89
push dword [ebp - 0x814]
mov ecx, ebx
call fcn.00454c0d
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.0040286d
jmp 0x415ac8
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.00414570
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 0x415b09
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.00415c3c
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 0x4159e9
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
call fcn.0040a0f8
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.00468bf6
ret 8
Function at 0x415f3f
Capabilities:
Create bits job

Disassembly:
push 8
mov eax, 0x4ab51e
call fcn.00468c18
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0044edd1
push eax
lea ecx, [edi + 8]
call fcn.00402899
xor ebx, ebx
lea ecx, [edi + 0x28]
mov dword [ebp - 4], ebx
call fcn.0043da93
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.00481070
add esp, 0xc
mov dword [edi + 0xc], ebx
lea ecx, [edi + 8]
mov dword [edi + 0x38], 4
mov dword [edi + 0x3c], ebx
push dword [ebp + 8]
call fcn.0040286d
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x5143b8], esi
je 0x416081
test eax, eax
js 0x416081
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]
mov dword [edi + 0xc], eax
test eax, eax
jns 0x416004
cmp eax, 0x80010119
je 0x416004
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp - 0x10]
call fcn.00402829
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push eax
push 0x27358
jmp 0x416064
push edi
push 0x4e7844
push 4
push ebx
push 0x4e7834
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [edi + 0xc], eax
cmp dword [0x5143b8], 0x222e0
je 0x41602f
test eax, eax
jns 0x4160af
mov ecx, dword [edi]
test ecx, ecx
je 0x416047
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4b67e4]
call esi
mov dword [edi], ebx
push str.Failed_to_connect_to_BITS
lea ecx, [ebp - 0x10]
call fcn.00402829
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push eax
push 0x222e0
mov ecx, 0x5143b0
call fcn.00412e53
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4160af
push str.Failed_to_connect_to_BITS___COM_threading_returned_an_error__CoInitializeEx_
lea ecx, [ebp - 0x10]
call fcn.00402829
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
mov ecx, 0x5143b0
push eax
push esi
call fcn.00412e53
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.00468be1
ret 4

Function at 0x417a10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor edx, edx
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x417a18
mov dword [edx*4 + 0x514500], ecx
inc edx
cmp edx, 0x100
jb 0x417a13
mov esi, 0x800
jmp 0x417a60
mov ecx, dword [edx*4 + 0x514100]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x514500]
mov dword [edx*4 + 0x514500], ecx
inc edx
cmp edx, esi
jb 0x417a44
mov dword [0x514414], 0x417a90
call fcn.0041adaf
mov ecx, dword [0x514414]
test eax, eax
mov edx, 0x417b30
cmove ecx, edx
mov dword [0x514414], ecx
pop esi
ret
Function at 0x418584
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 8], ecx
mov esi, dword [edi]
test esi, esi
je 0x4185df
and dword [edi], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
mov edx, 0x400000
mov eax, esi
cmp esi, edx
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x4185d7
test ecx, ecx
je 0x4185df
test esi, esi
je 0x4185df
mov ecx, dword [ebp - 8]
jmp 0x41859d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4185e1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ab8f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x41abb2
xor eax, eax
jmp 0x41ace8
push ebx
lea ebx, [edx - 4]
or ecx, 0xffffffff
add ebx, eax
mov dword [ebp - 0x14], ebx
lea edx, [edi + eax]
cmp edx, ebx
jae 0x41abd5
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x41abd2
inc edx
cmp edx, ebx
jb 0x41abc5
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x41acd0
cmp eax, 3
jbe 0x41ac0c
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x41ac48
cmp al, 0xff
je 0x41ac48
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x41acc9
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x41abec
cmp byte [esi + 0x4e3c40], 0
je 0x41ac35
movzx eax, byte [esi + 0x4e3c48]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x41ac35
cmp al, 0xff
jne 0x41abec
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x41abbe
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0xc], ebx
test esi, esi
je 0x41aca1
movzx eax, byte [esi + 0x4e3c48]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x41ac90
cmp al, 0xff
jne 0x41aca1
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 8]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0xc]
jmp 0x41ac66
mov ecx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x41ac40
lea ecx, [eax - 1]
shl esi, cl
xor ecx, ecx
and esi, 7
cmp eax, 3
mov eax, dword [ebp + 0xc]
cmova esi, ecx
pop ebx
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x41e8a1
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x28
mov eax, 0x4abcb0
call fcn.00468c18
mov esi, dword [ebp + 8]
xor edi, edi
push edi
mov ecx, esi
call fcn.00424d08
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e9b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41e9b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
and ebx, 0xfffffffe
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
test bl, 0x10
je 0x41e973
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41e9b1
xorps xmm0, xmm0
mov dword [ebp - 0x28], edi
movlpd qword [ebp - 0x22], xmm0
mov dword [ebp - 0x1a], edi
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 0x41e9b1
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
push edi
push esi
inc ecx
call fcn.00414570
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x41e97d
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41e9b1
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.00402829
xor eax, eax
lea edx, [ebp - 0x14]
inc eax
push 0x186a0
push esi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00414570
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x41e9b4
xor eax, eax
inc eax
call fcn.00468be1
ret 4
Function at 0x426b91
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4aced8
call fcn.00468c18
lea eax, [ecx + 0x64]
push 0x4ccd08
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402459
push str.UsageMeasurement
push eax
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00402459
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20019
push ebx
push dword [ebp - 0x18]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], ebx
je 0x426c25
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.bHighbeamNoticeShown
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
seta bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402e64
mov al, bl
call fcn.00468be1
ret