Function at 0x7d707400
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x20], 0
je 0x7d70741f
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 0x7d707436
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 0x7d70744d
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 0x7d70745f
cmp dword [ebp + 0x14], 0
je 0x7d70745f
cmp dword [ebp + 0x1c], 0
jge 0x7d70746d
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707785
mov eax, dword [ebp + 0xc]
and eax, 0x300
cmp eax, 0x300
je 0x7d7074ad
mov ecx, dword [ebp + 0xc]
and ecx, 0x300000
cmp ecx, 0x300000
je 0x7d7074ad
mov edx, dword [ebp + 0xc]
and edx, 0xc00000
cmp edx, 0xc00000
je 0x7d7074ad
mov eax, dword [ebp + 0xc]
and eax, 0x6000000
cmp eax, 0x6000000
jne 0x7d7074be
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707785
cmp dword [ebp + 0x1c], 0
jne 0x7d7074cb
mov dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0x400
je 0x7d707543
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x7d7074ef
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707785
cmp dword [ebp + 0x14], 0
jge 0x7d707504
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.7d715f80
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x7d707532
push 0x7a
call sub.kernel32.dll_SetLastError
jmp 0x7d70753b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x7d707785
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
je 0x7d70755f
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707785
cmp dword [ebp + 0x14], 0
jge 0x7d707577
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 0x7d7075da
mov dword [ebp - 0x1c], 0
jmp 0x7d707598
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 0x7d7075d2
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x7d7075c7
movzx edx, word [ebp - 0x10]
push edx
call fcn.7d715e60
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x7d7075c7
jmp 0x7d707586
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x7d707586
mov eax, dword [ebp - 0x1c]
jmp 0x7d707785
mov edx, dword [ebp + 0xc]
and edx, 0x200
je 0x7d707660
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x7d7075ff
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 0x7d70765b
cmp dword [ebp + 0x1c], 0
je 0x7d70765b
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 4], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x7d707634
movzx eax, word [ebp - 4]
push eax
call fcn.7d715e60
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x7d707634
jmp 0x7d7075ed
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 0x7d7075ed
jmp 0x7d70776c
mov ecx, dword [ebp + 0xc]
and ecx, 0x100
je 0x7d7076e6
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
jmp 0x7d707685
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 0x7d7076e1
cmp dword [ebp + 0x1c], 0
je 0x7d7076e1
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 8], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x7d7076ba
movzx edx, word [ebp - 8]
push edx
call fcn.7d715e60
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x7d7076ba
jmp 0x7d707673
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 0x7d707673
jmp 0x7d70776c
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x7d7076ff
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707785
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x7d707719
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 0x7d70776c
cmp dword [ebp + 0x1c], 0
je 0x7d70776c
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 0xc], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x7d70774e
movzx eax, word [ebp - 0xc]
push eax
call fcn.7d715e60
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x7d70774e
jmp 0x7d707707
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 0x7d707707
cmp dword [ebp + 0x14], 0
je 0x7d70777d
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d707785
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x18]
sar eax, 1
mov esp, ebp
pop ebp
ret 0x24