Function at 0x7d707380
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x20], 0
je 0x7d70739f
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 0x7d7073b6
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 0x7d7073cd
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 0x7d7073df
cmp dword [ebp + 0x14], 0
je 0x7d7073df
cmp dword [ebp + 0x1c], 0
jge 0x7d7073ed
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707705
mov eax, dword [ebp + 0xc]
and eax, 0x300
cmp eax, 0x300
je 0x7d70742d
mov ecx, dword [ebp + 0xc]
and ecx, 0x300000
cmp ecx, 0x300000
je 0x7d70742d
mov edx, dword [ebp + 0xc]
and edx, 0xc00000
cmp edx, 0xc00000
je 0x7d70742d
mov eax, dword [ebp + 0xc]
and eax, 0x6000000
cmp eax, 0x6000000
jne 0x7d70743e
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707705
cmp dword [ebp + 0x1c], 0
jne 0x7d70744b
mov dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0x400
je 0x7d7074c3
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x7d70746f
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707705
cmp dword [ebp + 0x14], 0
jge 0x7d707484
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.7d717af0
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x7d7074b2
push 0x7a
call sub.kernel32.dll_SetLastError
jmp 0x7d7074bb
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x7d707705
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
je 0x7d7074df
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707705
cmp dword [ebp + 0x14], 0
jge 0x7d7074f7
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 0x7d70755a
mov dword [ebp - 0x1c], 0
jmp 0x7d707518
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 0x7d707552
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x7d707547
movzx edx, word [ebp - 0x10]
push edx
call fcn.7d707990
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x7d707547
jmp 0x7d707506
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x7d707506
mov eax, dword [ebp - 0x1c]
jmp 0x7d707705
mov edx, dword [ebp + 0xc]
and edx, 0x200
je 0x7d7075e0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x7d70757f
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 0x7d7075db
cmp dword [ebp + 0x1c], 0
je 0x7d7075db
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 4], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x7d7075b4
movzx eax, word [ebp - 4]
push eax
call fcn.7d707990
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x7d7075b4
jmp 0x7d70756d
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 0x7d70756d
jmp 0x7d7076ec
mov ecx, dword [ebp + 0xc]
and ecx, 0x100
je 0x7d707666
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
jmp 0x7d707605
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 0x7d707661
cmp dword [ebp + 0x1c], 0
je 0x7d707661
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 8], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x7d70763a
movzx edx, word [ebp - 8]
push edx
call fcn.7d707990
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x7d70763a
jmp 0x7d7075f3
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 0x7d7075f3
jmp 0x7d7076ec
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x7d70767f
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707705
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x7d707699
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 0x7d7076ec
cmp dword [ebp + 0x1c], 0
je 0x7d7076ec
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 0xc], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x7d7076ce
movzx eax, word [ebp - 0xc]
push eax
call fcn.7d707990
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x7d7076ce
jmp 0x7d707687
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 0x7d707687
cmp dword [ebp + 0x14], 0
je 0x7d7076fd
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707705
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x18]
sar eax, 1
mov esp, ebp
pop ebp
ret 0x24