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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push 0xb
push esi
mov dword [ebp - 0xc], esi
call edi
test eax, eax
mov ebx, 0x100540c
jl 0x102586e
lea eax, [ebp - 8]
push eax
push 0x16
push esi
call edi
test eax, eax
jl 0x102585a
lea eax, [ebp - 4]
push eax
push 0x100636c
push 3
push esi
push 0x1005ffc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x102584f
push dword [ebp - 0x10]
call fcn.010283b3
mov edi, eax
cmp edi, esi
je 0x1025816
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0xff00
push dword [ebp - 0x10]
push edi
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 8]
push dword [ebp - 8]
call fcn.010283b3
mov edi, eax
cmp edi, esi
je 0x1025839
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push dword [ebp - 8]
push edi
push esi
push eax
call dword [ecx + 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push ebx
push eax
call dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x1025865
push dword [ebp - 0x10]
call fcn.010283b3
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_ILFree]
cmp dword [ebp - 0xc], esi
je 0x102593e
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push 0x1004df0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1025935
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.01025698
lea eax, [ebp - 8]
push eax
push esi
push esi
push 5
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
cmp dword [ebp - 8], esi
je 0x10258ed
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [ebp - 8]
push esi
call fcn.0102a434
test eax, eax
jl 0x10258e4
push dword [ebp - 0x14]
push 0x1004dd8
push dword [ebp - 4]
call fcn.010255e2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 2
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, 0x1004dc4
mov edi, eax
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x102592c
push dword [ebp - 0xc]
push esi
push edi
push dword [ebp - 4]
call fcn.01025618
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1025943
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x1025a00
cmp dword [esi + 4], ebx
je 0x1025a00
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, 0x103e468
call fcn.01024833
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 0x1004ec8
push 0x1002d80
push SysReAllocString
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 0x1004e80
push reloc.SHELL32.dll_SHChangeNotifyRegister
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.01025465
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
setge al
jmp 0x1025a0c
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 0x1026090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov ebx, ecx
call fcn.01024a7e
xor esi, esi
cmp dword [ebx + 0x5c], esi
mov edi, eax
mov dword [ebp - 4], edi
jne 0x10260c0
cmp edi, 0xffffffff
jne 0x10260c9
push esi
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1026188
cmp edi, 0xffffffff
je 0x1026188
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 0x102615a
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 0x1026188
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 0x1026558
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, ecx
lea eax, [ebp + 0x64]
push eax
push 0x10063bc
push 1
push 0
push 0x10063ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x102667e
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x463
push esi
call edi
mov ecx, ebp
mov ebx, eax
call fcn.010250f9
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
push 0
push 0x1004fe8
push reloc.SHELL32.dll_SHChangeNotifyRegister
push ebx
push eax
call dword [ecx + 0xc]
push 0
push 0
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 5
push 0x110b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x13
call dword [sym.imp.SHLWAPI.dll_IsOS]
neg eax
sbb eax, eax
inc eax
push eax
push 0x1004fbc
mov ecx, ebp
call fcn.01024dc2
mov ebx, dword [sym.imp.USER32.dll_CheckDlgButton]
push eax
push 0x51c
push esi
call ebx
push 1
push 0x1004f98
mov ecx, ebp
call fcn.01024dc2
push eax
push 0x51a
push esi
call ebx
push 1
push 0x1004f70
mov ecx, ebp
call fcn.01024dc2
push eax
push 0x52e
push esi
call ebx
push 0x40000003
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
mov ebp, 0x51d
je 0x102666f
push 0
push 0x521
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x520
push esi
call edi
push eax
call ebx
push 0
push 0x51c
push esi
call edi
push eax
call ebx
push 0
push ebp
push esi
call edi
push eax
call ebx
push ebp
push esi
call fcn.01025465
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x1026680
xor eax, eax
pop ebp
ret 4

Function at 0x1026684
Capabilities:
Hide graphical window

