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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov al, byte [ebp + 0xb]
push esi
mov esi, ecx
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x10], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404328
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
test esi, esi
je 0x404314
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4042ed
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [ebp - 8]
add ecx, ecx
push ecx
push eax
push 1
push str.homepage
push str.Software360360se3
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x404314
push 1
pop esi
jmp 0x404316
xor esi, esi
push 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, esi
pop esi
leave
ret 4
Function at 0x406a6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call sub.MSVCRT.dll_strlen
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
lea eax, [edi + 1]
push eax
call ebx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
je 0x406ae1
test edi, edi
jle 0x406aa6
sub esi, eax
mov ecx, edi
mov dl, byte [esi + eax]
xor dl, 0x13
mov byte [eax], dl
inc eax
dec ecx
jne 0x406a9a
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
call ebx
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0x10
test ebx, ebx
je 0x406ad5
push ebx
push edi
push dword [ebp + 8]
call fcn.004069e0
add esp, 0xc
and byte [esi + ebx], 0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406ae6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call sub.MSVCRT.dll_strlen
mov edi, eax
push esi
push edi
push esi
call fcn.00406a21
mov eax, edi
add esp, 0x10
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
test eax, eax
jle 0x406b15
xor byte [ecx + esi], 0x13
inc ecx
cmp ecx, eax
jl 0x406b0c
and byte [eax + esi], 0
pop edi
pop esi
ret

