joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1029197
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x21c], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x220], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1029224
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x1029224
push ebx
push edi
mov edi, 0x1026630
xor ecx, ecx
cmp word [esi], cx
mov ebx, esi
mov dword [ebp - 0x210], ebx
jne 0x1029239
cmp word [ebx], cx
jne 0x1029248
mov dword [ebp - 0x214], 1
cmp word [esi], cx
jne 0x105d4a9
cmp dword [ebp - 0x214], 0
lea esi, [ebx + 2]
je 0x10291ef
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
pop esi
call fcn.01001feb
leave
ret 0xc
movzx eax, word [ebx]
cmp ax, 0x20
jne 0x105d495
jmp 0x10291fe
xor eax, eax
mov word [ebx], ax
jmp 0x102920d
cmp ax, 0x2c
je 0x10291fe
inc ebx
inc ebx
cmp word [ebx], cx
jmp 0x10291f6
push esi
push 0x1027cb8
call fcn.01025b68
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
push ecx
push eax
push esi
call fcn.01025c75
test eax, eax
jge 0x105d51b
push 0x105d54c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 0
push edi
mov ebx, eax
call fcn.01026899
test ebx, ebx
je 0x105d510
push esi
push 0x1030
push 0x20c
push 0x203
push 0
push ebx
call dword [sym.imp.SHLWAPI.dll_ShellMessageBoxW]
add esp, 0x18
mov ebx, dword [ebp - 0x210]
jmp 0x1029216
push esi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call fcn.01026899
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 1
jmp 0x1029216
Function at 0x102b2b3
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x1033070
mov esi, 0x80000001
je 0x105926e
push dword [ebp + 8]
push 0x1029d44
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov dword [ebp - 4], eax
test eax, eax
je 0x102b33f
push eax
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x102b33f
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
jne 0x10592ad
call fcn.0102b350
test eax, eax
jl 0x10592a1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
jne 0x10592d2
cmp dword [ebx + 0x30], 0
jne 0x1059309
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 8], 0
je 0x10592c6
jmp 0x102b32e
push 8
lea eax, [ebx + 0x20]
push eax
push 0xb
push 0x48
push 0x1029d5c
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
push 8
lea eax, [ebx + 0x28]
push eax
push 0xb
push 0x48
push 0x1029cdc
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x102b2d7
mov dword [ebx + 0x30], 1
jmp 0x102b31b
call fcn.010742e2
test eax, eax
jge 0x102b31b
mov dword [ebp - 8], 1
jmp 0x102b31b
mov dword [ebx + 0x30], 1
jmp 0x102b324
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102b32e
push 0x1029d44
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102b32e
cmp dword [ebp + 0x14], 0
je 0x1059319
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.01074089
and dword [ebx + 0x30], 0
jmp 0x102b338

Function at 0x102cac4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push 0x1029d24
push 0x1033070
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov esi, eax
cmp esi, ebx
je 0x102cb53
push edi
xor eax, eax
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x14
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_IStream_Read]
test eax, eax
jl 0x102cb4c
cmp dword [ebp - 0x18], 0x14
jne 0x102cb4c
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0102a2a8
test eax, eax
je 0x102cb4c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x102cb4c
cmp dword [ebp - 0xc], ebx
jbe 0x102cb4c
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0x14]
test eax, eax
jne 0x102cb4c
push esi
call dword [fcn.0102cb64]
mov dword [edi + 0x10], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ecx + 0x10], ebx
pop esi
setne al
pop ebx
leave
ret 4
Function at 0x102d1af
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 0x102d21c
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.01086a7d
call fcn.01081df7
call fcn.01089357
call fcn.01084785
call fcn.01084720
push 0x1029cdc
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 0x102d20a
push edi
lea eax, [ebp - 0x418]
push eax
push edi
push 0x102d21c
push ebx
push esi
mov dword [ebp - 0x418], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x102d20a
Function at 0x102e1fb
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 0x102e33a
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 0x102e2b2
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 0x102e350
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 0x102f625
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 0x102fd51
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10b10dc], 0
jne 0x102fda5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x102fdb4
push dword [0x10b244c]
mov dword [0x10b10dc], 1
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102fda5
cmp dword [ebp - 8], 4
jne 0x102fda5
cmp dword [ebp - 0xc], eax
je 0x1054b4f
xor eax, eax
cmp dword [0x10b10dc], 1
sete al
leave
ret
mov dword [0x10b10dc], 2
jmp 0x102fda5
Function at 0x102fdd5
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 0x102fe1c
push 0x102fe38
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 0x10689b0
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 0x102fe1a

