joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10373cf
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x1046064]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x428]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x10374be
and dword [ebp - 0x464], edi
push 0xe
pop ecx
xor eax, eax
push esi
lea edi, [ebp - 0x460]
rep stosd dword es:[edi], eax
push 0x10374ec
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
lea eax, [ebp - 0x428]
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x464], 0x3c
mov dword [ebp - 0x45c], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
push 0x10e
lea eax, [ebp - 0x220]
je 0x1037470
push 0x10374e4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x21a]
jmp 0x1037482
push 0x10374d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x20e]
push 0
push 0xb
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x220]
mov dword [ebp - 0x450], eax
mov eax, dword [0x10460c0]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x464]
push eax
mov dword [ebp - 0x448], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret 4

Function at 0x103750d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 8
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1037590
push edi
push dword [ebp - 8]
call fcn.0103abf1
mov esi, dword [sym.imp.SHELL32.dll_ILFree]
mov edi, eax
test edi, edi
je 0x1037586
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
push 0x60
push dword [ebp + 8]
push edi
call dword [eax + 0x10]
test eax, eax
jne 0x1037580
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1037577
cmp dword [ebp - 0xc], 1
jne 0x1037577
push dword [ebp - 0x10]
call esi
inc ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 8]
call esi
test ebx, ebx
pop edi
jne 0x10375c6
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push dword [esi + 0x104764c]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10375be
push dword [ebp - 0x10]
xor ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 4
cmp esi, 0x14
jb 0x1037592
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop esi
pop ebx
leave
ret 8
Function at 0x10375e5
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHAddToRecentDocs]
xor edi, edi
lea esi, [edi + 0x104764c]
push dword [esi]
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp + 8], 0
je 0x103761d
push dword [esi]
push 0
push 0x1a
call dword [sym.imp.SHLWAPI.dll_SHSendMessageBroadcastW]
add edi, 4
cmp edi, 0x14
jb 0x10375f8
pop edi
pop esi
pop ebp
ret 4

