joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102d1bf
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
and dword [ebp - 0x41c], 0
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x102d22c
mov ebx, 0x100f280
push ebx
mov esi, 0x80000001
push esi
mov dword [ebp - 0x428], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x41c], edi
jb 0x1055a2f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret
cmp dword [ebp - 0x41c], 0
jne 0x1055ab2
push 0x1055bb4
push 0x1015388
lea eax, [ebp - 0x414]
push eax
mov dword [ebp - 0x424], 0x104
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x1055ba0
lea eax, [ebp - 0x414]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1055ab2
cmp word [ebp - 0x20c], ax
je 0x1055ab2
push edi
lea eax, [ebp - 0x418]
push eax
push edi
push 0x1055b80
push ebx
push esi
mov dword [ebp - 0x418], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
call fcn.010869dd
call fcn.01081d57
call fcn.010892b7
call fcn.010846e5
call fcn.01084680
push 0x1029cec
push 0x1033070
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
and dword [ebp - 0x420], 0
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0x18
push 0x1055b60
push 0x1055b44
push 0x80000002
mov dword [ebp - 0x42c], edi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1055b22
cmp dword [ebp - 0x420], eax
jne 0x102d21a
push edi
lea eax, [ebp - 0x418]
push eax
push edi
push 0x102d22c
push ebx
push esi
mov dword [ebp - 0x418], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x102d21a
Function at 0x102e207
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0xa8], 0xffffffff
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esi + 4], eax
cmp eax, edi
je 0x102e346
push ebx
push edi
push dword [0x10b10b4]
mov dword [ebp - 0xa8], edi
push edi
push eax
mov eax, 0x80000000
push eax
push eax
push eax
push eax
push 0x80000001
push edi
push 0x10341bc
push edi
call fcn.0103510b
mov dword [esi + 0x50], eax
cmp eax, edi
je 0x102e2be
mov eax, dword [esi + 4]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
push 0x50
lea eax, [ebp - 0xa4]
push eax
lea ebx, [esi + 0x1c]
push 0x35a
mov dword [ebx], 0x30
mov dword [esi + 0x20], 0xa1
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push edi
push 0x432
push dword [esi + 0x50]
lea eax, [ebp - 0xa4]
mov dword [esi + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x50]
call fcn.01017d35
push edi
push edi
push 0x101f330
mov ebx, 0x101f2b8
push ebx
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
xor ecx, ecx
cmp eax, edi
sete cl
push 0x1f4
push 0x102e35c
push ebx
add ecx, ecx
xor ecx, dword [esi + 0x74]
and ecx, 2
xor dword [esi + 0x74], ecx
call fcn.010103a4
mov dword [esi + 0x60], eax
call dword [sym.imp.UxTheme.dll_BufferedPaintInit]
xor ecx, ecx
cmp eax, edi
sete cl
lea eax, [esi + 8]
push eax
push dword [esi + 4]
shl ecx, 4
xor ecx, dword [esi + 0x74]
and ecx, 0x10
xor dword [esi + 0x74], ecx
call dword [sym.imp.ole32.dll_RegisterDragDrop]
push 0xc
xor eax, eax
lea ecx, [ebp - 0xb4]
push ecx
inc eax
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_SetGestureConfig]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
pop edi
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 4

Function at 0x102f62d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
push 1
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
push 1
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret

Function at 0x102fd59
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10b10dc], 0
jne 0x102fdad
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x102fdbc
push dword [0x10b244c]
mov dword [0x10b10dc], 1
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102fdad
cmp dword [ebp - 8], 4
jne 0x102fdad
cmp dword [ebp - 0xc], eax
je 0x1054b4f
xor eax, eax
cmp dword [0x10b10dc], 1
sete al
leave
ret
mov dword [0x10b10dc], 2
jmp 0x102fdad
Function at 0x102fddd
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x102fe24
push 0x102fe40
push 0x80000001
mov dword [ebp - 8], 2
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1054b6c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp word [ebp - 4], ax
jne 0x1054b6c
leave
ret
push esi
push 0x10689a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1054b97
push 0x1054ba0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1054b90
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
jmp 0x102fe22