Function at 0x1030085
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 0x10300d0
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.01030467
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 0x10300d0
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 4], 0
je 0x10300c9
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 0x10300c9
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 0x10300c9
Function at 0x10300f1
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 0x10302b4
push 0x1030260
mov esi, 0x80000001
push esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], 0x14
call edi
test eax, eax
jne 0x1030153
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 0x10301e5
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push 0x10302c0
mov ebx, 0x10301f8
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 0x10301a0
jmp 0x10551f2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x10552e0
push 0x102fe38
push esi
call edi
test eax, eax
jne 0x10301b7
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpICW]
push 0x10552bc
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301b7
push 0x1055298
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301b7
push 0x1055274
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301b7
push 0x1055250
lea eax, [ebp - 0x220]
push eax
call edi
test eax, eax
je 0x10301b7
push 0x1055274
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.0100665f
jmp 0x10301c0
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 0x10302c0
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10301e5
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 0x10301e5
Function at 0x10302ed
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.01030320
test eax, eax
jne 0x10552f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001feb
leave
ret
call fcn.01028476
test eax, eax
jne 0x103030f
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.01096401
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.0106d7bd
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 0x103030f
Function at 0x1030320
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.01030467
test eax, eax
jl 0x10303b9
cmp dword [ebp - 8], esi
jl 0x10303b9
push ebx
xor ebx, ebx
inc ebx
cmp dword [ebp - 8], ebx
jg 0x10303b8
push edi
push 0x40000048
call dword [sym.imp.SHELL32.dll_SHRestricted]
push ebx
push 0x10303c0
mov esi, 0x80000002
push esi
mov edi, eax
call fcn.0103042d
test eax, eax
jne 0x105d65d
test edi, edi
jne 0x10303b7
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 0x10303b7
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 0x10303ae
cmp dword [ebp - 0x10], esi
ja 0x105d665
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 0x10303b7
mov dword [ebp - 4], ebx
jmp 0x10303ae

Function at 0x1030a85
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 0x1030b4c
push 0x1030ae0
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 0x1030ad3
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 0x1030ad3
push dword [ebp - 0x220]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x21c]
call esi
jmp 0x1030ad3
Function at 0x10324d5
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 0x1032506
cmp word [edx], 0
jne 0x1054ebc
call fcn.01030b8d
test eax, eax
je 0x1054eff
call fcn.01025571
test eax, eax
jne 0x1032538
call fcn.01032544
test eax, eax
jne 0x1032538
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.0106d127
test eax, eax
je 0x1032528
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 0x1032528
push 2
pop ebx
jmp 0x1032528
Function at 0x10327be
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 0x1032a08
push 0x80000002
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1032934
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 0x10329e4
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x1032826
cmp dword [ebp - 8], esi
jne 0x1032826
cmp dword [ebp - 4], esi
jne 0x1032826
mov eax, dword [ebp - 0xc]
cmp eax, 0x3e8
jb 0x1032826
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 0x10329c0
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x103285a
cmp dword [ebp - 8], esi
jne 0x103285a
cmp dword [ebp - 4], esi
jne 0x103285a
mov eax, dword [ebp - 0xc]
cmp eax, 0x64
jb 0x103285a
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 0x10329a8
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x103288e
cmp dword [ebp - 8], esi
jne 0x103288e
cmp dword [ebp - 4], esi
jne 0x103288e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0xc]
jbe 0x103288e
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 0x103297c
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x10328c2
cmp dword [ebp - 8], esi
jne 0x10328c2
cmp dword [ebp - 4], esi
jne 0x10328c2
mov eax, dword [ebp - 0xc]
cmp eax, 0x32
jae 0x10328c2
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 0x1032954
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x10328f5
cmp dword [ebp - 8], esi
jne 0x10328f5
cmp dword [ebp - 4], esi
jne 0x10328f5
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x10328f5
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 0x1032938
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call edi
test eax, eax
jne 0x1032929
cmp dword [ebp - 8], esi
jne 0x1032929
cmp dword [ebp - 4], esi
jne 0x1032929
mov eax, dword [ebp - 0xc]
cmp eax, 0x32
jbe 0x1032929
mov dword [ebx + 0x30], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret