Function at 0x100083c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x830
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
je 0x10008780
cmp eax, 0x111
je 0x10008510
cmp eax, 0x4e
je 0x10008400
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
cmp eax, 0xffffff32
je 0x10008830
cmp eax, 0xffffff38
je 0x100087f0
cmp eax, 0xffffff31
jne 0x100083ea
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xb5d
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], eax
call edi
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [ebp - 0x814], eax
sub esp, 8
test ebx, ebx
jne 0x10008880
mov ebx, dword [eax + 8]
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x10022004]
test ebx, ebx
je 0x10008af4
lea edi, [ebp - 0x40c]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x420
mov dword [esp], eax
call esi
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp + 8], 1
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, 1
sub esp, 0xc
jmp 0x100083ec
cmp dword [ebp + 0x10], 0xb5e
jne 0x100083ea
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
lea ebx, [ebp - 0x804]
mov edi, ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
mov ecx, 0x14
mov edx, eax
xor eax, eax
sub esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80c], 0x58
mov dword [ebp - 0x808], eax
mov eax, dword [edx + 0x28]
sub eax, 2
cmp eax, 2
jbe 0x10008860
mov eax, dword [edx + 0x14]
mov ecx, dword [0x10022004]
sub eax, 2
cmp eax, 2
ja 0x10008ac0
mov ebx, dword [eax*4 + 0x1001532c]
mov edx, dword [eax*4 + 0x10015308]
lea eax, [ebp - 0x810]
mov dword [esp + 4], ebx
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov dword [ebp - 0x814], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], ecx
call esi
mov edx, dword [ebp - 0x814]
sub esp, 0x10
mov edi, eax
cmp word [edx], 0
je 0x10008a6c
mov ebx, edx
lea esi, [esi]
add ebx, 2
cmp word [ebx], 0
jne 0x100085d0
sub ebx, edx
sar ebx, 1
add ebx, edi
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x818], edx
add ebx, 4
mov dword [ebp - 0x814], eax
mov dword [esp + 8], eax
mov eax, dword [0x10022004]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x41f
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x818]
mov esi, eax
sub esp, 0x10
mov eax, 0x10015874
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10008628
sub eax, 0x10015874
mov dword [ebp - 0x81c], edx
sar eax, 1
lea eax, [esi + eax + 2]
add ebx, eax
add ebx, ebx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x10008725
mov eax, dword [ebp - 0x810]
lea ecx, [edi + edi]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x818], ecx
call sym._memcpy
mov ecx, dword [ebp - 0x818]
xor eax, eax
mov edx, dword [ebp - 0x81c]
mov word [ebx + edi*2], ax
xor eax, eax
lea ecx, [ebx + ecx + 2]
movzx edi, word [edx + eax]
mov word [ecx + eax], di
add eax, 2
test di, di
jne 0x10008690
cmp word [edx], 0
je 0x10008b80
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x100086b0
sub eax, edx
lea edi, [eax + 2]
mov eax, dword [ebp - 0x40c]
add edi, ecx
lea edx, [esi + esi]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [ebp - 0x818], edx
call sym._memcpy
mov edx, dword [ebp - 0x818]
xor eax, eax
mov word [edi + esi*2], ax
xor eax, eax
lea edx, [edi + edx + 2]
lea esi, [esi]
movzx ecx, word [eax + 0x10015874]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100086f8
mov eax, 0x10015874
add eax, 2
cmp word [eax], 0
jne 0x10008710
sub eax, 0x10015874
xor ecx, ecx
mov word [edx + eax + 2], cx
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x800], ebx
mov dword [ebp - 0x7ec], 0x104
mov dword [ebp - 0x7f0], eax
xor eax, eax
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x80c]
mov dword [esp], eax
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
sub esp, 4
test eax, eax
jne 0x10008a78
mov eax, dword [ebp - 0x800]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x100083ea
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov ebx, dword [ebx + 0x10]
sub esp, 0xc
test ebx, ebx
je 0x100083ea
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xb5d
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
xor eax, eax
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x470
mov dword [esp], eax
call dword [sym.imp.user32.dll_PostMessageW]
mov eax, 1
sub esp, 0x10
jmp 0x100083ec
mov eax, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
cmp dword [eax + 0x28], 2
je 0x100083ea
mov dword [esp + 8], 0x74
jmp 0x100084e8
mov ebx, dword [eax*4 + 0x10015320]
mov edx, dword [eax*4 + 0x10015314]
mov ecx, dword [0x10022004]
jmp 0x1000858c
lea edx, [ebx + 1]
lea eax, [edx + edx]
mov dword [ebp - 0x818], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x820], eax
call eax
mov ebx, eax
test eax, eax
je 0x100083ea
mov edx, dword [ebp - 0x818]
mov dword [esp], esi
mov esi, 0x10015440
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0xd
call edi
mov edi, dword [ebp - 0x814]
sub esp, 0x10
mov eax, dword [edi + 0x28]
cmp eax, 2
je 0x10008900
mov esi, 0x1001544c
cmp eax, 3
je 0x10008900
mov eax, dword [edi + 0x14]
mov esi, 0x10015410
mov dword [ebp - 0x818], eax
sub eax, 2
cmp eax, 2
ja 0x10008900
mov esi, dword [eax*4 + 0x100152fc]
nop
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x10008926
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
je 0x1000898a
mov edx, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp], ebx
mov dword [ebp - 0x818], edx
call edx
mov edx, dword [ebp - 0x818]
mov dword [esp], esi
mov edi, eax
call edx
mov dword [esp], ebx
lea eax, [edi + eax + 1]
add eax, eax
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov ebx, eax
test eax, eax
je 0x1000898a
cmp word [eax], 0
je 0x10008978
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10008968
lea esi, [esi]
movzx edx, word [esi]
add esi, 2
add eax, 2
mov word [eax - 2], dx
test dx, dx
jne 0x10008978
mov eax, dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
mov dword [ebp - 0x81c], eax
call eax
sub esp, 0x1c
mov ecx, eax
cmp eax, 0xffffffff
je 0x10008d28
mov eax, dword [ebp - 0x814]
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov edi, dword [eax + 8]
mov eax, dword [0x10022004]
test edi, edi
je 0x10008d32
lea edx, [ebp - 0x80c]
mov dword [ebp - 0x818], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x200
mov dword [esp + 4], 0x4b5
mov dword [esp], eax
call esi
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x80c]
sub esp, 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x818]
sub esp, 0x10
cmp eax, 6
mov dword [esp], ecx
je 0x10008b20
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 4
mov dword [esp], ebx
call esi
jmp 0x100084e0
mov ebx, eax
jmp 0x100085df
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x7f0]
mov dword [esp + 4], 0xb5d
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x10008764
lea eax, [ebp - 0x810]
mov dword [esp], ecx
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4b6
call esi
mov edx, str..cer
sub esp, 0x10
mov edi, eax
jmp 0x100085c8
lea ebx, [ebp - 0x80c]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call esi
mov eax, dword [0x10022004]
sub esp, 0x10
jmp 0x1000849f
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 2
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x81c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x10008b8a
mov esi, dword [ebp - 0x814]
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esi + 0x48], ebx
jmp 0x100083ec
mov edi, 2
jmp 0x100086be
mov eax, dword [ebp - 0x814]
mov esi, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [eax + 8]
mov edi, eax
mov dword [ebp - 0x818], eax
mov eax, dword [0x10022004]
test edi, edi
je 0x10008d6a
lea edi, [ebp - 0x40c]
mov dword [esp + 0xc], 0x200
mov dword [ebp - 0x814], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x422
mov dword [esp], eax
call esi
lea edx, [ebp - 0x810]
sub esp, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], 0
mov dword [esp], 0x1100
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_FormatMessageW]
sub esp, 0x1c
mov dword [esp], edi
mov edi, dword [sym.imp.ucrtbase.dll_wcslen]
call edi
mov dword [esp], ebx
mov esi, eax
call edi
add esi, eax
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call edi
lea eax, [esi + eax + 3]
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x820]
call eax
mov esi, eax
test eax, eax
je 0x10008d9c
mov ecx, dword [ebp - 0x814]
xor eax, eax
nop
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x10008c60
cmp word [ebp - 0x40c], 0
mov eax, dword [ebp - 0x814]
je 0x10008c89
add eax, 2
cmp word [eax], 0
jne 0x10008c80
sub eax, dword [ebp - 0x814]
xor edx, edx
add eax, esi
nop
lea esi, [esi]
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x10008c98
cmp word [ebx], 0
mov edx, ebx
je 0x10008cb9
add edx, 2
cmp word [edx], 0
jne 0x10008cb0
sub edx, ebx
mov edi, dword [ebp - 0x810]
add eax, edx
xor edx, edx
mov dword [eax], 0xa003a
nop
lea esi, [esi]
movzx ecx, word [edi + edx]
mov word [eax + edx + 4], cx
add edx, 2
test cx, cx
jne 0x10008cd0
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp], esi
mov esi, dword [sym.imp.ucrtbase.dll_free]
call esi
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
jmp 0x10008a62
mov eax, 1
jmp 0x10008b2e
lea edi, [ebp - 0x40c]
mov dword [ebp - 0x818], ecx
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call esi
mov eax, dword [0x10022004]
mov ecx, dword [ebp - 0x818]
sub esp, 0x10
jmp 0x100089f4
lea edi, [ebp - 0x80c]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call esi
mov dword [ebp - 0x818], edi
mov eax, dword [0x10022004]
sub esp, 0x10
jmp 0x10008bae
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x10008d11