Function at 0x40739b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and word [ebp - 0x210], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x103
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x407418
cmp word [ebp - 0x210], ax
je 0x407418
lea eax, [ebp - 0x210]
push eax
push 0x42eb18
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
leave
ret
xor eax, eax
leave
ret
Function at 0x407522
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
and word [ebp - 0x618], 0
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x616]
mov ebx, str.360seURL
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov esi, 0x103
push str._s_shellopencommand
lea eax, [ebp - 0x618]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
and word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push esi
push eax
lea eax, [ebp - 0x618]
push 0x434ee4
mov edi, SysReAllocString
push eax
push edi
call fcn.0040739b
add esp, 0x24
test eax, eax
je 0x407713
cmp dword [ebp + 8], 0
push ebx
je 0x4075dc
push str._s_shellopencommand
lea eax, [ebp - 0x618]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push str.Progid
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
push SysReAllocString
call fcn.0040731f
add esp, 0x20
jmp 0x4075ef
push 0x434ee4
push str..html
push edi
call fcn.0040731f
add esp, 0x10
test eax, eax
je 0x407713
cmp word [ebp - 0x208], 0
je 0x407713
and word [ebp - 0x410], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x40e]
cmp word [ebp - 0x208], 0x22
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x40767b
lea eax, [ebp - 0x206]
push 0x22
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
pop ecx
test eax, eax
pop ecx
je 0x407650
lea ecx, [ebp - 0x206]
sub eax, ecx
sar eax, 1
cmp eax, esi
jae 0x40764d
mov esi, eax
push esi
jmp 0x407673
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x206]
push eax
call edi
cmp eax, esi
pop ecx
jae 0x407670
lea eax, [ebp - 0x206]
push eax
call edi
pop ecx
jmp 0x407672
mov eax, esi
push eax
lea eax, [ebp - 0x206]
jmp 0x4076a7
lea eax, [ebp - 0x208]
push 0x20
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
pop ecx
test eax, eax
pop ecx
je 0x4076f3
lea ecx, [ebp - 0x208]
sub eax, ecx
sar eax, 1
cmp eax, esi
jb 0x4076a0
mov eax, esi
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
cmp word [ebp - 0x410], 0
je 0x407713
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407713
lea eax, [ebp - 0x410]
push eax
push 0x42eb18
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 1
pop eax
jmp 0x407715
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [ebp - 0x208]
push eax
call edi
cmp eax, esi
pop ecx
jae 0x40769e
lea eax, [ebp - 0x208]
push eax
call edi
pop ecx
jmp 0x4076a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407a3e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
jne 0x407a5a
cmp word [eax], di
je 0x407ba0
push edi
push 0x20
push 3
push edi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407ba0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 2
jb 0x407b99
cmp ebx, 0xffffffff
je 0x407b99
lea ebp, [ebx + 2]
mov dword [esp + 0x18], edi
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
test edi, edi
je 0x407b99
push ebp
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ah, byte [edi + 1]
mov al, byte [edi]
cmp ax, 0xfeff
jne 0x407b39
lea eax, [edi + 2]
test eax, eax
je 0x407b8c
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
mov ebp, 0x42ecfc
push ebp
push eax
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x407b8c
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp eax, 0xe
pop ecx
jl 0x407b34
cmp eax, 0x14
jge 0x407b34
cmp word [esi + 8], 0x5f
jne 0x407b34
push 5
add esi, 0x12
push 0x42ecf0
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
je 0x407b84
push ebp
push 0
jmp 0x407af5
mov ebx, dword [sym.imp.MSVCRT.dll_strtok]
mov ebp, 0x42ecec
push ebp
push edi
call ebx
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x407b8c
push esi
call sub.MSVCRT.dll_strlen
cmp eax, 0xe
pop ecx
jl 0x407b7f
cmp eax, 0x14
jge 0x407b7f
cmp byte [esi + 4], 0x5f
jne 0x407b7f
push 5
add esi, 9
push str._auth
push esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x407b84
push ebp
push 0
jmp 0x407b46
mov dword [esp + 0x10], 1
push edi
call fcn.00427272
mov eax, dword [esp + 0x14]
pop ecx
jmp 0x407ba2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x407ba8
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
push eax
mov ebx, 0x42ed00
push 0
push ebx
call edi
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x407c5d
add eax, eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
je 0x407c5d
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], 0x100000
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push esi
push ebx
call edi
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x407c56
mov edi, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x407c25
cmp word [eax], bx
je 0x407c25
push eax
call fcn.00407a3e
test eax, eax
pop ecx
je 0x407c25
push dword [esi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push dword [ebp - 8]
call edi
push dword [ebp - 4]
push ebx
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x407c05
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.00427272
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x408971
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x435328
push 8
mov eax, edx
pop esi
test al, 1
je 0x40898b
shr eax, 1
xor eax, 0xedb88320
jmp 0x40898d
shr eax, 1
dec esi
jne 0x40897e
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x435728
jl 0x408979
pop esi
ret
Function at 0x408d9f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push dword [ebp + 0x10]
call fcn.00408b07
test eax, eax
pop ecx
je 0x408dbf
xor eax, eax
jmp 0x408fc6
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [0x436454], eax
call fcn.00408bd7
and word [ebp - 0x220], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
mov dword [esp], str.Software360360se3
push eax
mov dword [ebp - 4], 0x104
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 4]
pop ecx
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 0x10]
push 0x43686c
push eax
lea eax, [ebp - 0x220]
push 0x42ef24
mov edi, SysReAllocString
push eax
push edi
call esi
mov ebx, 0x436a74
push ebx
push 0x434ee4
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x408ec2
push ebx
push 0x43686c
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x408ec2
lea eax, [ebp - 0x220]
push 0x42ef20
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x220]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 4]
mov ebx, 0x104
push eax
lea eax, [ebp - 0x10]
push 0x43645c
push eax
lea eax, [ebp - 0x220]
push str.Title
push eax
push edi
mov dword [ebp - 4], ebx
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x10]
push 0x436664
push eax
lea eax, [ebp - 0x220]
push str.homePage
push eax
push edi
call esi
mov esi, 0x42eedc
push esi
push 0x42eed0
push 0x4363bc
call fcn.0040959f
add esp, 0xc
lea ecx, [ebp - 0xc]
push dword [0x4363bc]
call fcn.00408fcd
cmp byte [ebp - 0xc], 0
jne 0x408f39
mov edi, 0x43645c
push edi
push 0x434ee4
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x408f08
push esi
jmp 0x408f09
push edi
push 0x42eeb0
push 0x4363b8
call fcn.0040959f
add esp, 0xc
call fcn.0041cb64
test al, al
jne 0x408f4d
push 0x30
push dword [0x4363bc]
push 0x42ee94
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 8], 0
je 0x408f48
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x408fc6
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 8
push eax
mov dword [ebp - 0x14], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push edi
mov esi, 0x4363c0
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0040911d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00408caa
pop ecx
mov ebx, eax
pop ecx
call fcn.0040a6d4
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.0040922f
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 8], edi
je 0x408fc4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x408fcd
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 0x409029
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x409029
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x409018
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 0x409950
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x40a6aa
Capabilities:
Create thread

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

