joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418032
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43073c
push 1
push ebx
push 0x43080c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x418103
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x4307fc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4180fa
cmp byte [ebp + 8], bl
je 0x418085
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4180a2
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x4180b4
push 0x42f5dc
jmp 0x4180b7
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4180cc
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4180dd
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4180f1
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4181b1
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41875c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0041c260
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.004181b1
cmp byte [0x44874e], 0
jne 0x4187f1
push 6
push dword [0x43914c]
lea eax, [ebp - 0x1020]
push eax
call fcn.0040b1f3
push eax
call fcn.004100e6
test eax, eax
jne 0x4187f1
push 0x42f4f4
call fcn.0041854b
lea eax, [ebp - 0x1020]
push eax
call fcn.004216d5
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041d200
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x41884d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x439160], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x418898
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x455e2c], ax
xor eax, eax
mov word [0x455e2e], ax
mov dword [0x439160], 0x455e2c
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e74c
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x439150
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x418a99
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041c260
cmp byte [0x448758], 0
je 0x418b42
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.00419e34
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x418b42
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418b39
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x418b1d
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040e82c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x418bee
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041c260
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x418c09
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x418c16
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x418cd9
movzx eax, word [esi]
test ax, ax
je 0x418cd9
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x418c63
test edi, edi
je 0x418c6d
test ebx, ebx
jne 0x418c6d
test ecx, ecx
je 0x418c5f
mov byte [ecx], 1
mov ebx, ebp
jmp 0x418c84
cmp eax, 0xd
je 0x418c97
cmp eax, 0xa
je 0x418c9a
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x418c92
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x418c45
jmp 0x418c9a
mov byte [edx], 1
jmp 0x418c9a
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x418cd3
mov word [edi], ax
test ebx, ebx
je 0x418cd3
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040e82c
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x418cdb
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x418ce6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x418d35
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x418d3d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41add2
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041c260
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41aff9
push esi
call fcn.004216d5
pop ecx
cmp eax, 0x7f6
jae 0x41aff9
push ebp
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0041d200
movzx ecx, word [esi]
lea edx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x1c0
push 0x22
pop ebp
cmp cx, bp
je 0x41ae32
mov edx, esi
mov dword [esp + 0x24], edx
mov eax, ebx
test cx, cx
je 0x41ae7b
push 0x20
mov ecx, esi
pop edi
cmp word [ecx], bp
jne 0x41ae5c
jmp 0x41ae4f
cmp word [esi + eax*2], bp
je 0x41ae58
inc eax
cmp word [esi + eax*2], bx
jne 0x41ae49
jmp 0x41ae5c
mov word [esi + eax*2], di
cmp word [esi + eax*2], di
je 0x41afd0
cmp word [esi + eax*2 + 2], 0x2f
je 0x41afca
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x41ae42
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41ae88
cmp word [eax], bx
jne 0x41aea2
cmp byte [esp + 0x105c], bl
jne 0x41aea2
cmp word [0x44975a], bx
je 0x41aea2
mov dword [esp + 0x28], 0x44975a
push edx
mov dword [esp + 0x34], 1
call fcn.0040aa6d
mov esi, eax
test esi, esi
je 0x41aecd
push str..inf
push esi
call fcn.004100c4
test eax, eax
jne 0x41aecd
mov dword [esp + 0x20], 0x43067c
push dword [esp + 0x24]
call fcn.0040986e
test al, al
je 0x41aef5
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.0040a7f6
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41aff7
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x448750], bl
jne 0x41af2e
cmp byte [esp + 0x105c], bl
jne 0x41af2e
cmp byte [0x454e1c], bl
je 0x41af8d
test edi, edi
je 0x41af43
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41af43
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.0041b27f
cmp byte [0x454e1c], 0
je 0x41af8d
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41af8d
mov eax, dword [esp + 0x10]
add eax, 0x3e8
cmp eax, dword [0x454e20]
jbe 0x41af8d
mov dword [0x454e20], eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41afaa
push str..exe
push esi
call fcn.004100c4
test eax, eax
je 0x41afe3
cmp byte [0x448750], 0
mov al, byte [esp + 0x105c]
je 0x41afea
test al, al
jne 0x41afea
mov dword [0x454e24], 0x1b58
jmp 0x41afea
cmp word [esi + eax*2], di
jne 0x41afd6
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x41ae7f
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41aff7
test al, al
je 0x41aff7
push 1
push edi
call ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1040
ret 0xc
Function at 0x41b004
Capabilities:
Hide graphical window

