Function at 0x7d704430
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push str.LCMapStringEx_called_n
call sub.ntext.dll_DbgPrint
add esp, 4
cmp dword [ebp + 0x20], 0
je 0x7d70445c
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 0x7d704473
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 0x7d70448a
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 0x7d70449c
cmp dword [ebp + 0x14], 0
je 0x7d70449c
cmp dword [ebp + 0x1c], 0
jge 0x7d7044aa
push 0x57
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70483c
mov eax, dword [ebp + 0xc]
and eax, 0x300
cmp eax, 0x300
je 0x7d7044ea
mov ecx, dword [ebp + 0xc]
and ecx, 0x300000
cmp ecx, 0x300000
je 0x7d7044ea
mov edx, dword [ebp + 0xc]
and edx, 0xc00000
cmp edx, 0xc00000
je 0x7d7044ea
mov eax, dword [ebp + 0xc]
and eax, 0x6000000
cmp eax, 0x6000000
jne 0x7d7044fb
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70483c
cmp dword [ebp + 0x1c], 0
jne 0x7d704508
mov dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0x400
je 0x7d7045bf
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x7d704530
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70483c
cmp dword [ebp + 0x14], 0
jge 0x7d704545
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 + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.7d704960
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.7d7052f0
add esp, 4
push eax
push 0x7d73bda8
call sub.ntext.dll_DbgPrint
add esp, 0x1c
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.7d709690
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x7d7045ae
push 0x7a
call sub.kernel32.dll_SetLastError
jmp 0x7d7045b7
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
jmp 0x7d70483c
mov edx, dword [ebp + 0xc]
and edx, 0x1000
je 0x7d7045db
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70483c
cmp dword [ebp + 0x14], 0
jge 0x7d7045f3
mov eax, dword [ebp + 0x10]
push eax
call sub.ntext.dll_wcslen
add esp, 4
add eax, 1
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 + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.7d704960
add esp, 8
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.7d7052f0
add esp, 4
push eax
push str.__s_0x_08x__s__d__p__d__n
call sub.ntext.dll_DbgPrint
add esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x7d704691
mov dword [ebp - 0x1c], 0
jmp 0x7d70464f
mov edx, dword [ebp + 0x10]
add edx, 2
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x14]
sub eax, 1
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
je 0x7d704689
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx]
mov word [ebp - 0x10], dx
mov eax, dword [ebp + 0xc]
and eax, 4
je 0x7d70467e
movzx ecx, word [ebp - 0x10]
push ecx
call fcn.7d709570
add esp, 4
movzx edx, ax
and edx, 0x18
je 0x7d70467e
jmp 0x7d70463d
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x7d70463d
mov eax, dword [ebp - 0x1c]
jmp 0x7d70483c
mov ecx, dword [ebp + 0xc]
and ecx, 0x200
je 0x7d704717
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
jmp 0x7d7046b6
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 0x7d704712
cmp dword [ebp + 0x1c], 0
je 0x7d704712
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 4], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x7d7046eb
movzx edx, word [ebp - 4]
push edx
call fcn.7d709570
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x7d7046eb
jmp 0x7d7046a4
movzx ecx, word [ebp - 4]
push ecx
call sub.ntext.dll_towupper
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 0x7d7046a4
jmp 0x7d704823
mov edx, dword [ebp + 0xc]
and edx, 0x100
je 0x7d70479d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
jmp 0x7d70473c
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 0x7d704798
cmp dword [ebp + 0x1c], 0
je 0x7d704798
mov eax, dword [ebp + 0x10]
mov cx, word [eax]
mov word [ebp - 8], cx
mov edx, dword [ebp + 0xc]
and edx, 4
je 0x7d704771
movzx eax, word [ebp - 8]
push eax
call fcn.7d709570
add esp, 4
movzx ecx, ax
and ecx, 0x18
je 0x7d704771
jmp 0x7d70472a
movzx edx, word [ebp - 8]
push edx
call sub.ntext.dll_towlower
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 0x7d70472a
jmp 0x7d704823
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x18]
jne 0x7d7047b6
push 0x3ec
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70483c
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
jmp 0x7d7047d0
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 0x7d704823
cmp dword [ebp + 0x1c], 0
je 0x7d704823
mov edx, dword [ebp + 0x10]
mov ax, word [edx]
mov word [ebp - 0xc], ax
mov ecx, dword [ebp + 0xc]
and ecx, 4
je 0x7d704805
movzx edx, word [ebp - 0xc]
push edx
call fcn.7d709570
add esp, 4
movzx eax, ax
and eax, 0x18
je 0x7d704805
jmp 0x7d7047be
mov ecx, dword [ebp - 0x14]
mov dx, word [ebp - 0xc]
mov word [ecx], dx
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 0x7d7047be
cmp dword [ebp + 0x14], 0
je 0x7d704834
push 0x7a
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d70483c
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0x18]
sar eax, 1
mov esp, ebp
pop ebp
ret 0x24