Function at 0x40afb5
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x436458], 0
push esi
mov esi, ecx
je 0x40afd5
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040af8b
pop esi
ret
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x40bd1a
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 + 0x240], ebx
je 0x40bd47
push 0x40
push dword [0x4363bc]
push 0x42fa5c
push dword [esi + 4]
jmp 0x40bf26
call fcn.0041917e
mov eax, dword [eax + 0x30]
mov edx, 0x81
mov ecx, edx
lea edi, [ebp - 0x61a]
inc dword [eax + 0x4c]
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 0x42eb18
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 0x40bded
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.0041917e
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0x414]
push ebx
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.00417756
lea eax, [ebp - 0x414]
push 0x42fa54
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
je 0x40bf16
lea eax, [ebp - 0x414]
push eax
call fcn.0041d105
test eax, eax
pop ecx
je 0x40bf16
lea eax, [ebp - 0x414]
push eax
call fcn.0041d189
test al, al
pop ecx
jne 0x40be78
push 0x30
push dword [0x4363bc]
push 0x42fa18
jmp 0x40bf23
lea eax, [ebp - 0x414]
push eax
call fcn.0041917e
mov ecx, eax
call fcn.0041957a
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.0041917e
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
push 0
push 0
push ebx
mov dword [eax + 0x2c], ecx
push dword [esi + 0x180]
call edi
mov dword [ebp - 4], eax
call fcn.0041917e
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
push 0
push 0
push ebx
mov dword [eax + 0x30], ecx
push dword [esi + 0x188]
call edi
mov edi, eax
call fcn.0041917e
mov eax, dword [eax + 0x30]
push edi
mov ecx, eax
call fcn.00417581
call fcn.0040e587
mov ecx, eax
call fcn.0040e932
mov edi, eax
test edi, edi
je 0x40bf2c
push dword [esi + 4]
mov ecx, edi
call fcn.0040d325
mov ecx, edi
call fcn.0040d1d8
jmp 0x40bf2c
push 0x40
push dword [0x4363bc]
push 0x42f9ec
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 0x40bfba
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x42fa94
lea ecx, [ebp - 4]
call fcn.00404729
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], 0x40bf35
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x40c098
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.00404c0d
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x40c0a9
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0041917e
mov eax, dword [eax + 0x30]
inc dword [eax + 0x50]
call fcn.0041917e
mov eax, dword [eax + 8]
test eax, eax
je 0x40c0fc
cmp eax, 3
je 0x40c0e2
call fcn.0040e587
mov ecx, eax
call fcn.0040f0bc
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040c82b
jmp 0x40c114
call fcn.0040e587
mov ecx, eax
call fcn.0040f2f1
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040c8ac
jmp 0x40c114
call fcn.0040e587
mov ecx, eax
call fcn.0040e5be
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040c7aa
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c128
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x40cecf
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ebx, 0xf0
mov esi, ecx
push 0
push ebx
push dword [esi + 0x9c]
call edi
mov ebp, eax
call fcn.0041917e
mov eax, dword [eax + 0x30]
mov dword [eax + 0x28], ebp
xor ebp, ebp
push ebp
push ebp
push ebx
push dword [esi + 0xa4]
call edi
mov ebx, eax
call fcn.0041917e
mov eax, dword [eax + 0x30]
push ebp
mov dword [eax + 0x64], ebx
push dword [esi + 4]
push 0x1404
call fcn.0040a6c4
push eax
call edi
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40cfcf
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x436458], 0
push esi
push edi
mov esi, ecx
je 0x40cffc
call fcn.0041917e
mov eax, dword [eax + 0x30]
push 0
and dword [eax + 0x3c], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040cecf
jmp 0x40d01d
mov edi, dword [esp + 0xc]
lea ecx, [esi + 0x20]
push edi
call fcn.0040d022
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d01d
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x40d2d6
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040e587
mov ecx, eax
call fcn.0040edbc
mov edi, eax
test edi, edi
je 0x40d31e
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.0040d402
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d317
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0040bb13
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x40d325
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x436458], 0
push esi
je 0x40d336
push 0
push dword [ecx + 4]
jmp 0x40d351
mov esi, dword [esp + 8]
add ecx, 0x20
push esi
call fcn.0040d381
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d357
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4