joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a670
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44a6ba
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x44a6e9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x44a72b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x460687
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4606bf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e73e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e716
jmp 0x4606cb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461d79
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461dbb
call fcn.00467836
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461dbb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x461db2
xor eax, eax
jmp 0x461dc3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461dc9
pop edi
pop esi
pop ebx
ret 4

Function at 0x467d66
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x467d94
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x467db2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00467ccc
jmp 0x467db2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x467db2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00467ccc
test edi, edi
mov eax, edi
jne 0x467d9c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401061
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [0x424020]
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4010c9
lea eax, [ebp - 0x20c]
push 0x208
push eax
mov ecx, esi
call fcn.004010ce
test eax, eax
je 0x4010c9
lea eax, [ebp - 0x20c]
push str.safemon_safemon.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4010c9
push 1
pop eax
jmp 0x4010cb
xor eax, eax
pop esi
leave
ret

Function at 0x401123
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
push 4
mov esi, eax
pop eax
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
neg esi
sbb esi, esi
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
neg esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 0
je 0x40117d
test esi, esi
je 0x40117d
push 1
pop eax
jmp 0x40117f
xor eax, eax
pop esi
leave
ret 4

Function at 0x40120e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
mov dword [ebp - 4], 2
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.update
push str.SOFTWARE360Safe_setting
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 4]
cmp eax, 1
jb 0x401252
cmp eax, 3
jbe 0x401255
push 2
pop eax
leave
ret

Function at 0x401257
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
call fcn.00401061
cmp dword [ebp + 8], eax
jne 0x401272
push 1
pop eax
jmp 0x4012c1
lea eax, [ebp - 0x208]
push 0x208
push eax
mov ecx, esi
call fcn.004010ce
test eax, eax
je 0x4012bf
lea eax, [ebp - 0x208]
push str.safemon_safemon.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4012bf
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.0040269f
pop ecx
pop ecx
jmp 0x4012c1
xor eax, eax
pop esi
leave
ret 4
Function at 0x401874
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push edi
push 0x208
and dword [eax], 0
lea eax, [ebp - 0x21c]
mov edi, ecx
push eax
call fcn.004010ce
test eax, eax
je 0x4019ab
lea eax, [ebp - 0x21c]
push str.AntiAdwa.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4019ab
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4019ab
push ebx
push esi
push str.AdLib_InitEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp - 8], eax
je 0x4019a0
mov ebx, 0x104
lea esi, [edi + 4]
push ebx
push 0
push esi
call sub.MSVCRT.dll_memset
push esi
mov dword [esi], ebx
call dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x4019a0
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 0x10], esi
call fcn.004017fd
test eax, eax
je 0x4019a0
mov ecx, edi
xor ebx, ebx
mov dword [ebp - 8], esi
call fcn.0040180e
mov dword [ebp - 4], esi
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401818
test eax, eax
je 0x401985
push esi
push esi
push dword [ebp - 0xc]
mov ecx, edi
push esi
push esi
call fcn.0040182e
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x24], 1
jne 0x401940
cmp dword [eax + 4], 1
jne 0x401975
inc dword [ebp - 8]
jmp 0x401940
push eax
push esi
mov ecx, edi
call fcn.00401850
test eax, eax
jne 0x401940
inc ebx
jmp 0x401940
mov ecx, edi
call fcn.0040186a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], 1
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 8