Function at 0x103008d
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 4
pop ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x10300d8
mov edi, 0x100f280
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, 2
je 0x1054f1e
cmp eax, 3
je 0x1054f1e
pop edi
pop esi
pop ebx
leave
ret
call fcn.01011979
test eax, eax
je 0x1054f9c
push 0x220
push 0
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1054f93
push 0x225
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1054f93
push 0x227
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1054f93
push 0x22c
push eax
call sub.SHELL32.dll_SHTestTokenMembership
test eax, eax
jne 0x1054f93
and dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.0103046f
test eax, eax
jne 0x1054fa0
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc ecx
test eax, eax
je 0x1054f8e
cmp eax, ecx
je 0x1054f8e
cmp eax, 0x10
je 0x1054f8e
cmp eax, 0x11
jne 0x1054fa0
mov dword [ebp - 4], ecx
jmp 0x1054fa0
mov dword [ebp - 4], 1
jmp 0x1054fa0
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x10300d8
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 4], 0
je 0x10300d1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x104a600
push edi
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 2
pop ecx
cmp eax, ecx
je 0x1054fe7
cmp eax, 3
jne 0x10300d1
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x104a600
push edi
push esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x10300d1
Function at 0x10300f9
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push ebx
push 0x10302bc
push 0x1030268
mov esi, 0x80000001
push esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], 0x14
call edi
test eax, eax
jne 0x103015b
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 0x234], eax
push 0xc
pop eax
push ebx
lea ecx, [ebp - 0x230]
push ecx
push eax
push 0x42
mov dword [ebp - 0x230], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x10301ed
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x10302c8
mov ebx, 0x1030200
push ebx
push esi
mov dword [ebp - 0x224], 0x208
call edi
test eax, eax
je 0x1055142
test byte [ebp - 0x22c], 1
mov dword [ebp - 0x224], 0x208
jne 0x1055154
xor eax, eax
mov word [ebp - 0x220], ax
cmp word [ebp - 0x220], 0
jne 0x10551f2
mov eax, dword [ebp - 0x22c]
mov ecx, eax
xor ecx, dword [ebp - 0x234]
test cl, 1
jne 0x105522a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret
cmp word [ebp - 0x220], ax
je 0x10301a8
jmp 0x10551f2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x10552e0
push 0x102fe40
push esi
call edi
test eax, eax
jne 0x10301bf
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpICW]
push 0x10552bc
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301bf
push 0x1055298
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301bf
push 0x1055274
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301bf
push 0x1055250
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301bf
push 0x1055274
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.0100665f
jmp 0x10301c8
or dword [ebp - 0x22c], 1
lea eax, [ebp - 0x220]
push 3
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x230]
push eax
push 0xc
push 0x43
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x10302c8
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10301ed
xor eax, 1
or eax, 0x1000
push 2
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
push eax
push 0xc
push 0x43
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x10301ed
Function at 0x10302f5
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.01030328
test eax, eax
jne 0x10552f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001feb
leave
ret
call fcn.01028486
test eax, eax
jne 0x1030317
push ebx
push esi
push edi
push 0x44
push eax
lea eax, [ebp - 0x260]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [ebp - 0x21c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [0x10b24cc], 0
stosd dword es:[edi], eax
mov edi, 0x4010000
mov esi, 0x80000000
je 0x1055382
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x105533e
test al, al
jne 0x1055382
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, edi
and ecx, esi
or eax, ecx
je 0x1055382
mov eax, dword [0x10b24c0]
mov ebx, dword [0x10b24c4]
mov ecx, eax
mov edx, ebx
and ecx, edi
and edx, esi
cmp ecx, eax
jne 0x1055382
cmp edx, ebx
jne 0x1055382
push 0x10554b0
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1055407
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x1055447
push 0x10554e8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x1055447
push 0x10554d0
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01010e3b
mov ebx, eax
test ebx, ebx
jl 0x1055447
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x260]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1055417
jmp 0x105541e
lea eax, [ebp - 0x21c]
push eax
call fcn.01096391
test eax, eax
je 0x1055422
call fcn.0101ae40
mov ebx, eax
test ebx, ebx
jl 0x1055447
push 0xffffffffffffffff
push dword [ebp - 0x21c]
push 0
call fcn.0106d7b1
push dword [ebp - 0x218]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x21c]
call ebx
cmp dword [0x10b24cc], 0
je 0x10554a1
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x105545d
test al, al
jne 0x10554a1
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
and eax, edi
and ecx, esi
or eax, ecx
je 0x10554a1
mov eax, dword [0x10b24c0]
mov ecx, eax
and ecx, edi
mov edi, dword [0x10b24c4]
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x10554a1
cmp edx, edi
jne 0x10554a1
push 0x10554c0
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
pop edi
pop esi
pop ebx
jmp 0x1030317
Function at 0x1030328
Capabilities:
Persist via run registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
mov dword [ebp - 4], esi
call fcn.0103046f
test eax, eax
jl 0x10303c1
cmp dword [ebp - 8], esi
jl 0x10303c1
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 8], ebx
jg 0x10303c0
push edi
push 0x40000048
call dword [sym.imp.SHELL32.dll_SHRestricted]
push ebx
push 0x10303c8
mov esi, 0x80000002
push esi
mov edi, eax
call fcn.01030435
test eax, eax
jne 0x105d645
test edi, edi
jne 0x10303bf
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
push 0x10255c8
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10303bf
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_SHQueryInfoKeyW]
test eax, eax
jne 0x10303b6
cmp dword [ebp - 0x10], esi
ja 0x105d64d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret
mov dword [ebp - 4], ebx
jmp 0x10303bf
mov dword [ebp - 4], ebx
jmp 0x10303b6

