joyce8/EMBER2024-capa huggingface dataset:
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 0x444224
mov edi, SysReAllocStringLen
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 SysReAllocStringLen
call fcn.0040731f
add esp, 0x20
jmp 0x4075ef
push 0x444224
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 0x43bb18
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 SysReAllocStringLen
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, 0x43bcfc
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 0x43bcf0
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, 0x43bcec
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.0042f5e8
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, 0x43bd00
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.0042f5e8
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x407c64
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x407cfb
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407cfb
lea eax, [ebp - 0x14]
push esi
push eax
xor esi, esi
push str.SeRestorePrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x18]
push esi
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea eax, [ebp - 4]
push eax
push str.Software360360se3IEStub
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 4], esi
pop esi
je 0x407cfb
push 8
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegRestoreKeyW]
test eax, eax
je 0x407cf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x407d5e
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407eab
cmp esi, ebx
je 0x407eab
lea eax, [ebp - 8]
mov dword [ebp + 8], ebx
push eax
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 8], ebx
mov dword [ebp - 4], eax
jne 0x407dca
cmp eax, ebx
jbe 0x407dca
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 8], eax
lea ecx, [ebp - 4]
push ebx
push ecx
push dword [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x407de2
mov eax, 0x8007000e
jmp 0x407eb1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407e5a
mov esi, dword [eax + 0x84]
push edi
push dword [eax + 0x80]
push ecx
call fcn.00407d32
mov edi, eax
pop ecx
add esi, edi
pop ecx
cmp edi, esi
mov dword [ebp - 0x10], esi
jae 0x407e59
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x407e51
push eax
push dword [ebp + 8]
call fcn.00407d32
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
mov esi, 0x43c044
push dword [esi]
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x407e46
mov al, byte [0x43c040]
mov ecx, dword [ebp - 0xc]
add al, 0x30
mov byte [ecx], al
add esi, 4
cmp esi, 0x43c08c
jb 0x407e29
add edi, 0x14
cmp edi, dword [ebp - 0x10]
jb 0x407e0f
pop edi
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407e98
cmp esi, ebx
je 0x407e98
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407e9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 8]
call fcn.0042f5e8
pop ecx
xor eax, eax
jmp 0x407eb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
leave
ret

