Function at 0x68918340
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x20], 0
je 0x6891835f
mov eax, dword [ebp + 0x20]
push eax
push str.unsupported_version_structure__p_n
call sub.ntext.dll_DbgPrint
add esp, 8
cmp dword [ebp + 0x24], 0
je 0x68918376
mov ecx, dword [ebp + 0x24]
push ecx
push str.unsupported_reserved_pointer__p_n
call sub.ntext.dll_DbgPrint
add esp, 8
cmp dword [ebp + 0x28], 0
je 0x6891838d
mov edx, dword [ebp + 0x28]
push edx
push str.unsupported_lparam__lx_n
call sub.ntext.dll_DbgPrint
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x6891839f
cmp dword [ebp + 0x14], 0
je 0x6891839f
cmp dword [ebp + 0x1c], 0
jge 0x689183ad
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x689186c5
mov eax, dword [ebp + 0xc]
and eax, 0x300
cmp eax, 0x300
je 0x689183ed
mov ecx, dword [ebp + 0xc]
and ecx, 0x300000
cmp ecx, 0x300000
je 0x689183ed
mov edx, dword [ebp + 0xc]
and edx, 0xc00000
cmp edx, 0xc00000
je 0x689183ed
mov eax, dword [ebp + 0xc]
and eax, 0x6000000
cmp eax, 0x6000000
jne 0x689183fe
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x689186c5
cmp dword [ebp + 0x1c], 0
jne 0x6891840b
mov dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0x400
je 0x68918483
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x6891842f
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x689186c5
cmp dword [ebp + 0x14], 0
jge 0x68918444
mov eax, dword [ebp + 0x10]
push eax
call sub.ntext.dll_wcslen
add esp, 4
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.68929500
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x68918472
push 0x7a
call sub.kernel32.dll_SetLastError
jmp 0x6891847b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x689186c5
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
je 0x6891849f
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x689186c5
cmp dword [ebp + 0x14], 0
jge 0x689184b7
mov edx, dword [ebp + 0x10]
push edx
call sub.ntext.dll_wcslen
add esp, 4
add eax, 1
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], 0
jne 0x6891851a
mov dword [ebp - 0x1c], 0
jmp 0x689184d8
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
sub ecx, 1
mov dword [ebp + 0x14], ecx
cmp dword [ebp + 0x14], 0
je 0x68918512
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x68918507
movzx edx, word [ebp - 0x10]
push edx
call fcn.689293e0
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x68918507
jmp 0x689184c6
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x689184c6
mov eax, dword [ebp - 0x1c]
jmp 0x689186c5
mov edx, dword [ebp + 0xc]
and edx, 0x200
je 0x689185a0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x6891853f
mov ecx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x14]
sub edx, 1
mov dword [ebp + 0x14], edx
cmp dword [ebp + 0x14], 0
je 0x6891859b
cmp dword [ebp + 0x1c], 0
je 0x6891859b
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 4], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x68918574
movzx eax, word [ebp - 4]
push eax
call fcn.689293e0
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x68918574
jmp 0x6891852d
movzx edx, word [ebp - 4]
push edx
call sub.ntext.dll_towupper
add esp, 4
mov ecx, dword [ebp - 0x14]
mov word [ecx], ax
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x1c]
sub eax, 1
mov dword [ebp + 0x1c], eax
jmp 0x6891852d
jmp 0x689186ac
mov ecx, dword [ebp + 0xc]
and ecx, 0x100
je 0x68918626
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
jmp 0x689185c5
mov eax, dword [ebp + 0x10]
add eax, 2
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
sub ecx, 1
mov dword [ebp + 0x14], ecx
cmp dword [ebp + 0x14], 0
je 0x68918621
cmp dword [ebp + 0x1c], 0
je 0x68918621
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 8], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x689185fa
movzx edx, word [ebp - 8]
push edx
call fcn.689293e0
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x689185fa
jmp 0x689185b3
movzx ecx, word [ebp - 8]
push ecx
call sub.ntext.dll_towlower
add esp, 4
mov edx, dword [ebp - 0x14]
mov word [edx], ax
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x1c]
sub ecx, 1
mov dword [ebp + 0x1c], ecx
jmp 0x689185b3
jmp 0x689186ac
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x6891863f
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x689186c5
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x68918659
mov ecx, dword [ebp + 0x10]
add ecx, 2
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x14]
sub edx, 1
mov dword [ebp + 0x14], edx
cmp dword [ebp + 0x14], 0
je 0x689186ac
cmp dword [ebp + 0x1c], 0
je 0x689186ac
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 0xc], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x6891868e
movzx eax, word [ebp - 0xc]
push eax
call fcn.689293e0
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x6891868e
jmp 0x68918647
mov edx, dword [ebp - 0x14]
mov ax, word [ebp - 0xc]
mov word [edx], ax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 1
mov dword [ebp + 0x1c], edx
jmp 0x68918647
cmp dword [ebp + 0x14], 0
je 0x689186bd
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x689186c5
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x18]
sar eax, 1
mov esp, ebp
pop ebp
ret 0x24