Function at 0x403463
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
and byte [esi], 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4034bf
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4034bf
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4034ae
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov byte [esi], 1
mov eax, esi
pop edi
pop esi
ret 4
Function at 0x4042bd
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.0041e510
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4043de
cmp dword [ebp + 0xc], esi
je 0x4043de
push ebx
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov edi, 0x2710
push dword [ebp - 4]
lea eax, [ebp - 0x600]
push 0x424684
push 0x200
push eax
call fcn.00404088
add esp, 0x10
lea eax, [ebp - 0x600]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4043ca
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0xc], esi
call sub.MSVCRT.dll_memset
push edi
lea eax, [ebp - 0x2d10]
push esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 0x2d10]
push edi
push eax
lea eax, [ebp - 0x18]
push 0xc
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4043be
push 0x3e8
lea eax, [ebp - 0x400]
push esi
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x400]
push eax
push 1
push dword [ebp - 0x2cf8]
lea eax, [ebp - 0x2d10]
push eax
call fcn.004029f2
add esp, 0x1c
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404053
test eax, eax
jne 0x4043be
mov dword [ebp - 8], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
jne 0x4043d7
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x4042ec
mov eax, dword [ebp - 8]
pop edi
pop ebx
jmp 0x4043e0
xor eax, eax
pop esi
leave
ret
Function at 0x40498b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x404ae3
cmp dword [ebp + 0xc], ebx
je 0x404ae3
push esi
push 0x64
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x404ac3
mov dword [ebp - 8], ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x14], 0x104
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x404aba
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x2e8]
push ebx
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x404ab2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 1
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.ServiceName
mov dword [ebp - 0x10], 0x208
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404aa9
push 0x64
lea eax, [ebp - 0xe0]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0xe0]
push 0x64
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.00404ae8
add esp, 0x18
test eax, eax
je 0x404aa9
cmp byte [ebp - 0x7c], bl
je 0x404a97
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x404aa9
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x7c]
push 0x64
push eax
call fcn.00404053
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
jmp 0x4049dd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x7c], bl
pop esi
je 0x404ae3
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404053
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x404ae5
xor eax, eax
pop ebx
leave
ret
Function at 0x405155
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
cmp dword [ebp + 8], 0
push esi
je 0x40525e
cmp dword [ebp + 0xc], 0x20
jb 0x40525e
mov esi, 0x400
lea eax, [ebp - 0x508]
push esi
push 0
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 8]
push eax
push 0x424884
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40525e
lea eax, [ebp - 0x508]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 0x40
pop ecx
jne 0x40525e
push edi
lea eax, [ebp - 0x508]
push 0x20
push eax
mov edi, 0x80
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.00405263
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00404053
push esi
lea eax, [ebp - 0x508]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x508]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00404fbf
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
pop edi
jne 0x40525e
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404053
neg eax
sbb eax, eax
inc eax
jmp 0x405260
xor eax, eax
pop esi
leave
ret

