Function at 0x680065a0
Capabilities:
Access peb ldr_data
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, 0x858
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, 0x110
je 0x680069c0
cmp eax, 0x111
je 0x680066f0
cmp eax, 0x4e
je 0x680065f0
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 0x68006a70
cmp eax, 0xffffff38
je 0x68006a30
cmp eax, 0xffffff31
jne 0x680065dd
mov dword [esp + 4], 0xb5d
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [ebp - 0x834], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [ebp - 0x830], eax
sub esp, 8
test esi, esi
jne 0x68006ab8
mov esi, dword [eax + 8]
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
test esi, esi
je 0x68006dca
mov eax, dword [0x68024004]
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x420
mov dword [esp], eax
call ecx
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, 1
sub esp, 0xc
jmp 0x680065df
cmp esi, 0xb5e
jne 0x680065dd
mov dword [esp + 4], 8
lea esi, [ebp - 0x810]
mov dword [esp], ebx
mov edi, esi
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 dword [ebp - 0x814], ebx
mov dword [ebp - 0x818], 0x58
mov eax, dword [edx + 0x28]
sub eax, 2
cmp eax, 2
jbe 0x68006aa0
mov eax, dword [edx + 0x14]
sub eax, 2
cmp eax, 2
ja 0x68006d80
mov ecx, dword [eax*4 + 0x68017330]
mov edx, dword [eax*4 + 0x6801730c]
lea eax, [ebp - 0x81c]
mov dword [esp + 4], ecx
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 8], eax
mov eax, dword [0x68024004]
mov dword [ebp - 0x830], edx
mov dword [ebp - 0x82c], ecx
mov dword [esp + 0xc], 0
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x830]
mov ecx, dword [ebp - 0x82c]
sub esp, 0x10
mov edi, eax
cmp word [edx], 0
je 0x68006e6c
movzx eax, word [edx + 2]
mov esi, edx
jmp 0x680067bc
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x680067b8
sub esi, edx
sar esi, 1
lea eax, [ebp - 0x418]
mov dword [ebp - 0x834], edx
mov dword [ebp - 0x830], eax
mov dword [esp + 8], eax
mov eax, dword [0x68024004]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x41f
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x834]
mov ecx, 0x2e
mov dword [ebp - 0x82c], eax
sub esp, 0x10
mov eax, 0x68017874
jmp 0x6800681c
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x68006818
sub eax, 0x68017874
lea esi, [edi + esi + 6]
add esi, dword [ebp - 0x82c]
mov dword [esp + 4], 0
sar eax, 1
mov dword [ebp - 0x834], edx
add eax, esi
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
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x68006948
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 0x68006898
cmp word [edx], 0
je 0x68006e62
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x680068b8
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]
mov eax, 2
mov ecx, 0x2a
add edx, edi
xor edi, edi
mov word [edx], di
jmp 0x6800691a
movzx ecx, word [eax + 0x68017874]
add eax, 2
mov word [edx + eax], cx
test cx, cx
jne 0x68006910
mov ecx, 0x2e
mov eax, 0x68017874
jmp 0x68006934
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x68006930
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 dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
sub esp, 4
test eax, eax
jne 0x68006d40
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 0x680065dd
mov esi, dword [edx + 0x1c]
mov dword [esp + 4], 8
mov dword [esp], ebx
mov dword [esp + 8], esi
call dword [sym.imp.user32.dll_SetWindowLongW]
mov esi, dword [esi + 0x10]
sub esp, 0xc
test esi, esi
je 0x680065dd
mov dword [esp], ebx
mov dword [esp + 4], 0xb5d
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 0xc], esi
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 - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], ebx
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 0x680065df
mov dword [esp + 4], 8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
cmp dword [eax + 0x28], 2
je 0x680065dd
mov dword [esp + 8], 0x74
jmp 0x680066d0
mov ecx, dword [eax*4 + 0x68017324]
mov edx, dword [eax*4 + 0x68017318]
jmp 0x6800675f
inc esi
mov dword [esp + 4], 0
lea edx, [esi + esi]
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 0x680065dd
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x834]
mov dword [esp + 8], esi
mov esi, 0x68017440
mov dword [esp + 4], 0xd
mov dword [esp], eax
call edi
mov edi, dword [ebp - 0x830]
sub esp, 0x10
mov eax, dword [edi + 0x28]
cmp eax, 2
je 0x68006b50
mov esi, 0x6801744c
cmp eax, 3
je 0x68006b50
mov eax, dword [edi + 0x14]
mov esi, 0x68017410
mov dword [ebp - 0x834], eax
sub eax, 2
cmp eax, 2
ja 0x68006b50
mov esi, dword [eax*4 + 0x68017300]
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 0x68006b80
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
je 0x68006c3a
mov eax, dword [ebp - 0x82c]
cmp word [eax], 0
mov ecx, eax
je 0x680070f9
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x68006b98
sub ecx, dword [ebp - 0x82c]
sar ecx, 1
inc ecx
cmp word [esi], 0
je 0x680070f2
mov eax, esi
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68006bc0
sub eax, esi
sar eax, 1
add eax, ecx
mov dword [esp + 4], 0
add eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x82c]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 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 0x68006c3a
cmp word [eax], 0
je 0x68007103
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68006c18
lea esi, [esi]
movzx edx, word [esi]
add esi, 2
add eax, 2
mov word [eax - 2], dx
test dx, dx
jne 0x68006c28
mov eax, dword [ebp - 0x82c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edi, 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 [esp], eax
call edi
mov dword [ebp - 0x834], eax
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x680070b0
mov eax, dword [ebp - 0x830]
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov esi, dword [eax + 8]
test esi, esi
je 0x680070ba
mov eax, dword [0x68024004]
lea edx, [ebp - 0x818]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edx
mov dword [esp + 4], 0x4b5
mov dword [esp], eax
call ecx
lea edx, [ebp - 0x818]
sub esp, 0x10
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
cmp eax, 6
mov eax, dword [ebp - 0x834]
mov dword [esp], eax
je 0x68006e02
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 0x680066c8
mov esi, dword [ebp - 0x7fc]
mov dword [esp + 4], 0xb5d
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 0xc], esi
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 0x68006987
lea eax, [ebp - 0x81c]
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [0x68024004]
mov dword [ebp - 0x82c], ecx
mov dword [esp + 4], 0x4b6
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x82c]
mov edx, str..cer
mov edi, eax
sub esp, 0x10
mov eax, 0x2e
jmp 0x680067b0
mov eax, dword [0x68024004]
lea esi, [ebp - 0x818]
mov dword [ebp - 0x82c], ecx
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x82c]
sub esp, 0x10
jmp 0x68006685
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 2
sub esp, 4
mov esi, dword [ebp - 0x82c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x40000000
mov dword [esp], esi
call edi
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x68006e73
mov edi, dword [ebp - 0x830]
mov dword [edi + 0x4c], eax
xor eax, eax
mov dword [edi + 0x48], esi
jmp 0x680065df
mov eax, 2
jmp 0x680068c6
xor esi, esi
jmp 0x680067c8
mov eax, dword [ebp - 0x830]
mov ecx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [eax + 8]
mov dword [ebp - 0x834], eax
test eax, eax
je 0x6800710e
mov eax, dword [0x68024004]
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [ebp - 0x830], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x422
mov dword [esp], eax
call ecx
lea edx, [ebp - 0x81c]
sub esp, 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
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 0x68007162
lea esi, [esi]
add edi, 2
cmp word [edi], 0
jne 0x68006f18
mov esi, dword [ebp - 0x82c]
sub edi, dword [ebp - 0x830]
sar edi, 1
cmp word [esi], 0
je 0x68007157
lea esi, [esi]
add esi, 2
cmp word [esi], 0
jne 0x68006f40
mov edx, dword [ebp - 0x81c]
sub esi, dword [ebp - 0x82c]
add edi, 3
sar esi, 1
cmp word [edx], 0
mov eax, edx
je 0x68006f71
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68006f68
sub eax, edx
add esi, edi
mov dword [esp + 4], 0
sar eax, 1
add eax, esi
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 esi, eax
test eax, eax
je 0x6800716d
mov ecx, dword [ebp - 0x830]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x68006fb8
cmp word [ebp - 0x418], 0
mov eax, dword [ebp - 0x830]
je 0x68006fe9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x68006fe0
sub eax, dword [ebp - 0x830]
mov edi, dword [ebp - 0x82c]
xor edx, edx
add eax, esi
lea esi, [esi]
movzx ecx, word [edi + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x68007000
mov edx, dword [ebp - 0x82c]
cmp word [edx], 0
je 0x6800714c
add edx, 2
cmp word [edx], 0
jne 0x68007020
sub edx, dword [ebp - 0x82c]
mov edi, dword [ebp - 0x81c]
add eax, edx
xor edx, edx
mov dword [eax], 0xa003a
nop
movzx ecx, word [edi + edx]
mov word [eax + edx + 4], cx
add edx, 2
test cx, cx
jne 0x68007040
mov eax, dword [ebp - 0x834]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
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 0x68006d0e
mov eax, 1
jmp 0x68006e10
mov eax, dword [0x68024004]
lea esi, [ebp - 0x418]
mov dword [ebp - 0x83c], ecx
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x83c]
sub esp, 0x10
jmp 0x68006ca4
xor eax, eax
jmp 0x68006bcd
mov ecx, 1
jmp 0x68006baa
mov eax, dword [ebp - 0x82c]
jmp 0x68006c28
mov eax, dword [0x68024004]
lea esi, [ebp - 0x818]
mov dword [ebp - 0x830], ecx
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x4b0
mov dword [esp], eax
call ecx
mov dword [ebp - 0x834], esi
mov ecx, dword [ebp - 0x830]
sub esp, 0x10
jmp 0x68006e90
mov edx, dword [ebp - 0x82c]
jmp 0x68007029
mov esi, dword [ebp - 0x82c]
jmp 0x68006f49
mov edi, dword [ebp - 0x830]
jmp 0x68006f21
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x68007099