Disassembly:
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 0x10266fb
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.01025d9d
jmp 0x1026781
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.01025d9d
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 0x1026de3
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x103e468
call fcn.01024833
push dword [esp + 0x28]
mov edi, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x453
push edi
call esi
push dword [esp + 0x10]
push 0x44d
push edi
call esi
mov eax, dword [esp + 0x2c]
and eax, 1
push eax
push 0x44e
push edi
call esi
xor eax, eax
cmp dword [esp + 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 ebp, dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x1026e65
push 0
push 0x44f
push edi
call ebx
push eax
call ebp
push 0x4000006b
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1026e81
push 0
push 0x453
push edi
call ebx
push eax
call ebp
xor eax, eax
cmp dword [esp + 0x1c], eax
jne 0x1026eac
cmp dword [esp + 0x20], eax
jne 0x1026eac
push dword [esp + 0x24]
push 0x3ef
push edi
call ebx
push eax
call ebp
push dword [esp + 0x24]
push 0x3e8
push edi
call esi
jmp 0x1026ed2
push eax
push 0x3e8
push edi
call ebx
push eax
call ebp
push 0
push 0x3ef
push edi
call ebx
push eax
call ebp
push 0
push 0x452
push edi
call ebx
push eax
call ebp
call fcn.01014f8e
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push edi
call esi
call fcn.01014f79
neg eax
sbb eax, eax
inc eax
push eax
push 0x451
push edi
call ebx
push eax
call ebp
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
je 0x1026f1d
push 0
push 0x450
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1026f3f
push 1
push 0
push 0x100339c
push 0x1002d80
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
test eax, eax
je 0x1026f3f
push 1
push 0x450
push edi
call esi
push edi
call fcn.01025363
push edi
call fcn.010267bd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x1026f55
Capabilities:
Set registry value

Disassembly:
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, 0x103e468
push eax
mov ecx, edi
call fcn.01015e39
mov ebx, 0x44e
push ebx
push dword [ebp + 8]
call esi
push eax
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.0101aecd
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.01024833
mov eax, dword [ebp - 4]
shr eax, 0x10
test ax, ax
jne 0x1026fca
xor eax, eax
cmp dword [ebp - 8], eax
je 0x1026fcc
test byte [ebp - 0x14], 1
jne 0x1026fcc
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push dword [ebp + 8]
call fcn.010267bd
xor eax, eax
cmp word [ebp - 4], ax
je 0x1026fdd
push eax
push eax
push eax
push eax
mov ecx, edi
call fcn.010167c8
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 0x1027015
cmp dword [ebp - 0x20], 0
jne 0x1027015
push 0x3e8
push dword [ebp + 8]
call esi
cmp dword [ebp - 0x1c], eax
je 0x1027015
push eax
mov dword [ebp - 0x1c], eax
call fcn.0102524b
push 0x453
push dword [ebp + 8]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.01024894
push ebx
push 0
push 0x402
push dword [0x103e810]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.01015c9a
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 0x1003868
mov ebx, 0x1002d80
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 0x100339c
push ebx
call edi
push 0
push 0x3e8
push 8
push 0x100353c
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1028157
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
je 0x102817e
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x102817e
xor eax, eax
jmp 0x10281ac
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x102819b
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0
je 0x10281aa
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x1028346
Capabilities:
Create process on windows

Disassembly:
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.010281f5
test eax, eax
pop edi
jne 0x10283af
test byte [ebp + 0x10], 8
je 0x1028388
mov dword [ebp - 0x30], 0x1003f60
push 0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHCloneSpecialIDList]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x10283af
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 0x10283f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
push edi
push 6
pop ecx
xor eax, eax
mov esi, 0x1005168
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3a], ax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1028454
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
leave
ret
Function at 0x102862c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x720
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x310]
push 0x10051d0
xor esi, esi
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20019
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyW]
test eax, eax
jne 0x1028765
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueW]
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0x10051b4
push dword [ebp - 4]
mov dword [ebp + 8], 0x208
mov word [ebp - 0x210], si
call ebx
test eax, eax
je 0x102873d
push edi
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x518]
push eax
push esi
push 0x100519c
push dword [ebp - 4]
mov edi, 0x104
mov dword [ebp + 8], edi
call ebx
test eax, eax
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
jne 0x10286f1
push eax
lea eax, [ebp - 0x210]
push eax
push esi
lea eax, [ebp - 0x518]
push eax
push 2
push 0x40
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
jmp 0x102873c
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x518]
push eax
push esi
push 0x1005180
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x102873c
push edi
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0x720]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRunIndirectRegClientCommand]
mov word [ebp - 0x210], si
mov dword [ebp - 8], 1
pop edi
cmp word [ebp - 0x210], si
pop ebx
je 0x102875c
push 9
lea eax, [ebp - 0x210]
push eax
call fcn.01009a07
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret 4