Function at 0x1037758
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1046064]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 2
push 0x10378b4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1013398
push eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x220], edi
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x1037835
lea eax, [ebp - 0x210]
push eax
push 0x10378c0
push 1
push esi
push 0x10378d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x103782f
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x21c]
push edx
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x1037823
push dword [ebp - 0x21c]
call fcn.01037690
push esi
xor eax, eax
push esi
mov dword [ebp - 0x228], esi
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
push dword [ebp - 0x224]
mov eax, dword [ebx]
push dword [ebp - 0x228]
push ebx
call dword [eax + 0x14]
push dword [ebp - 0x21c]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
push dword [ebp - 0x21c]
call dword [0x10103cc]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
mov ebx, 0x104
mov dword [ebp - 0x210], esi
push esi
jmp 0x1037892
push dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
push eax
push dword [ebp - 0x214]
call fcn.010376ee
inc dword [ebp - 0x210]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
mov dword [ebp - 0x218], ebx
call edi
test eax, eax
je 0x103785b
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret 8
Function at 0x10378e5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1046064]
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
xor esi, esi
push 0xb
push esi
mov dword [ebp - 0x218], esi
call edi
test eax, eax
mov ebx, 0x100badc
jl 0x10379fa
lea eax, [ebp - 0x214]
push eax
push 0x16
push esi
call edi
test eax, eax
jl 0x10379dd
lea eax, [ebp - 0x210]
push eax
push 0x100cad4
push 1
push esi
push 0x1037bc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10379cf
push dword [ebp - 0x21c]
call fcn.0103abf1
mov edi, eax
cmp edi, esi
je 0x1037984
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push 0xff00
push dword [ebp - 0x21c]
push edi
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 0x214]
call fcn.0103abf1
mov edi, eax
cmp edi, esi
je 0x10379b0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x214]
push edi
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push ebx
push eax
call dword [ecx]
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x10379ee
push dword [ebp - 0x21c]
call fcn.0103abf1
mov dword [ebp - 0x218], eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 0x218], esi
je 0x1037afa
lea eax, [ebp - 0x210]
push eax
push 0x2001f
push esi
push 0x1037b38
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1037aee
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call fcn.01037758
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push 5
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp dword [ebp - 0x214], esi
je 0x1037a9d
lea eax, [ebp - 0x220]
push eax
push ebx
push esi
push dword [ebp - 0x214]
push esi
call fcn.0100baf1
test eax, eax
jl 0x1037a91
push dword [ebp - 0x220]
push 0x1037b1c
push dword [ebp - 0x210]
call fcn.010376b1
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 2
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, 0x1037b08
mov edi, eax
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1037ae2
push dword [ebp - 0x218]
push esi
push edi
push dword [ebp - 0x210]
call fcn.010376ee
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret
Function at 0x1037bdd
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x1037c9c
cmp dword [esi + 4], ebx
je 0x1037c9c
push edi
push esi
push 8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x10460d8
call fcn.01036552
xor eax, eax
cmp dword [ebp - 0x20], ebx
push 4
sete al
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 4
push 0x102a214
push 0x100bbe8
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x463
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 4]
push ebx
push 0x1037cb0
push 0x80000002
push eax
mov dword [esi], eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x110a
push dword [esi]
mov dword [ebp - 4], eax
call edi
push eax
push ebx
push 0x1114
push dword [esi]
call edi
push 0x465
push dword [ebp + 8]
call fcn.0103750d
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
setge al
jmp 0x1037ca8
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x10381a9
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov ebx, ecx
call fcn.010367eb
xor esi, esi
cmp dword [ebx + 0x5c], esi
mov edi, eax
mov dword [ebp - 4], edi
jne 0x10381db
cmp edi, 0xffffffff
jne 0x10381e4
push esi
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10382a3
cmp edi, 0xffffffff
je 0x10382a3
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x14]
push eax
push edi
push 0x100e
push dword [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push 0
push 0
push 0x101f
push dword [ebx + 0x44]
call esi
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0x1207
push eax
call esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x48]
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x1038275
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x48]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10382a3
push 5
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x28]
push 0
lea eax, [edi + edi*4]
push dword [ecx + eax*8 + 0x10]
push 0x14e
push dword [ebx + 0x40]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10386e0
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
lea edi, [ecx + 0x64]
push edi
push 0x102a2f0
push 1
push 0
push 0x102a2e0
mov dword [ebp - 4], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1038814
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x463
push ebx
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
call fcn.01037096
mov eax, dword [edi]
mov ecx, dword [eax]
xor edi, edi
push edi
push 0x1038820
push 0x80000002
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x110a
push dword [ebp + 8]
call edi
push eax
push 5
push 0x110b
push dword [ebp + 8]
call edi
push 0x13
call dword [sym.imp.SHLWAPI.dll_IsOS]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
inc eax
push eax
push 0x100e52c
call fcn.01036bd4
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
push eax
push 0x51c
push ebx
call edi
mov ecx, dword [ebp - 4]
push 1
push 0x1012248
call fcn.01036bd4
push eax
push 0x51a
push ebx
call edi
mov ecx, dword [ebp - 4]
push 1
push 0x100e184
call fcn.01036bd4
push eax
push 0x52e
push ebx
call edi
push 0x40000003
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1038802
push 0
push 0x521
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x520
push ebx
call esi
push eax
call edi
push 0
push 0x51c
push ebx
call esi
push eax
call edi
push 0
push 0x51d
push ebx
call esi
push eax
call edi
push 0x51d
push ebx
call fcn.0103750d
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x1038816
xor eax, eax
pop edi
leave
ret 4

