joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408b20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test esi, esi
je 0x408b70
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x408b70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408b70
push edi
push 0x5c
push esi
call fcn.0041bd94
mov edi, eax
add esp, 8
test edi, edi
je 0x408b6f
xor eax, eax
mov ecx, ebx
push esi
mov word [edi], ax
call fcn.00408b20
mov eax, 0x5c
mov word [edi], ax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x408b80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 0xc], ecx
push 0
push 0xfde9
call ebx
mov ecx, dword [ebp + 0xc]
mov esi, eax
push 0
push 0
push 0xffffffffffffffff
push dword [ecx]
mov dword [ebp - 8], esi
push 0
push 0xfde9
call ebx
mov edi, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 4], edi
lea eax, [edi + esi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a6b1
mov esi, eax
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a6b1
add esp, 8
mov edi, eax
test esi, esi
je 0x408ca9
test edi, edi
je 0x408ca9
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push esi
push 0xffffffffffffffff
push dword [eax]
push 0
push 0xfde9
call ebx
test eax, eax
je 0x408ca9
push dword [ebp - 4]
mov eax, dword [ebp + 0xc]
push edi
push 0xffffffffffffffff
push dword [eax]
push 0
push 0xfde9
call ebx
test eax, eax
je 0x408ca9
mov ecx, dword [ebp - 0xc]
push esi
call fcn.00408b20
mov ebx, dword [ebp - 4]
add ebx, dword [ebp - 8]
push 0x4aa85c
push ebx
push esi
call fcn.004206e5
push edi
push ebx
push esi
call fcn.004206e5
add esp, 0x18
xor bl, bl
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x408c79
mov bl, 1
jmp 0x408c8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push esi
call fcn.0041a66b
push edi
call fcn.0041a66b
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call fcn.0041a66b
push edi
call fcn.0041a66b
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b0780]
push ebx
push esi
test eax, eax
je 0x408d87
cmp byte [eax], 0
jne 0x408e3c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041c3a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x4aa48c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004206e5
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x408e3c
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x408e33
mov eax, dword [0x4b0780]
test eax, eax
je 0x408e28
cmp byte [eax], 0
jne 0x408e33
push esi
mov ecx, 0x4b0780
call fcn.00402530
push esi
call fcn.0041a66b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b0780
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret

Function at 0x408e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b0784]
push ebx
push esi
test eax, eax
je 0x408e87
cmp byte [eax], 0
jne 0x408f3c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041c3a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.AdobeFlash_PlayerAFCache
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004206e5
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x408f3c
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x408f33
mov eax, dword [0x4b0784]
test eax, eax
je 0x408f28
cmp byte [eax], 0
jne 0x408f33
push esi
mov ecx, 0x4b0784
call fcn.00402530
push esi
call fcn.0041a66b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b0784
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret
Function at 0x408f60
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b0788]
push ebx
push esi
push edi
test eax, eax
je 0x408f88
cmp byte [eax], 0
jne 0x40919a
mov bl, byte [ecx + 4]
mov eax, str.AppData
test bl, bl
mov esi, str.Local_AppData
push 0x208
cmove esi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041c3a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
xor eax, eax
test bl, bl
push 0
setne al
push 0
lea eax, [eax*2 + 0x1a]
or eax, 0x8000
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x409112
lea eax, [ebp - 0x314]
mov dword [ebp - 0x314], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409112
push 0x104
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0041c3a0
add esp, 0xc
mov dword [ebp - 0x318], 0x104
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push esi
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x409106
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0
call ebx
mov esi, eax
test esi, esi
jle 0x409106
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a6b1
mov edi, eax
add esp, 4
test edi, edi
je 0x409106
push esi
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0
call ebx
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0040a820
push esi
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042075a
lea eax, [esi - 1]
add esp, 0x1c
test eax, eax
jle 0x4090fd
lea esi, [esi*2 - 4]
movzx eax, word [ebp + esi - 0x20c]
cmp eax, 0x2f
je 0x4090e7
cmp eax, 0x5c
jne 0x4090fd
cmp esi, 0x208
jae 0x4091b0
xor eax, eax
mov word [ebp + esi - 0x20c], ax
push edi
call fcn.0041a66b
add esp, 4
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.MacromediaFlash_Player
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004206e5
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x20c]
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov ebx, eax
push ebx
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x40919a
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call edi
test eax, eax
je 0x409191
mov eax, dword [0x4b0788]
test eax, eax
je 0x409186
cmp byte [eax], 0
jne 0x409191
push esi
mov ecx, 0x4b0788
call fcn.00402530
push esi
call fcn.0041a66b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b0788
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret
call fcn.0041a805
int3
Function at 0x4091c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b078c]
push ebx
push esi
test eax, eax
je 0x4091e7
cmp byte [eax], 0
jne 0x40929c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041c3a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.AdobeFlash_PlayerAPSPrivateData2
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004206e5
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x40929c
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x409293
mov eax, dword [0x4b078c]
test eax, eax
je 0x409288
cmp byte [eax], 0
jne 0x409293
push esi
mov ecx, 0x4b078c
call fcn.00402530
push esi
call fcn.0041a66b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b078c
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret

