joyce8/EMBER2024-capa huggingface dataset:
Function at 0x150f27c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x15107b4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call dword [sym.imp.user32.dll_GetActiveWindow]
push eax
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x150f29af
call dword [sym.imp.user32.dll_EmptyClipboard]
mov ebx, dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x150f283d
push dword [0x151b5b14]
call ebx
push 0x2710
push dword [0x151b5b10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0x1a1
push 0x15128188
push 0x151281a0
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
cmp dword [sym.Core.dll_int_GUnicode], 0
je 0x150f28e6
cmp dword [sym.Core.dll_int_GUnicodeOS], 0
jne 0x150f28e6
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0
mov ebx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
call ebx
mov edi, eax
lea ecx, [edi + 1]
push ecx
push 0x2000
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0
call ebx
mov byte [esi + edi], 0
push esi
push 1
call dword [sym.imp.user32.dll_SetClipboardData]
mov ebx, dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x150f2965
push dword [0x151b5b14]
call ebx
push 0x2710
push dword [0x151b5b10]
mov esi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
call esi
push 0x1a9
push 0x15128188
push 0x151281b4
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
jmp 0x150f2979
mov edi, dword [ebp + 8]
push edi
call sym.Core.dll_int___cdecl_appStrlen_wchar_t_const__
add esp, 4
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push edi
push esi
call sym.Core.dll_wchar_t____cdecl_appStrcpy_wchar_t___wchar_t_const__
add esp, 8
push esi
mov eax, 1
mov ecx, 0xd
cmp dword [sym.Core.dll_int_GUnicode], 0
cmovne eax, ecx
push eax
call dword [sym.imp.user32.dll_SetClipboardData]
test eax, eax
jne 0x150f296d
push dword [0x151b5b14]
call ebx
push 0x2710
push dword [0x151b5b10]
mov esi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
call esi
push 0x1b0
push 0x15128188
push 0x151281d8
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
jmp 0x150f2973
mov esi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
jmp 0x150f2979
mov esi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.kernel32.dll_SetEvent]
call dword [sym.imp.user32.dll_CloseClipboard]
test eax, eax
jne 0x150f29af
push dword [0x151b5b14]
call ebx
push 0x2710
push dword [0x151b5b10]
call esi
push 0x1b2
push 0x15128188
push 0x15128218
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x150f3cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x15107ca5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
wait
mov eax, dword [ebp + 8]
lea esi, [eax + eax*4]
shl esi, 3
mov ebx, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
mov edx, dword [esi + ebx + 4]
test edx, edx
je 0x150f3de4
mov ecx, dword [esi + ebx]
test ecx, ecx
je 0x150f3de4
mov eax, dword [esi + ebx + 0x24]
test eax, eax
je 0x150f3e3c
dec eax
cmp eax, 1
ja 0x150f3de4
mov dword [esi + ebx + 0x18], 0
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + ebx + 0x18]
cmp edx, edi
jge 0x150f3e23
mov ecx, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
lea eax, [ecx + 0xc]
add eax, esi
push eax
push 1
push 2
push 0
mov eax, edi
sub eax, edx
push eax
mov eax, dword [esi + ecx]
add eax, edx
push eax
push dword [esi + ecx + 8]
call dword [sym.imp.vorbisfile.dll_ov_read]
add esp, 0x1c
test eax, eax
jne 0x150f3dfa
mov eax, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
cmp dword [esi + eax + 0x24], 2
jne 0x150f3dc0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push dword [esi + eax + 8]
call dword [sym.imp.vorbisfile.dll_ov_time_seek]
add esp, 0xc
jmp 0x150f3d60
sub edi, dword [esi + ebx + 0x18]
push edi
push 0
mov eax, dword [esi + eax]
add eax, dword [esi + ebx + 0x18]
push eax
call fcn.1504cde0
add esp, 0xc
mov eax, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
mov dword [esi + eax + 0x20], 1
xor eax, eax
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
jns 0x150f3e1a
sub edi, dword [esi + ebx + 0x18]
push edi
push 0
mov eax, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
mov eax, dword [esi + eax]
add eax, dword [esi + ebx + 0x18]
push eax
call fcn.1504cde0
add esp, 0xc
jmp 0x150f3de4
add dword [esi + ebx + 0x18], eax
jmp 0x150f3d60
mov eax, 1
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 0
push 0
lea eax, [ebp + 8]
push eax
mov edi, dword [ebp + 0xc]
push edi
push ecx
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
mov ebx, eax
test ebx, ebx
je 0x150f3e67
mov edx, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
mov ecx, dword [ebp + 8]
add dword [esi + edx], ecx
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x150f3e7e
mov eax, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
mov dword [esi + eax + 0x20], 1
mov ecx, dword [ebp + 8]
mov eax, dword [sym.Core.dll_struct_FStream__FFileStream::Streams]
mov dword [esi + eax + 0x18], ecx
mov eax, ebx
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x150f4ba0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x15107d53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push dword [ebp + 8]
push 0x15127d9c
call sym.Core.dll_void___cdecl_debugf_wchar_t_const__
add esp, 8
cmp dword [ebp + 8], 0
je 0x150f4be6
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
push 0
call dword [sym.imp.user32.dll_PostQuitMessage]
mov dword [sym.Core.dll_int_GIsRequestingExit], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10034d4
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x10171b0]
push esi
push 0xf0000000
xor esi, esi
push 0x18
push esi
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x438], 0x20
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x42c], esi
mov byte [ebp - 0x28], 0xcf
mov byte [ebp - 0x27], 0xb1
mov byte [ebp - 0x26], 0xce
mov byte [ebp - 0x25], 0x1f
mov byte [ebp - 0x24], 0xb8
mov byte [ebp - 0x23], 0xdb
mov byte [ebp - 0x22], 0x12
mov byte [ebp - 0x21], 0x20
mov byte [ebp - 0x20], 0xa7
mov byte [ebp - 0x1f], 0x6b
mov byte [ebp - 0x1e], 0x40
mov byte [ebp - 0x1d], 4
mov byte [ebp - 0x1c], 0x50
mov byte [ebp - 0x1b], pe_nt_image_headers32
mov byte [ebp - 0x1a], 0x4f
mov byte [ebp - 0x19], 0xe
mov byte [ebp - 0x18], 0x30
mov byte [ebp - 0x17], 0x51
mov byte [ebp - 0x16], 0xdf
mov byte [ebp - 0x15], 0x2a
mov byte [ebp - 0x14], 2
mov byte [ebp - 0x13], 0x9e
mov byte [ebp - 0x12], 0x8f
mov byte [ebp - 0x11], 0x4d
mov byte [ebp - 0x10], 0x38
mov byte [ebp - 0xf], 0x2a
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0xff
mov byte [ebp - 0xc], 0x99
mov byte [ebp - 0xb], 0x42
mov byte [ebp - 0xa], 0x29
mov byte [ebp - 9], 0xee
mov byte [ebp - 8], 0x47
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x100368b
push ebx
push edi
lea eax, [ebp - 0x42c]
push eax
push esi
push esi
push 0x800c
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10035c7
xor edi, edi
jmp 0x100367a
mov edi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push esi
push 0x21
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x42c]
call edi
test eax, eax
jne 0x10035e7
xor edi, edi
jmp 0x100366e
push 0x1001698
push dword [ebp + 8]
mov dword [ebp - 0x434], esi
call dword [sym.imp.msvcrt.dll__wfopen]
mov ebx, eax
cmp ebx, esi
pop ecx
pop ecx
je 0x100364e
push ebx
push 0x400
lea eax, [ebp - 0x428]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, esi
jbe 0x1003646
add dword [ebp - 0x434], eax
push esi
push eax
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x42c]
call edi
test eax, eax
je 0x1003698
cmp dword [ebp - 0x434], 0x5000
jb 0x1003603
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
push esi
lea eax, [ebp - 0x438]
push eax
push dword [ebp + 0xc]
push 2
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
xor edi, edi
test eax, eax
je 0x100366e
inc edi
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.01012097
leave
ret 8
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor eax, eax
jmp 0x1003689
Function at 0x10036bd
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10171b0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
push 0xf0000000
push 0x18
push 0x10016a0
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
lea edi, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10037a9
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
xor edi, edi
test eax, eax
je 0x100379d
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x34], edi
call esi
test eax, eax
jne 0x100374c
xor edi, edi
jmp 0x1003794
push ebx
lea eax, [ebp - 0x34]
push eax
push 3
push dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
call esi
test eax, eax
je 0x1003748
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x1003774
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x1003748
push dword [ebp - 0x38]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01012097
leave
ret 8
Function at 0x1004094
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x10171b0]
push ebx
push esi
push 4
pop esi
push dword [ebp + 0x3b0]
mov dword [ebp + 0x3a4], eax
push 0x105
lea eax, [ebp + 0x198]
xor ebx, ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], ebx
call fcn.01002f60
test eax, eax
jge 0x10040df
xor eax, eax
jmp 0x100417f
lea eax, [ebp + 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
jl 0x10040d8
push ebx
push 0x20019
push esi
mov word [ebp + eax*2 + 0x190], bx
call fcn.0100c89e
mov esi, eax
cmp esi, ebx
je 0x10040d8
push edi
push 0x104
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc dword [ebp - 0x7c]
mov edi, eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100413e
cmp edi, ebx
je 0x100410b
jmp 0x1004142
cmp edi, ebx
je 0x100414d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100417e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push 0x10
push 0x10017a4
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100416f
mov dword [ebp - 0x78], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x78], ebx
setne al
pop edi
mov ecx, dword [ebp + 0x3a4]
pop esi
pop ebx
call fcn.01012097
add ebp, 0x3a8
leave
ret 4
Function at 0x10044a6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
push 0x20019
mov dword [ebp + 0x1a4], eax
mov esi, ecx
call sym.mobsync.dll_RegGetHandlerTopLevelKey
test eax, eax
mov dword [ebp - 0x80], eax
je 0x1004592
and dword [ebp - 0x7c], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x74]
push ecx
push 0
mov dword [esi + 0x62c], 1
push eax
jmp 0x100457f
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x1004571
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push dword [esi + 0x634]
call fcn.01007db6
test eax, eax
jne 0x1004571
lea eax, [ebp + 0x194]
push eax
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01008a64
xor ecx, ecx
cmp eax, ecx
jne 0x1004563
push ecx
push ecx
push 0x100
push ecx
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01008afe
test eax, eax
je 0x1004571
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01007e39
inc dword [ebp - 0x7c]
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
test eax, eax
je 0x10044ff
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push 5
push dword [esi + 0x634]
call fcn.01008a26
mov edi, eax
test edi, edi
jne 0x10045e3
lea ebx, [esi + 0x10]
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01008ec7
push ebx
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.010084f7
lea eax, [ebp - 0x78]
push eax
push 5
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01008075
mov edi, eax
test edi, edi
je 0x10045ac
mov ebx, 0x1002cac
push ebx
mov ecx, esi
call fcn.01003266
push ebx
mov ecx, esi
call fcn.01003305
mov ecx, dword [ebp + 0x1a4]
mov eax, edi
dec eax
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebx
call fcn.01012097
add ebp, 0x1a8
leave
ret