Function at 0x103886d
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0x4000005a
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x10388e6
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x46c
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x46f
push dword [ebp + 8]
call esi
push eax
call edi
push 0
push 0x46b
push dword [ebp + 8]
call esi
push eax
call edi
push 1
push 0x46d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0xab
push 0x46e
push dword [ebp + 8]
call fcn.01037d70
jmp 0x103896c
and dword [ebp - 0x20], 0
push 7
pop ecx
xor eax, eax
push eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push 0x200000
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
and eax, 2
shr eax, 1
push eax
push 0x46c
push edi
call esi
mov eax, dword [ebp - 4]
not eax
and eax, 2
shr eax, 1
push eax
push 0x46d
push edi
call esi
mov eax, dword [ebp - 4]
not eax
and eax, 2
or eax, 0x154
shr eax, 1
push eax
push 0x46e
push edi
call fcn.01037d70
mov eax, dword [ebp - 4]
not eax
and eax, 2
or eax, 0x8d4
push 0
shr eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
leave
ret 4
Function at 0x1039428
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x10460d8
call fcn.01036552
push dword [ebp - 8]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x453
push edi
call esi
push dword [ebp - 0x20]
push 0x44d
push edi
call esi
mov eax, dword [ebp - 4]
and eax, 1
push eax
push 0x44e
push edi
call esi
xor eax, eax
cmp dword [ebp - 0x18], eax
sete al
push eax
push 0x44f
push edi
call esi
push 0x40000070
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x10394aa
push 0
push 0x44f
push dword [ebp + 8]
call edi
push eax
call ebx
push 0x4000006b
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x10394c8
push 0
push 0x453
push dword [ebp + 8]
call edi
push eax
call ebx
xor eax, eax
cmp dword [ebp - 0x14], eax
jne 0x10394f3
cmp dword [ebp - 0x10], eax
jne 0x10394f3
push dword [ebp - 0xc]
push 0x3ef
push dword [ebp + 8]
call edi
push eax
call ebx
push dword [ebp - 0xc]
push 0x3e8
push dword [ebp + 8]
call esi
jmp 0x103951f
push eax
push 0x3e8
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 0x3ef
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 0x452
push dword [ebp + 8]
call edi
push eax
call ebx
call fcn.0101b6fb
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push dword [ebp + 8]
call esi
call fcn.0101b02d
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push dword [ebp + 8]
call edi
push eax
call ebx
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1039570
push 0
push 0x450
push dword [ebp + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1039594
push 1
push 0
push 0x1019ce0
push 0x100bbe8
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1039594
push 1
push 0x450
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call fcn.01037322
push dword [ebp + 8]
call fcn.010389c0
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10395b0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
push 0x44d
push dword [ebp + 8]
call esi
mov edi, 0x10460d8
push eax
mov ecx, edi
call fcn.01030884
mov ebx, 0x44e
push ebx
push dword [ebp + 8]
call esi
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.01033613
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.01036552
mov eax, dword [ebp - 4]
shr eax, 0x10
test ax, ax
jne 0x1039627
xor eax, eax
cmp dword [ebp - 8], eax
je 0x1039629
test byte [ebp - 0x14], 1
jne 0x1039629
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [ebp + 8]
call fcn.010389c0
xor eax, eax
cmp word [ebp - 4], ax
je 0x103963a
push eax
push eax
push eax
push eax
mov ecx, edi
call fcn.010027ba
push 0x44f
push dword [ebp + 8]
call esi
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ebx
jne 0x1039672
cmp dword [ebp - 0x20], 0
jne 0x1039672
push 0x3e8
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], eax
je 0x1039672
push eax
mov dword [ebp - 0x1c], eax
call fcn.010371f5
push 0x453
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.010365bd
push ebx
push 0
push 0x402
push dword [0x1046480]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.010080c8
push 0x451
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
neg eax
sbb eax, eax
push 2
inc eax
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0x101b720
mov ebx, 0x100bbe8
push ebx
call edi
push 0x450
push dword [ebp + 8]
call esi
push 2
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x1019ce0
push ebx
call edi
push 0
push 0x3e8
push 8
push 0x1029cd8
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103a9fe
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x103aa31
push esi
lea ecx, [ebp + 8]
push ecx
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x103aa31
xor eax, eax
jmp 0x103aa5d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x103aa4d
xor edi, edi
inc edi
cmp dword [ebp + 0xc], esi
je 0x103aa5b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x103ab7d
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0xe
pop ecx
push 0x10
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x20], 1
call fcn.0101febb
test eax, eax
pop edi
jne 0x103abe8
test byte [ebp + 0x10], 8
je 0x103abc1
mov dword [ebp - 0x30], 0x1029dcc
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHCloneSpecialIDList]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x103abe8
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_ILFree]
leave
ret 0xc

Function at 0x103ac35
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x1046064]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x103ad01
push 0x103ad0c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x103ad01
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xor eax, eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x234], eax
mov word [ebp - 0x22e], ax
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x20c]
push eax
push eax
mov dword [ebp - 0x260], 0x44
mov word [ebp - 0x230], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x103ad01
push esi
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x218]
call esi
pop esi
mov ecx, dword [ebp - 4]
call fcn.01001b01
leave
ret
Function at 0x103ae56
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x728
mov eax, dword [0x1046064]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x103b030
lea eax, [ebp - 0x30c]
push 0x80
xor esi, esi
push eax
mov dword [ebp - 0x728], esi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push esi
lea eax, [ebp - 0x724]
push eax
push esi
push 0x20019
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x103afc8
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x103b010
push dword [ebp - 0x724]
mov dword [ebp - 0x720], 0x208
mov word [ebp - 0x20c], si
call ebx
test eax, eax
je 0x103af9a
push edi
push esi
push esi
push esi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push 0x103aff8
push dword [ebp - 0x724]
mov edi, 0x104
mov dword [ebp - 0x720], edi
call ebx
test eax, eax
mov dword [ebp - 0x720], edi
lea eax, [ebp - 0x720]
jne 0x103af48
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x514]
push eax
push 2
push 0x40
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
jmp 0x103af99
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push 0x103afdc
push dword [ebp - 0x724]
call ebx
test eax, eax
jne 0x103af99
push edi
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0x71c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
mov word [ebp - 0x20c], si
mov dword [ebp - 0x728], 1
pop edi
cmp word [ebp - 0x20c], si
pop ebx
je 0x103afbc
push 9
lea eax, [ebp - 0x20c]
push eax
call fcn.010149a9
mov dword [ebp - 0x728], 1
push dword [ebp - 0x724]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x728]
pop esi
call fcn.01001b01
leave
ret 4