Function at 0x405423
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x405354
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x405c36
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x42a80c], 0
push esi
mov esi, ecx
je 0x405c56
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00405c0c
pop esi
ret
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4067e1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x19c], ebx
je 0x40680e
push 0x40
push dword [0x42a774]
push 0x4249b4
push dword [esi + 4]
jmp 0x4069f3
call fcn.00410fb0
mov eax, dword [eax + 0x30]
mov edx, 0x81
mov ecx, edx
lea edi, [ebp - 0x61a]
inc dword [eax + 0x48]
xor eax, eax
mov word [ebp - 0x61c], bx
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x20a]
push 0x3f7
push dword [esi + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x103
lea ecx, [ebp - 0x61c]
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x61c]
push eax
push 0x424548
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x20c]
push eax
call edi
add esp, 0x14
cmp word [ebp + eax*2 - 0x20e], 0x5c
jne 0x4068b4
lea eax, [ebp - 0x20c]
push eax
call edi
and word [ebp + eax*2 - 0x20e], 0
pop ecx
and word [ebp - 0x414], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00410fb0
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0x414]
push ebx
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.00410c1a
lea eax, [ebp - 0x414]
push 0x4249ac
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
je 0x4069e3
lea eax, [ebp - 0x414]
push eax
call fcn.00414c27
test eax, eax
pop ecx
je 0x4069e3
lea eax, [ebp - 0x414]
push eax
call fcn.00414cab
test al, al
pop ecx
jne 0x40693f
push 0x30
push dword [0x42a774]
push 0x424970
jmp 0x4069f0
lea eax, [ebp - 0x414]
push eax
call fcn.00410fb0
mov ecx, eax
call fcn.004113a8
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ebx, 0xf0
push 0
push ebx
push dword [esi + 0x178]
call edi
mov dword [ebp - 4], eax
call fcn.00410fb0
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x28], ecx
call fcn.00410fb0
cmp dword [eax + 4], 9
jge 0x4069a4
push 0
push 0
push ebx
push dword [esi + 0x180]
call edi
mov dword [ebp - 4], eax
call fcn.00410fb0
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x2c], ecx
push 0
push 0
push ebx
push dword [esi + 0x188]
call edi
mov edi, eax
call fcn.00410fb0
mov eax, dword [eax + 0x30]
mov dword [eax + 0x24], edi
call fcn.00408e19
mov ecx, eax
call fcn.00409205
mov edi, eax
test edi, edi
je 0x4069f9
push dword [esi + 4]
mov ecx, edi
call fcn.00407ed1
mov ecx, edi
call fcn.00407d84
jmp 0x4069f9
push 0x40
push dword [0x42a774]
push 0x424944
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x406a87
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x4249ec
lea ecx, [ebp - 4]
call fcn.0040724a
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
and word [ebp - 0x43c], 0
mov ebx, 0x3f7
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
push dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
lea ecx, [ebp - 0x43c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x1041
mov dword [ebp - 0x14], 0x406a02
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x406b65
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 4]
call fcn.00403e0f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x406b76
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00410fb0
mov eax, dword [eax + 0x30]
inc dword [eax + 0x4c]
call fcn.00410fb0
mov eax, dword [eax + 8]
test eax, eax
je 0x406bc9
cmp eax, 3
je 0x406baf
call fcn.00408e19
mov ecx, eax
call fcn.00409966
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.00407192
jmp 0x406be1
call fcn.00408e19
mov ecx, eax
call fcn.00409b88
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.004071ee
jmp 0x406be1
call fcn.00408e19
mov ecx, eax
call fcn.00408e50
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.00407136
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x406bf5
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x407acd
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x42a80c], 0
push esi
push edi
mov esi, ecx
je 0x407afa
call fcn.00410fb0
mov eax, dword [eax + 0x30]
push 0
and dword [eax + 0x38], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004079c3
jmp 0x407b1b
mov edi, dword [esp + 0xc]
lea ecx, [esi + 0x20]
push edi
call fcn.00407c1e
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407b1b
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x407e82
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00408e19
mov ecx, eax
call fcn.004096a2
mov edi, eax
test edi, edi
je 0x407eca
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [esi + 4]
lea ecx, [edi + 0x20]
push esi
call fcn.00407f89
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407ec3
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0040664b
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x407ed1
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x42a80c], 0
push esi
je 0x407ee2
push 0
push dword [ecx + 4]
jmp 0x407efd
mov esi, dword [esp + 8]
add ecx, 0x20
push esi
call fcn.00407f2d
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407f03
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x4081db
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x40824e
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10

Function at 0x408950
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00410fb0
mov eax, dword [eax + 0x30]
inc dword [eax + 0x44]
call fcn.00408e19
mov ecx, eax
call fcn.004096a2
mov edi, eax
test edi, edi
je 0x408998
mov esi, dword [esi + 4]
lea ecx, [edi + 0x20]
push esi
call fcn.00407f89
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408991
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0040664b
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x4089e9
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x42a80c], 0
push esi
mov esi, ecx
je 0x408a09
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004089bf
pop esi
ret
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x408d66
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00408e19
mov ecx, eax
call fcn.004096a2
mov esi, dword [esi + 4]
mov edi, eax
push esi
lea ecx, [edi + 0x20]
call fcn.00407f89
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408d98
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0040664b
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x408dd0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x42a80c], 0
push esi
mov esi, ecx
je 0x408df0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00408da6
pop esi
ret
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x408f6f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x85c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x44]
xor ebx, ebx
mov eax, dword [esi + 4]
push ecx
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x4c], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x85a]
mov word [ebp - 0x85c], bx
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x85c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0x4c]
call edi
push dword [esi + 0x20]
mov dword [ebp - 4], eax
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
je 0x409009
push 1
jmp 0x40900f
test al, 2
je 0x409010
push 2
pop ebx
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
or ebx, 0x20
lea eax, [ebp - 0x5c]
push ebx
push eax
lea eax, [ebp - 0x85c]
push 0xffffffffffffffff
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 4]
push dword [ebp - 0x4c]
call edi
lea ecx, [ebp - 0x4c]
call fcn.00409fe3
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10