Function at 0x4092c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b0790]
push ebx
push esi
test eax, eax
je 0x4092e7
cmp byte [eax], 0
jne 0x4093b3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041c3a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x40932f
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x409342
lea eax, [ebp - 0x20c]
push str.MacromedFlashmms.cfg
push 0x104
push eax
call fcn.004206e5
add esp, 0xc
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
push ebx
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x4093b3
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4093aa
mov eax, dword [0x4b0790]
test eax, eax
je 0x40939f
cmp byte [eax], 0
jne 0x4093aa
push esi
mov ecx, 0x4b0790
call fcn.00402530
push esi
call fcn.0041a66b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b0790
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret
Function at 0x409ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 1
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409b2e
push esi
push edi
lea edi, [eax + 0x10]
mov dword [ebp - 0xc], 0x104
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.isPartner
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x409b26
cmp dword [ebp - 8], 1
mov eax, 0x11
cmove edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x409b40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409b87
cmp dword [ebp - 0x94], 6
jb 0x409b87
cmp dword [ebp - 0x90], 2
jb 0x409b87
mov bl, 1
jmp 0x409b89
xor bl, bl
mov ecx, str.SOFTWAREMacromediaFlashPlayerPepper
xor bh, bh
call fcn.00409ac0
mov ecx, str.SOFTWAREMacromediaFlashPlayerPlugin
mov edi, eax
call fcn.00409ac0
mov ecx, str.SOFTWAREMacromediaFlashPlayerActiveX
mov esi, eax
call fcn.00409ac0
test bl, bl
je 0x409bbb
cmp edi, 0x10
je 0x409bcc
cmp esi, 0x10
jmp 0x409bc8
cmp edi, 0x10
je 0x409bcc
cmp esi, 0x10
je 0x409bcc
cmp eax, 0x10
mov al, bh
jne 0x409bce
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret
Function at 0x40a8b0
Capabilities:
Identify system language via api

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x40a9be
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov eax, ecx
and eax, 0x3ff
add eax, 0xfffffffc
cmp eax, 0x1b
ja case.0x40a8e0.6
movzx eax, byte [eax + 0x40aa04]
jmp dword [eax*4 + 0x40a9c4]
mov dword [esi + 4], 4
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 7
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 6
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 0xc
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 2
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 3
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 5
mov eax, dword [esi + 4]
pop esi
ret
shr cx, 0xa
cmp cx, 2
je 0x40a963
cmp cx, 1
je 0x40a957
cmp cx, 3
je 0x40a957
cmp cx, 5
jne 0x40a963
mov dword [esi + 4], 0xf
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 0xe
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 0xa
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 9
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 1
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 0xd
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 8
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 0xb
mov eax, dword [esi + 4]
pop esi
ret
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
pop esi
ret

