Function at 0x4683f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x806c
call fcn.004a4980
push ebx
push ebp
push esi
mov esi, edx
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
cmp esi, 0xc7
ja 0x4686a2
mov eax, dword [edi + 0x10]
lea edx, [esi*4 + 6]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add edx, eax
push 0
push 0
push 0x1004
push dword [edi]
add edx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
call ebx
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp byte [ecx + 1], 0
je 0x468455
cmp byte [esp + 0x8080], 0
jne 0x4686a2
cmp ebp, 2
jl 0x4686a2
mov ax, word [esp + 0x8084]
test ax, ax
je 0x468471
cmp ax, 0x41
jmp 0x468489
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax]
jne 0x468485
cmp byte [ecx + 3], 0
jne 0x468485
cmp byte [eax + 4], 0
jmp 0x468489
cmp byte [ecx + 4], 0
lea edx, [esp + 0x76]
sete al
mov dword [esp + 0x4c], edx
mov edx, 0x1fff
mov byte [esp + 0x8076], al
mov dword [esp + 0x50], edx
mov ah, byte [ecx]
cmp ah, 1
jne 0x468576
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
test ebp, ebp
jle 0x468569
nop word [eax + eax]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 1
push eax
push 0
push 0x104b
push dword [edi]
mov dword [esp + 0x50], esi
call ebx
test eax, eax
je 0x468529
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.0040ded0
test al, al
je 0x468516
push 0x10
push 0
push esi
call fcn.00492e76
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x468531
push esi
call fcn.00492a15
mov esi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x58], eax
jmp 0x468531
mov dword [esp + 0x58], 0
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 4
push eax
push 0
push 0x104c
push dword [edi]
mov dword [esp + 0x50], 0
call ebx
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ebp
jl 0x4684d0
mov al, byte [esp + 0x8076]
push 0x4683d0
movzx eax, al
jmp 0x468688
test ah, ah
jne 0x4685d4
cmp byte [ecx + 2], 3
jne 0x4685d4
cmp dword [0x4d211c], 0
jne 0x4685c2
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4685ab
push str.StrCmpLogicalW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d211c], eax
jmp 0x4685b0
mov eax, dword [0x4d211c]
test eax, eax
jne 0x4685be
mov edx, dword [esp + 0x14]
mov byte [edx + 2], 2
jmp 0x4685d6
mov edx, dword [esp + 0x50]
mov eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
dec eax
mov dword [esp + 0x50], eax
jmp 0x4685d6
mov edx, ecx
mov ecx, dword [edi]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], esi
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov al, byte [edx + 4]
push 0x468240
mov byte [esp + 0x78], al
lea eax, [esp + 0x24]
push eax
push 0x1051
push ecx
mov byte [esp + 0x8087], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x48], 1
call ebx
cmp dword [esp + 0x4c], 0
jne 0x468692
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
test ebp, ebp
jle 0x468663
lea eax, [esp + 0x38]
push eax
push 0
push 0x104c
push dword [edi]
call ebx
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x58]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, ebp
jl 0x468642
mov byte [esp + 0x8077], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], 1
mov dword [esp + 0x40], esi
push 0x468240
push eax
push 0x1030
push dword [edi]
call ebx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], esi
mov al, byte [esp + 0x8076]
mov byte [ecx + 4], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x806c
ret