joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push dword [ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x408e45
push edi
push esi
push 0xffffffffffffffff
push dword [ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x408e50
push esi
call fcn.0041b39b
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor bl, bl
mov dword [esi + edi*2 - 4], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov eax, 0x414
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x408e90
cmp eax, 2
je 0x408e90
cmp eax, 0x7c
je 0x408e90
cmp eax, 0x402
jne 0x408e92
mov bl, 1
push esi
call fcn.0041b39b
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408eb0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
push dword [edi]
mov dword [esp + 0x24], ecx
push 0
push 0xfde9
call ebx
xor ecx, ecx
mov dword [esp + 0x10], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x408f1c
push dword [esp + 0x10]
push esi
push 0xffffffffffffffff
push dword [edi]
push 0
push 0xfde9
call ebx
test eax, eax
jne 0x408f27
push esi
call fcn.0041b39b
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xf]
push eax
push dword [ebp + 0x18]
mov byte [esp + 0x17], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00408f80
mov bl, al
test bl, bl
je 0x408f61
cmp byte [esp + 0xf], 0
je 0x408f61
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb al, al
and bl, al
push esi
call fcn.0041b39b
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x409730
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 0x409780
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x409780
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x409780
push edi
push 0x5c
push esi
call fcn.0041cab4
mov edi, eax
add esp, 8
test edi, edi
je 0x40977f
xor eax, eax
mov ecx, ebx
push esi
mov word [edi], ax
call fcn.00409730
mov eax, 0x5c
mov word [edi], ax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x409790
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.0041b3e1
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.0041b3e1
add esp, 8
mov edi, eax
test esi, esi
je 0x4098b9
test edi, edi
je 0x4098b9
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 0x4098b9
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 0x4098b9
mov ecx, dword [ebp - 0xc]
push esi
call fcn.00409730
mov ebx, dword [ebp - 4]
add ebx, dword [ebp - 8]
push 0x4ab894
push ebx
push esi
call fcn.0042145b
push edi
push ebx
push esi
call fcn.0042145b
add esp, 0x18
xor bl, bl
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x409889
mov bl, 1
jmp 0x40989f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
push esi
call fcn.0041b39b
push edi
call fcn.0041b39b
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call fcn.0041b39b
push edi
call fcn.0041b39b
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x409970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b27d0]
push ebx
push esi
test eax, eax
je 0x409997
cmp byte [eax], 0
jne 0x409a4c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041d0c0
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 0x4ab4c4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042145b
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x409a4c
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 0x409a43
mov eax, dword [0x4b27d0]
test eax, eax
je 0x409a38
cmp byte [eax], 0
jne 0x409a43
push esi
mov ecx, 0x4b27d0
call fcn.00402530
push esi
call fcn.0041b39b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b27d0
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b38a
mov esp, ebp
pop ebp
ret

Function at 0x409a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b27d4]
push ebx
push esi
test eax, eax
je 0x409a97
cmp byte [eax], 0
jne 0x409b4c
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041d0c0
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.0042145b
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x409b4c
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 0x409b43
mov eax, dword [0x4b27d4]
test eax, eax
je 0x409b38
cmp byte [eax], 0
jne 0x409b43
push esi
mov ecx, 0x4b27d4
call fcn.00402530
push esi
call fcn.0041b39b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b27d4
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b38a
mov esp, ebp
pop ebp
ret
Function at 0x409b70
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 [0x4b0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b27d8]
push ebx
push esi
push edi
test eax, eax
je 0x409b98
cmp byte [eax], 0
jne 0x409daa
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.0041d0c0
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 0x409d22
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 0x409d22
push 0x104
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0041d0c0
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 0x409d16
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 0x409d16
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b3e1
mov edi, eax
add esp, 4
test edi, edi
je 0x409d16
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.0040b440
push esi
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004214d0
lea eax, [esi - 1]
add esp, 0x1c
test eax, eax
jle 0x409d0d
lea esi, [esi*2 - 4]
movzx eax, word [ebp + esi - 0x20c]
cmp eax, 0x2f
je 0x409cf7
cmp eax, 0x5c
jne 0x409d0d
cmp esi, 0x208
jae 0x409dc0
xor eax, eax
mov word [ebp + esi - 0x20c], ax
push edi
call fcn.0041b39b
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.0042145b
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x409daa
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 0x409da1
mov eax, dword [0x4b27d8]
test eax, eax
je 0x409d96
cmp byte [eax], 0
jne 0x409da1
push esi
mov ecx, 0x4b27d8
call fcn.00402530
push esi
call fcn.0041b39b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b27d8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b38a
mov esp, ebp
pop ebp
ret
call fcn.0041b535
int3
Function at 0x409dd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b27dc]
push ebx
push esi
test eax, eax
je 0x409df7
cmp byte [eax], 0
jne 0x409eac
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041d0c0
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.0042145b
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x409eac
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 0x409ea3
mov eax, dword [0x4b27dc]
test eax, eax
je 0x409e98
cmp byte [eax], 0
jne 0x409ea3
push esi
mov ecx, 0x4b27dc
call fcn.00402530
push esi
call fcn.0041b39b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b27dc
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b38a
mov esp, ebp
pop ebp
ret

