Function at 0x68009830
Capabilities:
Get graphical window text
Get process heap 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, 0x38
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
mov eax, dword [ecx + 0xc]
cmp edx, 0x4e
je 0x68009890
xor esi, esi
cmp edx, 0x110
jne 0x68009876
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], 8
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [eax + 8]
cmp eax, 0xffffff31
je 0x680098f0
xor esi, esi
cmp eax, 0xffffff38
jne 0x68009876
mov dword [esp], edi
mov esi, 1
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, esi
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0xb63
mov dword [esp], edi
call ebx
sub esp, 8
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xb64
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp], esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
call esi
mov ebx, eax
mov eax, dword [ebp - 0x20]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 8
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetWindowLongW]
mov edx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
or eax, ebx
jne 0x680099a0
mov dword [edx + 0x34], 0
xor esi, esi
jmp 0x68009876
cmp ebx, dword [ebp - 0x1c]
je 0x680099d8
mov eax, edi
mov esi, 1
call sym._export_password_mismatch
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
jmp 0x68009876
lea eax, [ebx + 1]
mov dword [esp + 4], 0
lea ebx, [eax + eax]
mov dword [ebp - 0x28], eax
mov dword [esp + 8], ebx
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], ecx
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
je 0x68009b2c
test ebx, ebx
je 0x68009b2c
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xd
mov dword [esp], edx
mov dword [esp + 8], ecx
call esi
mov ecx, dword [ebp - 0x28]
sub esp, 0x10
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp], ecx
mov dword [esp + 4], 0xd
call esi
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
mov edx, dword [ebp - 0x34]
sub esp, 8
test eax, eax
mov esi, eax
jne 0x68009ad9
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x3c], 1
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edx + 0x34], eax
mov dword [esp + 8], ebx
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 edi
sub esp, 0xc
jmp 0x68009876
mov eax, edi
mov esi, 1
call sym._export_password_mismatch
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov edi, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
jmp 0x68009ab4
xor esi, esi
jmp 0x68009b01