Function at 0x10057b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10017e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005806
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push 0x10000002
push 0x10017d4
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueA]
test eax, eax
jne 0x10057fd
inc esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x7fff0001
add eax, 0x8000ffff
pop esi
leave
ret 8
Function at 0x1005ef5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push 0xfa7
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push eax
mov dword [ebp - 4], eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
jle 0x1005f5f
push edi
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x104b
push dword [ebp - 4]
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], ebx
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005f58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x1005f27
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x1005fd3
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
push 0xd
mov dword [ebp + 0x1fc], eax
mov esi, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x208]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x14], 0x105
mov dword [ebp - 0x4c], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x48], 0xffffffff
je 0x1006081
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0
push dword [esi]
mov dword [ebp - 0x18], eax
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x208]
push 0x1074
push 0xfa7
push dword [esi]
call edi
push eax
call ebx
mov ecx, dword [ebp + 0x1fc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.01012097
add ebp, 0x200
leave
ret 4
Function at 0x1006286
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xa00]
sub esp, 0xa80
mov eax, dword [0x10171b0]
mov dword [ebp + 0x9fc], eax
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
mov dword [ebp - 0x48], 0x105
je 0x1006455
push ebx
push edi
push 0xd
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xa08]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x80], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x7c], 0xffffffff
je 0x10063fd
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x10063fd
mov ecx, dword [eax]
lea edx, [ebp + 0x5d4]
push edx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x1006328
and word [ebp + 0x7e0], 0
jmp 0x1006348
lea eax, [ebp + 0x5d4]
push eax
push 0x105
lea eax, [ebp + 0x7e0]
push eax
call fcn.01002f60
test eax, eax
jl 0x10063fd
push 0x104
lea eax, [ebp - 0x44]
push eax
push 0x11f8
push dword [0x101728c]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp + 0x3cc]
push eax
push 0x11f9
push dword [0x101728c]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0x1c4]
push 0x104
push eax
call fcn.01003d37
add esp, 0x10
push 0x24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x10063fd
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x105
call fcn.01004f19
test eax, eax
jl 0x10063fd
and word [ebp + 0x82c], 0
lea eax, [ebp + 0x7e0]
push eax
push 0x105
lea eax, [ebp + 0x5d4]
push eax
call fcn.01002f60
test eax, eax
jge 0x1006401
xor eax, eax
jmp 0x1006453
lea eax, [ebp + 0x9ec]
push eax
lea eax, [ebp + 0x5d4]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0x9ec]
push edx
push eax
call dword [ecx + 0x18]
push 0xfa7
push dword [esi]
call edi
push 0
push dword [ebp + 0xa08]
mov esi, eax
push 0x1008
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x9fc]
pop esi
call fcn.01012097
add ebp, 0xa00
leave
ret 4
Function at 0x100629f
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xa00]
sub esp, 0xa80
mov eax, dword [0x10171b0]
mov dword [ebp + 0x9fc], eax
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
mov dword [ebp - 0x48], 0x105
je 0x1006455
push ebx
push edi
push 0xd
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xa08]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x80], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x7c], 0xffffffff
je 0x10063fd
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x10063fd
mov ecx, dword [eax]
lea edx, [ebp + 0x5d4]
push edx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x1006328
and word [ebp + 0x7e0], 0
jmp 0x1006348
lea eax, [ebp + 0x5d4]
push eax
push 0x105
lea eax, [ebp + 0x7e0]
push eax
call fcn.01002f60
test eax, eax
jl 0x10063fd
push 0x104
lea eax, [ebp - 0x44]
push eax
push 0x11f8
push dword [0x101728c]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp + 0x3cc]
push eax
push 0x11f9
push dword [0x101728c]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0x1c4]
push 0x104
push eax
call fcn.01003d37
add esp, 0x10
push 0x24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x10063fd
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x105
call fcn.01004f19
test eax, eax
jl 0x10063fd
and word [ebp + 0x82c], 0
lea eax, [ebp + 0x7e0]
push eax
push 0x105
lea eax, [ebp + 0x5d4]
push eax
call fcn.01002f60
test eax, eax
jge 0x1006401
xor eax, eax
jmp 0x1006453
lea eax, [ebp + 0x9ec]
push eax
lea eax, [ebp + 0x5d4]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0x9ec]
push edx
push eax
call dword [ecx + 0x18]
push 0xfa7
push dword [esi]
call edi
push 0
push dword [ebp + 0xa08]
mov esi, eax
push 0x1008
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x9fc]
pop esi
call fcn.01012097
add ebp, 0xa00
leave
ret 4