Function at 0x409ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b27e0]
push ebx
push esi
test eax, eax
je 0x409ef7
cmp byte [eax], 0
jne 0x409fc3
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041d0c0
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 0x409f3f
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x409f52
lea eax, [ebp - 0x20c]
push str.MacromedFlashmms.cfg
push 0x104
push eax
call fcn.0042145b
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x409fc3
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 0x409fba
mov eax, dword [0x4b27e0]
test eax, eax
je 0x409faf
cmp byte [eax], 0
jne 0x409fba
push esi
mov ecx, 0x4b27e0
call fcn.00402530
push esi
call fcn.0041b39b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x4b27e0
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b38a
mov esp, ebp
pop ebp
ret
Function at 0x40a6d0
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 0x40a73e
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 0x40a736
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 0x40a750
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4b0008]
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 0x40a797
cmp dword [ebp - 0x94], 6
jb 0x40a797
cmp dword [ebp - 0x90], 2
jb 0x40a797
mov bl, 1
jmp 0x40a799
xor bl, bl
mov ecx, str.SOFTWAREMacromediaFlashPlayerPepper
xor bh, bh
call fcn.0040a6d0
mov ecx, str.SOFTWAREMacromediaFlashPlayerPlugin
mov edi, eax
call fcn.0040a6d0
mov ecx, str.SOFTWAREMacromediaFlashPlayerActiveX
mov esi, eax
call fcn.0040a6d0
test bl, bl
je 0x40a7cb
cmp edi, 0x10
je 0x40a7dc
cmp esi, 0x10
jmp 0x40a7d8
cmp edi, 0x10
je 0x40a7dc
cmp esi, 0x10
je 0x40a7dc
cmp eax, 0x10
mov al, bh
jne 0x40a7de
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b38a
mov esp, ebp
pop ebp
ret
Function at 0x40b4d0
Capabilities:
Identify system language via api

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0xffffffff
jne 0x40b5de
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov eax, ecx
and eax, 0x3ff
add eax, 0xfffffffc
cmp eax, 0x1b
ja case.0x40b500.6
movzx eax, byte [eax + 0x40b624]
jmp dword [eax*4 + 0x40b5e4]
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 0x40b583
cmp cx, 1
je 0x40b577
cmp cx, 3
je 0x40b577
cmp cx, 5
jne 0x40b583
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 0x40bc60
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.0041b3e1
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 0x40c720
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.0040a650
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.0041b39b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x40c770
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.0040a650
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.0041b39b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x40c7c0
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.0040a650
mov ecx, dword [ebx + 0x5c]
push 0xa092
call fcn.00402790
push eax
lea ecx, [ebp - 8]
call fcn.0040a650
lea ecx, [ebp - 4]
push dword [eax]
call fcn.0040bea0
push dword [ebp - 8]
call fcn.0041b39b
mov ecx, dword [ebx + 0x5c]
add esp, 4
push 0xa090
call fcn.00402790
push eax
lea ecx, [ebp - 8]
call fcn.0040a650
xor esi, esi
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
sub eax, 1
je 0x40c83b
sub eax, 0xc
jne 0x40c840
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.0041b39b
add esp, 4
cmp esi, 1
jne 0x40c8c4
mov ecx, dword [ebx + 0x7c]
call fcn.00402640
test al, al
jne 0x40c8c4
mov ecx, dword [ebx + 0x5c]
push 0x2cec
call fcn.00402790
push eax
lea ecx, [ebp - 8]
call fcn.0040a650
mov ecx, dword [ebx + 0x5c]
push 0x2cee
call fcn.00402790
push eax
lea ecx, [ebp - 0xc]
call fcn.0040a650
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.0041b39b
push edi
call fcn.0041b39b
add esp, 8
push dword [ebp - 4]
call fcn.0041b39b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x410de0
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.0040a650
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.0041b39b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x411770
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.0040a650
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.0041b39b
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x412330
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.004113a0
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x41238d
movq xmm0, qword [str.trustedPaths]
movq qword [esi], xmm0
mov ecx, dword [0x4ab070]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov eax, dword [0x4b2794]
mov dword [ebp - 8], esi
test al, 1
jne 0x4123cf
or eax, 1
push 0x11
mov dword [0x4b2794], eax
call fcn.0041b3e1
add esp, 4
test eax, eax
je 0x4123bd
movups xmm0, xmmword [str.___MASTER_DOMAIN]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x430170
mov dword [0x4b27c4], eax
call fcn.0041b864
add esp, 4
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 8]
push 0x4b27c4
push eax
call fcn.004045d0
mov edi, eax
test esi, esi
je 0x4123ef
push esi
call fcn.0041b39b
add esp, 4
test edi, edi
je 0x4124d0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4124d0
xor edi, edi
cmp dword [eax + 8], edi
jbe 0x4124d0
mov eax, dword [eax + 4]
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x4124c0
mov eax, dword [ebx]
test eax, eax
je 0x4124c0
cmp byte [eax], 0
je 0x4124c0
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x412436
sub edx, esi
mov esi, dword [ebp - 4]
lea ecx, [edx + 1]
cmp ecx, dword [esi + 0x48]
jbe 0x41245d
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412450
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.0041b3e1
mov esi, eax
add esp, 4
test esi, esi
je 0x4124db
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 0x4124b7
push esi
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00410630
push esi
call fcn.0041b39b
add esp, 4
mov eax, dword [ebp - 0x10]
inc edi
cmp edi, dword [eax + 8]
jb 0x412410
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