Function at 0x1030a8d
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
xor esi, esi
push esi
push 0x1030b54
push 0x1030ae8
push 0x80000002
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1054ad7
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret
cmp word [ebp - 0x20c], si
je 0x1030adb
push 0x40
lea eax, [ebp - 0x260]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
inc eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x264]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push esi
mov dword [ebp - 0x264], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1030adb
push dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x21c]
call esi
jmp 0x1030adb
Function at 0x1030f02
Capabilities:
Terminate process

Disassembly:
call fcn.01030dbb
push 0x5c
push 0x1031038
call fcn.01032cd4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10b22cc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x105c9d2
xor esi, esi
inc esi
mov eax, dword [0x10b117c]
cmp eax, esi
je 0x105c9f1
mov eax, dword [0x10b117c]
test eax, eax
jne 0x103108d
mov dword [0x10b117c], esi
push 0x1031034
push 0x1031028
call fcn.01030ed9
pop ecx
pop ecx
test eax, eax
jne 0x105caab
mov eax, dword [0x10b117c]
cmp eax, esi
jne 0x1030fb5
push 0x1031024
push 0x1030ff8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10b117c], 2
cmp dword [ebp - 0x20], ebx
jne 0x1030fc2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10b39e4], ebx
jne 0x105c9fe
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x105caab
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x1031060
cmp cx, 0x22
je 0x105ca48
inc eax
inc eax
jmp 0x1030fdd
cmp cx, bx
jne 0x1031098
movzx ecx, word [eax]
cmp cx, bx
jne 0x105ca20
test byte [ebp - 0x40], 1
je 0x10310a2
movzx ecx, word [ebp - 0x3c]
push ecx
push eax
push ebx
push 0x1000000
call fcn.01024f06
jmp 0x105ca34
mov dword [0x10b3d38], esi
jmp 0x1030f91
cmp dword [ebp - 0x1c], ebx
je 0x1031065
jmp 0x1030fe9
push 0xa
pop ecx
jmp 0x103107b
cmp eax, esi
jne 0x105c9e1
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1030f58
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1030f44
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1030f91
push 0x10b39e4
call fcn.0107b419
pop ecx
test eax, eax
je 0x1030fce
push ebx
push 2
push ebx
call dword [0x10b39e4]
jmp 0x1030fce
cmp cx, 0x20
ja 0x1031071
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1031065
mov dword [0x10b3d34], eax
cmp dword [0x10b1120], ebx
jne 0x105ca88
push eax
call dword [sym.imp.msvcrt.dll_exit]
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x1030ff3
cmp dword [0x10b3d38], ebx
jne 0x105ca96
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10b3d34]
jmp 0x105cab7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010324c4
ret
Function at 0x10324dd
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov edx, eax
test edx, edx
je 0x103250e
cmp word [edx], 0
jne 0x1054ebc
call fcn.01030b95
test eax, eax
je 0x1054eff
call fcn.01025571
test eax, eax
jne 0x1032540
call fcn.0103254c
test eax, eax
jne 0x1032540
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret
push 5
jmp 0x1054f01
push 2
pop ebx
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push edx
call fcn.0106d11b
test eax, eax
je 0x1032530
push esi
push 4
pop ecx
mov edi, 0x100d864
lea esi, [ebp - 0x14]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop esi
je 0x1054ef1
push 4
pop ebx
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x1032530
push 2
pop ebx
jmp 0x1032530
Function at 0x10327c6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x1032a10
push 0x80000002
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x103293c
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10329ec
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x103282e
cmp dword [ebp - 8], esi
jne 0x103282e
cmp dword [ebp - 4], esi
jne 0x103282e
mov eax, dword [ebp - 0xc]
cmp eax, 0x3e8
jb 0x103282e
mov dword [ebx + 0x18], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10329c8
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x1032862
cmp dword [ebp - 8], esi
jne 0x1032862
cmp dword [ebp - 4], esi
jne 0x1032862
mov eax, dword [ebp - 0xc]
cmp eax, 0x64
jb 0x1032862
mov dword [ebx + 0xc], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10329b0
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x1032896
cmp dword [ebp - 8], esi
jne 0x1032896
cmp dword [ebp - 4], esi
jne 0x1032896
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0xc]
jbe 0x1032896
mov dword [ebx + 0x10], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1032984
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x10328ca
cmp dword [ebp - 8], esi
jne 0x10328ca
cmp dword [ebp - 4], esi
jne 0x10328ca
mov eax, dword [ebp - 0xc]
cmp eax, 0x32
jae 0x10328ca
mov dword [ebx + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x103295c
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x10328fd
cmp dword [ebp - 8], esi
jne 0x10328fd
cmp dword [ebp - 4], esi
jne 0x10328fd
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x10328fd
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1032940
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x1032931
cmp dword [ebp - 8], esi
jne 0x1032931
cmp dword [ebp - 4], esi
jne 0x1032931
mov eax, dword [ebp - 0xc]
cmp eax, 0x32
jbe 0x1032931
mov dword [ebx + 0x30], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1037328
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 4], 0
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
jne 0x1055bde
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
mov eax, dword [ebp + 0xc]
push ebx
push edi
movsx edi, ax
shr eax, 0x10
movsx ebx, ax
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push ebx
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
pop edi
pop ebx
test eax, eax
je 0x1037342
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0106e875
mov dword [ebp - 4], 1
jmp 0x1037342

Function at 0x103740c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
and edi, 1
and dword [ebp - 0x418], 0
mov eax, 0x1037518
test edi, edi
jne 0x1037442
mov eax, 0x1037504
push ebx
push eax
push 0x10374b8
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.010343ca
mov esi, eax
add esp, 0x14
test esi, esi
jl 0x1051d02
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
lea eax, [ebp - 0x414]
push eax
push 0x80000001
mov dword [ebp - 0x41c], 0x208
call sub.SHLWAPI.dll_SHGetValueW
test eax, eax
je 0x1051cbe
test esi, esi
jne 0x1051d02
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 8
cmp dword [ebp - 0x41c], eax
je 0x103749c
cmp word [ebp - 0x20c], ax
je 0x103749c
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xffc00000
add eax, 0x400000
or eax, 0x292013
push eax
push 0
push ebx
call dword [sym.imp.WINMM.dll_PlaySoundW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x103749c
test byte [ebp + 0xc], 2
je 0x10374a4
jmp 0x105d075
cmp dword [ebp - 0x418], 0
jne 0x10374a4
xor eax, eax
test edi, edi
sete al
mov dword [ebp - 0x418], 1
mov edi, eax
jmp 0x1037434