Disassembly:
and dword [0x441728], 0
push 1
push dword [esp + 8]
mov byte [0x441725], 1
mov byte [0x441726], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004014c3
cmp dword [0x448734], 0
jne 0x41b044
cmp byte [0x44874d], 0
je 0x41b04d
cmp dword [0x448748], 0
jne 0x41b060
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41b160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041c260
cmp byte [0x448758], 0
je 0x41b1ea
cmp word [0x454e28], 0
je 0x41b1ea
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x454e28
call fcn.00419e34
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b1e9
push dword [ebp + 8]
call fcn.004216d5
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41b1f0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041c260
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040e621
mov esi, eax
test esi, esi
je 0x41b248
movzx ecx, word [esi]
push ecx
jmp 0x41b233
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040e718
test al, al
jne 0x41b22c
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80d004]
jne 0x40100a
repz ret
jmp fcn.004013d6

Function at 0x4034ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402679
and dword [ebp - 0x14], 0
cmp dword [0x80fab0], 0
mov dword [ebp - 0x18], eax
jne 0x40355e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403606
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403606
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80fab0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80fab4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80fab8], eax
call edi
push eax
call esi
mov dword [0x80fac0], eax
test eax, eax
je 0x40355e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80fabc], eax
mov eax, dword [0x80fabc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4035b7
cmp dword [0x80fac0], ecx
je 0x4035b7
push eax
call esi
push dword [0x80fac0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4035b7
test ebx, ebx
je 0x4035b7
call edi
test eax, eax
je 0x4035ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4035ae
test byte [ebp - 8], 1
jne 0x4035b7
or dword [ebp + 0x10], 0x200000
jmp 0x4035ea
mov eax, dword [0x80fab4]
cmp eax, dword [ebp - 0x18]
je 0x4035ea
push eax
call esi
test eax, eax
je 0x4035ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4035ea
mov eax, dword [0x80fab8]
cmp eax, dword [ebp - 0x18]
je 0x4035ea
push eax
call esi
test eax, eax
je 0x4035ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80fab0]
call esi
test eax, eax
je 0x403606
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403608
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x4057b0
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x8178ec]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x4057d2
push 0
push 0
call edi
mov eax, dword [0x8178ec]
cmp esi, 0x845013
jne 0x4057e9
mov eax, dword [0x80e930]
add eax, 0xa231
mov dword [0x8178ec], eax
cmp eax, 0x141
jne 0x405804
mov dword [0x80ffe8], 0xec58acac
mov dword [0x80ffec], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x4057c0
call fcn.00405530
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x10001400
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe3c
mov eax, dword [0x1000d008]
xor eax, esp
mov dword [esp + 0xe38], eax
push ebx
push esi
push edi
push 0x400
lea eax, [esp + 0x644]
mov ebx, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xa40]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x240]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xa40]
push ebx
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [esp + 0xa4c]
add esp, 0xc
push str..
push 0x200
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xa44]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindfirst64i32]
add esp, 8
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x100015bf
mov esi, eax
nop dword [eax]
push ebx
lea eax, [esp + 0x244]
push 0x200
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [esp + 0x240]
push 0x1000a344
push 0x200
push eax
call edi
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x244]
push 0x200
push eax
call edi
add esp, 0xc
test byte [esp + 0x10], 0x10
jne 0x100015d4
lea eax, [esp + 0x240]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov esi, eax
add esp, 4
test esi, esi
je 0x1000155c
push 0x200
lea eax, [esp + 0x644]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x240]
push esi
push eax
lea eax, [esp + 0x648]
push 0x1000a348
push eax
call fcn.10005cd0
add esp, 0x10
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindnext64i32]
add esp, 8
test eax, eax
je 0x100014c0
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__findclose]
add esp, 4
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrmdir]
mov esi, eax
add esp, 4
test esi, esi
je 0x100015bf
push 0x200
lea eax, [esp + 0x644]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x640]
push esi
push ebx
push str._DeleteDir__Dir___s___wrmdir___d
push eax
call fcn.10005cd0
add esp, 0x10
mov ecx, dword [esp + 0xe44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000782e
mov esp, ebp
pop ebp
ret
mov ecx, 0x1000a394
lea eax, [esp + 0x34]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10001606
test dx, dx
je 0x10001602
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10001606
add eax, 4
add ecx, 4
test dx, dx
jne 0x100015e0
xor eax, eax
jmp 0x1000160b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001560
mov eax, 0x1000a398
lea ecx, [esp + 0x34]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10001646
test dx, dx
je 0x10001642
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10001646
add ecx, 4
add eax, 4
test dx, dx
jne 0x10001620
xor eax, eax
jmp 0x1000164b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001560
lea ecx, [esp + 0x240]
call fcn.10001400
jmp 0x10001560
Function at 0x10002470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
call fcn.100024d0
push ecx
call fcn.10003da0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x1000d67c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x1000d680
push 0
push esi
push 0x100021b0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x5c
mov eax, dword [0x1000d008]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push 9
push str.EnableLog
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
call fcn.10005950
mov esi, dword [0x1000d014]
lea eax, [esp + 0xc]
push eax
push 0x20119
push 0
push str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push 0x80000002
movaps xmmword [esp + 0x44], xmm0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100026b6
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push 0
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
cmove esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.dali::RegReader.0
call fcn.100076f0
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x100026ff
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100026f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100026f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1000782e
mov esp, ebp
pop ebp
ret
Function at 0x10002980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008a43
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x15c
mov eax, dword [0x1000d008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x164], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], 0
push 7
push str.LogPath
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
call fcn.10005950
push ecx
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 1
call fcn.10004860
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - method.dali::RegReader.virtual_0], vtable.dali::RegReader.0
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 3
mov ecx, esi
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x1000a32d
mov byte [esi], 0
call fcn.10005950
lea eax, [ebp - 0x164]
mov dword [ebp - 0x168], 1
push eax
push 0x20119
push 0
push str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
push 0x80000002
mov dword [ebp - 0x134], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002b03
cmp dword [ebp - 0x14c], 0x10
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x118]
push ecx
push 0
lea eax, [ebp - 0x160]
cmovae eax, dword [ebp - 0x160]
push 0
push eax
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10002b03
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002af1
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
jmp 0x10002b21
lea eax, [ebp - 0x130]
cmp esi, eax
je 0x10002b29
cmp dword [ebp - 0x11c], 0x10
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
push eax
mov ecx, esi
call fcn.10005950
lea ecx, [ebp - 0x148]
mov dword [ebp - method.dali::RegReader.virtual_0], vtable.dali::RegReader.0
call fcn.100076f0
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x10002b7a
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002b70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002b70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x10002bb6
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002bac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002bac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000782e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10003390
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1000d008]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [0x1000d014]
mov edx, dword [ebp + 8]
push esi
test eax, eax
jle 0x10003435
cmp eax, 3
jl 0x10003435
mov ecx, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xf
mov byte [esp + 4], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100033d4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.10005950
cmp dword [esp + 0x18], 0x10
lea eax, [esp + 4]
cmovae eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x18]
cmp edx, 0x10
jb 0x10003435
mov ecx, dword [esp + 4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000342b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000342b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1000783f
add esp, 8
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.1000782e
mov esp, ebp
pop ebp
ret 8