Function at 0x10289d5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x103e
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1028a56
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1028a42
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
lea eax, [ebp - 0x20c]
push 0x1005270
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 1
push 0
push 0x100524c
lea eax, [ebp - 0x20c]
push eax
jmp 0x1028a50
push 1
push 0
push 0x100524c
push 0x1002d80
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
leave
ret
Function at 0x102911d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push esi
push edi
push 0x10
pop ecx
xor eax, eax
mov esi, 0x208
push esi
push dword [ebp + 8]
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x44], 0x44
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push esi
push 0x10052ec
lea eax, [ebp - 0x454]
push eax
call edi
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x454]
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x10]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x454]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
leave
ret 0x10

Function at 0x102a764
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x10]
add eax, ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jne 0x102a78e
or eax, 0xffffffff
cmp ecx, eax
je 0x102a813
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x102a7f9
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x102a7cf
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp dword [ebp - 0x20], 0x20
jne 0x102a7c5
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x102a7cf
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push edi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call ebx
test eax, eax
jne 0x102a7a0
cmp dword [ebp + 0x10], 0xffffffff
je 0x102a7f6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 4], ecx
jmp 0x102a7f9
mov ecx, dword [ebp - 4]
push dword [ebp + 0x14]
xor ebx, ebx
cmp dword [ebp + 0xc], edi
push ecx
setne bl
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
call esi
cmp eax, ebx
je 0x102a798
pop esi
pop ebx
pop edi
leave
ret 0x10
Function at 0x102ac62
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
xor ebx, ebx
cmp dword [0x103ec8c], ebx
mov dword [ebp - 8], ebx
jne 0x102ad80
push esi
push 7
xor esi, esi
call fcn.0102b004
test eax, eax
je 0x102acdb
call fcn.0102ab7d
cmp ax, bx
mov word [0x103ec88], ax
je 0x102ad6b
push 0x10
lea ecx, [ebp - 0x38]
push ecx
movzx eax, ax
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x102ad6b
test byte [ebp - 0x29], 8
je 0x102ad6b
xor eax, eax
mov ax, word [0x103ec88]
push eax
call fcn.0102ac03
test eax, eax
je 0x102ad6b
jmp 0x102ad68
push 5
call fcn.0102b004
test eax, eax
je 0x102ad6b
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x102ad6b
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x1006734
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x102ad6b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x1006730
push dword [ebp - 4]
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov byte [ebp - 0xd], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0102aa9e
test eax, eax
je 0x102ad6b
mov eax, dword [ebp - 8]
and eax, 0x3ff
cmp eax, 1
je 0x102ad62
cmp eax, 0xd
jne 0x102ad6b
mov word [0x103ec88], ax
xor esi, esi
inc esi
xor eax, eax
cmp esi, ebx
sete al
inc eax
push eax
push 0x103ec8c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
cmp dword [0x103ec8c], 1
jne 0x102ad9a
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x102ad9a
mov cx, word [0x103ec88]
mov word [eax], cx
xor eax, eax
cmp dword [0x103ec8c], 1
pop ebx
sete al
leave
ret 4

Function at 0x102adca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x102ae29
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x102ae20
cmp dword [ebp - 0xc], 4
je 0x102ae20
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x102ae6c
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x102ae63
cmp dword [ebp - 0xc], esi
je 0x102ae63
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x102ae76
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea eax, [ebp + 0xc]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x102aecc
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp + 8], 0x104
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc