Function at 0x68008db0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get graphical window text
Get kernel32 base address
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x848
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, 0x110
je 0x680091a0
cmp eax, 0x111
je 0x68008f00
cmp eax, 0x4e
je 0x68008e00
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [edx + 8]
cmp eax, 0xffffff32
je 0x68009250
cmp eax, 0xffffff38
je 0x68009210
cmp eax, 0xffffff31
jne 0x68008ded
mov dword [esp + 4], 0xb5d
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov edi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
mov dword [ebp - 0x82c], eax
mov dword [esp + 4], 8
mov dword [esp], ebx
call sym._GetWindowLongW_8
mov ecx, dword [ebp - 0x82c]
sub esp, 8
mov esi, eax
test ecx, ecx
jne 0x680092a0
mov esi, dword [eax + 8]
mov eax, dword [0x68022004]
test esi, esi
je 0x68009599
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x420
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._MessageBoxW_16
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._SetWindowLongW_12
mov eax, 1
sub esp, 0xc
jmp 0x68008def
cmp esi, 0xb5e
jne 0x68008ded
mov dword [esp + 4], 8
lea esi, [ebp - 0x810]
mov dword [esp], ebx
mov edi, esi
call sym._GetWindowLongW_8
mov ecx, 0x14
mov edx, eax
xor eax, eax
sub esp, 8
rep stosd dword es:[edi], eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x818], 0x58
mov eax, dword [edx + 0x28]
sub eax, 2
cmp eax, 2
jbe 0x68009280
mov eax, dword [edx + 0x14]
mov ecx, dword [0x68022004]
sub eax, 2
cmp eax, 2
ja 0x68009568
mov esi, dword [eax*4 + 0x6801732c]
mov edx, dword [eax*4 + 0x68017308]
lea eax, [ebp - 0x81c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
mov dword [ebp - 0x82c], edx
call sym._LoadStringW_16
mov edx, dword [ebp - 0x82c]
sub esp, 0x10
mov edi, eax
cmp word [edx], 0
je 0x6800951e
mov esi, edx
nop
add esi, 2
cmp word [esi], 0
jne 0x68008fb0
sub esi, edx
sar esi, 1
add esi, edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x834], edx
add esi, 4
mov dword [ebp - 0x830], eax
mov dword [esp + 8], eax
mov eax, dword [0x68022004]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x41f
mov dword [esp], eax
call sym._LoadStringW_16
mov edx, dword [ebp - 0x834]
mov dword [ebp - 0x82c], eax
sub esp, 0x10
mov eax, 0x68017874
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68009010
mov dword [ebp - 0x834], edx
sub eax, 0x68017874
mov edx, dword [ebp - 0x82c]
sar eax, 1
mov dword [esp + 4], 0
lea eax, [edx + eax + 2]
add esi, eax
add esi, esi
mov dword [esp + 8], esi
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6800912d
mov eax, dword [ebp - 0x81c]
add edi, edi
mov dword [esp], esi
mov dword [esp + 8], edi
add edi, esi
mov dword [esp + 4], eax
call sym._memcpy
xor eax, eax
mov edx, dword [ebp - 0x834]
mov word [edi], ax
xor eax, eax
lea esi, [esi]
movzx ecx, word [edx + eax]
mov word [edi + eax + 2], cx
add eax, 2
test cx, cx
jne 0x68009090
cmp word [edx], 0
je 0x68009628
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x680090b0
sub eax, edx
add eax, 2
mov edx, dword [ebp - 0x82c]
lea edi, [edi + eax + 2]
mov eax, dword [ebp - 0x418]
mov dword [esp], edi
add edx, edx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x82c], edx
call sym._memcpy
mov edx, dword [ebp - 0x82c]
xor eax, eax
add edx, edi
xor edi, edi
mov word [edx], di
lea esi, [esi]
movzx ecx, word [eax + 0x68017874]
mov word [edx + eax + 2], cx
add eax, 2
test cx, cx
jne 0x680090f8
mov eax, 0x68017874
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68009118
sub eax, 0x68017874
xor ecx, ecx
mov word [edx + eax + 4], cx
mov eax, dword [ebp - 0x830]
mov dword [ebp - 0x80c], esi
mov dword [ebp - 0x7f8], 0x104
mov dword [ebp - 0x7fc], eax
xor eax, eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x818]
mov dword [esp], eax
call sym._GetSaveFileNameW_4
sub esp, 4
test eax, eax
jne 0x68009528
mov edx, dword [ebp - 0x80c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x68008ded
mov esi, dword [edx + 0x1c]
mov dword [esp + 4], 8
mov dword [esp], ebx
mov dword [esp + 8], esi
call sym._SetWindowLongW_12
mov esi, dword [esi + 0x10]
sub esp, 0xc
test esi, esi
je 0x68008ded
mov dword [esp], ebx
mov dword [esp + 4], 0xb5d
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], ebx
call sym._GetParent_4
sub esp, 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x470
mov dword [esp], eax
call sym._PostMessageW_16
mov eax, 1
sub esp, 0x10
jmp 0x68008def
mov dword [esp + 4], 8
mov dword [esp], ebx
call sym._GetWindowLongW_8
sub esp, 8
cmp dword [eax + 0x28], 2
je 0x68008ded
mov dword [esp + 8], 0x74
jmp 0x68008ed9
mov esi, dword [eax*4 + 0x68017320]
mov edx, dword [eax*4 + 0x68017314]
mov ecx, dword [0x68022004]
jmp 0x68008f74
add ecx, 1
mov dword [esp + 4], 0
lea edx, [ecx + ecx]
mov dword [ebp - 0x830], ecx
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x838], eax
call eax
mov dword [ebp - 0x82c], eax
sub esp, 0xc
test eax, eax
je 0x68008ded
mov ecx, dword [ebp - 0x830]
mov dword [esp], edi
mov edi, 0x68017440
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xd
call sym._SendMessageW_16
mov eax, dword [esi + 0x28]
sub esp, 0x10
cmp eax, 2
je 0x68009338
mov edi, 0x6801744c
cmp eax, 3
je 0x68009338
mov eax, dword [esi + 0x14]
mov edi, 0x68017410
sub eax, 2
cmp eax, 2
ja 0x68009338
mov edi, dword [eax*4 + 0x680172fc]
lea esi, [esi]
mov eax, dword [ebp - 0x82c]
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x68009368
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
je 0x68009422
mov edx, dword [ebp - 0x82c]
cmp word [edx], 0
mov eax, edx
je 0x680098b0
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68009380
sub eax, dword [ebp - 0x82c]
sar eax, 1
cmp word [edi], 0
je 0x680093af
mov ecx, edi
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x680093a0
sub ecx, edi
sar ecx, 1
add eax, ecx
lea eax, [eax + eax + 2]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x82c]
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov dword [ebp - 0x82c], eax
sub esp, 0x10
test eax, eax
je 0x68009422
cmp word [eax], 0
je 0x680098b7
lea esi, [esi]
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x68009400
lea esi, [esi]
movzx edx, word [edi]
add edi, 2
add eax, 2
mov word [eax - 2], dx
test dx, dx
jne 0x68009410
mov eax, dword [ebp - 0x82c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [ebp - 0x834], eax
call eax
sub esp, 0x1c
mov edx, eax
cmp eax, 0xffffffff
je 0x6800986b
mov edi, dword [esi + 8]
mov eax, dword [0x68022004]
test edi, edi
je 0x68009875
lea ecx, [ebp - 0x818]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x4b5
mov dword [esp], eax
mov dword [ebp - 0x830], edx
call sym._LoadStringW_16
lea ecx, [ebp - 0x818]
sub esp, 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sym._MessageBoxW_16
mov edx, dword [ebp - 0x830]
sub esp, 0x10
cmp eax, 6
mov dword [esp], edx
je 0x680095c8
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov edi, dword [ebp - 0x82c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x68008ed1
mov esi, eax
jmp 0x68008fbf
mov dword [esp + 4], 0xb5d
mov esi, dword [ebp - 0x7fc]
mov dword [esp], ebx
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
jmp 0x6800916b
lea eax, [ebp - 0x81c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4b6
mov dword [esp], ecx
call sym._LoadStringW_16
mov edx, str..cer
sub esp, 0x10
mov edi, eax
jmp 0x68008fad
lea esi, [ebp - 0x818]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [0x68022004]
sub esp, 0x10
jmp 0x68008e91
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 2
sub esp, 4
mov edi, dword [ebp - 0x82c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x834]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], edi
call eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x68009632
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esi + 0x48], edi
jmp 0x68008def
mov eax, 2
jmp 0x680090be
mov eax, dword [esi + 8]
mov edi, eax
mov dword [ebp - 0x834], eax
mov eax, dword [0x68022004]
test edi, edi
je 0x680098c2
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x422
mov dword [esp], eax
mov dword [ebp - 0x830], edi
call sym._LoadStringW_16
lea ecx, [ebp - 0x81c]
sub esp, 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
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
cmp word [ebp - 0x418], 0
je 0x68009902
lea esi, [esi]
add edi, 2
cmp word [edi], 0
jne 0x680096d0
mov eax, dword [ebp - 0x82c]
sub edi, dword [ebp - 0x830]
sar edi, 1
cmp word [eax], 0
je 0x6800990d
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x680096f8
mov esi, dword [ebp - 0x81c]
sub eax, dword [ebp - 0x82c]
sar eax, 1
add edi, eax
cmp word [esi], 0
mov eax, esi
je 0x68009729
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68009720
sub eax, esi
mov dword [esp + 4], 0
sar eax, 1
lea eax, [edi + eax + 3]
add eax, eax
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x838]
call eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x68009918
mov esi, dword [ebp - 0x830]
xor eax, eax
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x68009770
cmp word [ebp - 0x418], 0
mov eax, dword [ebp - 0x830]
je 0x68009799
add eax, 2
cmp word [eax], 0
jne 0x68009790
sub eax, dword [ebp - 0x830]
mov edi, dword [ebp - 0x82c]
xor ecx, ecx
add eax, edx
lea esi, [esi]
movzx esi, word [edi + ecx]
mov word [eax + ecx], si
add ecx, 2
test si, si
jne 0x680097b0
mov ecx, dword [ebp - 0x82c]
cmp word [ecx], 0
je 0x680098f7
add ecx, 2
cmp word [ecx], 0
jne 0x680097d0
sub ecx, dword [ebp - 0x82c]
mov edi, dword [ebp - 0x81c]
add eax, ecx
xor ecx, ecx
mov dword [eax], 0xa003a
nop
movzx esi, word [edi + ecx]
mov word [eax + ecx + 4], si
add ecx, 2
test si, si
jne 0x680097f0
mov eax, dword [ebp - 0x834]
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [ebp - 0x830], edx
call sym._MessageBoxW_16
mov edx, dword [ebp - 0x830]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov eax, dword [ebp - 0x81c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
jmp 0x680094f3
mov eax, 1
jmp 0x680095d6
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
mov dword [ebp - 0x830], edx
call sym._LoadStringW_16
mov eax, dword [0x68022004]
mov edx, dword [ebp - 0x830]
sub esp, 0x10
jmp 0x68009486
xor eax, eax
jmp 0x68009391
mov eax, dword [ebp - 0x82c]
jmp 0x68009410
lea esi, [ebp - 0x818]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call sym._LoadStringW_16
mov dword [ebp - 0x834], esi
mov eax, dword [0x68022004]
sub esp, 0x10
jmp 0x6800964a
mov ecx, dword [ebp - 0x82c]
jmp 0x680097d9
mov edi, dword [ebp - 0x830]
jmp 0x680096d9
mov eax, dword [ebp - 0x82c]
jmp 0x68009701
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x68009854