Function at 0x40b040
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a6b1
add esp, 4
mov esi, eax
push edi
push esi
push dword [ebx + 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push dword [ebx + 4]
mov dword [ebx + 0x38], esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10

Function at 0x40bb00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32cb
mov ecx, dword [edi + 0x5c]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x40bb50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x332f
mov ecx, dword [edi + 0x5c]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x40bba0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
push 0xa091
mov ecx, dword [ebx + 0x5c]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
mov ecx, dword [ebx + 0x5c]
push 0xa092
call fcn.00402790
push eax
lea ecx, [ebp - 8]
call fcn.00409a40
lea ecx, [ebp - 4]
push dword [eax]
call fcn.0040b280
push dword [ebp - 8]
call fcn.0041a66b
mov ecx, dword [ebx + 0x5c]
add esp, 4
push 0xa090
call fcn.00402790
push eax
lea ecx, [ebp - 8]
call fcn.00409a40
xor esi, esi
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
sub eax, 1
je 0x40bc1b
sub eax, 0xc
jne 0x40bc20
mov esi, 0x180000
or esi, 0x131
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 8]
mov esi, eax
call fcn.0041a66b
add esp, 4
cmp esi, 1
jne 0x40bca4
mov ecx, dword [ebx + 0x7c]
call fcn.00402640
test al, al
jne 0x40bca4
mov ecx, dword [ebx + 0x5c]
push 0x2cec
call fcn.00402790
push eax
lea ecx, [ebp - 8]
call fcn.00409a40
mov ecx, dword [ebx + 0x5c]
push 0x2cee
call fcn.00402790
push eax
lea ecx, [ebp - 0xc]
call fcn.00409a40
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
push 0x10
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call fcn.0041a66b
push edi
call fcn.0041a66b
add esp, 8
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410160
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32c8
mov ecx, dword [edi + 0x40]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x410af0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32c9
mov ecx, dword [edi + 0x40]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4116a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
sub esp, 8
mov ebx, ecx
mov dword [ebp - 4], ebx
call fcn.00410720
push 0
push 0
lea eax, [ebx + 0x2c]
push 0x1009
push dword [eax]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xd
mov dword [ebx + 0x48], 0
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x4116fd
movq xmm0, qword [str.trustedPaths]
movq qword [esi], xmm0
mov ecx, dword [0x4aa038]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov eax, dword [0x4b0744]
mov dword [ebp - 8], esi
test al, 1
jne 0x41173f
or eax, 1
push 0x11
mov dword [0x4b0744], eax
call fcn.0041a6b1
add esp, 4
test eax, eax
je 0x41172d
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x42f2d0
mov dword [0x4b0774], eax
call fcn.0041ab51
add esp, 4
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 8]
push 0x4b0774
push eax
call fcn.00404220
mov edi, eax
test esi, esi
je 0x41175f
push esi
call fcn.0041a66b
add esp, 4
test edi, edi
je 0x411840
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x411840
xor edi, edi
cmp dword [eax + 8], edi
jbe 0x411840
mov eax, dword [eax + 4]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x411830
mov eax, dword [ebx]
test eax, eax
je 0x411830
cmp byte [eax], 0
je 0x411830
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4117a6
sub edx, esi
mov esi, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, dword [esi + 0x48]
jbe 0x4117cd
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4117c0
sub eax, edx
inc eax
mov dword [esi + 0x48], eax
push 0
push 0
push 0xffffffffffffffff
push dword [ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov dword [ebp - 8], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a6b1
mov esi, eax
add esp, 4
test esi, esi
je 0x41184b
push dword [ebp - 8]
push esi
push 0xffffffffffffffff
push dword [ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x411827
push esi
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.0040f9b0
push esi
call fcn.0041a66b
add esp, 4
mov eax, dword [ebp - 0x10]
inc edi
cmp edi, dword [eax + 8]
jb 0x411780
mov ebx, dword [ebp - 4]
push 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push 1
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 2
push dword [ebx + 4]
call edi
push 0
push eax
call esi
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
sub eax, 0x1e
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
test edi, edi
je 0x4119f1
and edi, 0xfffffbff
cmp byte [ebx + 0x64], 0
je 0x4119e5
push 0
push 0
push 0x474
push dword [ebx + 4]
or edi, 0x400000
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x402000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a65a
mov esp, ebp
pop ebp
ret

Function at 0x4129b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
xor ecx, ecx
mov edx, 2
lea esi, [ebx + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a6b1
add esp, 4
mov edi, eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.0041a66b
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4143f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32ca
mov ecx, dword [edi + 0x5c]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4159e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push 0x32c8
mov ecx, dword [edi + 0x5c]
call fcn.00402790
push eax
lea ecx, [ebp - 4]
call fcn.00409a40
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call fcn.0041a66b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4