Function at 0x408bc2
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x444668
push 8
mov eax, edx
pop esi
test al, 1
je 0x408bdc
shr eax, 1
xor eax, 0xedb88320
jmp 0x408bde
shr eax, 1
dec esi
jne 0x408bcf
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x444a68
jl 0x408bca
pop esi
ret
Function at 0x409018
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.00408d58
test eax, eax
pop ecx
je 0x409038
xor eax, eax
jmp 0x40923f
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [0x445794], eax
call fcn.00408e28
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 0x445bac
push eax
lea eax, [ebp - 0x220]
push 0x43bf90
mov edi, SysReAllocStringLen
push eax
push edi
call esi
mov ebx, 0x445db4
push ebx
push 0x444224
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x40913b
push ebx
push 0x445bac
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40913b
lea eax, [ebp - 0x220]
push 0x43bf8c
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 0x44579c
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 0x4459a4
push eax
lea eax, [ebp - 0x220]
push str.homePage
push eax
push edi
call esi
mov esi, str.360_4.1
push esi
push 0x43bf3c
push 0x4456fc
call fcn.00409818
add esp, 0xc
lea ecx, [ebp - 0xc]
push dword [0x4456fc]
call fcn.00409246
cmp byte [ebp - 0xc], 0
jne 0x4091b2
mov edi, 0x44579c
push edi
push 0x444224
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x409181
push esi
jmp 0x409182
push edi
push 0x43bf1c
push 0x4456f8
call fcn.00409818
add esp, 0xc
call fcn.00421149
test al, al
jne 0x4091c6
push 0x30
push dword [0x4456fc]
push 0x43bf00
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 8], 0
je 0x4091c1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x40923f
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, 0x445700
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.00409396
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00408f11
pop ecx
mov ebx, eax
pop ecx
call fcn.0040a94d
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004094a8
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 8], edi
je 0x40923d
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 0x409246
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 0x4092a2
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4092a2
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x409291
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 0x409bc9
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 0x40a923
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x40a854
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x40bf9b
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 0x40bfc8
push 0x40
push dword [0x4456fc]
push 0x43cbfc
push dword [esi + 4]
jmp 0x40c1a7
call fcn.0041a69e
mov eax, dword [eax + 0x30]
mov edx, 0x81
mov ecx, edx
lea edi, [ebp - 0x61a]
inc dword [eax + 0x70]
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 0x43bb18
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 0x40c06e
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.0041a69e
mov eax, dword [eax + 0x30]
lea ecx, [ebp - 0x414]
push ebx
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
call fcn.004187ef
lea eax, [ebp - 0x414]
push 0x43cbf4
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
je 0x40c197
lea eax, [ebp - 0x414]
push eax
call fcn.004216ea
test eax, eax
pop ecx
je 0x40c197
lea eax, [ebp - 0x414]
push eax
call fcn.0042176e
test al, al
pop ecx
jne 0x40c0f9
push 0x30
push dword [0x4456fc]
push 0x43cbb8
jmp 0x40c1a4
lea eax, [ebp - 0x414]
push eax
call fcn.0041a69e
mov ecx, eax
call fcn.0041aa9a
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.0041a69e
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
push 0
push 0
push ebx
mov dword [eax + 0x48], ecx
push dword [esi + 0x180]
call edi
mov dword [ebp - 4], eax
call fcn.0041a69e
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 4]
push 0
push 0
push ebx
mov dword [eax + 0x4c], ecx
push dword [esi + 0x188]
call edi
mov edi, eax
call fcn.0041a69e
mov eax, dword [eax + 0x30]
push edi
mov ecx, eax
call fcn.00418613
call fcn.0040ef2f
mov ecx, eax
call fcn.0040f2da
mov edi, eax
test edi, edi
je 0x40c1ad
push dword [esi + 4]
mov ecx, edi
call fcn.0040dcbd
mov ecx, edi
call fcn.0040da46
jmp 0x40c1ad
push 0x40
push dword [0x4456fc]
push 0x43cb8c
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 0x40c23b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43cc34
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], 0x40c1b6
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x40c319
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 0x40c32a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0041a69e
mov eax, dword [eax + 0x30]
inc dword [eax + 0x74]
call fcn.0041a69e
mov eax, dword [eax + 8]
test eax, eax
je 0x40c37d
cmp eax, 3
je 0x40c363
call fcn.0040ef2f
mov ecx, eax
call fcn.0040fae9
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040caac
jmp 0x40c395
call fcn.0040ef2f
mov ecx, eax
call fcn.0040fd1e
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040cb2d
jmp 0x40c395
call fcn.0040ef2f
mov ecx, eax
call fcn.0040ef66
mov esi, dword [esi + 4]
lea ecx, [eax + 0x20]
push esi
call fcn.0040ca2b
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c3a9
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x40d405
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.0041a69e
mov eax, dword [eax + 0x30]
mov dword [eax + 0x44], ebp
xor ebp, ebp
push ebp
push ebp
push ebx
push dword [esi + 0xa4]
call edi
mov ebx, eax
call fcn.0041a69e
mov eax, dword [eax + 0x30]
push ebp
mov dword [eax + 0x88], ebx
push dword [esi + 4]
push 0x1404
call fcn.0040a93d
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 0x40d566
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x445798], 0
push esi
push edi
mov esi, ecx
je 0x40d593
call fcn.0041a69e
mov eax, dword [eax + 0x30]
push 0
and dword [eax + 0x58], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0040d405
jmp 0x40d5b4
mov edi, dword [esp + 0xc]
lea ecx, [esi + 0x20]
push edi
call fcn.0040d619
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d5b4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x40db19
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
push esi
mov esi, ecx
jne 0x40dc5a
cmp dword [0x4463dc], 0
je 0x40dbf9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
lea edi, [esi + 0x84]
call ebx
sub eax, dword [edi]
cmp eax, 0x12c
jbe 0x40dbc2
call ebx
mov dword [edi], eax
mov eax, dword [esi + 0x88]
cmp eax, 3
jl 0x40db63
xor eax, eax
jmp 0x40db64
inc eax
push str.ck_W:N
lea ecx, [ebp - 4]
mov dword [esi + 0x88], eax
call fcn.00404729
and dword [ebp + 8], 0
cmp dword [esi + 0x88], 0
jle 0x40dbae
mov edi, 0x43ce9c
mov eax, edi
test eax, eax
je 0x40db96
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 4]
call fcn.00404d28
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x88]
jl 0x40db89
push dword [ebp - 4]
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.00404c0d
call ebx
imul eax, eax, 0x64
mov ecx, dword [esi + 0x154]
xor edx, edx
imul ecx, ecx, 0x64
sub eax, ecx
mov ecx, 0x1388
div ecx
mov ecx, dword [esi + 0x160]
pop edi
cmp ecx, dword [esi + 0x15c]
pop ebx
jge 0x40dc17
cmp ecx, eax
jge 0x40dc17
inc ecx
mov dword [esi + 0x160], ecx
push ecx
jmp 0x40dc0f
mov eax, dword [esi + 0x160]
cmp eax, dword [esi + 0x15c]
jge 0x40dc17
inc eax
mov dword [esi + 0x160], eax
push eax
lea ecx, [esi + 0x5c]
call fcn.004127e6
cmp dword [esi + 0x160], 0x64
jl 0x40dc5a
push 0x64
lea ecx, [esi + 0x5c]
call fcn.004127e6
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040ef2f
mov ecx, eax
call fcn.0040f593
test eax, eax
je 0x40dc5a
push dword [esi + 4]
mov ecx, eax
call fcn.0040d566
pop esi
leave
ret 4
Function at 0x40dc6e
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040ef2f
mov ecx, eax
call fcn.0040f7e9
mov edi, eax
test edi, edi
je 0x40dcb6
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.0040dd9a
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40dcaf
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0040bd94
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x40dcbd
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x445798], 0
push esi
je 0x40dcce
push 0
push dword [ecx + 4]
jmp 0x40dce9
mov esi, dword [esp + 8]
add ecx, 0x20
push esi
call fcn.0040dd19
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40dcef
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4