joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10349fa
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x18], eax
je 0x1034a5a
mov dword [ecx + 0x18], eax
xor ecx, ecx
test eax, eax
lea eax, [ebp + 8]
push eax
push 0x20006
setne cl
push 0
push 0x1017090
push 0x80000001
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034a55
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x101bbb4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x1034a5c
xor eax, eax
leave
ret 4

Function at 0x1035b2a
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
call fcn.01034efa
push dword [ebp + 8]
mov dword [ebp - 8], eax
call fcn.01034f3c
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x1035b75
push ebx
push dword [esi + 0x2dc]
push 0x419
push dword [esi + 0x14]
call edi
cmp eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - 4], eax
jne 0x1035bad
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x445
push dword [esi + 0x14]
mov dword [ebp - 0x10], ecx
call edi
cmp dword [ebp - 8], ebx
mov dword [ebp - 4], eax
je 0x1035bad
push eax
push dword [esi + 0x14]
call fcn.0103b0d9
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
push dword [ebp - 4]
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
call fcn.010075c7
mov edi, eax
cmp edi, ebx
je 0x1035c6e
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1035c5c
cmp dword [ebp - 8], ebx
je 0x1035c4f
push dword [edi]
call fcn.0103ad55
mov eax, dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
cmp eax, ebx
je 0x1035c30
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x1035c30
mov ecx, dword [eax + 4]
cmp ecx, dword [edi + 4]
jne 0x1035c30
cmp dword [ebp + 8], reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x1035c13
cmp dword [ebp + 8], reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x1035c13
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
jmp 0x1035c1d
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
push 0x405
push ebx
push ebx
push dword [eax + 4]
mov ecx, esi
push dword [eax]
call fcn.0100a861
push 3
push edi
push dword [ebp - 4]
mov ecx, esi
call fcn.01009b6a
push ebx
mov ecx, esi
mov dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
call fcn.0100a9cb
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0100aa0d
jmp 0x1035c69
push 1
push ebx
push dword [ebp - 4]
mov ecx, esi
call fcn.010095bc
xor eax, eax
inc eax
jmp 0x1035c70
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1035fae
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x5de
push esi
mov esi, ecx
jne 0x1035fd3
cmp dword [ebp + 0xc], 6
je 0x103609f
call fcn.01035c7c
jmp 0x103609f
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x103609e
push ebx
push dword [esi + 0x14]
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push edi
push dword [ebp + 8]
call fcn.010075e2
mov ebx, eax
cmp ebx, edi
je 0x103609d
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
je 0x103601e
push edi
push dword [ebp + 8]
push 0x419
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov ecx, esi
call fcn.01034e50
push dword [ebx]
call fcn.0103ad55
cmp dword [ebx + 0x10], 3
jb 0x103605b
xor eax, eax
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
mov ecx, esi
setne al
add eax, 0x400
push eax
push ebx
call fcn.0100aa0d
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
je 0x103609d
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
je 0x103609d
push 0x401
jmp 0x1036095
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
je 0x103609d
push 0x201
push ebx
mov ecx, esi
call fcn.0100aa0d
mov edi, 0x202
push edi
push ebx
mov ecx, esi
call fcn.0100aa0d
cmp dword [esi + reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0
je 0x103609d
push 0x203
push ebx
mov ecx, esi
call fcn.0100aa0d
push edi
mov ecx, esi
push ebx
call fcn.0100aa0d
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x1036a2d
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x20019
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push esi
push eax
push 0x80000002
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1036b75
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push edi
mov edi, 0x104
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push dword [ebp - 0x41c]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
call ebx
test eax, eax
jne 0x1036b37
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x41c]
call fcn.0103d01b
test eax, eax
jl 0x1036b13
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_StrDupW]
test eax, eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
je 0x1036b13
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0
push 0x143
push dword [ebp - 0x418]
call esi
test eax, eax
push dword [ebp - 0x424]
jl 0x1036b0d
push eax
push 0x151
push dword [ebp - 0x418]
call esi
jmp 0x1036b13
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
call ebx
test eax, eax
je 0x1036aa8
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x428]
push 0x80000001
push dword [ebp - 0x418]
call fcn.01036983
test eax, eax
pop edi
pop ebx
jne 0x1036b75
push dword [ebp - 0x428]
push 0x80000002
push dword [ebp - 0x418]
call fcn.01036983
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001b01
leave
ret 8
Function at 0x1036c9b
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
mov dword [ebp - 4], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0xb
xor esi, esi
push esi
push 0x1036db0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1036da0
push esi
push esi
push esi
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1036d58
jmp 0x1036d50
dec dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push esi
push esi
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x210]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x104
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1036d58
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 8
jbe 0x1036d50
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
jge 0x1036cf6
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 2
push 8
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 3
push 0x101a6d4
push 0x10218a0
call dword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
push 0xffffffffffffffff
push 1
push 3
push 0x28
push 0x1020de0
call fcn.0102b95f
mov ecx, dword [ebp - 4]
pop esi
call fcn.01001b01
leave
ret
Function at 0x1036fd9
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x463
cmp dword [esi + 8], eax
mov ebx, ecx
je 0x1037006
push 0x102a138
push 0xc
push 0
push dword [esi + 0xc]
call dword [sym.imp.SHELL32.dll_Ordinal_127]
jmp 0x1037065
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x70
mov edi, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x103702b
push 0
push 9
push 0x110a
jmp 0x103704d
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1111
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
pop edi
je 0x1037065
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
push 0xc
push eax
push ecx
call dword [edx + 0x18]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8
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 [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x10374be
and dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
push 0xe
pop ecx
xor eax, eax
push esi
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
rep stosd dword es:[edi], eax
push 0x10374ec
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x3c
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
push 0x10e
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
je 0x1037470
push 0x10374e4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jmp 0x1037482
push 0x10374d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push 0
push 0xb
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 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, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
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 [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
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 - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], edi
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x1037835
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
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 - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [eax]
push edi
lea edx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
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 - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
lea edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
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 - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x28]
push dword [ebp - 0x21c]
call dword [0x10103cc]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
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, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
mov ebx, 0x104
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], esi
push esi
jmp 0x1037892
push dword [ebp - 0x220]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push eax
push dword [ebp - 0x214]
call fcn.010376ee
inc dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push esi
push esi
push esi
push esi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push dword [ebp - 0x210]
push dword [ebp - 0x214]
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 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 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, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
jne 0x10381e4
push esi
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10382a3
cmp edi, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
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 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 [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov dword [ebp - 4], eax
push 0x104
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x103ad01
push 0x103ad0c
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x103ad01
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xor eax, eax
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push ecx
lea ecx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push ecx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov word [ebp - 0x22e], ax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 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